summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix tag typo in changelog_09pr/81Tony Narlock2014-03-211-1/+1
|
* - reword the paragraph which talks about web framework integration for sessions:Mike Bayer2014-03-201-10/+7
| | | | | | | | | | | 1. fix the typo in the paragraph, fixes #2998 2. as zope-sqlalchemy only provides transaction integration and not session scoping, dial back the language here as people are probably using scoped_session with pyramid anyway 3. as I'm going to again start recommending people don't cling to flask-sqlalchemy so hard, take out the word "strongly" from the recommendation. 4. as flask is the only framework I can think of that actually has an explicit SQLAlchemy layer that handles setting up scoped_session, take out the word "most", now it's "some web frameworks" (by which it means "only flask...and flask-sqlalchemy is probably not worth using anyway")
* - The :meth:`.ConnectionEvents.after_cursor_execute` event is nowMike Bayer2014-03-193-4/+67
| | | | | | | | | | | | emitted for the "_cursor_execute()" method of :class:`.Connection`; this is the "quick" executor that is used for things like when a sequence is executed ahead of an INSERT statement, as well as for dialect startup checks like unicode returns, charset, etc. the :meth:`.ConnectionEvents.before_cursor_execute` event was already invoked here. The "executemany" flag is now always set to False here, as this event always corresponds to a single execution. Previously the flag could be True if we were acting on behalf of an executemany INSERT statement.
* fix assertionMike Bayer2014-03-191-1/+1
|
* - Fixed bug in mutable extension as well asMike Bayer2014-03-196-3/+41
| | | | | | :func:`.attributes.flag_modified` where the change event would not be propagated if the attribute had been reassigned to itself. fixes #2997
* Merge branch 'ca/dev/add_is_and_isnot_to_tutorial' of ↵Mike Bayer2014-03-171-0/+6
|\ | | | | | | https://github.com/charlax/sqlalchemy
| * Add is_ and isnot filter to the tutorialpr/80Charles-Axel Dein2014-03-151-0/+6
| | | | | | | | Most linter complain when comparing with None.
* | - Improved an error message which would occur if a query() were madeMike Bayer2014-03-173-0/+29
| | | | | | | | | | | | | | against a non-selectable, such as a :func:`.literal_column`, and then an attempt was made to use :meth:`.Query.join` such that the "left" side would be determined as ``None`` and then fail. This condition is now detected explicitly.
* | typoMike Bayer2014-03-161-1/+1
| |
* | - Added support for the not-quite-yet-documented ``insert=True``Mike Bayer2014-03-163-11/+69
| | | | | | | | flag for :func:`.event.listen` to work with mapper / instance events.
* | - fairly epic rework of the cascade documentationMike Bayer2014-03-155-172/+337
|/
* - correct this to make the intention clearMike Bayer2014-03-131-2/+1
|
* - Added support for literal rendering of boolean values, e.g.Mike Bayer2014-03-134-45/+95
| | | | | "true" / "false" or "1" / "0". - added Boolean tests to the test suite
* - move some requirements up to the testing module to better support runningMike Bayer2014-03-132-32/+54
| | | | SQLA internal tests outside; plus things like savepoints, twophase
* commentMike Bayer2014-03-131-0/+7
|
* - add a suite test for underscore as initial charMike Bayer2014-03-131-0/+14
|
* - add more support for suite tests, moving some tests from test_query out to ↵Mike Bayer2014-03-135-159/+228
| | | | | | suite and adding some more requirements
* - Added a new feature :func:`.schema.conv`, the purpose of which is toMike Bayer2014-03-124-5/+58
| | | | | | | | mark a constraint name as already having had a naming convention applied. This token will be used by Alembic migrations as of Alembic 0.6.4 in order to render constraints in migration scripts with names marked as already having been subject to a naming convention. re: #2991
* :paramref:`.MetaData.naming_convention` feature will now alsoMike Bayer2014-03-123-2/+34
| | | | | | apply to :class:`.CheckConstraint` objects that are associated directly with a :class:`.Column` instead of just on the :class:`.Table`.
* - Fixed bug in new :paramref:`.MetaData.naming_convention` featureMike Bayer2014-03-124-4/+51
| | | | | | | | | where the name of a check constraint making use of the `"%(constraint_name)s"` token would get doubled up for the constraint generated by a boolean or enum type, and overall duplicate events would cause the `"%(constraint_name)s"` token to keep compounding itself. fixes #2991
* unitttest has a SkipTest also but pytest doesn'tMike Bayer2014-03-111-6/+4
| | | | honor it unless nose is imported too...
* add a string example for self-refenretial many-to-manyMike Bayer2014-03-111-0/+18
|
* - A warning is emitted if the :meth:`.MapperEvents.before_configured`Mike Bayer2014-03-113-2/+90
| | | | | | or :meth:`.MapperEvents.after_configured` events are applied to a specific mapper or mapped class, as the events are only invoked for the :class:`.Mapper` target at the general level.
* - Added a new keyword argument ``once=True`` to :func:`.event.listen`Mike Bayer2014-03-116-6/+66
| | | | | and :func:`.event.listens_for`. This is a convenience feature which will wrap the given listener such that it is only invoked once.
* Merge pull request #79 from nibrahim/mastermike bayer2014-03-111-1/+1
|\ | | | | Fixes argument number in docs
| * Fixes argument number in docspr/79Noufal Ibrahim2014-03-111-1/+1
|/ | | The selectable is the third argument to with_polymorphic.
* take out the support paragraph and just put a basic introMike Bayer2014-03-091-9/+3
|
* Merge pull request #75 from msabramo/pymssql_update_web_sitemike bayer2014-03-091-9/+7
|\ | | | | Update URL for pymssql
| * dialects/mssql/pymssql.py: Remove second two paragraphs, as requested by ↵pr/75Marc Abramowitz2014-03-031-9/+0
| | | | | | | | @zzzeek.
| * Update pymssql dialect description, remove "limitations" sectionMarc Abramowitz2014-02-271-9/+16
| |
| * Update URL for pymssqlMarc Abramowitz2014-02-271-1/+1
| |
* | put fails for these various things that don't work on pypy, not sure what ↵Mike Bayer2014-03-081-1/+7
| | | | | | | | | | | | approach should be taken
* | import testing needs to be here as we set .db on itMike Bayer2014-03-071-0/+1
| |
* | - cx_oracle test for "unicode returns" needs to be cx_oracle only,Mike Bayer2014-03-064-5/+9
| | | | | | | | | | | | | | and also will fail on py3k. - enhance exclusions so that a requirement attribute can be passed to fails_if/skip_if. - fix coverage docs to mention pytest.
* | - changelog for pullreq github:74Mike Bayer2014-03-053-41/+104
| | | | | | | | | | - various improvemnts to oracle docs, rewrite section on unicode, more linking, enhance section on resolve_synonyms
* | Merge branch 'master' of https://github.com/Cito/sqlalchemy into tMike Bayer2014-03-052-3/+27
|\ \
| * | Restore coercion to unicode with cx_Oracle.pr/74Christoph Zwerschke2014-02-272-3/+27
| |/ | | | | | | This feature is now turned off by default.
* | - Fixed small issue in :class:`.SingletonThreadPool` where the currentMike Bayer2014-03-052-3/+10
| | | | | | | | | | connection to be returned might get inadvertently cleaned out during the "cleanup" process. Patch courtesy jd23.
* | ignore .patch filesMike Bayer2014-03-051-0/+1
| |
* | - finding myself still using nose for short runs as it starts up faster,Mike Bayer2014-03-051-4/+0
| | | | | | | | let's stay on the fence.
* | pytest calls all the descriptors. and we can't call this one unconditionallyMike Bayer2014-03-041-7/+6
| |
* | - no unitest.SkipTest in 2.6...argggggMike Bayer2014-03-041-1/+9
| |
* | cut out the BS as far as MySQLdb urls, put the one url everyone should be usingMike Bayer2014-03-041-22/+14
| |
* | - Fixed bug in association proxy where assigning an empty sliceMike Bayer2014-03-043-2/+16
| | | | | | | | (e.g. ``x[:] = [...]``) would fail on Py3k.
* | add a seealso hereMike Bayer2014-03-042-0/+6
| |
* | fix the profiling ids hereMike Bayer2014-03-032-27/+9
| |
* | fix pypy failuresMike Bayer2014-03-031-2/+1
| |
* | - Support has been added for pytest to run tests. This runnerMike Bayer2014-03-0347-764/+1066
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is currently being supported in addition to nose, and will likely be preferred to nose going forward. The nose plugin system used by SQLAlchemy has been split out so that it works under pytest as well. There are no plans to drop support for nose at the moment and we hope that the test suite itself can continue to remain as agnostic of testing platform as possible. See the file README.unittests.rst for updated information on running tests with pytest. The test plugin system has also been enhanced to support running tests against mutiple database URLs at once, by specifying the ``--db`` and/or ``--dburi`` flags multiple times. This does not run the entire test suite for each database, but instead allows test cases that are specific to certain backends make use of that backend as the test is run. When using pytest as the test runner, the system will also run specific test suites multiple times, once for each database, particularly those tests within the "dialect suite". The plan is that the enhanced system will also be used by Alembic, and allow Alembic to run migration operation tests against multiple backends in one run, including third-party backends not included within Alembic itself. Third party dialects and extensions are also encouraged to standardize on SQLAlchemy's test suite as a basis; see the file README.dialects.rst for background on building out from SQLAlchemy's test platform.
* | - get util.get_callable_argspec() to be completely bulletproof for 2.6-3.4,Mike Bayer2014-03-024-40/+123
| | | | | | | | | | methods, classes, builtins, functools.partial(), everything known so far - use get_callable_argspec() within ColumnDefault._maybe_wrap_callable, re: #2979
* | - Fixed some test/feature failures occurring in Python 3.4,Mike Bayer2014-03-024-28/+23
| | | | | | | | | | | | in particular the logic used to wrap "column default" callables wouldn't work properly for Python built-ins. fixes #2979