summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add postgresql tablespace option on indexpr/233beenje2016-02-032-1/+56
| | | | | postgresql_tablespace option was already supported on table but not on index.
* Fix typo in relationship persistance docsJosh Friend2016-02-031-1/+1
|
* - add literal_binds for delete() statements in addition to insert()/update()Mike Bayer2016-02-033-17/+36
| | | | | - move tests to CRUDTest - changelog, fixes #3643
* fix passing literal_binds flag through for update and insertpr/232Tim Tate2016-02-023-4/+21
|
* - changelog for #3621 fixes #3621Mike Bayer2016-02-021-0/+9
|
* Merge branch 'master' of https://bitbucket.org/carlrivers/sqlalchemyMike Bayer2016-02-021-2/+1
|\
| * Merged zzzeek/sqlalchemy into masterCarlos Rivas2016-01-26115-3287/+6926
| |\
| * \ Merged in carlrivers/removed-entry-that-causes-attributeerror-1453541002643 ↵Carlos Rivas2016-01-231-2/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | (pull request #1) Removed entry that causes AttributeError (#3621) - Oracle zxJDBC fails with AttributeError in object OracleCompiler_zxjdbc
| | * | Removed entry that causes AttributeError (#3621) - Oracle zxJDBC fails with ↵Carlos Rivas2016-01-231-2/+1
| |/ / | | | | | | | | | AttributeError in object OracleCompiler_zxjdbc
* | | - test fixes for metadata.enums value now being a listMike Bayer2016-02-022-24/+20
| | | | | | | | | | | | - modernize those tests as well
* | | - add changelog and migration notes for new Enum features,Mike Bayer2016-02-026-110/+393
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #3095, #3292 - reorganize enum constructor to again work with the MySQL ENUM type - add a new create_constraint flag to Enum to complement that of Boolean - reinstate the CHECK constraint tests for enum, these already fail /skip against the MySQL backend - simplify lookup rules in Enum, have them apply to all varieties of Enum equally
* | | - Initial implementation of support for PEP-435 enumerated typesAlex Grönholm2016-02-022-34/+128
| | | | | | | | | | | | within the Enum type.
* | | - D rules seem to have been added overnight to the flake8 pluginMike Bayer2016-02-021-1/+1
| | | | | | | | | | | | | | | I'm using and many of these seem contradictory and/or undesirable. block all until individual rules can be approved.
* | | - Fixed issue where inadvertent use of the Python ``__contains__``Mike Bayer2016-02-025-2/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | override with a column expression (e.g. by using ``'x' in col``) would cause an endless loop in the case of an ARRAY type, as Python defers this to ``__getitem__`` access which never raises for this type. Overall, all use of ``__contains__`` now raises NotImplementedError. fixes #3642
* | | - put a retry in for PG database provisioning as it locksMike Bayer2016-01-291-1/+14
| | | | | | | | | | | | on database use
* | | - The ``sqlalchemy.dialects.postgres`` module, long deprecated, isMike Bayer2016-01-295-19/+38
| | | | | | | | | | | | | | | | | | | | | removed; this has emitted a warning for many years and projects should be calling upon ``sqlalchemy.dialects.postgresql``. Engine URLs of the form ``postgres://`` will still continue to function, however.
* | | - happy new yearMike Bayer2016-01-29177-177/+177
| | |
* | | - use a StaticPool for componentreflectiontest to ensureMike Bayer2016-01-281-7/+16
| | | | | | | | | | | | | | | temp tables are reflectable on the same session they were created
* | | - use schema argument correctly when we are dropping for a schemaMike Bayer2016-01-281-1/+1
| | |
* | | - using extras here has the effect of defeating the usedevelop flagMike Bayer2016-01-281-6/+6
| | | | | | | | | | | | since SQLAlchemy gets installed as develop and in the virtualenv
* | | - revert the change first made in a6fe4dc, as we are now generalizingMike Bayer2016-01-287-18/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the warning here to all safe_reraise() cases in Python 2. - Revisiting :ticket:`2696`, first released in 1.0.10, which attempts to work around Python 2's lack of exception context reporting by emitting a warning for an exception that was interrupted by a second exception when attempting to roll back the already-failed transaction; this issue continues to occur for MySQL backends in conjunction with a savepoint that gets unexpectedly lost, which then causes a "no such savepoint" error when the rollback is attempted, obscuring what the original condition was. The approach has been generalized to the Core "safe reraise" function which takes place across the ORM and Core in any place that a transaction is being rolled back in response to an error which occurred trying to commit, including the context managers provided by :class:`.Session` and :class:`.Connection`, and taking place for operations such as a failure on "RELEASE SAVEPOINT". Previously, the fix was only in place for a specific path within the ORM flush/commit process; it now takes place for all transational context managers as well. fixes #2696
* | | - experimental - try out a very open ended design for the factors, assumeMike Bayer2016-01-271-26/+15
| | | | | | | | | | | | | | | many more combinations of factors are possible and basically make them more akin to command options at the tox level.
* | | - reinstate "dont set up integer index in keymap if we're on cexts",Mike Bayer2016-01-272-6/+11
| | | | | | | | | | | | | | | and this time also fix the cext itself to properly handle int vs. long on py2k
* | | - restore the use of PYTHONNOUSERSITE that was removedMike Bayer2016-01-272-6/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in df3f125bd84fc7ec5d45592c5774daf3a39d9bc9, this flag is explicitly checked within conftest.py and we need to continue to use it, otherwise a tox build inside of .tox that isn't usedevelop is ignored, including C extensions - rework the whole system of running with coverage, so that with coverage, we *are* using usedevelop, but also make sure we rm the .so files for nocext, make sure we --cov-append, etc.
* | | Revert "- dont set up integer index in keymap if we're on cexts"Mike Bayer2016-01-271-10/+5
| | | | | | | | | | | | | | | | | | This reverts commit de0d144a395c31eb74084177df95a4858b830f88. Apparently the test suite is not using the cextensions correctly at the moment.
* | | - dont set up integer index in keymap if we're on cextsMike Bayer2016-01-271-5/+10
| | |
* | | fix %x string format to compatible with Python 3.5Ruilin Huang2016-01-271-1/+1
| | |
* | | fix %x string format to compatible with Python 3.5xghrl2016-01-271-1/+1
| | |
* | | - unfortunately we need to match within join where col.key does not matchMike Bayer2016-01-261-2/+1
| |/ |/| | | | | | | what's given so we need to use a set() here. contains_column is not within any performance paths
* | - rework ColumnCollection to no longer persist "all_col_set"; we don'tMike Bayer2016-01-263-20/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | need this collection except in the extend/update uses where we create it ad-hoc. simplifies pickling. Compatibility with 1.0 should be OK as ColumnColleciton uses __getstate__ in any case and the __setstate__ contract hasn't changed. - Fixed bug in :class:`.Table` metadata construct which appeared around the 0.9 series where adding columns to a :class:`.Table` that was unpickled would fail to correctly establish the :class:`.Column` within the 'c' collection, leading to issues in areas such as ORM configuration. This could impact use cases such as ``extend_existing`` and others. fixes #3632
* | - The workaround for right-nested joins on SQLite, where they are rewrittenMike Bayer2016-01-266-104/+235
| | | | | | | | | | | | | | | | | | | | as subqueries in order to work around SQLite's lack of support for this syntax, is lifted when SQLite version 3.7.16 or greater is detected. fixes #3634 - The workaround for SQLite's unexpected delivery of column names as ``tablename.columnname`` for some kinds of queries is now disabled when SQLite version 3.10.0 or greater is detected. fixes #3633
* | remove PYTHONNOUSERSITE, not sure why this was here, it apparently ↵Mike Bayer2016-01-261-3/+0
| | | | | | | | interferes with coverage
* | - another approach at coverageMike Bayer2016-01-261-32/+26
| |
* | - try to improve the default coverage jobMike Bayer2016-01-261-1/+2
| |
* | - fix the deps for the last changeMike Bayer2016-01-241-6/+6
| |
* | - unfortunately we have to force the paths to be shorter due toMike Bayer2016-01-241-7/+7
| | | | | | | | https://github.com/pypa/virtualenv/issues/596
* | - add a new qualifier "native" vs. "dbapi" unicode to avoidMike Bayer2016-01-247-494/+450
| | | | | | | | | | | | profiling problems here - add extras_require to setup.py for the most common DBAPIs - rework tox.ini to use extras, specify a test matrix built in
* | - fix array test that was essentially taking a weird guessMike Bayer2016-01-231-2/+2
| | | | | | | | | | | | at the primary key of a row based on other tests invoking around it (cherry picked from commit 7d70dfd412c05fd8349339da01b472bd3df02082)
* | - fix stray connectionMike Bayer2016-01-231-1/+4
| |
* | - restate the "secondary" / AssociationProxy warning more strongly.Mike Bayer2016-01-231-10/+52
| | | | | | | | references #3638
* | - use regex here, columns dont matter, keep coming up with different orderingsMike Bayer2016-01-231-3/+3
| |
* | - use uuid fragments for provision names to enable multiple test suitesMike Bayer2016-01-231-2/+2
| | | | | | | | per server
* | - native unicode expectations are too difficult to maintainMike Bayer2016-01-231-60/+0
| | | | | | | | w/ the number of drivers /DBURIs / python versions
* | - move out match compiler test to test_compilerMike Bayer2016-01-232-23/+11
| | | | | | | | - test_query isn't assertscompiledsql
* | - make this test deterministicMike Bayer2016-01-211-3/+3
| |
* | - add a forwards-test here as wellMike Bayer2016-01-211-0/+4
| |
* | - documenation updates to clarify specific SQLite versionsMike Bayer2016-01-213-13/+41
| | | | | | | | | | | | | | | | | | that have problems with right-nested joins and UNION column keys; references #3633 references #3634. backport from 1.1 to 0.9 announcing 1.1 as where these behaviors will be retired based on version-specific checks - fix test_resultset so that it passes when SQLite 3.10.0 is present, references #3633
* | - Added new parameter :paramref:`.orm.mapper.passive_deletes` toMike Bayer2016-01-207-2/+367
| | | | | | | | | | | | | | | | available mapper options. This allows a DELETE to proceed for a joined-table inheritance mapping against the base table only, while allowing for ON DELETE CASCADE to handle deleting the row from the subclass tables. fixes #2349
* | - The unsupported Sybase dialect now raises ``NotImplementedError``Mike Bayer2016-01-203-8/+20
| | | | | | | | | | when attempting to compile a query that includes "offset"; Sybase has no straightforward "offset" feature. fixes #2278
* | - generalize the verbiage on LargeBinary so that it doesn'tMike Bayer2016-01-202-12/+5
| | | | | | | | create confusion for inherited classes such as BYTEA, fixes