]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
10 years ago- increase the varchar here
Mike Bayer [Wed, 1 Jul 2015 21:47:26 +0000 (17:47 -0400)] 
- increase the varchar here

10 years ago- Fixed 1.0 regression where value objects that override
Mike Bayer [Wed, 1 Jul 2015 17:19:28 +0000 (13:19 -0400)] 
- Fixed 1.0 regression where value objects that override
``__eq__()`` to return a non-boolean-capable object, such as
some geoalchemy types as well as numpy types, were being tested
for ``bool()`` during a unit of work update operation, where in
0.9 the return value of ``__eq__()`` was tested against "is True"
to guard against this.
fixes #3469

10 years ago- Fixed 1.0 regression where a "deferred" attribute would not populate
Mike Bayer [Mon, 29 Jun 2015 17:47:27 +0000 (13:47 -0400)] 
- Fixed 1.0 regression where a "deferred" attribute would not populate
correctly if it were loaded within the "optimized inheritance load",
which is a special SELECT emitted in the case of joined table
inheritance used to populate expired or unloaded attributes against
a joined table without loading the base table.  This is related to
the fact that SQLA 1.0 no longer guesses about loading deferred
columns and must be directed explicitly.
fixes #3468

10 years ago- Fixed 1.0 regression where the "parent entity" of a synonym-
Mike Bayer [Sat, 27 Jun 2015 04:40:34 +0000 (00:40 -0400)] 
- Fixed 1.0 regression where the "parent entity" of a synonym-
mapped attribute on top of an :func:`.aliased` object would
resolve to the original mapper, not the :func:`.aliased`
version of it, thereby causing problems for a :class:`.Query`
that relies on this attribute (e.g. it's the only representative
attribute given in the constructor) to figure out the correct FROM
clause for the query.
fixes #3466
- apply consitency to ._parententity vs.
__clause_element__()._annotations['parententity']
in terms of aliased class, test it all.

10 years agoMerge pull request #185 from megabyde/master
mike bayer [Fri, 26 Jun 2015 18:44:56 +0000 (14:44 -0400)] 
Merge pull request #185 from megabyde/master

Fix code examples in automap's documentation

10 years agoFix code examples in automap's documentation
Yuri Baida [Fri, 26 Jun 2015 17:45:48 +0000 (10:45 -0700)] 
Fix code examples in automap's documentation

Fix camelize_classname and pluralize_collection functions as they didn't work as expected.

10 years ago1.0.6 rel_1_0_6
Mike Bayer [Thu, 25 Jun 2015 15:33:10 +0000 (11:33 -0400)] 
1.0.6

10 years ago- add autoinc marker for oracle
Mike Bayer [Thu, 25 Jun 2015 15:11:00 +0000 (11:11 -0400)] 
- add autoinc marker for oracle

10 years ago- Fixed a major regression in the 1.0 series where the version_id_counter
Mike Bayer [Thu, 25 Jun 2015 01:53:15 +0000 (21:53 -0400)] 
- Fixed a major regression in the 1.0 series where the version_id_counter
feature would cause an object's version counter to be incremented
when there was no net change to the object's row, but instead an object
related to it via relationship (e.g. typically many-to-one)
were associated or de-associated with it, resulting in an UPDATE
statement that updates the object's version counter and nothing else.
In the use case where the relatively recent "server side" and/or
"programmatic/conditional" version counter feature were used
(e.g. setting version_id_generator to False), the bug could cause an
UPDATE without a valid SET clause to be emitted.
fixes #3465

10 years ago- edits to this section
Mike Bayer [Tue, 23 Jun 2015 02:24:07 +0000 (22:24 -0400)] 
- edits to this section

10 years ago- add a new FAQ on re-reading of data within a transaction, since
Mike Bayer [Tue, 23 Jun 2015 01:33:40 +0000 (21:33 -0400)] 
- add a new FAQ on re-reading of data within a transaction, since
this is definitely something that is asked regularly.

10 years agoMerge pull request #184 from bnjmn/patch-1
mike bayer [Mon, 22 Jun 2015 21:38:28 +0000 (17:38 -0400)] 
Merge pull request #184 from bnjmn/patch-1

Missing comma in method params for hybrid docs

10 years agoMissing comma in method args
Benjamin Petersen [Mon, 22 Jun 2015 20:27:56 +0000 (16:27 -0400)] 
Missing comma in method args

10 years ago- Fixed issue when using :class:`.VARBINARY` type in conjunction with
Mike Bayer [Mon, 22 Jun 2015 19:24:41 +0000 (15:24 -0400)] 
- Fixed issue when using :class:`.VARBINARY` type in conjunction with
an INSERT of NULL + pyodbc; pyodbc requires a special
object be passed in order to persist NULL.  As the :class:`.VARBINARY`
type is now usually the default for :class:`.LargeBinary` due to
:ticket:`3039`, this issue is partially a regression in 1.0.
The pymssql driver appears to be unaffected.
fixes #3464

10 years ago- Re-fixed this issue first released in 1.0.5 to fix psycopg2cffi
Mike Bayer [Mon, 22 Jun 2015 15:35:02 +0000 (11:35 -0400)] 
- Re-fixed this issue first released in 1.0.5 to fix psycopg2cffi
JSONB support once again, as they suddenly
switched on unconditional decoding of JSONB types in version 2.7.1.
Version detection now specifies 2.7.1 as where we should expect
the DBAPI to do json encoding for us.
fixes #3439

10 years agoMerge pull request #183 from renshawbay/master
mike bayer [Mon, 22 Jun 2015 15:25:42 +0000 (11:25 -0400)] 
Merge pull request #183 from renshawbay/master

Fix a tiny typo in test name

10 years agoFix typo
Pete Hollobon [Mon, 22 Jun 2015 13:54:21 +0000 (14:54 +0100)] 
Fix typo

10 years ago- repair that we use db_opts when the url here is different,
Mike Bayer [Fri, 19 Jun 2015 23:24:10 +0000 (19:24 -0400)] 
- repair that we use db_opts when the url here is different,
as we are using db_opts for the first time with legacy_schema_args

10 years ago- fixes to the warnings filters
Mike Bayer [Fri, 19 Jun 2015 21:18:03 +0000 (17:18 -0400)] 
- fixes to the warnings filters

10 years ago- more edits, references #3461
Mike Bayer [Fri, 19 Jun 2015 18:54:26 +0000 (14:54 -0400)] 
- more edits, references #3461

10 years ago- for #3455
Mike Bayer [Fri, 19 Jun 2015 18:10:47 +0000 (14:10 -0400)] 
- for #3455
- changelog
- versionadded + reflink for new pg storage parameters doc
- pep8ing
- add additional tests to definitely check that the Index object
is created all the way with the opts we want
fixes #3455

10 years agoMerge remote-tracking branch 'origin/pr/179' into pr179
Mike Bayer [Fri, 19 Jun 2015 17:45:01 +0000 (13:45 -0400)] 
Merge remote-tracking branch 'origin/pr/179' into pr179

10 years ago- fix the bullets
Mike Bayer [Fri, 19 Jun 2015 17:08:47 +0000 (13:08 -0400)] 
- fix the bullets
- tone down the "never dispose an engine" language
- refer to NullPool for the "I don't like pooling" use case
references #3461

10 years ago- Fixed 1.0 regression where the enhanced behavior of single-inheritance
Mike Bayer [Fri, 19 Jun 2015 16:24:09 +0000 (12:24 -0400)] 
- Fixed 1.0 regression where the enhanced behavior of single-inheritance
joins of :ticket:`3222` takes place inappropriately
for a JOIN along explicit join criteria with a single-inheritance
subclass that does not make use of any discriminator, resulting
in an additional "AND NULL" clause.
fixes #3462

10 years ago- add explciit section on engine disposal, fixes #3461
Mike Bayer [Fri, 19 Jun 2015 15:49:49 +0000 (11:49 -0400)] 
- add explciit section on engine disposal, fixes #3461

10 years ago- automap is stable
Mike Bayer [Thu, 18 Jun 2015 17:13:54 +0000 (13:13 -0400)] 
- automap is stable

10 years ago- Repaired the :class:`.ExcludeConstraint` construct to support common
Mike Bayer [Tue, 16 Jun 2015 18:33:53 +0000 (14:33 -0400)] 
- Repaired the :class:`.ExcludeConstraint` construct to support common
features that other objects like :class:`.Index` now do, that
the column expression may be specified as an arbitrary SQL
expression such as :obj:`.cast` or :obj:`.text`.
fixes #3454

10 years ago- add a subsection on how to use Sequence with server_default,
Mike Bayer [Tue, 16 Jun 2015 17:16:59 +0000 (13:16 -0400)] 
- add a subsection on how to use Sequence with server_default,
fixes #3453

10 years ago- remove the redundant non-max-row-buffer test from the max_row_buffer
Mike Bayer [Sun, 14 Jun 2015 20:48:26 +0000 (16:48 -0400)] 
- remove the redundant non-max-row-buffer test from the max_row_buffer
test as we implemented that as a separate test.

10 years agoMerge branch 'pr182'
Mike Bayer [Sun, 14 Jun 2015 20:45:01 +0000 (16:45 -0400)] 
Merge branch 'pr182'

10 years ago- add test cases for pullreq github:182, where we add a new
Mike Bayer [Sun, 14 Jun 2015 20:43:16 +0000 (16:43 -0400)] 
- add test cases for pullreq github:182, where we add a new
"max_row_buffer" execution option for BufferedRowResultProxy
- also add documentation, changelog and version notes
- rework the max_row_buffer argument to be interpreted from
the execution options upfront when the BufferedRowResultProxy
is first initialized.

10 years ago- Add a new le_() assertion for less than or equals
Mike Bayer [Sun, 14 Jun 2015 20:42:14 +0000 (16:42 -0400)] 
- Add a new le_() assertion for less than or equals
- fix TablesTest to use the bind that we've returned from setup_bind()
to emit DELETE statements

10 years agoAdded max_row_buffer attribute to the context execution options and use
Morgan McClure [Sun, 14 Jun 2015 02:27:55 +0000 (19:27 -0700)] 
Added max_row_buffer attribute to the context execution options and use
it to prevent excess memory usage with yield_per

10 years ago- revert this change which was inadvertently included in the
Mike Bayer [Sun, 14 Jun 2015 00:47:18 +0000 (20:47 -0400)] 
- revert this change which was inadvertently included in the
fix for #3451

10 years ago- restore the approach we have for pk_params, but in order
Mike Bayer [Sun, 14 Jun 2015 00:27:06 +0000 (20:27 -0400)] 
- restore the approach we have for pk_params, but in order
to suit #3451 exclude these columns from the "params"
dictionary in the first place, revises pr github:181

10 years ago- add changelog for #3451, with 09485d733131b667813f44eb0b6807b698668ee7 fixes #3451
Mike Bayer [Sun, 14 Jun 2015 00:15:17 +0000 (20:15 -0400)] 
- add changelog for #3451, with 09485d733131b667813f44eb0b6807b698668ee7 fixes #3451
- also add a bulk_insert_mappings test

10 years agoBufferedRowResultProxy should stop growing at 100
Morgan McClure [Sat, 13 Jun 2015 20:59:27 +0000 (13:59 -0700)] 
BufferedRowResultProxy should stop growing at 100

10 years agoFix primary key behaviour in bulk_update
Patrick Hayes [Sat, 13 Jun 2015 18:11:16 +0000 (14:11 -0400)] 
Fix primary key behaviour in bulk_update

Suppose you have a model class with a primary key.

Base = declarative_base()
class User(Base):
  id = Column(BigInteger, primary_key=True)
  name = Column(String)

Previously, running
`bulk_update_mappings(User, {'id': 1, 'name': 'hello'})`
would emit the following:

```UPDATE users SET id=1, name='hello' WHERE id=1```

This is contrary to the stated behaviour, where primary keys are omitted
from the SET clause. Furthermore, this behaviour is harmful, as it
can cause the db engine to lock over-aggresively (at least in Postgres).

With this change, the emitted SQL is:

```UPDATE users SET name='hello' WHERE id=1```

10 years ago- Fixed an unexpected-use regression whereby custom :class:`.Comparator`
Mike Bayer [Thu, 11 Jun 2015 20:48:00 +0000 (16:48 -0400)] 
- Fixed an unexpected-use regression whereby custom :class:`.Comparator`
objects that made use of the ``__clause_element__()`` method and
returned an object that was an ORM-mapped
:class:`.InstrumentedAttribute` and not explicitly a
:class:`.ColumnElement` would fail to be correctly
handled when passed as an expression to :meth:`.Session.query`.
The logic in 0.9 happened to succeed on this, so this use case is now
supported. fixes #3448

10 years ago- add an 0.9 migration note regarding TypeEngine's default
Mike Bayer [Wed, 10 Jun 2015 14:48:16 +0000 (10:48 -0400)] 
- add an 0.9 migration note regarding TypeEngine's default
constructor removal; fixes #3446

10 years ago- Fixed a bug where clause adaption as applied to a :class:`.Label`
Mike Bayer [Wed, 10 Jun 2015 03:39:14 +0000 (23:39 -0400)] 
- Fixed a bug where clause adaption as applied to a :class:`.Label`
object would fail to accommodate the labeled SQL expression
in all cases, such that any SQL operation that made use of
:meth:`.Label.self_group` would use the original unadapted
expression.  One effect of this would be that an ORM :func:`.aliased`
construct would not fully accommodate attributes mapped by
:obj:`.column_property`, such that the un-aliased table could
leak out when the property were used in some kinds of SQL
comparisons.
fixes #3445

10 years ago- add a migration note for the query.update()/query.delete() change
Mike Bayer [Tue, 9 Jun 2015 17:02:43 +0000 (13:02 -0400)] 
- add a migration note for the query.update()/query.delete() change
in #3349

10 years ago- add a comment, also I think we want to expire before we do the
Mike Bayer [Tue, 9 Jun 2015 16:20:07 +0000 (12:20 -0400)] 
- add a comment, also I think we want to expire before we do the
new begin, as begin_nested() does a flush

10 years agoMerge remote-tracking branch 'origin/pr/180' into pr180
Mike Bayer [Tue, 9 Jun 2015 16:18:35 +0000 (12:18 -0400)] 
Merge remote-tracking branch 'origin/pr/180' into pr180

10 years ago- Fixed an internal "memoization" routine for method types such
Mike Bayer [Mon, 8 Jun 2015 22:36:27 +0000 (18:36 -0400)] 
- Fixed an internal "memoization" routine for method types such
that a Python descriptor is no longer used; repairs inspectability
of these methods including support for Sphinx documentation.

10 years ago- start 1.0.6
Mike Bayer [Mon, 8 Jun 2015 22:34:56 +0000 (18:34 -0400)] 
- start 1.0.6

10 years agoExpire session in testing transaction handling
Charles-Axel Dein [Mon, 8 Jun 2015 17:01:59 +0000 (10:01 -0700)] 
Expire session in testing transaction handling

10 years ago- 1.0.5 rel_1_0_5
Mike Bayer [Sun, 7 Jun 2015 21:53:38 +0000 (17:53 -0400)] 
- 1.0.5

10 years ago- include tox.ini in the dist...
Mike Bayer [Sun, 7 Jun 2015 21:50:48 +0000 (17:50 -0400)] 
- include tox.ini in the dist...

10 years ago- repair these tests to use the global manager_of_class fn,
Mike Bayer [Sun, 7 Jun 2015 21:44:58 +0000 (17:44 -0400)] 
- repair these tests to use the global manager_of_class fn,
as test_customfinder_pass at least does not provide the
alternate ext manager and in all cases it's the global function
that counts

10 years ago- Added new engine event :meth:`.ConnectionEvents.engine_disposed`.
Mike Bayer [Sat, 6 Jun 2015 21:50:32 +0000 (17:50 -0400)] 
- Added new engine event :meth:`.ConnectionEvents.engine_disposed`.
Called after the :meth:`.Engine.dispose` method is called.

10 years ago- Repaired some typing and test issues related to the pypy
Mike Bayer [Fri, 5 Jun 2015 21:34:02 +0000 (17:34 -0400)] 
- Repaired some typing and test issues related to the pypy
psycopg2cffi dialect, in particular that the current 2.7.0 version
does not have native support for the JSONB type.  The version detection
for psycopg2 features has been tuned into a specific sub-version
for psycopg2cffi.  Additionally, test coverage has been enabled
for the full series of psycopg2 features under psycopg2cffi.
fixes #3439

10 years ago- document SQlite dotted name issue, fixes #3441
Mike Bayer [Fri, 5 Jun 2015 20:11:13 +0000 (16:11 -0400)] 
- document SQlite dotted name issue, fixes #3441

10 years agoAdd reflection of PostgreSQL index access methods (USING clause)
Pete Hollobon [Thu, 4 Jun 2015 15:45:41 +0000 (16:45 +0100)] 
Add reflection of PostgreSQL index access methods (USING clause)

10 years agoAdd reflection of PostgreSQL index storage options
Pete Hollobon [Thu, 4 Jun 2015 14:12:09 +0000 (15:12 +0100)] 
Add reflection of PostgreSQL index storage options

10 years agoAdd support for PostgreSQL index storage parameters
Pete Hollobon [Wed, 3 Jun 2015 15:55:58 +0000 (16:55 +0100)] 
Add support for PostgreSQL index storage parameters

Add support for specifying PostgreSQL index storage paramters (e.g.
fillfactor).

10 years ago- correctly categorize this changelog entry and rewrite it
Mike Bayer [Wed, 3 Jun 2015 15:04:08 +0000 (11:04 -0400)] 
- correctly categorize this changelog entry and rewrite it
to be understandable, now that there's some time past since
I first wrote it

10 years ago- fix this test to not require pyodbc installed
Mike Bayer [Wed, 3 Jun 2015 14:45:45 +0000 (10:45 -0400)] 
- fix this test to not require pyodbc installed

10 years ago- changelog for pr bitbucket:54
Mike Bayer [Wed, 3 Jun 2015 14:08:33 +0000 (10:08 -0400)] 
- changelog for pr bitbucket:54
- alter the approach so that the initial callable is working just like add_criteria/with_criteria

10 years agobaked: Support initial args for cache key
INADA Naoki [Tue, 2 Jun 2015 13:05:18 +0000 (22:05 +0900)] 
baked: Support initial args for cache key

When making baked query in classmethod of declarative base,
cls should be added in cache key.

    @as_declarative
    class Base(object):

        @classmethod
        def baked_query(cls):
            return bakery(lambda: session.query(cls), (cls,))

10 years agoMerge remote-tracking branch 'origin/pr/176'
Mike Bayer [Sat, 30 May 2015 00:52:27 +0000 (20:52 -0400)] 
Merge remote-tracking branch 'origin/pr/176'

10 years agoFix typo in directive
Éric Araujo [Fri, 29 May 2015 19:21:16 +0000 (15:21 -0400)] 
Fix typo in directive

10 years agoUpdate to correct TDS version; FreeTDS only supports up to 7.3. 8.0 is not a valid...
Allen, Timothy [Thu, 28 May 2015 18:25:56 +0000 (11:25 -0700)] 
Update to correct TDS version; FreeTDS only supports up to 7.3. 8.0 is not a valid version (Microsoft released the spec late).

10 years agoRemove spaces around kwargs in metadata.rst
Jochen Van de Velde [Tue, 26 May 2015 21:27:05 +0000 (23:27 +0200)] 
Remove spaces around kwargs in metadata.rst

10 years ago- Fixed bug where known boolean values used by
Mike Bayer [Tue, 26 May 2015 14:56:23 +0000 (10:56 -0400)] 
- Fixed bug where known boolean values used by
:func:`.engine_from_config` were not being parsed correctly;
these included ``pool_threadlocal`` and the psycopg2 argument
``use_native_unicode``. fixes #3435
- add legacy_schema_aliasing config parsing for mssql
- move use_native_unicode config arg to the psycopg2 dialect

10 years ago- turn some dials to try to get more log output
Mike Bayer [Mon, 25 May 2015 18:47:57 +0000 (14:47 -0400)] 
- turn some dials to try to get more log output

10 years ago- work around RTD issue #1293, take one
Mike Bayer [Mon, 25 May 2015 18:34:26 +0000 (14:34 -0400)] 
- work around RTD issue #1293, take one

10 years ago- Added a new dialect flag to the MSSQL dialect
Mike Bayer [Mon, 25 May 2015 01:02:29 +0000 (21:02 -0400)] 
- Added a new dialect flag to the MSSQL dialect
``legacy_schema_aliasing`` which when set to False will disable a
very old and obsolete behavior, that of the compiler's
attempt to turn all schema-qualified table names into alias names,
to work around old and no longer locatable issues where SQL
server could not parse a multi-part identifier name in all
circumstances.   The behavior prevented more
sophisticated statements from working correctly, including those which
use hints, as well as CRUD statements that embed correlated SELECT
statements.  Rather than continue to repair the feature to work
with more complex statements, it's better to just disable it
as it should no longer be needed for any modern SQL server
version.  The flag defaults to True for the 1.0.x series, leaving
current behavior unchanged for this version series.  In the 1.1
series, it will default to False.  For the 1.0 series,
when not set to either value explicitly, a warning is emitted
when a schema-qualified table is first used in a statement, which
suggests that the flag be set to False for all modern SQL Server
versions.
fixes #3424
fixes #3430

10 years ago- break out binary insert against None, disable for freetds for now
Mike Bayer [Sun, 24 May 2015 21:08:02 +0000 (17:08 -0400)] 
- break out binary insert against None, disable for freetds for now

10 years ago- autopep8
Mike Bayer [Sun, 24 May 2015 21:07:54 +0000 (17:07 -0400)] 
- autopep8

10 years ago- liberalize list.remove() regexp as recent Pypy versions
Mike Bayer [Sun, 24 May 2015 13:49:14 +0000 (09:49 -0400)] 
- liberalize list.remove() regexp as recent Pypy versions
format this message differently than cpython

10 years ago- fix some tests related to the URL change and try to make
Mike Bayer [Sat, 23 May 2015 13:07:36 +0000 (09:07 -0400)] 
- fix some tests related to the URL change and try to make
the URL design a little simpler

10 years ago- Adjustments to the engine plugin hook, such that the
Mike Bayer [Fri, 22 May 2015 17:51:00 +0000 (13:51 -0400)] 
- Adjustments to the engine plugin hook, such that the
:meth:`.URL.get_dialect` method will continue to return the
ultimate :class:`.Dialect` object when a dialect plugin is used,
without the need for the caller to be aware of the
:meth:`.Dialect.get_dialect_cls` method.
reference #3379

10 years ago- document fully how to use autoincrement w/ SQLite including
Mike Bayer [Fri, 22 May 2015 17:27:09 +0000 (13:27 -0400)] 
- document fully how to use autoincrement w/ SQLite including
non-Integer column types, fixes #2075

10 years ago- Fixed regression in the :mod:`sqlalchemy.ext.mutable` extension
Mike Bayer [Thu, 21 May 2015 18:21:01 +0000 (14:21 -0400)] 
- Fixed regression in the :mod:`sqlalchemy.ext.mutable` extension
as a result of the bugfix for :ticket:`3167`,
where attribute and validation events are no longer
called within the flush process.  The mutable
extension was relying upon this behavior in the case where a column
level Python-side default were responsible for generating the new value
on INSERT or UPDATE, or when a value were fetched from the RETURNING
clause for "eager defaults" mode.  The new value would not be subject
to any event when populated and the mutable extension could not
establish proper coercion or history listening.  A new event
:meth:`.InstanceEvents.refresh_flush` is added which the mutable
extension now makes use of for this use case.
fixes #3427
- Added new event :meth:`.InstanceEvents.refresh_flush`, invoked
when an INSERT or UPDATE level default value fetched via RETURNING
or Python-side default is invoked within the flush process.  This
is to provide a hook that is no longer present as a result of
:ticket:`3167`, where attribute and validation events are no longer
called within the flush process.
- Added a new semi-public method to :class:`.MutableBase`
:meth:`.MutableBase._get_listen_keys`.  Overriding this method
is needed in the case where a :class:`.MutableBase` subclass needs
events to propagate for attribute keys other than the key to which
the mutable type is associated with, when intercepting the
:meth:`.InstanceEvents.refresh` or
:meth:`.InstanceEvents.refresh_flush` events.  The current example of
this is composites using :class:`.MutableComposite`.

10 years agoflake8 some tests
Mike Bayer [Thu, 21 May 2015 17:43:37 +0000 (13:43 -0400)] 
flake8 some tests

10 years agoMerge pull request #173 from PierreRochard/patch-1
mike bayer [Thu, 21 May 2015 00:19:22 +0000 (20:19 -0400)] 
Merge pull request #173 from PierreRochard/patch-1

Correcting typo in introspection

10 years agoCorrecting typo in introspection
Pierre Rochard [Sun, 17 May 2015 21:28:56 +0000 (17:28 -0400)] 
Correcting typo in introspection

10 years ago- pg8000 wants to raise a ProgrammingError for a PK violation
Mike Bayer [Sat, 16 May 2015 01:18:18 +0000 (21:18 -0400)] 
- pg8000 wants to raise a ProgrammingError for a PK violation

10 years ago- Added support for the case of the misbehaving DBAPI that has
Mike Bayer [Fri, 15 May 2015 16:35:21 +0000 (12:35 -0400)] 
- Added support for the case of the misbehaving DBAPI that has
pep-249 exception names linked to exception classes of an entirely
different name, preventing SQLAlchemy's own exception wrapping from
wrapping the error appropriately.
The SQLAlchemy dialect in use needs to implement a new
accessor :attr:`.DefaultDialect.dbapi_exception_translation_map`
to support this feature; this is implemented now for the py-postgresql
dialect.
fixes #3421

10 years ago- The "lightweight named tuple" used when a :class:`.Query` returns
Mike Bayer [Thu, 14 May 2015 23:22:53 +0000 (19:22 -0400)] 
- The "lightweight named tuple" used when a :class:`.Query` returns
rows failed to implement ``__slots__`` correctly such that it still
had a ``__dict__``.    This is resolved, but in the extremely
unlikely case someone was assigning values to the returned tuples,
that will no longer work.
fixes #3420

10 years ago- Fixed bug where in the case that a pool checkout event handler is used
Mike Bayer [Thu, 14 May 2015 17:59:04 +0000 (13:59 -0400)] 
- Fixed bug where in the case that a pool checkout event handler is used
and the database can no longer be connected towards, that the checkout
handler failure is caught, the attempt to re-acquire the connection
also raises an exception, but the underlying connection record
is not immediately re-checked in before the exception is propagated
outwards, having the effect that the checked-out record does not close
itself until the stack trace it's associated with is garbage collected,
preventing that record from being used for a new checkout until we
leave the scope of the stack trace.   This can lead to confusion
in the specific case of when the number of current stack traces
in memory exceeds the number of connections the pool can return,
as the pool will instead begin to raise errors about no more checkouts
available, rather than attempting a connection again.   The fix
applies a checkin of the record before re-raising.
fixes #3419

10 years ago- Added official support for a CTE used by the SELECT present
Mike Bayer [Fri, 8 May 2015 16:37:55 +0000 (12:37 -0400)] 
- Added official support for a CTE used by the SELECT present
inside of :meth:`.Insert.from_select`.  This behavior worked
accidentally up until 0.9.9, when it no longer worked due to
unrelated changes as part of :ticket:`3248`.   Note that this
is the rendering of the WITH clause after the INSERT, before the
SELECT; the full functionality of CTEs rendered at the top
level of INSERT, UPDATE, DELETE is a new feature targeted for a
later release.
fixes #3418

10 years ago- start 1.0.5
Mike Bayer [Fri, 8 May 2015 16:18:07 +0000 (12:18 -0400)] 
- start 1.0.5

10 years ago1.0.4 rel_1_0_4
Mike Bayer [Fri, 8 May 2015 00:51:09 +0000 (20:51 -0400)] 
1.0.4

10 years ago- plead with RTD to please please use the correct version
Mike Bayer [Thu, 7 May 2015 20:19:08 +0000 (16:19 -0400)] 
- plead with RTD to please please use the correct version

10 years agoRTD doesn't seem to want to refresh on a git tag so go back to using
Mike Bayer [Thu, 7 May 2015 20:05:48 +0000 (16:05 -0400)] 
RTD doesn't seem to want to refresh on a git tag so go back to using
release numbers

(cherry picked from commit 6b55842eef3a243d275bdd5630c1fe62d98e8371)

10 years ago- re-tag zzzeeksphinx w/ new version supporting sphinx 1.3
Mike Bayer [Thu, 7 May 2015 17:47:38 +0000 (13:47 -0400)] 
- re-tag zzzeeksphinx w/ new version supporting sphinx 1.3

10 years ago- bump zs version due to not yet diagnosed error
Mike Bayer [Thu, 7 May 2015 16:34:38 +0000 (12:34 -0400)] 
- bump zs version due to not yet diagnosed error

10 years ago- fix for py3k
Mike Bayer [Thu, 7 May 2015 13:50:37 +0000 (09:50 -0400)] 
- fix for py3k

10 years ago- Fixed unexpected-use regression where in the odd case that the
Mike Bayer [Wed, 6 May 2015 21:07:24 +0000 (17:07 -0400)] 
- Fixed unexpected-use regression where in the odd case that the
primaryjoin of a relationship involved comparison to an unhashable
type such as an HSTORE, lazy loads would fail due to a hash-oriented
check on the statement parameters, modified in 1.0 as a result of
:ticket:`3061` to use hashing and modified in :ticket:`3368`
to occur in cases more common than "load on pending".
The values are now checked for the ``__hash__`` attribute beforehand.
fixes #3416

10 years ago- appease oracle's anger (no sequence defined for these PKs)
Mike Bayer [Tue, 5 May 2015 21:01:13 +0000 (17:01 -0400)] 
- appease oracle's anger (no sequence defined for these PKs)

10 years ago- fix typo MANYTOONE -> MANYTOMANY, fixes #3415
Mike Bayer [Tue, 5 May 2015 20:55:09 +0000 (16:55 -0400)] 
- fix typo MANYTOONE -> MANYTOMANY, fixes #3415

10 years agoMark tests that they require OFFSET support in database
Peter Hoffmann [Tue, 5 May 2015 14:00:09 +0000 (16:00 +0200)] 
Mark tests that they require OFFSET support in database

The sqlalchemy_exasol dialect needs to support Exasol 4.x which does not support
the OFFSET feature. Mark test with testing.requires.offset so that they can be skipped
of in the exasol specific test suite.

10 years ago- Liberalized an assertion that was added as part of :ticket:`3347`
Mike Bayer [Sat, 2 May 2015 15:33:54 +0000 (11:33 -0400)] 
- Liberalized an assertion that was added as part of :ticket:`3347`
to protect against unknown conditions when splicing inner joins
together within joined eager loads with ``innerjoin=True``; if
some of the joins use a "secondary" table, the assertion needs to
unwrap further joins in order to pass.
fixes #3412

10 years ago- Fixed bug in enhanced constraint-attachment logic introduced in
Mike Bayer [Sat, 2 May 2015 14:27:03 +0000 (10:27 -0400)] 
- Fixed bug in enhanced constraint-attachment logic introduced in
:ticket:`3341` where in the unusual case of a constraint that refers
to a mixture of :class:`.Column` objects and string column names
at the same time, the auto-attach-on-column-attach logic will be
skipped; for the constraint to be auto-attached in this case,
all columns must be assembled on the target table up front.
Added a new section to the migration document regarding the
original feature as well as this change.
fixes #3411

10 years ago- start qualifying some regressions as "unexpected use"
Mike Bayer [Sat, 2 May 2015 13:22:11 +0000 (09:22 -0400)] 
- start qualifying some regressions as "unexpected use"
regressions; regressions where we didn't know an API even worked
in a particular way or that anyone were using it in such a way
hence had no tests for such case.

10 years ago- update 3.4 callcounts
Mike Bayer [Fri, 1 May 2015 21:59:11 +0000 (17:59 -0400)] 
- update 3.4 callcounts

10 years ago- move away from explicit raises of SkipTest, instead call a
Mike Bayer [Fri, 1 May 2015 17:15:51 +0000 (13:15 -0400)] 
- move away from explicit raises of SkipTest, instead call a
function patched onto config.  nose/pytest backends now fill
in their exception class here only when loaded
- use more public seeming api to get at py.test Skipped
exception

10 years ago- Repair _reinstall_default_lookups to also flip the _extended flag
Mike Bayer [Fri, 1 May 2015 16:06:34 +0000 (12:06 -0400)] 
- Repair _reinstall_default_lookups to also flip the _extended flag
off again so that test fixtures setup/teardown instrumentation as
expected
- clean up test_extendedattr.py and fix it to no longer leak
itself outside by ensuring _reinstall_default_lookups is always called,
part of #3408
- Fixed bug where when using extended attribute instrumentation system,
the correct exception would not be raised when :func:`.class_mapper`
were called with an invalid input that also happened to not
be weak referencable, such as an integer.
fixes #3408