From efbf27737e4abd4566a7e2583e624c84a6630fde Mon Sep 17 00:00:00 2001 From: Felipe Reyes Date: Thu, 5 Oct 2023 13:04:34 -0300 Subject: [PATCH] Pass constraints to the [testenv] target --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index bd1ca067a..26ecb16cd 100644 --- a/tox.ini +++ b/tox.ini @@ -17,9 +17,9 @@ passenv = CS_* OS_* TEST_* -extras = {env:EXTRA} deps = - -r{toxinidir}/test-requirements.txt + -c{toxinidir}/constraints-{env:EXTRA:juju-29}.txt + -r{toxinidir}/test-requirements.txt commands = pytest --cov=./zaza/ {posargs} {toxinidir}/unit_tests [testenv:py3]