From: John Mulligan Date: Sun, 16 Jul 2023 20:14:53 +0000 (-0400) Subject: cephadm: add new requirements file to tox.ini envs X-Git-Tag: v19.0.0~153^2~7 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a789a03035e9e93d740d728bf0b841954985e739;p=ceph.git 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 --- 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}