Merge "Force constraints when installing a package during tox test"
This commit is contained in:
commit
42fa5d6386
4
tox.ini
4
tox.ini
@ -1,10 +1,11 @@
|
||||
[tox]
|
||||
minversion = 3.18.0
|
||||
minversion = 4.4.0
|
||||
envlist = py3,pep8
|
||||
ignore_basepython_conflict=true
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
constrain_package_deps = true
|
||||
usedevelop = True
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
PYTHONDONTWRITEBYTECODE = 1
|
||||
@ -40,6 +41,7 @@ deps =
|
||||
pycodestyle>=2.0.0,<3.0.0 # MIT
|
||||
Pygments>=2.2.0 # BSD
|
||||
doc8>=0.6.0 # Apache 2.0
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
commands =
|
||||
flake8 {posargs}
|
||||
doc8 README.rst doc/source --ignore D001
|
||||
|
Loading…
Reference in New Issue
Block a user