Commit Graph

9196 Commits

Author SHA1 Message Date
Mike Bayer eaaaef6ae2 - disable C exts on coverage run 2014-07-27 19:55:00 -04:00
Mike Bayer 6e407b6c09 - remove debugging assertions
- keep sqlite as memory even with parallel for now
2014-07-27 18:55:02 -04:00
Mike Bayer 54592942c4 - add support for tags, including include/exclude support.
simplify tox again now that we can exclude tests more easily
2014-07-27 18:46:20 -04:00
Mike Bayer 35551841c5 - reorganize tox options 2014-07-26 21:18:19 -04:00
Mike Bayer 41a8a85311 Merge branch 'master' into xdist_poc 2014-07-26 20:53:27 -04:00
Mike Bayer 82965851fe fix paren here 2014-07-26 20:53:12 -04:00
Mike Bayer d2358629c9 - scale up for mysql, sqlite 2014-07-26 20:50:57 -04:00
Mike Bayer e65cb04974 Merge branch 'master' into xdist_poc
Conflicts:
	lib/sqlalchemy/engine/url.py
2014-07-26 19:04:07 -04:00
Mike Bayer c85fa9fa50 - rework the exclusions system to have much better support for compound
rules, better message formatting
2014-07-26 18:26:22 -04:00
Mike Bayer 759e8aec13 - fix whitespace 2014-07-25 20:23:10 -04:00
Mike Bayer e602a73197 - use a template database for PG so extensions get created automatically 2014-07-25 20:19:06 -04:00
Mike Bayer 306047c006 Merge branch 'master' into xdist_poc 2014-07-25 19:15:11 -04:00
Mike Bayer 54d086253e - restore non_updating_cascade to test_manytomany_nonpassive, but also
add sane_multi_rowcount requirement, as pg8000 doesn't do "multi" row count.
2014-07-25 18:51:44 -04:00
Mike Bayer 9e6624c049 - proof of concept for parallel testing 2014-07-25 18:33:04 -04:00
Mike Bayer fe878f5aff - more pg8000 tests passing 2014-07-25 16:39:44 -04:00
Mike Bayer 3c0efe508f Merge remote-tracking branch 'origin/pr/117' into pg8000 2014-07-25 16:17:15 -04:00
Mike Bayer d92177cede - Fixed bug in :class:.postgresql.array object where comparison
to a plain Python list would fail to use the correct array constructor.
Pull request courtesy Andrew.  fixes #3141
2014-07-25 16:08:21 -04:00
Mike Bayer b7e75172b3 Merge remote-tracking branch 'origin/pr/124' into issue3141 2014-07-25 16:05:38 -04:00
Mike Bayer 31178db914 - flake8 all of test/dialect/postgresql
- add __backend__ to most tests so that pg8000 can start coming in
2014-07-25 16:04:35 -04:00
Mike Bayer 6b60d3a9e6 - The MySQL dialect will now disable :meth:.ConnectionEvents.handle_error
events from firing for those statements which it uses internally
to detect if a table exists or not.   This is achieved using an
execution option ``skip_user_error_events`` that disables the handle
error event for the scope of that execution.   In this way, user code
that rewrites exceptions doesn't need to worry about the MySQL
dialect or other dialects that occasionally need to catch
SQLAlchemy specific exceptions.
2014-07-25 12:14:22 -04:00
Mike Bayer 8560522ff0 - use a variant with expected collation here for mysql 2014-07-25 12:02:05 -04:00
Mike Bayer 0df977ccad - Added a supported :meth:.FunctionElement.alias method to functions,
e.g. the ``func`` construct.  Previously, behavior for this method
was undefined.  The current behavior mimics that of pre-0.9.4,
which is that the function is turned into a single-column FROM
clause with the given alias name, where the column itself is
anonymously named.
fixes #3137
2014-07-24 14:33:50 -04:00
Mike Bayer 07c01b77f1 merge 0.9.8 start 2014-07-24 14:04:23 -04:00
Andrew ba58708643 Fix argument to array() in array._bind_param()
array.__init__() expects a list as its sole parameter but inside _bind_param(), instead of sending a list it's sending each item in the list as a separate argument which is incorrect.
2014-07-24 15:56:50 +10:00
Mike Bayer f2b267043e forwards port 0.9 changelog update 2014-07-22 17:12:17 -04:00
Mike Bayer bcfe30a238 - forwards port 0.8 changelog update 2014-07-22 17:10:33 -04:00
Mike Bayer 15b0cf56ff - missing 0.8 change forwards port 2014-07-22 16:53:46 -04:00
Mike Bayer dba17c8ca6 spelling 2014-07-22 16:36:59 -04:00
Mike Bayer 23f3621d01 - ticket inline 2014-07-22 16:25:58 -04:00
Mike Bayer 63c6aa0104 - update some SQL server tests, support
- add support for IDENTITY INSERT setting for INSERT with inline VALUES
2014-07-22 13:42:38 -04:00
Mike Bayer 76e127450c - allow 10 stray connections that need a gc
- be specific as to what occurred when we collect stray gc
2014-07-22 12:55:17 -04:00
Mike Bayer b7021b698d - fix missing release date 2014-07-21 17:25:13 -04:00
Mike Bayer a007c6e616 put a greater variance into this test to prevent sporadic failures 2014-07-21 12:09:12 -04:00
Mike Bayer c02e95ed33 - Fixed bug introduced in 0.9.5 by new pg8000 isolation level feature
where engine-level isolation level parameter would raise an error
on connect. fixes #3134
2014-07-21 11:58:44 -04:00
mike bayer 72ac9c1892 Merge pull request #120 from bogkyu/pr_fix_docgen
Fix doc gen on Windows platform
2014-07-21 10:42:05 -04:00
Bog 0cd79fb1f5 Fix doc gen on Windows platform
- replaced hardcoded ":" path separator with OS dependent one.
2014-07-21 00:52:58 +02:00
Mike Bayer 30ab1a02c5 - support args 2014-07-20 15:34:08 -04:00
Brian Jarrett cca03097f4 - apply pep8 formatting to sqlalchemy/sql, sqlalchemy/util, sqlalchemy/dialects,
sqlalchemy/orm, sqlalchemy/event, sqlalchemy/testing
2014-07-20 12:44:40 -04:00
Tony Locke a9d8d752ef PEP8 tidy of test/orm/test_dynamic.py 2014-07-20 11:59:33 +01:00
Tony Locke 7239f58742 Fixes for pg8000 for test/orm/test_dynamic.py 2014-07-20 11:59:33 +01:00
Tony Locke 0365a53c5d PEP8 tidy of test/orm/test_froms.py 2014-07-20 11:59:33 +01:00
Tony Locke b4f9a6949b Opened test_self_referential for pg8000
The test orm/test_froms.py test_self_referential works with pg8000 now,
so I've opened it up.
2014-07-20 11:59:33 +01:00
Tony Locke aa6ecc36b7 PEP8 tidy for test/orm/test_naturalpks.py 2014-07-20 11:59:33 +01:00
Tony Locke bdb99239f3 Remove requirement for manytomany_nonpassive
Removed the non_updating_cascade requirement from
test_manytomany_nonpassive. This is because setting
passive_updates=False in a relationship should work on *all* dialects.
2014-07-20 11:59:33 +01:00
Tony Locke 8646af82aa PEP8 tidy of test/orm/test_query.py 2014-07-20 11:59:33 +01:00
Tony Locke 4924058818 pg8000 passing test/orm/test_query.py 2014-07-20 11:59:09 +01:00
Tony Locke 6f5011a5c7 PEP8 tidy for test/orm/test_transaction.py 2014-07-19 20:20:12 +01:00
Tony Locke 8fb6a91f1b Fix support for two phase commit in pg8000 dialect
The postgresql base dialect has problems with two-phase commit because
there isn't a standard way of handling autocommit in DBAPI. This commit
modifies the pg8000 dialect to use the DBAPI tpc extension, which is
supported by pg8000 as of version 1.9.11.
2014-07-19 20:20:12 +01:00
Tony Locke ebf74bd659 PEP8 tidy for test/orm/test_versioning.py 2014-07-19 20:20:12 +01:00
Mike Bayer 827329a0cc - add E721 2014-07-18 17:46:51 -04:00