Fixed requirements.txt for tox.
This commit is contained in:
parent
6d07347367
commit
1a4df292b1
@ -2,6 +2,10 @@
|
|||||||
# 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.
|
||||||
|
|
||||||
|
sshpubkeys>=2.2.0
|
||||||
|
pycrypto>=2.6.1
|
||||||
|
falcon>=1.3.0
|
||||||
|
sqlalchemy>=1.1.14
|
||||||
castellan>=0.16.0
|
castellan>=0.16.0
|
||||||
requests>=2.18.2 # Apache-2.0
|
requests>=2.18.2 # Apache-2.0
|
||||||
python-keystoneclient!=1.8.0,!=2.1.0,>=1.7.0 # Apache-2.0
|
python-keystoneclient!=1.8.0,!=2.1.0,>=1.7.0 # Apache-2.0
|
||||||
|
@ -5,7 +5,10 @@
|
|||||||
# Install bounded pep8/pyflakes first, then let flake8 install
|
# Install bounded pep8/pyflakes first, then let flake8 install
|
||||||
hacking<0.11,>=0.10.0
|
hacking<0.11,>=0.10.0
|
||||||
|
|
||||||
|
sshpubkeys>=2.2.0
|
||||||
|
pytest>=3.3.1
|
||||||
|
pycrypto>=2.6.1
|
||||||
coverage>=3.6 # Apache-2.0
|
coverage>=3.6 # Apache-2.0
|
||||||
mock>=2.0 # BSD
|
mock>=2.0 # BSD
|
||||||
os-testr>=0.7.0 # Apache-2.0
|
os-testr>=0.7.0 # Apache-2.0
|
||||||
bandit>=1.0.1 # Apache-2.0
|
bandit>=1.0.1 # Apache-2.0
|
||||||
|
9
tox.ini
9
tox.ini
@ -9,10 +9,13 @@ usedevelop = True
|
|||||||
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
|
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
|
whitelist_externals =
|
||||||
|
/usr/bin/find
|
||||||
|
/bin/rm
|
||||||
commands =
|
commands =
|
||||||
find . -type f -name "*.pyc" -delete
|
find . -type f -name "*.pyc" -delete
|
||||||
rm -rf .testrepository/times.dbm
|
rm -rf .testrepository/times.dbm
|
||||||
ostestr {posargs}
|
ostestr {posargs} tatu/tests
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands =
|
commands =
|
||||||
@ -30,7 +33,7 @@ commands = {posargs}
|
|||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
commands =
|
commands =
|
||||||
python setup.py testr --coverage --testr-args='{posargs}'
|
python setup.py testr --coverage
|
||||||
coverage report
|
coverage report
|
||||||
|
|
||||||
[testenv:bandit]
|
[testenv:bandit]
|
||||||
@ -51,4 +54,4 @@ deps =
|
|||||||
{[testenv]deps}
|
{[testenv]deps}
|
||||||
pylint
|
pylint
|
||||||
commands =
|
commands =
|
||||||
pylint --rcfile=pylintrc --output-format=colorized
|
pylint --rcfile=pylintrc --output-format=colorized tatu
|
||||||
|
Loading…
Reference in New Issue
Block a user