Install python-novaclient 2.15.0 and newer on PY3

All versions before 2.15.0 are not compatible with python 3.3. This
change will restrict to that version or newer for python 3 only. PBR
will look at requirements-py3.txt, if present, and install a newer version
of python-novaclient.

Change-Id: I00298dcd2e479f0683bf7884e68e88912a5cb1b7
Implements: blueprint relaxed-novaclient-version
This commit is contained in:
BK Box 2014-03-19 08:54:26 -05:00
parent 6441192a98
commit 76203fe518
3 changed files with 19 additions and 2 deletions

10
requirements-py3.txt Normal file
View File

@ -0,0 +1,10 @@
iso8601>=0.1.9
Jinja2
# python3 branch of paramiko
https://github.com/paramiko/paramiko/archive/python3.zip#egg=paramiko-1.13.0
pbr>=0.5.21,<1.0
python-novaclient>=2.15.0
# pythonwhois with python 3.3 readiness patch
-e git://github.com/ziadsawalha/python-whois.git@17aa17c1c71805df1cb7fa053fe90b6dc9ba6d4b#egg=pythonwhois
six==1.5.2
tldextract==1.3.1

View File

@ -3,7 +3,7 @@ Jinja2
# python3 branch of paramiko
https://github.com/paramiko/paramiko/archive/python3.zip#egg=paramiko-1.13.0
pbr>=0.5.21,<1.0
python-novaclient==2.15.0
python-novaclient>=2.6.0.1
# pythonwhois with python 3.3 readiness patch
-e git://github.com/ziadsawalha/python-whois.git@17aa17c1c71805df1cb7fa053fe90b6dc9ba6d4b#egg=pythonwhois
six==1.5.2

View File

@ -6,11 +6,18 @@ skipdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args='{posargs}'
[testenv:py26]
setenv =
VIRTUAL_ENV={envdir}
CFLAGS=-Qunused-arguments
CPPFLAGS=-Qunused-arguments
[testenv:pep8]
commands = flake8