Skip to content

Commit b8214de

Browse files
committed
Use upper constraints from stackhpc/requirements
This is to fix the following issue: ModuleNotFoundError: No module named 'pkg_resources' Change-Id: I96544c3f93a10b4e1a96dafd94ad0571ba28246f
1 parent 7400ff8 commit b8214de

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ setenv = VIRTUAL_ENV={envdir}
1313
LC_ALL=en_US.UTF-8
1414
TESTS_DIR=./networking_generic_switch/tests/unit/
1515
deps =
16-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2025.1}
16+
-c{env:TOX_CONSTRAINTS_FILE:https://raw.githubusercontent.com/stackhpc/requirements/refs/heads/stackhpc/2025.1/upper-constraints.txt}
1717
-r{toxinidir}/requirements.txt
1818
-r{toxinidir}/test-requirements.txt
1919
passenv =
@@ -29,7 +29,7 @@ commands =
2929

3030
[testenv:pep8]
3131
deps =
32-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2025.1}
32+
-c{env:TOX_CONSTRAINTS_FILE:https://raw.githubusercontent.com/stackhpc/requirements/refs/heads/stackhpc/2025.1/upper-constraints.txt}
3333
hacking~=6.1.0 # Apache-2.0
3434
flake8-import-order~=0.18.0# LGPLv3
3535
bashate~=2.1.0 # Apache-2.0
@@ -48,7 +48,7 @@ commands =
4848
setenv = PYTHONHASHSEED=0
4949
sitepackages = False
5050
deps =
51-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2025.1}
51+
-c{env:TOX_CONSTRAINTS_FILE:https://raw.githubusercontent.com/stackhpc/requirements/refs/heads/stackhpc/2025.1/upper-constraints.txt}
5252
-r{toxinidir}/requirements.txt
5353
-r{toxinidir}/doc/requirements.txt
5454
commands =
@@ -65,15 +65,15 @@ commands =
6565

6666
[testenv:releasenotes]
6767
deps =
68-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2025.1}
68+
-c{env:TOX_CONSTRAINTS_FILE:https://raw.githubusercontent.com/stackhpc/requirements/refs/heads/stackhpc/2025.1/upper-constraints.txt}
6969
-r{toxinidir}/doc/requirements.txt
7070
commands =
7171
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
7272

7373
[testenv:venv]
7474
setenv = PYTHONHASHSEED=0
7575
deps =
76-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2025.1}
76+
-c{env:TOX_CONSTRAINTS_FILE:https://raw.githubusercontent.com/stackhpc/requirements/refs/heads/stackhpc/2025.1/upper-constraints.txt}
7777
-r{toxinidir}/test-requirements.txt
7878
-r{toxinidir}/doc/requirements.txt
7979
commands = {posargs}

0 commit comments

Comments
 (0)