diff --git a/doc/requirements.txt b/doc/requirements.txt index 81827469a..741c0e9fa 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -16,7 +16,7 @@ kazoo>=2.2 # Apache-2.0 zake>=0.1.6 # Apache-2.0 redis>=2.10.0 # MIT -eventlet!=0.18.3,!=0.20.1,<0.21.0,>=0.18.2 # MIT +eventlet!=0.18.3,!=0.20.1,!=0.21.0 # MIT SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT alembic>=0.8.10 # MIT SQLAlchemy-Utils>=0.30.11 # BSD License diff --git a/lower-constraints.txt b/lower-constraints.txt index 4dcf2094d..41f37a6f1 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -11,14 +11,16 @@ debtcollector==1.2.0 decorator==3.4.0 doc8==0.6.0 docutils==0.11 +enum34==1.0.4;python_version=='2.7' or python_version=='2.6' or python_version=='3.3' eventlet==0.18.2 extras==1.0.0 fasteners==0.7.0 fixtures==3.0.0 flake8==2.2.4 +futures==3.0.0;python_version=='2.7' or python_version=='2.6' futurist==1.2.0 greenlet==0.4.10 -hacking==0.10.3 +hacking==0.10.0 imagesize==0.7.1 iso8601==0.1.11 Jinja2==2.10 @@ -62,12 +64,12 @@ requestsexceptions==1.2.0 restructuredtext-lint==1.1.1 six==1.10.0 snowballstemmer==1.2.1 -Sphinx==1.6.5 +Sphinx==1.6.2 sphinxcontrib-websupport==1.0.1 -SQLAlchemy==1.0.10 SQLAlchemy-Utils==0.30.11 +SQLAlchemy==1.0.10 stevedore==1.20.0 -tenacity==3.2.1 +tenacity==4.4.0 testrepository==0.0.18 testscenarios==0.4 testtools==2.2.0 diff --git a/setup.cfg b/setup.cfg index 6ab735d6b..15f30c5d0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -57,6 +57,8 @@ taskflow.engines = workers = taskflow.engines.worker_based.engine:WorkerBasedActionEngine [extras] +# NOTE(dhellmann): The entries in this section of the file need to be +# kept consistent with the entries in test-requirements.txt. zookeeper = kazoo>=2.2 # Apache-2.0 zake>=0.1.6 # Apache-2.0 @@ -65,7 +67,7 @@ redis = workers = kombu!=4.0.2,>=4.0.0 # BSD eventlet = - eventlet!=0.18.3,!=0.20.1,<0.21.0,>=0.18.2 # MIT + eventlet!=0.18.3,!=0.20.1,!=0.21.0 # MIT database = SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT alembic>=0.8.10 # MIT diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 000000000..630424849 --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1,33 @@ +# NOTE(dhellmann): This file contains duplicate dependency information +# that is also present in the "extras" section of setup.cfg, and the +# entries need to be kept consistent. + +# zookeeper +kazoo>=2.2 # Apache-2.0 +zake>=0.1.6 # Apache-2.0 + +# redis +redis>=2.10.0 # MIT + +# workers +kombu!=4.0.2,>=4.0.0 # BSD + +# eventlet +eventlet!=0.18.3,!=0.20.1,!=0.21.0 # MIT + +# database +SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT +alembic>=0.8.10 # MIT +SQLAlchemy-Utils>=0.30.11 # BSD License +PyMySQL>=0.7.6 # MIT License +psycopg2>=2.6.2 # LGPL/ZPL + +# test +pydotplus>=2.0.2 # MIT License +hacking<0.11,>=0.10.0 +oslotest>=3.2.0 # Apache-2.0 +mock>=2.0.0 # BSD +testtools>=2.2.0 # MIT +testscenarios>=0.4 # Apache-2.0/BSD +doc8>=0.6.0 # Apache-2.0 +sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD diff --git a/tox.ini b/tox.ini index b3d544a38..9ae3a7ecf 100644 --- a/tox.ini +++ b/tox.ini @@ -16,11 +16,12 @@ setenv = VIRTUAL_ENV={envdir} BRANCH_NAME=master CLIENT_NAME=taskflow -install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} # We need to install a bit more than just `test' because those drivers have # custom tests that we always run deps = - .[test,workers,zookeeper,database,redis,eventlet] + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -r{toxinidir}/test-requirements.txt + -r{toxinidir}/requirements.txt commands = python setup.py testr --slowest --testr-args='{posargs}'