Fixup dependencies.
- Don't put deps in tox.ini. They aren't synced. - Remove unneeded requirements-py3.txt. Change-Id: I57851a0004fcfa360e5f35e18f869a0af0ca22fb
This commit is contained in:
parent
77bb9f8a92
commit
9af2a9fa46
@ -1,14 +0,0 @@
|
|||||||
# The order of packages is significant, because pip processes them in the order
|
|
||||||
# of appearance. Changing the order has an impact on the overall integration
|
|
||||||
# process, which may cause wedges in the gate later.
|
|
||||||
pbr<2.0,>=1.3
|
|
||||||
Babel>=1.3
|
|
||||||
stevedore>=1.5.0 # Apache-2.0
|
|
||||||
six>=1.9.0
|
|
||||||
iso8601>=0.1.9
|
|
||||||
zake>=0.1.6 # Apache-2.0
|
|
||||||
msgpack-python>=0.4.0
|
|
||||||
fasteners>=0.7 # Apache-2.0
|
|
||||||
retrying!=1.3.0,>=1.2.3 # Apache-2.0
|
|
||||||
oslo.utils>=1.9.0 # Apache-2.0
|
|
||||||
oslo.serialization>=1.4.0 # Apache-2.0
|
|
@ -2,10 +2,11 @@
|
|||||||
# of appearance. Changing the order has an impact on the overall integration
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
|
|
||||||
|
hacking>=0.10.0,<0.11
|
||||||
pep8==1.5.7
|
pep8==1.5.7
|
||||||
pyflakes==0.8.1
|
pyflakes==0.8.1
|
||||||
flake8<=2.4.1,>=2.2.4
|
flake8<=2.4.1,>=2.2.4
|
||||||
discover
|
doc8 # Apache-2.0
|
||||||
mock>=1.1;python_version!='2.6'
|
mock>=1.1;python_version!='2.6'
|
||||||
mock==1.0.1;python_version=='2.6'
|
mock==1.0.1;python_version=='2.6'
|
||||||
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
|
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
|
||||||
|
20
tox.ini
20
tox.ini
@ -4,33 +4,23 @@ skipsdist = True
|
|||||||
envlist = py26,py27,py34,py27-zookeeper,py34-zookeeper,py27-redis,py34-redis,py27-sentinel,py34-sentinel,py27-memcached,py34-memcached,py27-postgresql,py34-postgresql,py27-mysql,py34-mysql,pep8
|
envlist = py26,py27,py34,py27-zookeeper,py34-zookeeper,py27-redis,py34-redis,py27-sentinel,py34-sentinel,py27-memcached,py34-memcached,py27-postgresql,py34-postgresql,py27-mysql,py34-mysql,pep8
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
|
||||||
install_command = pip install -U {opts} {packages}
|
install_command = pip install -U {opts} {packages}
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
commands = python setup.py testr --slowest --testr-args="{posargs}"
|
commands = python setup.py testr --slowest --testr-args="{posargs}"
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
deps = -r{toxinidir}/requirements.txt
|
|
||||||
-r{toxinidir}/test-requirements.txt
|
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:py27]
|
[testenv:py27]
|
||||||
deps = {[testenv]deps}
|
|
||||||
doc8
|
|
||||||
commands = python setup.py testr --slowest --testr-args="{posargs}"
|
commands = python setup.py testr --slowest --testr-args="{posargs}"
|
||||||
{toxinidir}/run-examples.sh
|
{toxinidir}/run-examples.sh
|
||||||
doc8 doc/source
|
doc8 doc/source
|
||||||
|
|
||||||
[testenv:py34]
|
|
||||||
deps = -r{toxinidir}/requirements-py3.txt
|
|
||||||
-r{toxinidir}/test-requirements.txt
|
|
||||||
|
|
||||||
[testenv:py27-zookeeper]
|
[testenv:py27-zookeeper]
|
||||||
commands = {toxinidir}/setup-zookeeper-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
commands = {toxinidir}/setup-zookeeper-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||||
|
|
||||||
[testenv:py34-zookeeper]
|
[testenv:py34-zookeeper]
|
||||||
deps = {[testenv:py34]deps}
|
|
||||||
basepython = python3.4
|
basepython = python3.4
|
||||||
commands = {toxinidir}/setup-zookeeper-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
commands = {toxinidir}/setup-zookeeper-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||||
|
|
||||||
@ -38,7 +28,6 @@ commands = {toxinidir}/setup-zookeeper-env.sh python setup.py testr --slowest --
|
|||||||
commands = {toxinidir}/setup-redis-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
commands = {toxinidir}/setup-redis-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||||
|
|
||||||
[testenv:py34-redis]
|
[testenv:py34-redis]
|
||||||
deps = {[testenv:py34]deps}
|
|
||||||
basepython = python3.4
|
basepython = python3.4
|
||||||
commands = {toxinidir}/setup-redis-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
commands = {toxinidir}/setup-redis-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||||
|
|
||||||
@ -46,7 +35,6 @@ commands = {toxinidir}/setup-redis-env.sh python setup.py testr --slowest --test
|
|||||||
commands = {toxinidir}/setup-sentinel-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
commands = {toxinidir}/setup-sentinel-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||||
|
|
||||||
[testenv:py34-sentinel]
|
[testenv:py34-sentinel]
|
||||||
deps = {[testenv:py34]deps}
|
|
||||||
basepython = python3.4
|
basepython = python3.4
|
||||||
commands = {toxinidir}/setup-sentinel-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
commands = {toxinidir}/setup-sentinel-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||||
|
|
||||||
@ -54,7 +42,6 @@ commands = {toxinidir}/setup-sentinel-env.sh python setup.py testr --slowest --t
|
|||||||
commands = {toxinidir}/setup-memcached-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
commands = {toxinidir}/setup-memcached-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||||
|
|
||||||
[testenv:py34-memcached]
|
[testenv:py34-memcached]
|
||||||
deps = {[testenv:py34]deps}
|
|
||||||
basepython = python3.4
|
basepython = python3.4
|
||||||
commands = {toxinidir}/setup-memcached-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
commands = {toxinidir}/setup-memcached-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||||
|
|
||||||
@ -62,7 +49,6 @@ commands = {toxinidir}/setup-memcached-env.sh python setup.py testr --slowest --
|
|||||||
commands = {toxinidir}/setup-postgresql-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
commands = {toxinidir}/setup-postgresql-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||||
|
|
||||||
[testenv:py34-postgresql]
|
[testenv:py34-postgresql]
|
||||||
deps = {[testenv:py34]deps}
|
|
||||||
basepython = python3.4
|
basepython = python3.4
|
||||||
commands = {toxinidir}/setup-postgresql-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
commands = {toxinidir}/setup-postgresql-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||||
|
|
||||||
@ -70,7 +56,6 @@ commands = {toxinidir}/setup-postgresql-env.sh python setup.py testr --slowest -
|
|||||||
commands = {toxinidir}/setup-mysql-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
commands = {toxinidir}/setup-mysql-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||||
|
|
||||||
[testenv:py34-mysql]
|
[testenv:py34-mysql]
|
||||||
deps = {[testenv:py34]deps}
|
|
||||||
basepython = python3.4
|
basepython = python3.4
|
||||||
commands = {toxinidir}/setup-mysql-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
commands = {toxinidir}/setup-mysql-env.sh python setup.py testr --slowest --testr-args="{posargs}"
|
||||||
|
|
||||||
@ -78,13 +63,10 @@ commands = {toxinidir}/setup-mysql-env.sh python setup.py testr --slowest --test
|
|||||||
commands = python setup.py testr --slowest --coverage --testr-args="{posargs}"
|
commands = python setup.py testr --slowest --coverage --testr-args="{posargs}"
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
deps = {[testenv]deps}
|
|
||||||
doc8
|
|
||||||
commands = doc8 doc/source
|
commands = doc8 doc/source
|
||||||
python setup.py build_sphinx
|
python setup.py build_sphinx
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
deps = hacking>=0.10.0,<0.11
|
|
||||||
commands =
|
commands =
|
||||||
flake8
|
flake8
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user