]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
9 years agoFix some broken links in docs rel_0_8 bb_old/rel_0_8
Ville Skyttä [Mon, 4 Apr 2016 10:46:07 +0000 (13:46 +0300)] 
Fix some broken links in docs

(cherry picked from commit b1c9b3bd384fc40e1c411abef12eaf04b574612f)

9 years ago- update oracle JDBC driver URL, fixes #3554
Mike Bayer [Wed, 20 Jan 2016 20:58:24 +0000 (15:58 -0500)] 
- update oracle JDBC driver URL, fixes #3554

(cherry picked from commit 24dba714cb56e1f5a4dca5453cc5f442e6ee08ab)

9 years agoUpdate base.py
Peter Demin [Wed, 7 Oct 2015 15:38:48 +0000 (11:38 -0400)] 
Update base.py

Docstring typo keysowrds => keywords
(cherry picked from commit f8eb7c2858443649190b735c587c190ae90b6106)

9 years ago- remove ambiguous use of the phrase "joined together by AND" as this
Mike Bayer [Thu, 1 Oct 2015 13:37:53 +0000 (09:37 -0400)] 
- remove ambiguous use of the phrase "joined together by AND" as this
may be construed as the Python "and" keyword
- add notes to ORM tutorial for beginners that Python "and" keyword
is not to be used
fixes #3545

(cherry picked from commit ac08920284935e7e7519ce77ba369703390155dc)

9 years agoCorrecting the Hybrid Property Example
Jason Myers [Thu, 10 Sep 2015 13:23:54 +0000 (08:23 -0500)] 
Correcting the Hybrid Property Example

Fixes #3528

Signed-off-by: Jason Myers <jason@jasonamyers.com>
Conflicts:
lib/sqlalchemy/ext/hybrid.py

9 years agofix typo int->into
halfcrazy [Sun, 9 Aug 2015 04:00:17 +0000 (12:00 +0800)] 
fix typo int->into
(cherry picked from commit 51870ddaef8abf61ee4c8d6337a72db5395a0a85)

10 years agofdb drivers seem to be no longer available
Mike Bayer [Tue, 24 Mar 2015 23:30:09 +0000 (19:30 -0400)] 
fdb drivers seem to be no longer available

(cherry picked from commit 422fca43f8af1bfba0c2a2d24aa2eca7fc3bd558)

10 years ago- fix typo, fixes #3325
Mike Bayer [Tue, 17 Mar 2015 21:32:16 +0000 (17:32 -0400)] 
- fix typo, fixes #3325

(cherry picked from commit 138293c246fbf8c6693044a89fe788d0d0446113)

10 years ago- remove now-misleading comment that SQLite doesn't support MATCH,
Mike Bayer [Sat, 14 Mar 2015 14:17:12 +0000 (10:17 -0400)] 
- remove now-misleading comment that SQLite doesn't support MATCH,
since they've apparently added something for it

10 years ago- call this 1.0.0b1
Mike Bayer [Fri, 13 Mar 2015 20:25:10 +0000 (16:25 -0400)] 
- call this 1.0.0b1

(cherry picked from commit 64b7a50cbd64b44fa8ee8413213e9eae73483515)
(cherry picked from commit 601e16daf30a00dd049507cb8bfa4931013c2e46)

10 years ago- fix quantize recipe, fixes #3322
Mike Bayer [Thu, 12 Mar 2015 15:49:35 +0000 (11:49 -0400)] 
- fix quantize recipe, fixes #3322

10 years ago- backport the latest version of scrolling
Mike Bayer [Tue, 30 Dec 2014 15:35:40 +0000 (10:35 -0500)] 
- backport the latest version of scrolling

10 years ago- merge the safari-related changes to init.js from zzzeeksphinx
Mike Bayer [Mon, 29 Dec 2014 01:16:09 +0000 (20:16 -0500)] 
- merge the safari-related changes to init.js from zzzeeksphinx

10 years agoMaul the evaulate & friends typo
Priit Laes [Fri, 19 Dec 2014 16:46:16 +0000 (18:46 +0200)] 
Maul the evaulate & friends typo

this is only a small part of the cherry-pick as the docs
have been reorganized since 0.8

(cherry picked from commit 8ae47dc6e0a98b359247040236be0810b9086f40)

Conflicts:
doc/build/changelog/changelog_10.rst
doc/build/changelog/migration_10.rst
lib/sqlalchemy/ext/declarative/base.py

(cherry picked from commit 6e7701d534141ed8c4cba668792f2bb528a5af61)

Conflicts:
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/dialects/postgresql/json.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/sql/dml.py
lib/sqlalchemy/sql/elements.py
lib/sqlalchemy/sql/operators.py

10 years agoFixed typo
mozillazg [Wed, 15 Oct 2014 13:40:19 +0000 (21:40 +0800)] 
Fixed typo
Conflicts:
lib/sqlalchemy/sql/schema.py

10 years agoUpdated documenation for engines.rst
Jim Hokanson [Sun, 14 Sep 2014 04:25:41 +0000 (00:25 -0400)] 
Updated documenation for engines.rst

Clarified connecting to absolute path for sqlite using Windows.

10 years ago- for whatever reason, Insert.values() with multi values wasn't
Mike Bayer [Tue, 9 Sep 2014 22:59:59 +0000 (18:59 -0400)] 
- for whatever reason, Insert.values() with multi values wasn't
in the 0.8 migration, so let's just add that

10 years ago- mako_layout isn't used, remove it
Mike Bayer [Sun, 7 Sep 2014 22:10:40 +0000 (18:10 -0400)] 
- mako_layout isn't used, remove it
- to check for epub look at "builder"

10 years agoDocs: use the base layout when mako_layout=='epub'
hiaselhans [Sat, 6 Sep 2014 11:32:58 +0000 (13:32 +0200)] 
Docs: use the base layout when mako_layout=='epub'

  - https://readthedocs.org/projects/sqlalchemy/downloads/epub/latest/ renders with the full template which is unreadable on e-readers
  - in the makefile the template-variable mako_layout is set for target: epub which makes mako use only the base layout.
  - this is the more elegant solution as proposed to #133

10 years ago- clarify docs that contains_eager() is included in the of_type() system,
Mike Bayer [Thu, 7 Aug 2014 13:59:59 +0000 (09:59 -0400)] 
- clarify docs that contains_eager() is included in the of_type() system,
fix #2438

10 years agofix typo in cascade documentation
Michael White [Wed, 6 Aug 2014 02:47:40 +0000 (22:47 -0400)] 
fix typo in cascade documentation

10 years ago0.8.7 rel_0_8_7
Mike Bayer [Tue, 22 Jul 2014 20:56:07 +0000 (16:56 -0400)] 
0.8.7

10 years ago- backport 0.9-related updates
Mike Bayer [Tue, 22 Jul 2014 20:53:31 +0000 (16:53 -0400)] 
- backport 0.9-related updates

10 years ago- ticket inline
Mike Bayer [Tue, 22 Jul 2014 20:25:58 +0000 (16:25 -0400)] 
- ticket inline

10 years ago- backport #3093 to 0.8, fixes #3093
Mike Bayer [Wed, 16 Jul 2014 17:42:23 +0000 (13:42 -0400)] 
- backport #3093 to 0.8, fixes #3093

10 years ago- need Integer here as #1765 is in 0.9
Mike Bayer [Wed, 16 Jul 2014 14:52:35 +0000 (10:52 -0400)] 
- need Integer here as #1765 is in 0.9

10 years ago- Added statement encoding to the "SET IDENTITY_INSERT"
Mike Bayer [Mon, 14 Jul 2014 23:02:20 +0000 (19:02 -0400)] 
- Added statement encoding to the "SET IDENTITY_INSERT"
statements which operate when an explicit INSERT is being
interjected into an IDENTITY column, to support non-ascii table
identifiers on drivers such as pyodbc + unix + py2k that don't
support unicode statements.
ref #3091 as this fix is also in that issue's patch, but is
a different issue.

10 years ago- In the SQL Server pyodbc dialect, repaired the implementation
Mike Bayer [Mon, 14 Jul 2014 22:54:23 +0000 (18:54 -0400)] 
- In the SQL Server pyodbc dialect, repaired the implementation
for the ``description_encoding`` dialect parameter, which when
not explicitly set was preventing  cursor.description from
being parsed correctly in the case of result sets that
contained names in alternate encodings.  This parameter
shouldn't be needed going forward.
fixes #3091

Conflicts:
test/sql/test_unicode.py

10 years ago- add some order bys
Mike Bayer [Mon, 14 Jul 2014 20:31:16 +0000 (16:31 -0400)] 
- add some order bys

10 years ago- adjust this to work on PG also
Mike Bayer [Mon, 14 Jul 2014 03:59:12 +0000 (23:59 -0400)] 
- adjust this to work on PG also

10 years ago- Fixed bug in :class:`.Enum` and other :class:`.SchemaType`
Mike Bayer [Sun, 13 Jul 2014 22:55:18 +0000 (18:55 -0400)] 
- Fixed bug in :class:`.Enum` and other :class:`.SchemaType`
subclasses where direct association of the type with a
:class:`.MetaData` would lead to a hang when events
(like create events) were emitted on the :class:`.MetaData`.
fixes #3124

Conflicts:
lib/sqlalchemy/sql/sqltypes.py
test/sql/test_types.py

11 years ago- Fixed a bug within the custom operator plus :meth:`.TypeEngine.with_variant`
Mike Bayer [Fri, 27 Jun 2014 20:08:42 +0000 (16:08 -0400)] 
- Fixed a bug within the custom operator plus :meth:`.TypeEngine.with_variant`
system, whereby using a :class:`.TypeDecorator` in conjunction with
variant would fail with an MRO error when a comparison operator was used.
fixes #3102

Conflicts:
lib/sqlalchemy/sql/type_api.py

11 years agowrong version number
Mike Bayer [Fri, 27 Jun 2014 20:07:05 +0000 (16:07 -0400)] 
wrong version number

11 years ago- MySQL error 2014 "commands out of sync" appears to be raised as a
Mike Bayer [Fri, 27 Jun 2014 19:52:40 +0000 (15:52 -0400)] 
- MySQL error 2014 "commands out of sync" appears to be raised as a
ProgrammingError, not OperationalError, in modern MySQL-Python versions;
all MySQL error codes that are tested for "is disconnect" are now
checked within OperationalError and ProgrammingError regardless.
fixes #3101

11 years agoadditional version notes
Mike Bayer [Fri, 20 Jun 2014 22:06:15 +0000 (18:06 -0400)] 
additional version notes

11 years ago- Fixed bug where column names added to ``mysql_length`` parameter
Mike Bayer [Wed, 18 Jun 2014 14:56:23 +0000 (10:56 -0400)] 
- Fixed bug where column names added to ``mysql_length`` parameter
on an index needed to have the same quoting for quoted names in
order to be recognized.  The fix makes the quotes optional but
also provides the old behavior for backwards compatibility with those
using the workaround.
fixes #3085

11 years ago- The ``__mapper_args__`` dictionary is copied from a declarative
Mike Bayer [Fri, 30 May 2014 19:36:13 +0000 (15:36 -0400)] 
- The ``__mapper_args__`` dictionary is copied from a declarative
mixin or abstract class when accessed, so that modifications made
to this dictionary by declarative itself won't conflict with that
of other mappings.  The dictionary is modified regarding the
``version_id_col`` and ``polymorphic_on`` arguments, replacing the
column within with the one that is officially mapped to the local
class/table. fixes #3062

11 years agorelative here
Mike Bayer [Thu, 29 May 2014 22:52:15 +0000 (18:52 -0400)] 
relative here

11 years ago- all new approach which allows the main text to be on the top
Mike Bayer [Thu, 29 May 2014 19:26:31 +0000 (15:26 -0400)] 
- all new approach which allows the main text to be on the top

11 years ago- disable the scrolling layout, anchors for code/params are not working,
Mike Bayer [Thu, 29 May 2014 16:28:19 +0000 (12:28 -0400)] 
- disable the scrolling layout, anchors for code/params are not working,
and the current approach used for sections is not able to work for fine-grained
anchors like these, another approach needs to be taken.

11 years ago- a rework of doc layout and nav:
Mike Bayer [Wed, 28 May 2014 14:56:52 +0000 (10:56 -0400)] 
- a rework of doc layout and nav:
  - reduce the real estate for the top nav; move the search box
    into the top yellow box, close in space
  - use a new CSS/js approach such that the top toolbar freezes from
    scrolling at the top of the page.  The left nav scrolls independently
    of the content pane so that the local contents remain visible regardless
    of scrolling.   this approach is disabled on mobile where the dual scrollbars
    may be cumbersome (overall the site is not well designed for mobile).

11 years ago- Fixed bug in INSERT..FROM SELECT construct where selecting from a
Mike Bayer [Sun, 25 May 2014 18:08:41 +0000 (14:08 -0400)] 
- Fixed bug in INSERT..FROM SELECT construct where selecting from a
UNION would wrap the union in an anonymous (e.g. unlabled) subquery.
fixes #3044

11 years ago- Added the ``hashable=False`` flag to the PG :class:`.HSTORE` type, which
Mike Bayer [Sun, 25 May 2014 17:58:08 +0000 (13:58 -0400)] 
- Added the ``hashable=False`` flag to the PG :class:`.HSTORE` type, which
is needed to allow the ORM to skip over trying to "hash" an ORM-mapped
HSTORE column when requesting it in a mixed column/entity list.
Patch courtesy Gunnlaugur Þór Briem.  Fixes #3053

11 years ago- Fixed bug in subquery eager loading where a long chain of
Mike Bayer [Sun, 25 May 2014 17:45:32 +0000 (13:45 -0400)] 
- Fixed bug in subquery eager loading where a long chain of
eager loads across a polymorphic-subclass boundary in conjunction
with polymorphic loading would fail to locate the subclass-link in the
chain, erroring out with a missing property name on an
:class:`.AliasedClass`. fixes #3055
- adjust the test from 1.0/0.9 to not use chained eager load style

11 years ago- hyperlink all the column operators listed in the ORM tutorial common filter operato...
Mike Bayer [Sat, 24 May 2014 13:54:20 +0000 (09:54 -0400)] 
- hyperlink all the column operators listed in the ORM tutorial common filter operators section
- add language to MATCH explicitly stating this operator varies by backend and is not available
on SQLite, as the tutorial defaults to SQLite to start with, fix #3059
- on the actual match() documentation fix this up to be more accurate, list some example renderings
for different backends.  again mention SQLite not supported

11 years agotypo
Mike Bayer [Fri, 16 May 2014 16:59:47 +0000 (12:59 -0400)] 
typo

11 years ago- add lots more to the profiling section
Mike Bayer [Fri, 16 May 2014 15:53:12 +0000 (11:53 -0400)] 
- add lots more to the profiling section
- add the query profiling recipe, fix it with a stack as we now nest those
calls occasionally
- tabs to spaces

Conflicts:
doc/build/faq.rst

11 years agoAdd note on PostgreSQL config for test runs
Gunnlaugur Þór Briem [Thu, 15 May 2014 21:02:59 +0000 (21:02 +0000)] 
Add note on PostgreSQL config for test runs

Several tests on PostgreSQL depend on English-language text search
config being the default in the test DB. This adds a note about that.

Conflicts:
README.unittests.rst

11 years ago- Fixed bug in mutable extension where :class:`.MutableDict` did not
Mike Bayer [Wed, 14 May 2014 14:03:24 +0000 (10:03 -0400)] 
- Fixed bug in mutable extension where :class:`.MutableDict` did not
report change events for the ``setdefault()`` dictionary operation.
fixes #3051

11 years ago- add a new FAQ section "performance", put the profiling article there,
Mike Bayer [Mon, 12 May 2014 21:16:15 +0000 (17:16 -0400)] 
- add a new FAQ section "performance", put the profiling article there,
move the insert rows article there as well

11 years agoPosgtresql -> PostgreSQL
Wieland Hoffmann [Sun, 4 May 2014 19:34:37 +0000 (19:34 +0000)] 
Posgtresql -> PostgreSQL

11 years agochangelog for pullreq bitbucket:15
Mike Bayer [Mon, 12 May 2014 15:39:49 +0000 (11:39 -0400)] 
changelog for pullreq bitbucket:15

11 years agoAdded optional '=' to MySQL KEY_BLOCK_SIZE regex
W. Sean McGivern [Sat, 19 Apr 2014 16:16:46 +0000 (12:16 -0400)] 
Added optional '=' to MySQL KEY_BLOCK_SIZE regex

11 years agoDocumentation fix-up: "its" vs. "it's"
Matthias Urlichs [Sun, 11 May 2014 14:49:56 +0000 (16:49 +0200)] 
Documentation fix-up: "its" vs. "it's"

Removed ungrammatical apostrophes from documentation, replacing
"it's" with "its" where appropriate (but in a few cases with "it is"
when that read better).

While doing that, I also fixed a couple of minor typos etc.
as I noticed them.

11 years ago- Fixed ORM bug where the :func:`.class_mapper` function would mask
Mike Bayer [Sun, 11 May 2014 03:26:09 +0000 (23:26 -0400)] 
- Fixed ORM bug where the :func:`.class_mapper` function would mask
AttributeErrors or KeyErrors that should raise during mapper
configuration due to user errors.  The catch for attribute/keyerror
has been made more specific to not include the configuration step.
fixes #3047

11 years ago- Fixed bug where :meth:`.Table.update` and :meth:`.Table.delete`
Mike Bayer [Fri, 9 May 2014 02:44:06 +0000 (22:44 -0400)] 
- Fixed bug where :meth:`.Table.update` and :meth:`.Table.delete`
would produce an empty WHERE clause when an empty :func:`.and_()`
or :func:`.or_()` or other blank expression were applied.  This is
now consistent with that of :func:`.select`.
fixes #3045

11 years agoFix many typos throughout the codebase
Alex Gaynor [Sat, 26 Apr 2014 20:13:13 +0000 (13:13 -0700)] 
Fix many typos throughout the codebase
cherry pick of those parts of 1caa7fa which went in without issue
Found using: https://github.com/intgr/topy

11 years ago- add a note about versioning only applying to flushes
Mike Bayer [Fri, 25 Apr 2014 16:31:04 +0000 (12:31 -0400)] 
- add a note about versioning only applying to flushes

11 years ago- document that joinedload/eagerload work with of_type() + with_polymoprhic()
Mike Bayer [Wed, 23 Apr 2014 23:13:04 +0000 (19:13 -0400)] 
- document that joinedload/eagerload work with of_type() + with_polymoprhic()

11 years agoAdded some links in session docs
benselme [Wed, 23 Apr 2014 16:18:32 +0000 (12:18 -0400)] 
Added some links in session docs

11 years ago0.8.7
Mike Bayer [Fri, 11 Apr 2014 19:44:52 +0000 (15:44 -0400)] 
0.8.7

11 years ago- Added a new "disconnect" message "connection has been closed unexpectedly".
Mike Bayer [Fri, 11 Apr 2014 19:42:36 +0000 (15:42 -0400)] 
- Added a new "disconnect" message "connection has been closed unexpectedly".
This appears to be related to newer versions of SSL.
Pull request courtesy Antti Haapala.

11 years agoadded an SSL related connection error
antti_haapala [Fri, 11 Apr 2014 19:38:07 +0000 (19:38 +0000)] 
added an SSL related connection error

11 years agoFixed bug in example code.
Daniel Smith [Thu, 10 Apr 2014 23:15:17 +0000 (19:15 -0400)] 
Fixed bug in example code.

11 years agorepair erroneous whitespace in autodoc directives, preventing members from
Mike Bayer [Sun, 6 Apr 2014 22:14:44 +0000 (18:14 -0400)] 
repair erroneous whitespace in autodoc directives, preventing members from
being documented

11 years ago- add some docs for the instancestate linkage to the inspection system
Mike Bayer [Fri, 4 Apr 2014 21:33:35 +0000 (17:33 -0400)] 
- add some docs for the instancestate linkage to the inspection system

11 years ago- reverse order of columns in sample CTEs as this is a UNION and the cols need to...
Mike Bayer [Wed, 2 Apr 2014 22:11:11 +0000 (18:11 -0400)] 
- reverse order of columns in sample CTEs as this is a UNION and the cols need to line up
- alter this in the unit tests as well as these queries were just copied from the tests
- remove the included_parts.join(parts) from the core CTE doc (also just copied from the
test, where we want to make sure joins don't get screwed up with the CTE) as it doesn't
contribute to the query itself
fixes #3014

11 years ago0.8.6 rel_0_8_6
Mike Bayer [Fri, 28 Mar 2014 23:40:21 +0000 (19:40 -0400)] 
0.8.6

11 years agothis doesnt need sane multi row now...
Mike Bayer [Fri, 28 Mar 2014 23:17:04 +0000 (19:17 -0400)] 
this doesnt need sane multi row now...

11 years ago- revert part of c01558ae7f4a for now as we also test that a DELETE of two rows
Mike Bayer [Fri, 28 Mar 2014 21:42:55 +0000 (17:42 -0400)] 
- revert part of c01558ae7f4a for now as we also test that a DELETE of two rows
where one is to be deleted from ON DELETE CASCADE succeeds; the check here makes that fail.
We will need to add an option to enable/disable this check per mapping, will likely
do this in next version

11 years agorevert inadvertent pdb
Mike Bayer [Fri, 28 Mar 2014 20:48:05 +0000 (16:48 -0400)] 
revert inadvertent pdb

11 years ago- the rewording of orderinglist docs got committed by accident, finish it up
Mike Bayer [Fri, 28 Mar 2014 20:47:12 +0000 (16:47 -0400)] 
- the rewording of orderinglist docs got committed by accident, finish it up

11 years ago- Fixed ORM bug where changing the primary key of an object, then marking
Mike Bayer [Fri, 28 Mar 2014 20:32:11 +0000 (16:32 -0400)] 
- Fixed ORM bug where changing the primary key of an object, then marking
it for DELETE would fail to target the correct row for DELETE.
Then to compound matters, basic "number of rows matched" checks were
not being performed.  Both issues are fixed, however note that the
"rows matched" check requires so-called "sane multi-row count"
functionality; the DBAPI's executemany() method must count up the
rows matched by individual statements and SQLAlchemy's dialect must
mark this feature as supported, currently applies to some mysql dialects,
psycopg2, sqlite only. fixes #3006
- Enabled "sane multi-row count" checking for the psycopg2 DBAPI, as
this seems to be supported as of psycopg2 2.0.9.

Conflicts:
test/orm/test_naturalpks.py
test/requirements.py

11 years agoAdded missing text_type requirement to TextTest
Stefan Reich [Wed, 26 Mar 2014 15:04:23 +0000 (16:04 +0100)] 
Added missing text_type requirement to TextTest

11 years ago- Fixed regression caused by release 0.8.5 / 0.9.3's compatibility
Mike Bayer [Tue, 25 Mar 2014 16:26:42 +0000 (12:26 -0400)] 
- Fixed regression caused by release 0.8.5 / 0.9.3's compatibility
enhancements where index reflection on Postgresql versions specific
to only the 8.1, 8.2 series again
broke, surrounding the ever problematic int2vector type.  While
int2vector supports array operations as of 8.1, apparently it only
supports CAST to a varchar as of 8.3.
fix #3000

11 years ago- Fixed regression from 0.8.3 as a result of :ticket:`2818`
Mike Bayer [Sat, 22 Mar 2014 23:55:00 +0000 (19:55 -0400)] 
- Fixed regression from 0.8.3 as a result of :ticket:`2818`
where :meth:`.Query.exists` wouldn't work on a query that only
had a :meth:`.Query.select_from` entry but no other entities.
re: #2818 fixes #2995

11 years ago- Adjusted ``setup.py`` file to support the possible future
Mike Bayer [Sat, 22 Mar 2014 21:31:50 +0000 (17:31 -0400)] 
- Adjusted ``setup.py`` file to support the possible future
removal of the ``setuptools.Feature`` extension from setuptools.
If this keyword isn't present, the setup will still succeed
with setuptools rather than falling back to distutils.  C extension
building can be disabled now also by setting the
DISABLE_SQLALCHEMY_CEXT environment variable.  This variable works
whether or not setuptools is even available. fixes #2986
- using platform.python_implementation() in setup.py to detect CPython.
I've tested this function on OSX and linux on Python 2.6 through 3.4,
including 3.1, 3.2, 3.3.
Unfortunately, on OSX + 3.2 only, it seems to segfault.  I've tried
installing 3.2.5 from the python.org .dmg, building it from source,
and also blew away the whole 3.2 directory, something seems to be wrong
with the "platform" module on that platform only, and there's also no
issue on bugs.python.org; however, I'm going with
it anyway. If someone is using 3.2 on OSX they really should be upgrading.
- adjusted the logic for platform_implementation(), apparently "platform"
is there in python 2.5, so we are doing a version check.
Conflicts:
doc/build/intro.rst
setup.py

11 years ago- reword the paragraph which talks about web framework integration for sessions:
Mike Bayer [Fri, 21 Mar 2014 02:46:23 +0000 (22:46 -0400)] 
- reword the paragraph which talks about web framework integration for sessions:

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")

11 years agofix assertion
Mike Bayer [Wed, 19 Mar 2014 15:47:58 +0000 (11:47 -0400)] 
fix assertion

11 years ago- Fixed bug in mutable extension as well as
Mike Bayer [Wed, 19 Mar 2014 15:09:38 +0000 (11:09 -0400)] 
- Fixed bug in mutable extension as well as
:func:`.attributes.flag_modified` where the change event would not be
propagated if the attribute had been reassigned to itself.
fixes #2997

Conflicts:
lib/sqlalchemy/orm/state.py
test/orm/test_attributes.py

11 years agoAdd is_ and isnot filter to the tutorial
Charles-Axel Dein [Sat, 15 Mar 2014 00:40:04 +0000 (17:40 -0700)] 
Add is_ and isnot filter to the tutorial

Most linter complain when comparing with None.

11 years ago- Improved an error message which would occur if a query() were made
Mike Bayer [Mon, 17 Mar 2014 20:25:51 +0000 (16:25 -0400)] 
- Improved an error message which would occur if a query() were made
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.

11 years agotypo
Mike Bayer [Sun, 16 Mar 2014 18:51:06 +0000 (14:51 -0400)] 
typo

11 years ago- fairly epic rework of the cascade documentation
Mike Bayer [Sat, 15 Mar 2014 19:44:29 +0000 (15:44 -0400)] 
- fairly epic rework of the cascade documentation

Conflicts:
lib/sqlalchemy/orm/relationships.py

11 years agoMerge pull request #79 from nibrahim/master
mike bayer [Tue, 11 Mar 2014 15:30:33 +0000 (11:30 -0400)] 
Merge pull request #79 from nibrahim/master

Fixes argument number in docs

11 years agomerge new links to rel_0_8
Mike Bayer [Sun, 9 Mar 2014 23:14:21 +0000 (19:14 -0400)] 
merge new links to rel_0_8

11 years agocut out the BS as far as MySQLdb urls, put the one url everyone should be using
Mike Bayer [Tue, 4 Mar 2014 17:51:23 +0000 (12:51 -0500)] 
cut out the BS as far as MySQLdb urls, put the one url everyone should be using

11 years ago- Fixed bug in :func:`.tuple_` construct where the "type" of essentially
Mike Bayer [Fri, 28 Feb 2014 00:54:49 +0000 (19:54 -0500)] 
- Fixed bug in :func:`.tuple_` construct where the "type" of essentially
the first SQL expression would be applied as the "comparison type"
to a compared tuple value; this has the effect in some cases of an
inappropriate "type coersion" occurring, such as when a tuple that
has a mix of String and Binary values improperly coerces target
values to Binary even though that's not what they are on the left
side.  :func:`.tuple_` now expects heterogeneous types within its
list of values.
fixes #2977

Conflicts:
lib/sqlalchemy/sql/elements.py
test/sql/test_operators.py

11 years ago0.8.6
Mike Bayer [Thu, 27 Feb 2014 00:27:57 +0000 (19:27 -0500)] 
0.8.6

11 years ago- Removed stale names from ``sqlalchemy.orm.interfaces.__all__`` and
Mike Bayer [Thu, 27 Feb 2014 00:27:22 +0000 (19:27 -0500)] 
- Removed stale names from ``sqlalchemy.orm.interfaces.__all__`` and
refreshed with current names, so that an ``import *`` from this
module again works.
fixes #2975

11 years ago0.8.5 rel_0_8_5
Mike Bayer [Thu, 20 Feb 2014 03:59:11 +0000 (22:59 -0500)] 
0.8.5

11 years ago2014
Mike Bayer [Thu, 20 Feb 2014 03:56:06 +0000 (22:56 -0500)] 
2014

11 years ago- isolate this failure as only on 0.8, only in py3.3, just comment it out,
Mike Bayer [Thu, 20 Feb 2014 01:33:31 +0000 (20:33 -0500)] 
- isolate this failure as only on 0.8, only in py3.3, just comment it out,
not really worth tracking down

11 years ago- Added an additional message to psycopg2 disconnect detection,
Mike Bayer [Thu, 20 Feb 2014 00:22:17 +0000 (19:22 -0500)] 
- Added an additional message to psycopg2 disconnect detection,
"could not send data to server", which complements the existing
"could not receive data from server" and has been observed by users,
fixes #2936

11 years ago- add a topological rule here to place PARTITIONS after PARTITION_BY,
Mike Bayer [Wed, 19 Feb 2014 22:00:37 +0000 (17:00 -0500)] 
- add a topological rule here to place PARTITIONS after PARTITION_BY,
for output consistency within the tests as well as in practice

11 years agorestore check ahead of the lock to avoid locking when not needed
Mike Bayer [Wed, 19 Feb 2014 21:12:36 +0000 (16:12 -0500)] 
restore check ahead of the lock to avoid locking when not needed

11 years ago- add improved support here for string parsing of predicates, backport
Mike Bayer [Wed, 19 Feb 2014 21:07:01 +0000 (16:07 -0500)] 
- add improved support here for string parsing of predicates, backport
from 0.9

11 years ago- Support has been improved for Postgresql reflection behavior on very old
Mike Bayer [Tue, 18 Feb 2014 23:35:23 +0000 (18:35 -0500)] 
- Support has been improved for Postgresql reflection behavior on very old
(pre 8.1) versions of Postgresql, and potentially other PG engines
such as Redshift (assuming Redshift reports the version as < 8.1).
The query for "indexes" as well as "primary keys" relies upon inspecting
a so-called "int2vector" datatype, which refuses to coerce to an array
prior to 8.1 causing failures regarding the "ANY()" operator used
in the query.  Extensive googling has located the very hacky, but
recommended-by-PG-core-developer query to use when PG version < 8.1
is in use, so index and primary key constraint reflection now work
on these versions.

Conflicts:
doc/build/changelog/changelog_09.rst
test/dialect/postgresql/test_types.py

11 years ago- Added new MySQL-specific :class:`.mysql.DATETIME` which includes
Mike Bayer [Wed, 19 Feb 2014 20:49:37 +0000 (15:49 -0500)] 
- Added new MySQL-specific :class:`.mysql.DATETIME` which includes
fractional seconds support; also added fractional seconds support
to :class:`.mysql.TIMESTAMP`.  DBAPI support is limited, though
fractional seconds are known to be supported by MySQL Connector/Python.
Patch courtesy Geert JM Vanderkelen. #2941

11 years agochangelog for pullreq 12
Mike Bayer [Wed, 19 Feb 2014 20:26:51 +0000 (15:26 -0500)] 
changelog for pullreq 12