Merge "Use TOX_CONSTRAINTS_FILE"
This commit is contained in:
commit
cb7038d07e
@ -338,7 +338,7 @@ Having done a release of an xstatic package:
|
|||||||
"include-pypi-link: yes" setting.
|
"include-pypi-link: yes" setting.
|
||||||
2. Pull that patch down so you have the edited upper-constraints.txt file
|
2. Pull that patch down so you have the edited upper-constraints.txt file
|
||||||
locally.
|
locally.
|
||||||
3. Set the environment variable `UPPER_CONSTRAINTS_FILE` to the edited
|
3. Set the environment variable `TOX_CONSTRAINTS_FILE` to the edited
|
||||||
upper-constraints.txt file name and run tests or local development server
|
upper-constraints.txt file name and run tests or local development server
|
||||||
through tox. This will pull in the precise version of the xstatic package
|
through tox. This will pull in the precise version of the xstatic package
|
||||||
that you need.
|
that you need.
|
||||||
|
4
tox.ini
4
tox.ini
@ -20,7 +20,7 @@ whitelist_externals =
|
|||||||
bash
|
bash
|
||||||
find
|
find
|
||||||
deps =
|
deps =
|
||||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
@ -123,7 +123,7 @@ commands =
|
|||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
# We need to install horizon dependecies to build module references
|
# We need to install horizon dependecies to build module references
|
||||||
deps =
|
deps =
|
||||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
Reference in New Issue
Block a user