Split up the requirements for py2.x and py3.x

Certain requirements are not needed in py3.x since they
exist in the base python tree so it is good to split off
the requirements files and add the backported requirements
to the py2.x requirements and not the py3.x requirements.

The main current difference is the concurrent.futures
package which is built-in to python 3.x as part of the
standard library.

Change-Id: I7274cb597eb1e84d13d37f99508f1bdabe108d8c
This commit is contained in:
Joshua Harlow 2014-09-24 21:00:09 -07:00 committed by Julien Danjou
parent d00413cdfa
commit 74237d1e21
2 changed files with 20 additions and 0 deletions

12
requirements-py3.txt Normal file
View File

@ -0,0 +1,12 @@
pbr>=0.6,!=0.7,<1.0
Babel>=1.3
stevedore>=0.14
six>=1.7.0
iso8601
kazoo>=1.3.1
pymemcache>=1.2
zake>=0.1.6
sysv_ipc>=0.6.8
msgpack-python
retrying!=1.3.0
oslo.utils>=1.0.0

View File

@ -23,6 +23,14 @@ commands = bash -x {toxinidir}/setup-test-env.sh python setup.py testr --slowest
bash -x {toxinidir}/setup-test-env.sh {toxinidir}/run-examples.sh
doc8 doc/source
[testenv:py33]
deps = -r{toxinidir}/requirements-py3.txt
-r{toxinidir}/test-requirements.txt
[testenv:py34]
deps = -r{toxinidir}/requirements-py3.txt
-r{toxinidir}/test-requirements.txt
[testenv:cover]
commands =
bash -x {toxinidir}/setup-test-env.sh python setup.py testr --slowest --coverage --testr-args="{posargs}"