]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: add new requirements file to tox.ini envs
authorJohn Mulligan <jmulligan@redhat.com>
Sun, 16 Jul 2023 20:14:53 +0000 (16:14 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Fri, 3 Nov 2023 22:51:49 +0000 (18:51 -0400)
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 <jmulligan@redhat.com>
src/cephadm/tox.ini

index cea84554e129a875b9279e633674d8e7a698f8b9..67ed18c97249a3cb16ab63366bf0dcd487891048 100644 (file)
@@ -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}