<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy.git/test/requirements.py, branch pr/136</title>
<subtitle>github.com: zzzeek/sqlalchemy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/'/>
<entry>
<title>two_phase_recover, COMMIT PREPARED in transaction</title>
<updated>2014-08-02T14:29:36+00:00</updated>
<author>
<name>Tony Locke</name>
<email>tlocke@tlocke.org.uk</email>
</author>
<published>2014-07-26T19:10:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=ed1bbbed272d6413561a2b5a29873f1021890c0d'/>
<id>ed1bbbed272d6413561a2b5a29873f1021890c0d</id>
<content type='text'>
In test/engine/test_transaction/test_two_phase_recover(), a COMMIT
PREPARED is issued while in a transaction. This causes an error, and
a prepared transaction is left hanging around which causes
the subsequent test to hang. I've altered the test to execute the
offending query with autocommit=true, then when it gets to the COMMIT
PRPARED it can go ahead.

There's another complication for pg8000 because its tpc_recover() method
started a transaction if one wasn't already in progress. I've decided
that this is incorrect behaviour and so from pg8000-1.9.13 this method
never starts or stops a transaction.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In test/engine/test_transaction/test_two_phase_recover(), a COMMIT
PREPARED is issued while in a transaction. This causes an error, and
a prepared transaction is left hanging around which causes
the subsequent test to hang. I've altered the test to execute the
offending query with autocommit=true, then when it gets to the COMMIT
PRPARED it can go ahead.

There's another complication for pg8000 because its tpc_recover() method
started a transaction if one wasn't already in progress. I've decided
that this is incorrect behaviour and so from pg8000-1.9.13 this method
never starts or stops a transaction.
</pre>
</div>
</content>
</entry>
<entry>
<title>With pg8000-1.9.13 passes engine/test_reconnect</title>
<updated>2014-08-02T14:29:36+00:00</updated>
<author>
<name>Tony Locke</name>
<email>tlocke@tlocke.org.uk</email>
</author>
<published>2014-07-26T15:19:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=c2a00153f1a8d4591de6ebe4f75e8595d7193226'/>
<id>c2a00153f1a8d4591de6ebe4f75e8595d7193226</id>
<content type='text'>
The pg8000 dialect checks the text of the exception to determine if the
connection is closed. I'd (recklessly!) changed the text of the
exception in a recent version of the pg8000 driver adding capitalization
and a full stop. I've changed it back now so all works.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The pg8000 dialect checks the text of the exception to determine if the
connection is closed. I'd (recklessly!) changed the text of the
exception in a recent version of the pg8000 driver adding capitalization
and a full stop. I've changed it back now so all works.
</pre>
</div>
</content>
</entry>
<entry>
<title>- add support for tags, including include/exclude support.</title>
<updated>2014-07-27T22:46:20+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2014-07-27T22:46:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=54592942c4a9c3d6d891519082555f8081026445'/>
<id>54592942c4a9c3d6d891519082555f8081026445</id>
<content type='text'>
simplify tox again now that we can exclude tests more easily
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
simplify tox again now that we can exclude tests more easily
</pre>
</div>
</content>
</entry>
<entry>
<title>- rework the exclusions system to have much better support for compound</title>
<updated>2014-07-26T22:26:22+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2014-07-26T22:26:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=c85fa9fa50ca32523c160eaab58ab6d2b97aacc6'/>
<id>c85fa9fa50ca32523c160eaab58ab6d2b97aacc6</id>
<content type='text'>
rules, better message formatting
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rules, better message formatting
</pre>
</div>
</content>
</entry>
<entry>
<title>- more pg8000 tests passing</title>
<updated>2014-07-25T20:39:44+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2014-07-25T20:39:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=fe878f5aff1cb17fdf1f13aba1d13f008da0ef4e'/>
<id>fe878f5aff1cb17fdf1f13aba1d13f008da0ef4e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- update some SQL server tests, support</title>
<updated>2014-07-22T17:42:38+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2014-07-22T17:41:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=63c6aa01040831f2bad52c1f7099a78676ac207a'/>
<id>63c6aa01040831f2bad52c1f7099a78676ac207a</id>
<content type='text'>
- add support for IDENTITY INSERT setting for INSERT with inline VALUES
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- add support for IDENTITY INSERT setting for INSERT with inline VALUES
</pre>
</div>
</content>
</entry>
<entry>
<title>- Fixed bug introduced in 0.9.5 by new pg8000 isolation level feature</title>
<updated>2014-07-21T15:58:44+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2014-07-21T15:58:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=c02e95ed33504f2738261e4e80c28382f94d8d51'/>
<id>c02e95ed33504f2738261e4e80c28382f94d8d51</id>
<content type='text'>
where engine-level isolation level parameter would raise an error
on connect. fixes #3134
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
where engine-level isolation level parameter would raise an error
on connect. fixes #3134
</pre>
</div>
</content>
</entry>
<entry>
<title>Add postgresql+pg8000 to floats_to_four_decimals</title>
<updated>2014-05-21T18:17:41+00:00</updated>
<author>
<name>Tony Locke</name>
<email>tlocke@tlocke.org.uk</email>
</author>
<published>2014-05-11T19:58:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=996de05ee96b62943efb4bd9495127b40aaba4d5'/>
<id>996de05ee96b62943efb4bd9495127b40aaba4d5</id>
<content type='text'>
pg8000 uses binary transfer of floats and so accuracy is lost for floats
that can't be represented exactly in binary.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pg8000 uses binary transfer of floats and so accuracy is lost for floats
that can't be represented exactly in binary.
</pre>
</div>
</content>
</entry>
<entry>
<title>pg8000 no longer truncates decimals</title>
<updated>2014-05-21T18:17:41+00:00</updated>
<author>
<name>Tony Locke</name>
<email>tlocke@tlocke.org.uk</email>
</author>
<published>2014-05-09T21:30:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=e36e2281000a130d751b60ffdcbc8449f5d85e7e'/>
<id>e36e2281000a130d751b60ffdcbc8449f5d85e7e</id>
<content type='text'>
We can now update the requirements to remove the special case of pg8000
truncating decimals.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can now update the requirements to remove the special case of pg8000
truncating decimals.
</pre>
</div>
</content>
</entry>
<entry>
<title>- Fixed ORM bug where changing the primary key of an object, then marking</title>
<updated>2014-03-28T20:32:11+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2014-03-28T20:32:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=c01558ae7f4af08acc523786e107ea5e2e214184'/>
<id>c01558ae7f4af08acc523786e107ea5e2e214184</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
