lp:~cjwatson/storm/require-psycopg2-2.3.0
- Get this branch:
- bzr branch lp:~cjwatson/storm/require-psycopg2-2.3.0
Branch merges
- Adam Collard (community): Approve
-
Diff: 30 lines (+4/-5)2 files modifiedsetup.py (+1/-1)
storm/databases/postgres.py (+3/-4)
Branch information
Recent revisions
- 493. By Colin Watson
-
Require psycopg2 >= 2.3.0 for two-phase commit support.
Some of Storm's tests fail with older versions of psycopg2, because
two-phase commit support was only introduced in 2.3.0. This impedes
establishing test matrixes to work out whether workarounds for old bugs
are still necessary (I ran into this while looking into the state of
Unicode query support).It looks as though most of Storm would probably still work OK with
earlier versions, and just require a little extra code to ensure that we
raise FeatureError or similar when somebody tries to use two-phase
commits with an old psycopg2 version. However, I can't find any
evidence of anyone complaining about this in the seven years since Storm
gained two-phase commit support, and psycopg2 2.3.0 was released in
December 2010, so doing work to support older versions now doesn't seem
like a sensible use of time. - 489. By Colin Watson
-
Cope with ThreadTransacti
onManager changes in transaction 2.4.0. [r=adam- collard, simpoir] - 485. By Colin Watson
-
Merge lp:~cjwatson/storm/more-weakrefs [r=adam-
collard, tonysimpson] Use weak references from Variable and MutableValueVar
iable to EventSystem, to avoid GC cycles. - 484. By Alberto Donato
-
Revert merge from r483 (which breaks when different stores are involved). [trivial]
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:storm