From a789a03035e9e93d740d728bf0b841954985e739 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Sun, 16 Jul 2023 16:14:53 -0400 Subject: [PATCH] cephadm: add new requirements file to tox.ini envs Add `-rzipapp-reqs.txt` to the unit tests and mypy environments in tox.ini, enabling the use of dependencies outside the stdlib. Signed-off-by: John Mulligan --- src/cephadm/tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cephadm/tox.ini b/src/cephadm/tox.ini index cea84554e129a..67ed18c97249a 100644 --- a/src/cephadm/tox.ini +++ b/src/cephadm/tox.ini @@ -33,6 +33,7 @@ addopts = [testenv] skip_install=true deps = + -rzipapp-reqs.txt pyfakefs == 4.5.6 ; python_version < "3.7" pyfakefs >= 5, < 6 ; python_version >= "3.7" mock @@ -43,6 +44,7 @@ commands=pytest {posargs} basepython = python3 deps = mypy + -rzipapp-reqs.txt -c{toxinidir}/../mypy-constrains.txt commands = mypy --config-file ../mypy.ini {posargs:cephadm.py cephadmlib} -- 2.39.5