Update tox.ini for new upper constraints strategy
The requirements team has defined a new strategy for handling upper constraints[1]. This patch applies those strategies to Octavia. This also corrects a lower constraint for oslo.messaging. [1] http://lists.openstack.org/pipermail/openstack-discuss/ \ 2019-May/006478.html Change-Id: I0be0ebf040aa127950a71b6550cea6c79cb18d6a
This commit is contained in:
parent
d53010dc42
commit
f41cd0a20f
|
@ -9,7 +9,8 @@ sphinxcontrib-blockdiag>=1.5.4 # BSD
|
|||
sphinxcontrib-nwdiag>=0.9.5 # BSD
|
||||
sphinxcontrib-seqdiag>=0.8.4 # BSD
|
||||
docutils>=0.11 # OSI-Approved Open Source, Public Domain
|
||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
|
||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
|
||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
|
||||
graphviz!=0.5.0,>=0.4 # MIT License
|
||||
openstackdocstheme>=1.18.1 # Apache-2.0
|
||||
sadisplay>=0.4.8 # BSD
|
||||
|
@ -19,4 +20,5 @@ reno>=2.5.0 # Apache-2.0
|
|||
pydot>=1.2.4 # MIT License
|
||||
pydotplus>=2.0.2 # MIT License
|
||||
pyparsing>=2.1.0 # MIT
|
||||
networkx>=1.10 # BSD
|
||||
networkx>=1.10,<2.3;python_version<'3.0' # BSD
|
||||
networkx>=1.10;python_version>='3.4' # BSD
|
||||
|
|
|
@ -84,7 +84,7 @@ oslo.context==2.19.2
|
|||
oslo.db==4.27.0
|
||||
oslo.i18n==3.15.3
|
||||
oslo.log==3.36.0
|
||||
oslo.messaging==5.29.0
|
||||
oslo.messaging==6.3.0
|
||||
oslo.middleware==3.31.0
|
||||
oslo.policy==1.30.0
|
||||
oslo.reports==1.18.0
|
||||
|
|
|
@ -21,7 +21,7 @@ oslo.context>=2.19.2 # Apache-2.0
|
|||
oslo.db>=4.27.0 # Apache-2.0
|
||||
oslo.i18n>=3.15.3 # Apache-2.0
|
||||
oslo.log>=3.36.0 # Apache-2.0
|
||||
oslo.messaging>=5.29.0 # Apache-2.0
|
||||
oslo.messaging>=6.3.0 # Apache-2.0
|
||||
oslo.middleware>=3.31.0 # Apache-2.0
|
||||
oslo.policy>=1.30.0 # Apache-2.0
|
||||
oslo.reports>=1.18.0 # Apache-2.0
|
||||
|
|
|
@ -17,4 +17,5 @@ doc8>=0.6.0 # Apache-2.0
|
|||
bandit>=1.1.0 # Apache-2.0
|
||||
tempest>=17.1.0 # Apache-2.0
|
||||
# Required for pep8 - doc8 tests
|
||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
|
||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
|
||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
|
||||
|
|
5
tox.ini
5
tox.ini
|
@ -8,9 +8,10 @@ usedevelop = True
|
|||
setenv = VIRTUAL_ENV={envdir}
|
||||
PYTHONWARNINGS=default::DeprecationWarning
|
||||
install_command =
|
||||
pip install -U -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/stein} {opts} {packages}
|
||||
pip install {opts} {packages}
|
||||
whitelist_externals = find
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/stein}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands =
|
||||
stestr run {posargs}
|
||||
|
|
Loading…
Reference in New Issue