]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
12 years agoclean up the dialect selection thing here
Mike Bayer [Tue, 4 Jun 2013 22:49:24 +0000 (18:49 -0400)] 
clean up the dialect selection thing here

12 years ago- add a flag to DefaultDialect for this so that people will have some
Mike Bayer [Tue, 4 Jun 2013 22:43:59 +0000 (18:43 -0400)] 
- add a flag to DefaultDialect for this so that people will have some
workaround

12 years ago- improve overlapping selectables, apply to both query and relationship
Mike Bayer [Tue, 4 Jun 2013 22:23:06 +0000 (18:23 -0400)] 
- improve overlapping selectables, apply to both query and relationship
- clean up inspect() calls within query._join()
- make sure join.alias(flat) propagates
- fix almost all assertion tests

12 years ago- eager loads
Mike Bayer [Tue, 4 Jun 2013 20:48:14 +0000 (16:48 -0400)] 
- eager loads
- two suite of SQL assertions converted

12 years agohere's the flat join thing. it just works. Changing the existing compiled SQL...
Mike Bayer [Tue, 4 Jun 2013 20:21:25 +0000 (16:21 -0400)] 
here's the flat join thing.  it just works.   Changing the existing compiled SQL assertions
might even be most of the tests we need (though dedicated sql tests would be needed anyway)

12 years agoand this comment
Mike Bayer [Tue, 4 Jun 2013 18:31:56 +0000 (14:31 -0400)] 
and this comment

12 years agorewriting scheme now works.
Mike Bayer [Tue, 4 Jun 2013 18:30:29 +0000 (14:30 -0400)] 
rewriting scheme now works.

12 years agocapture the really hard one in a test (hooray)
Mike Bayer [Tue, 4 Jun 2013 17:11:03 +0000 (13:11 -0400)] 
capture the really hard one in a test (hooray)

12 years agoOK this is the broken version, need to think a lot more about this
Mike Bayer [Tue, 4 Jun 2013 01:28:53 +0000 (21:28 -0400)] 
OK this is the broken version, need to think a lot more about this

12 years ago- pulling out more aliases, sort of
Mike Bayer [Tue, 4 Jun 2013 01:01:20 +0000 (21:01 -0400)] 
- pulling out more aliases, sort of

12 years agoworking through tests....
Mike Bayer [Mon, 3 Jun 2013 00:23:03 +0000 (20:23 -0400)] 
working through tests....

12 years ago- figured out what the from_self() thing was about, part of query.statement, but...
Mike Bayer [Sun, 2 Jun 2013 23:48:30 +0000 (19:48 -0400)] 
- figured out what the from_self() thing was about, part of query.statement, but would
like to improve upon query.statement needing to do this

12 years agogetting things to join without subqueries, but some glitches in the compiler step
Mike Bayer [Sun, 2 Jun 2013 23:33:19 +0000 (19:33 -0400)] 
getting things to join without subqueries, but some glitches in the compiler step
when we do query.count() are showing

12 years agoimplement join rewriting inside of visit_select(). Currently this is global or not...
Mike Bayer [Sun, 2 Jun 2013 22:05:47 +0000 (18:05 -0400)] 
implement join rewriting inside of visit_select().  Currently this is global or not based on fixing nested_join_translation as True or not.

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

13 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

13 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]

13 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

13 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]

13 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.

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

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

13 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__

13 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

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

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

13 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

13 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

13 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

13 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

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

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

13 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

13 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....

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

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

13 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

13 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....

13 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...

13 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

13 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.

13 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

13 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

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

13 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

13 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

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

13 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

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

13 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

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

13 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

13 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

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

13 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

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

13 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!!

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

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

13 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

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

13 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

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

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

13 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

13 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

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

13 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

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

13 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

13 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

13 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]

13 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]

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

13 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!

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

13 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.

13 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

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

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

13 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]

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

13 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]

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

13 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]

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

13 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]

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

13 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

13 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

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

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

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

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

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

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

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

13 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

13 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

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