Merge "Force constraints when installing a package during tox test"
This commit is contained in:
commit
29f9a23905
4
tox.ini
4
tox.ini
@ -1,8 +1,9 @@
|
||||
[tox]
|
||||
minversion = 3.18.0
|
||||
minversion = 4.4.0
|
||||
envlist = py3,pep8
|
||||
|
||||
[testenv]
|
||||
constrain_package_deps = true
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
PYTHONDONTWRITEBYTECODE = 1
|
||||
LANGUAGE=en_US
|
||||
@ -29,6 +30,7 @@ deps =
|
||||
flake8-import-order>=0.17.1 # LGPLv3
|
||||
pycodestyle>=2.0.0,<3.0.0 # MIT
|
||||
Pygments>=2.2.0 # BSD
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
commands =
|
||||
flake8 {posargs}
|
||||
doc8 doc/source CONTRIBUTING.rst README.rst
|
||||
|
Loading…
Reference in New Issue
Block a user