Update requirements
- cap cinder at < 18.0.0 (wallaby) in requirements.txt because cinder isn't in upper-constraints - add os-brick>=4.0.1 (victoria official release) to requirements - tox.ini: base testenv: add upper-constraints and change to use cinder and os-brick from pypi instead of master Change-Id: I59a2dd3cd2e56a83702e75086bec75569060167f
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
cinder>=17.0.0 # Apache-2.0
|
||||
cinder>=17.0.0,<18.0.0 # Apache-2.0
|
||||
os-brick>=4.0.1
|
||||
importlib_metadata>=1.7.0;python_version<'3.8' # Apache-2.0
|
||||
|
||||
11
tox.ini
11
tox.ini
@@ -16,14 +16,9 @@ setenv = OS_STDOUT_CAPTURE=1
|
||||
OS_TEST_PATH=./cinderlib/tests/unit
|
||||
usedevelop=True
|
||||
install_command = pip install {env:PIP_OPTIONS:} {opts} {packages}
|
||||
# Use cinder from master instead of from PyPi. Defining the egg name we won't
|
||||
# overwrite the package installed by Zuul on jobs supporting cross-project
|
||||
# dependencies (include Cinder in required-projects). This allows us to also
|
||||
# run local tests against master.
|
||||
# NOTE: Functional tests may fail if host is missing bindeps from deps projects
|
||||
deps= -r{toxinidir}/test-requirements.txt
|
||||
git+https://opendev.org/openstack/os-brick#egg=os-brick
|
||||
git+https://opendev.org/openstack/cinder#egg=cinder
|
||||
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/victoria}
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
-r{toxinidir}/requirements.txt
|
||||
|
||||
commands =
|
||||
find . -ignore_readdir_race -type f -name "*.pyc" -delete
|
||||
|
||||
Reference in New Issue
Block a user