Commit 2d10fc4c authored by Tres Seaver's avatar Tres Seaver

Pin transaction to a 2.5-compatible version when installed under 2.5.

parent db40b1b4
......@@ -34,6 +34,11 @@ if sys.version_info < (2, 5):
print "This version of ZODB requires Python 2.5 or higher"
sys.exit(0)
if sys.version_info < (2, 6):
transaction_version = 'transaction == 1.1.1'
else:
transaction_version = 'transaction >= 1.1.0'
# The (non-obvious!) choices for the Trove Development Status line:
# Development Status :: 5 - Production/Stable
# Development Status :: 4 - Beta
......@@ -193,7 +198,7 @@ setup(name="ZODB3",
tests_require = ['zope.testing', 'manuel'],
extras_require = dict(test=['zope.testing', 'manuel']),
install_requires = [
'transaction >=1.1.0',
transaction_version,
'zc.lockfile',
'ZConfig',
'zdaemon',
......
......@@ -2,6 +2,15 @@
Change History
================
3.10.6 (unreleased)
===================
Bugs Fixed
----------
- Pinned the ``transaction`` dependency to a Python 2.5-compatible version
when installing under Python 2.5.
3.10.5 (2011-11-19)
===================
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment