]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
12 years ago- remove the ``__iter__()`` with notimplemented since it interferes
Mike Bayer [Mon, 3 Jun 2013 20:32:12 +0000 (16:32 -0400)] 
- remove the ``__iter__()`` with notimplemented since it interferes
with legitimate iterable detection, [ticket:2726]

12 years ago- add changelog/migration note
Mike Bayer [Mon, 3 Jun 2013 19:38:08 +0000 (15:38 -0400)] 
- add changelog/migration note
- inline the label check

12 years agoMerge branch 'master' into ticket_1068
Mike Bayer [Mon, 3 Jun 2013 19:18:16 +0000 (15:18 -0400)] 
Merge branch 'master' into ticket_1068

12 years ago- fdb is now official, [ticket:2504]
Mike Bayer [Mon, 3 Jun 2013 17:53:42 +0000 (13:53 -0400)] 
- fdb is now official, [ticket:2504]
- restore the rollback cleanup handler, pg8000 is mostly obsolete
as a dialect and the firebird drivers need it

12 years agotest tweak
Mike Bayer [Mon, 3 Jun 2013 17:45:28 +0000 (13:45 -0400)] 
test tweak

12 years agoMerge branch 'master' into ticket_1068
Mike Bayer [Mon, 3 Jun 2013 17:13:16 +0000 (13:13 -0400)] 
Merge branch 'master' into ticket_1068

12 years ago- some tweaks to try to help out mssql+pyodbc support a bit, py3k is really
Mike Bayer [Mon, 3 Jun 2013 16:54:56 +0000 (12:54 -0400)] 
- some tweaks to try to help out mssql+pyodbc support a bit, py3k is really
not happening too well (I need to stick with linux + freetds 0.91, I know)

12 years ago- blow away context._attributes
Mike Bayer [Sun, 2 Jun 2013 16:06:39 +0000 (12:06 -0400)] 
- blow away context._attributes
- to account for query._attributes/context.attributes, just pass
the attributes dict directly to the PathRegistry methods

12 years ago0.8 changelog in 0.9
Mike Bayer [Fri, 31 May 2013 16:00:56 +0000 (12:00 -0400)] 
0.8 changelog in 0.9

12 years agoFixed a regression caused by [ticket:2682] whereby the
Mike Bayer [Fri, 31 May 2013 15:52:31 +0000 (11:52 -0400)] 
Fixed a regression caused by [ticket:2682] whereby the
evaluation invoked by :meth:`.Query.update` and :meth:`.Query.delete`
would hit upon unsupported ``True`` and ``False`` symbols
which now appear due to the usage of ``IS``.
[ticket:2737]

12 years agoadd a test for the exception we want to raise here
Mike Bayer [Fri, 31 May 2013 00:26:45 +0000 (20:26 -0400)] 
add a test for the exception we want to raise here

12 years agoThe "auto-aliasing" behavior of the :class:`.Query.select_from`
Mike Bayer [Fri, 31 May 2013 00:09:44 +0000 (20:09 -0400)] 
The "auto-aliasing" behavior of the :class:`.Query.select_from`
method has been turned off.  The specific behavior is now
availble via a new method :class:`.Query.select_entity_from`.
[ticket:2736]

12 years ago- implement armin's awesome metaclass adaptor, can drop the refs to MetaBase.
Mike Bayer [Thu, 30 May 2013 20:20:59 +0000 (16:20 -0400)] 
- implement armin's awesome metaclass adaptor, can drop the refs to MetaBase.

12 years agoremove
Mike Bayer [Thu, 30 May 2013 20:02:46 +0000 (16:02 -0400)] 
remove

12 years agoMerge branch 'rel_0_9' (was already merged...git wants to merge again)
Mike Bayer [Thu, 30 May 2013 19:59:24 +0000 (15:59 -0400)] 
Merge branch 'rel_0_9'  (was already merged...git wants to merge again)

12 years ago- the distinct hash code logic here is entirely obsolete as you can
Mike Bayer [Thu, 30 May 2013 19:56:00 +0000 (15:56 -0400)] 
- the distinct hash code logic here is entirely obsolete as you can
do eq_() on columnelements now with a meaningful bool; jython is entirely a
non-starter right now in any case as 2.7 doesn't support common accessors like __defaults__

12 years ago- fix up 0.9 links
Mike Bayer [Thu, 30 May 2013 02:37:36 +0000 (22:37 -0400)] 
- fix up 0.9 links

12 years agore-add these...
Mike Bayer [Wed, 29 May 2013 23:57:40 +0000 (19:57 -0400)] 
re-add these...

12 years ago- version 0.9
Mike Bayer [Wed, 29 May 2013 23:02:17 +0000 (19:02 -0400)] 
- version 0.9
- changelog, migration doc

12 years ago- add typical local test scripts
Mike Bayer [Wed, 29 May 2013 22:50:33 +0000 (18:50 -0400)] 
- add typical local test scripts

12 years agoMerge branch 'rel_0_9'
Mike Bayer [Wed, 29 May 2013 22:49:27 +0000 (18:49 -0400)] 
Merge branch 'rel_0_9'

Conflicts:
lib/sqlalchemy/dialects/postgresql/hstore.py
lib/sqlalchemy/util/__init__.py
lib/sqlalchemy/util/compat.py

12 years agokeep the contract for Properties as returning lists for keys, values, items.
Mike Bayer [Wed, 29 May 2013 22:46:10 +0000 (18:46 -0400)] 
keep the contract for Properties as returning lists for keys, values, items.
It's not the same as a dictionary as __iter__ does the values

12 years agoadd the py2k symbol from the 0.9 branch to support the hstore change
Mike Bayer [Wed, 29 May 2013 22:36:10 +0000 (18:36 -0400)] 
add the py2k symbol from the 0.9 branch to support the hstore change

12 years agochangelog
Mike Bayer [Wed, 29 May 2013 22:30:56 +0000 (18:30 -0400)] 
changelog

12 years ago- repair for py3k
Mike Bayer [Wed, 29 May 2013 22:29:12 +0000 (18:29 -0400)] 
- repair for py3k
- fix test

12 years agoUnicode support for psycopg2 native hstore implementation
Dmitry Mugtasimov [Tue, 28 May 2013 12:50:12 +0000 (16:50 +0400)] 
Unicode support for psycopg2 native hstore implementation

12 years ago hstores are text, and in py3k they seem to be implcitly unicode. so
Mike Bayer [Wed, 29 May 2013 22:08:28 +0000 (18:08 -0400)] 
  hstores are text, and in py3k they seem to be implcitly unicode.  so
    add unicode encoding for py2k for the non-native hstore, pullreq for
    native psycopg2 support coming....

12 years agochangelog
Mike Bayer [Wed, 29 May 2013 22:30:56 +0000 (18:30 -0400)] 
changelog

12 years ago- repair for py3k
Mike Bayer [Wed, 29 May 2013 22:29:12 +0000 (18:29 -0400)] 
- repair for py3k
- fix test

12 years agoUnicode support for psycopg2 native hstore implementation
Dmitry Mugtasimov [Tue, 28 May 2013 12:50:12 +0000 (16:50 +0400)] 
Unicode support for psycopg2 native hstore implementation

12 years ago hstores are text, and in py3k they seem to be implcitly unicode. so
Mike Bayer [Wed, 29 May 2013 22:08:28 +0000 (18:08 -0400)] 
  hstores are text, and in py3k they seem to be implcitly unicode.  so
    add unicode encoding for py2k for the non-native hstore, pullreq for
    native psycopg2 support coming....

12 years ago- move an import stuck in the middle here...
Mike Bayer [Tue, 28 May 2013 05:43:12 +0000 (01:43 -0400)] 
- move an import stuck in the middle here...

12 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Tue, 28 May 2013 05:22:32 +0000 (01:22 -0400)] 
Merge branch 'master' into rel_0_9

12 years agoFixed a small bug in the dogpile example where the generation
Mike Bayer [Tue, 28 May 2013 05:22:10 +0000 (01:22 -0400)] 
Fixed a small bug in the dogpile example where the generation
of SQL cache keys wasn't applying deduping labels to the
statement the same way :class:`.Query` normally does.

12 years agomagic accessors to the rescue
Mike Bayer [Tue, 28 May 2013 01:43:29 +0000 (21:43 -0400)] 
magic accessors to the rescue

12 years agostill not locating more nested expressions, may need to match on name
Mike Bayer [Tue, 28 May 2013 01:05:16 +0000 (21:05 -0400)] 
still not locating more nested expressions, may need to match on name

12 years agoattempt number one, doesn't detect though if the label in the order by is not directl...
Mike Bayer [Mon, 27 May 2013 23:22:59 +0000 (19:22 -0400)] 
attempt number one, doesn't detect though if the label in the order by is not directly present there.

12 years ago- run the whole test suite with the "debugging" ordered dict on,
Mike Bayer [Mon, 27 May 2013 21:15:30 +0000 (17:15 -0400)] 
- run the whole test suite with the "debugging" ordered dict on,
find some more failures

12 years ago- additional oracle fixes. cx_oracle under py3k is complaining about tuples to execu...
Mike Bayer [Mon, 27 May 2013 21:06:05 +0000 (17:06 -0400)] 
- additional oracle fixes.  cx_oracle under py3k is complaining about tuples to executemany(),
so just unconditionally turn this into a list
- this one test segfaults only on py3k + cx_oracle

12 years ago- oracle py3k fix
Mike Bayer [Mon, 27 May 2013 20:34:18 +0000 (16:34 -0400)] 
- oracle py3k fix

12 years ago- fix a dict while iterate mutation
Mike Bayer [Mon, 27 May 2013 17:39:24 +0000 (13:39 -0400)] 
- fix a dict while iterate mutation
- illustrate how OrderedDict can catch these, but commented out
to save function overhead

12 years agofix test_execute w c extensions
Mike Bayer [Mon, 27 May 2013 00:44:34 +0000 (20:44 -0400)] 
fix test_execute w c extensions

12 years agoclean up types.py
Mike Bayer [Mon, 27 May 2013 00:24:39 +0000 (20:24 -0400)] 
clean up types.py

12 years agoclean up some of this collection stuff
Mike Bayer [Mon, 27 May 2013 00:17:22 +0000 (20:17 -0400)] 
clean up some of this collection stuff

12 years agofix an errant str check
Mike Bayer [Mon, 27 May 2013 00:04:54 +0000 (20:04 -0400)] 
fix an errant str check

12 years agoget profile 1a back down to 5100 calls, that one was 10% greater due to this
Mike Bayer [Mon, 27 May 2013 00:02:17 +0000 (20:02 -0400)] 
get profile 1a back down to 5100 calls, that one was 10% greater due to this

12 years agomssql test fixes
Mike Bayer [Sun, 26 May 2013 23:49:50 +0000 (19:49 -0400)] 
mssql test fixes

12 years ago- zoomark tests
Mike Bayer [Sun, 26 May 2013 23:47:13 +0000 (19:47 -0400)] 
- zoomark tests
- rewrite all profiles, we'll review the diffs to see if anything is too far out

12 years agoa pass where we try to squash down as many list()/keys() combinations
Mike Bayer [Sun, 26 May 2013 23:06:13 +0000 (19:06 -0400)] 
a pass where we try to squash down as many list()/keys() combinations
as possible

12 years agofix the unicode test suite
Mike Bayer [Sun, 26 May 2013 22:25:43 +0000 (18:25 -0400)] 
fix the unicode test suite

12 years agodo a sweep of some obvious 3kisms
Mike Bayer [Sun, 26 May 2013 22:23:26 +0000 (18:23 -0400)] 
do a sweep of some obvious 3kisms

12 years agoremove this
Mike Bayer [Sun, 26 May 2013 22:08:03 +0000 (18:08 -0400)] 
remove this

12 years ago- oracle tests passing in py3k!!
Mike Bayer [Sun, 26 May 2013 21:58:07 +0000 (17:58 -0400)] 
- oracle tests passing in py3k!!

12 years agoa few more oracle fixes
Mike Bayer [Sun, 26 May 2013 21:39:53 +0000 (17:39 -0400)] 
a few more oracle fixes

12 years agocleanup for oracle
Mike Bayer [Sun, 26 May 2013 21:37:03 +0000 (17:37 -0400)] 
cleanup for oracle

12 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Sun, 26 May 2013 21:18:27 +0000 (17:18 -0400)] 
Merge branch 'master' into rel_0_9

12 years agofix this test
Mike Bayer [Sun, 26 May 2013 21:18:04 +0000 (17:18 -0400)] 
fix this test

12 years ago- add a test specific to sqlite testing cursor.description encoding (should
Mike Bayer [Sun, 26 May 2013 20:58:37 +0000 (16:58 -0400)] 
- add a test specific to sqlite testing cursor.description encoding (should
probably be one in test_query or test_unicode...)
- fix up test_unitofwork

12 years agopostgresql tests
Mike Bayer [Sun, 26 May 2013 20:39:50 +0000 (16:39 -0400)] 
postgresql tests

12 years agomysql tests
Mike Bayer [Sun, 26 May 2013 20:32:55 +0000 (16:32 -0400)] 
mysql tests

12 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Sun, 26 May 2013 17:11:21 +0000 (13:11 -0400)] 
Merge branch 'master' into rel_0_9

12 years agoMerge branch 'rel_0_9' of bitbucket.org:zzzeek/sqlalchemy into rel_0_9
Mike Bayer [Sun, 26 May 2013 17:10:31 +0000 (13:10 -0400)] 
Merge branch 'rel_0_9' of bitbucket.org:zzzeek/sqlalchemy into rel_0_9

12 years agosqlite tests
Mike Bayer [Sun, 26 May 2013 17:10:00 +0000 (13:10 -0400)] 
sqlite tests

12 years agorepair py3kisms in key ORM modules
Mike Bayer [Sun, 26 May 2013 17:09:38 +0000 (13:09 -0400)] 
repair py3kisms in key ORM modules

12 years agoextension tests
Mike Bayer [Sun, 26 May 2013 17:09:05 +0000 (13:09 -0400)] 
extension tests

12 years agofix serializer tests. something is wrong with non-C pickle but for some reason py3k...
Mike Bayer [Sun, 26 May 2013 17:08:24 +0000 (13:08 -0400)] 
fix serializer tests.  something is wrong with non-C pickle but for some reason py3k's pickle seems to be OK?  not sure why that is, as this
is all related to http://bugs.python.org/issue998998

12 years agoMerge pull request #1 from cjw296/small-fixes
mike bayer [Sun, 26 May 2013 14:46:16 +0000 (07:46 -0700)] 
Merge pull request #1 from cjw296/small-fixes

Small fixes

12 years ago- fixing AbstractConcreteBase import in docstring, 0.9
diana [Sun, 26 May 2013 14:19:26 +0000 (10:19 -0400)] 
- fixing AbstractConcreteBase import in docstring, 0.9
branch, [ticket:2717]

12 years ago- fixing AbstractConcreteBase import in docstring, [ticket:2717]
Diana Clarke [Sun, 26 May 2013 14:10:22 +0000 (10:10 -0400)] 
- fixing AbstractConcreteBase import in docstring, [ticket:2717]

12 years agotweaks to ignores
Chris Withers [Sun, 26 May 2013 13:49:42 +0000 (14:49 +0100)] 
tweaks to ignores

12 years agoShow the conflicting column in the warning!
Chris Withers [Wed, 22 May 2013 07:38:44 +0000 (08:38 +0100)] 
Show the conflicting column in the warning!

12 years agofix incorrect method name
Chris Withers [Tue, 21 May 2013 16:46:28 +0000 (17:46 +0100)] 
fix incorrect method name

12 years agoAdd missing import that caused test_notice_logging to fail if this suite was run...
Chris Withers [Sat, 18 May 2013 07:51:24 +0000 (08:51 +0100)] 
Add missing import that caused test_notice_logging to fail if this suite was run on its own.

12 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Sat, 25 May 2013 21:04:35 +0000 (17:04 -0400)] 
Merge branch 'master' into rel_0_9

12 years ago- move to git dotfiles
Mike Bayer [Sat, 25 May 2013 20:20:59 +0000 (16:20 -0400)] 
- move to git dotfiles

12 years agomerge default
Mike Bayer [Thu, 23 May 2013 17:02:33 +0000 (13:02 -0400)] 
merge default

12 years agoFixed a bug where the routine to detect the correct kwargs
Mike Bayer [Thu, 23 May 2013 16:59:53 +0000 (12:59 -0400)] 
Fixed a bug where the routine to detect the correct kwargs
being sent to :func:`.create_engine` would fail in some cases,
such as with the Sybase dialect.
[ticket:2732]

12 years agomerge default
Mike Bayer [Wed, 15 May 2013 19:47:11 +0000 (15:47 -0400)] 
merge default

12 years agoRegression from this ticket caused the unsupported keyword
Mike Bayer [Wed, 15 May 2013 19:46:29 +0000 (15:46 -0400)] 
Regression from this ticket caused the unsupported keyword
"true" to render, added logic to convert this to 1/0
for SQL server.
[ticket:2682]

12 years agomerge default
Mike Bayer [Mon, 13 May 2013 20:13:51 +0000 (16:13 -0400)] 
merge default

12 years agoFixed a regression from 0.7 caused by this ticket, which
Mike Bayer [Mon, 13 May 2013 20:13:15 +0000 (16:13 -0400)] 
Fixed a regression from 0.7 caused by this ticket, which
made the check for recursion overflow in self-referential
eager joining too loose, missing a particular circumstance
where a subclass had lazy="joined" or "subquery" configured
and the load was a "with_polymorphic" against the base.
[ticket:2481]

12 years agomerge default
Mike Bayer [Fri, 10 May 2013 05:06:30 +0000 (01:06 -0400)] 
merge default

12 years ago- moderinzed the docs for the foreign_keys parameter a bit,
Mike Bayer [Fri, 10 May 2013 05:06:10 +0000 (01:06 -0400)] 
- moderinzed the docs for the foreign_keys parameter a bit,
[ticket:2725]

12 years agomerge default
Mike Bayer [Sun, 5 May 2013 05:42:26 +0000 (01:42 -0400)] 
merge default

12 years ago- cleanup
Mike Bayer [Sun, 5 May 2013 05:39:35 +0000 (01:39 -0400)] 
- cleanup
- move the timeout here to 14 seconds as jenkins still chokes occasionally

12 years agopy3k specific syntax moved into an exec
Mike Bayer [Sat, 4 May 2013 20:35:47 +0000 (16:35 -0400)] 
py3k specific syntax moved into an exec

12 years agocleanup
Mike Bayer [Sat, 4 May 2013 20:26:10 +0000 (16:26 -0400)] 
cleanup

12 years agocleanup
Mike Bayer [Sat, 4 May 2013 20:25:35 +0000 (16:25 -0400)] 
cleanup

12 years agomost of ORM passing...
Mike Bayer [Sat, 4 May 2013 20:23:27 +0000 (16:23 -0400)] 
most of ORM passing...

12 years agobase
Mike Bayer [Sat, 4 May 2013 20:00:05 +0000 (16:00 -0400)] 
base

12 years agothat's all of engine
Mike Bayer [Sat, 4 May 2013 19:57:03 +0000 (15:57 -0400)] 
that's all of engine

12 years agocleanup
Mike Bayer [Sat, 4 May 2013 19:35:47 +0000 (15:35 -0400)] 
cleanup

12 years agocleanup
Mike Bayer [Sat, 4 May 2013 19:35:47 +0000 (15:35 -0400)] 
cleanup

12 years agotest_execute up for sqlite, pg, oursql, mysql 2.7 + 3.3
Mike Bayer [Sat, 4 May 2013 19:29:04 +0000 (15:29 -0400)] 
test_execute up for sqlite, pg, oursql, mysql 2.7 + 3.3

12 years ago- OK we have -w sql passing for: sqlite, postgresql, oursql 2.7 + 3.3, mysqldb 2.7
Mike Bayer [Sat, 4 May 2013 19:26:28 +0000 (15:26 -0400)] 
- OK we have -w sql passing for: sqlite, postgresql, oursql 2.7 + 3.3, mysqldb 2.7

12 years agoand int types here...
Mike Bayer [Sat, 4 May 2013 19:10:41 +0000 (15:10 -0400)] 
and int types here...

12 years agoupdate test
Mike Bayer [Sat, 4 May 2013 19:09:04 +0000 (15:09 -0400)] 
update test

12 years agocleanup
Mike Bayer [Sat, 4 May 2013 19:08:08 +0000 (15:08 -0400)] 
cleanup

12 years agocleanup and formatting
Mike Bayer [Sat, 4 May 2013 19:06:47 +0000 (15:06 -0400)] 
cleanup and formatting

12 years ago- unicode literals need to just be handled differently if they have utf-8
Mike Bayer [Sat, 4 May 2013 18:59:26 +0000 (14:59 -0400)] 
- unicode literals need to just be handled differently if they have utf-8
encoded in them vs. unicode escaping.  not worth figuring out how to combine
these right now