Merge "Force constraints when installing a package during tox test"

This commit is contained in:
Zuul 2024-02-28 14:27:00 +00:00 committed by Gerrit Code Review
commit 29f9a23905

View File

@ -1,8 +1,9 @@
[tox] [tox]
minversion = 3.18.0 minversion = 4.4.0
envlist = py3,pep8 envlist = py3,pep8
[testenv] [testenv]
constrain_package_deps = true
setenv = VIRTUAL_ENV={envdir} setenv = VIRTUAL_ENV={envdir}
PYTHONDONTWRITEBYTECODE = 1 PYTHONDONTWRITEBYTECODE = 1
LANGUAGE=en_US LANGUAGE=en_US
@ -29,6 +30,7 @@ deps =
flake8-import-order>=0.17.1 # LGPLv3 flake8-import-order>=0.17.1 # LGPLv3
pycodestyle>=2.0.0,<3.0.0 # MIT pycodestyle>=2.0.0,<3.0.0 # MIT
Pygments>=2.2.0 # BSD Pygments>=2.2.0 # BSD
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
commands = commands =
flake8 {posargs} flake8 {posargs}
doc8 doc/source CONTRIBUTING.rst README.rst doc8 doc/source CONTRIBUTING.rst README.rst