Merge "Fix tsconfig/root constraints file in tox.ini"

This commit is contained in:
Zuul 2024-03-05 12:46:06 +00:00 committed by Gerrit Code Review
commit 2b1cbc169c
4 changed files with 11 additions and 9 deletions

View File

@ -1,4 +1,4 @@
openstackdocstheme>=2.2.1 # Apache-2.0
os-api-ref>=1.4.0 # Apache-2.0
reno>=3.1.0 # Apache-2.0
sphinx>=2.0.0,!=2.1.0,<7.2.0 # BSD
sphinx==7.2.6 # BSD

View File

@ -5,7 +5,7 @@ skipsdist = True
[testenv]
install_command = pip install \
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/starlingx/root/raw/branch/master/build-tools/requirements/debian/upper-constraints.txt} \
{opts} {packages}
setenv = VIRTUAL_ENV={envdir}
OS_STDOUT_CAPTURE=1

View File

@ -2,3 +2,4 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
six>=1.9.0 # MIT

View File

@ -20,7 +20,7 @@ usedevelop = True
install_command = pip install {opts} {packages}
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt}
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/starlingx/root/raw/branch/master/build-tools/requirements/debian/upper-constraints.txt}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
@ -78,10 +78,11 @@ commands =
flake8 {posargs} .
[testenv:pylint]
deps = {[testenv]deps}
basepython = python3
commands = pylint tsconfig --rcfile=./pylint.rc
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = pylint {posargs} tsconfig --rcfile=./pylint.rc
[testenv:cover]
setenv =