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:
Brian Rosmaita
2021-01-26 08:31:05 -05:00
parent f9b2b76e39
commit ef98ec2aee
2 changed files with 5 additions and 9 deletions

View File

@@ -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
View File

@@ -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