diff --git a/constraints-juju-29.txt b/constraints-juju-29.txt new file mode 100644 index 000000000..6a3dead58 --- /dev/null +++ b/constraints-juju-29.txt @@ -0,0 +1 @@ +juju<3.0 diff --git a/constraints-juju-31.txt b/constraints-juju-31.txt new file mode 100644 index 000000000..11c49ff22 --- /dev/null +++ b/constraints-juju-31.txt @@ -0,0 +1 @@ +juju>=3.1,<3.2 diff --git a/constraints-juju-32.txt b/constraints-juju-32.txt new file mode 100644 index 000000000..6b5c57a94 --- /dev/null +++ b/constraints-juju-32.txt @@ -0,0 +1 @@ +juju>=3.2,<3.3 diff --git a/tox.ini b/tox.ini index 2cb5a78d6..bd1ca067a 100644 --- a/tox.ini +++ b/tox.ini @@ -58,7 +58,9 @@ commands = [testenv:func-target] basepython = python3 -deps = -r{toxinidir}/test-requirements.txt +deps = + -c{toxinidir}/constraints-{env:EXTRA:juju-29}.txt + -r{toxinidir}/test-requirements.txt commands = {envdir}/bin/python3 setup.py install functest-run-suite --keep-model --bundle {posargs}