Use upper-constraints for all requirements when testing

When running unit tests the dependencies listed in requirements.txt has
to be explicitly installed with upper constraints as well, otherwise
they will be installed later without any constraints causing errors in
case of dependency issues.

Change-Id: I979a7d2b5cbeac1f191e5fc08ffe99df6301daab
This commit is contained in:
Elod Illes committed 2025-05-20 16:55:25 +00:00
1 parent 69a285a8c8
commit 5c68f639a6
1 file changed
+1
+1
View File
@@ -9,6 +9,7 @@ allowlist_externals =
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
passenv = OSLO_LOG_TEST_EVENTLET
commands =
find . -type f -name "*.pyc" -delete