Fix pep8 and pycrypto versions, fix tox.ini

Change-Id: I8efe200c54e4c441ec9d3c8f02bf03309da8b171
This commit is contained in:
Sergey Lukjanov 2013-07-02 18:48:03 +04:00
parent 15f840bf28
commit 04d3271ce6
3 changed files with 9 additions and 6 deletions

View File

@ -7,6 +7,7 @@ netaddr
oslo.config>=1.1.0
paramiko>=1.8.0
pbr>=0.5.16,<0.6
pycrypto>=2.6
python-cinderclient>=1.0.4,<2
python-keystoneclient>=0.2,<0.3
python-novaclient>=2.12.0,<3

View File

@ -1,7 +1,9 @@
# This file is managed by openstack-depends
coverage>=3.6
# Fix versions for pep8/flake8/hacking
pep8==1.4.5
flake8==2.0
hacking>=0.5.3,<0.6
hacking>=0.5.6,<0.6
coverage>=3.6
mock>=0.8.0
nose
openstack.nose_plugin>=0.7

View File

@ -2,6 +2,7 @@
envlist = py26,py27,py33,pep8
[testenv]
sitepackages = True
setenv =
VIRTUAL_ENV={envdir}
NOSE_WITH_OPENSTACK=1
@ -23,12 +24,11 @@ commands = nosetests -w integration -x {posargs}
setenv = NOSE_WITH_COVERAGE=1
[tox:jenkins]
sitepackages = False
downloadcache = ~/cache/pip
[testenv:pep8]
deps =
flake8
hacking
sitepackages = False
commands = flake8 {posargs}
[testenv:venv]