Permalink
Browse files

Python 2.5 support now requires some libraries to be pinned

  • Loading branch information...
1 parent 1dfc5d8 commit a5f8d089a3af7da1f1e8a5dc3182ea5b5345dcf5 @cjw296 cjw296 committed Jul 1, 2012
Showing with 17 additions and 0 deletions.
  1. +5 −0 setup.py
  2. +12 −0 tox.ini
View
@@ -16,6 +16,11 @@
test_requires.append(item)
# Tox doesn't need itself, but we need it for testing.
test_requires.append('tox')
+# If we're on Python 2.5, we need to pin some libraries
+if sys.version_info[:2] < (2, 6):
+ test_requires.append('zope.exceptions<4.0dev')
+ test_requires.append('zope.interface>=3.6.0,<4.0dev')
+ test_requires.append('manuel<1.6')
setup(
name=package_name,
View
12 tox.ini
@@ -17,6 +17,18 @@ changedir=.tox
[testenv:py2.5]
basepython=python2.5
+deps=
+ mock
+ manuel<1.6
+ nose
+ nose_fixes
+ nose-cov
+ testfixtures
+ zc.buildout
+ zc.recipe.egg
+ zope.exceptions<4.0dev
+ zope.interface>=3.6.0,<4.0dev
+ zope.testing
[testenv:py2.6]
basepython=python2.6

0 comments on commit a5f8d08

Please sign in to comment.