|
|
|
@ -8,7 +8,7 @@ usedevelop = True
|
|
|
|
|
setenv = VIRTUAL_ENV={envdir} |
|
|
|
|
PYTHONWARNINGS=default::DeprecationWarning |
|
|
|
|
install_command = |
|
|
|
|
pip install -U -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} |
|
|
|
|
pip install -U -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} {opts} {packages} |
|
|
|
|
whitelist_externals = find |
|
|
|
|
deps = -r{toxinidir}/requirements.txt |
|
|
|
|
-r{toxinidir}/test-requirements.txt |
|
|
|
@ -21,7 +21,7 @@ basepython = python3
|
|
|
|
|
# This environment is called from CI scripts to test and publish |
|
|
|
|
# the API Ref to developer.openstack.org. |
|
|
|
|
deps = |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} |
|
|
|
|
-r{toxinidir}/requirements.txt |
|
|
|
|
-r{toxinidir}/doc/requirements.txt |
|
|
|
|
whitelist_externals = rm |
|
|
|
@ -82,7 +82,7 @@ whitelist_externals =
|
|
|
|
|
[testenv:docs] |
|
|
|
|
basepython = python3 |
|
|
|
|
deps = |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} |
|
|
|
|
-r{toxinidir}/requirements.txt |
|
|
|
|
-r{toxinidir}/doc/requirements.txt |
|
|
|
|
whitelist_externals = rm |
|
|
|
@ -152,7 +152,7 @@ max-line-length = 79
|
|
|
|
|
[testenv:releasenotes] |
|
|
|
|
basepython = python3 |
|
|
|
|
deps = |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} |
|
|
|
|
-r{toxinidir}/requirements.txt |
|
|
|
|
-r{toxinidir}/doc/requirements.txt |
|
|
|
|
whitelist_externals = rm |
|
|
|
@ -196,7 +196,7 @@ commands =
|
|
|
|
|
[testenv:requirements] |
|
|
|
|
basepython = python3 |
|
|
|
|
deps = |
|
|
|
|
-egit+https://git.openstack.org/openstack/requirements#egg=openstack-requirements |
|
|
|
|
-egit+https://opendev.org/openstack/requirements#egg=openstack-requirements |
|
|
|
|
whitelist_externals = sh |
|
|
|
|
commands = |
|
|
|
|
sh -c '{envdir}/src/openstack-requirements/playbooks/files/project-requirements-change.py --req {envdir}/src/openstack-requirements --local {toxinidir} master' |
|
|
|
|