Browse Source

Pin tox to stein

Change-Id: I1f190b68665f3273714774f23ecc24f9e39738a0
changes/77/652177/2
Mitchell Jameson 3 years ago
parent
commit
6744c9df2a
  1. 2
      lower-constraints.txt
  2. 4
      requirements.txt
  3. 8
      tox.ini

2
lower-constraints.txt

@ -56,7 +56,7 @@ msgpack-python==0.4.0
munch==2.1.0
netaddr==0.7.18
netifaces==0.10.4
neutron-lib==1.23.0
neutron-lib==1.25.0
openstackdocstheme==1.18.1
openstacksdk==0.11.2
os-client-config==1.28.0

4
requirements.txt

@ -14,10 +14,6 @@ requests>=2.14.2 # Apache-2.0
six>=1.10.0 # MIT
SQLAlchemy>=1.2.0 # MIT
# These repos are installed from git in OpenStack CI if the job
# configures them as required-projects
neutron # Apache-2.0
# The comment below indicates this project repo is current with neutron-lib
# and should receive neutron-lib consumption patches as they are released
# in neutron-lib. It also implies the project will stay current with TC

8
tox.ini

@ -1,5 +1,5 @@
[tox]
envlist = py27-dev,py35-dev,pep8-dev
envlist = py27-dev,py35-dev,pep8-dev,lower-constraints
minversion = 2.0
skipsdist = True
@ -8,9 +8,10 @@ usedevelop = True
setenv = VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable%2Fstein}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
neutron>=14.0.0,<15.0.0
whitelist_externals =
find
commands =
@ -21,7 +22,7 @@ commands =
# https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs
# note that order is important to ensure dependencies don't override
commands =
pip install -q -e "git+https://git.openstack.org/openstack/neutron#egg=neutron"
pip install -q -e "git+https://git.openstack.org/openstack/neutron.git@stable/stein#egg=neutron"
[testenv:py27-dev]
commands =
@ -86,3 +87,4 @@ deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
neutron>=14.0.0,<15.0.0

Loading…
Cancel
Save