Fix tsconfig/root constraints file in tox.ini

The constraints file used for tsconfig and root was removed.
We need to update the file to use the StarlingX Debian constraints file.

Test Plan:
PASS: Run tox for tsconfig and root dir

Closes-bug: 2055734

Change-Id: I3b2430008a8f6c76a41457b2e4ea01f7b529854c
Signed-off-by: Hugo Brito <hugo.brito@windriver.com>
This commit is contained in:
Hugo Brito 2024-03-01 18:23:33 -03:00 committed by Hugo Nicodemos
parent e8d60f1eae
commit e6f666d09f
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 =