]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
tox.ini: Move some deps to setup.cfg
authorZack Cerza <zack@redhat.com>
Wed, 27 Dec 2023 18:53:14 +0000 (11:53 -0700)
committerZack Cerza <zack@redhat.com>
Tue, 2 Jan 2024 22:39:11 +0000 (15:39 -0700)
Signed-off-by: Zack Cerza <zack@redhat.com>
requirements.txt
setup.cfg
tox.ini

index 80e5d44bfed17a015a6d19d101649904176575f6..d42e52d2f4735a62b74c47da72088aadfcec818c 100644 (file)
@@ -48,6 +48,10 @@ configobj==5.0.8
     # via teuthology (pyproject.toml)
 configparser==6.0.0
     # via teuthology (pyproject.toml)
+coverage[toml]==7.4.0
+    # via
+    #   pytest-cov
+    #   teuthology (pyproject.toml)
 cryptography==41.0.7
     # via
     #   ansible-core
@@ -147,6 +151,10 @@ pyproject-api==1.6.1
 pyproject-hooks==1.0.0
     # via build
 pytest==7.4.3
+    # via
+    #   pytest-cov
+    #   teuthology (pyproject.toml)
+pytest-cov==4.1.0
     # via teuthology (pyproject.toml)
 python-dateutil==2.8.2
     # via
index 6cde733d7b3a139e7ba381649c44c6bb8de25d8c..6118586a693fde34e74d87c6f7fd92606969be3f 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -97,10 +97,12 @@ test =
     PyJWT
     boto>=2.0b4
     boto3
+    coverage
     ipy
     mock
     nose
     pytest
+    pytest-cov
     toml
     tox
     xmltodict
diff --git a/tox.ini b/tox.ini
index 71e059fe74330c267f0e6a200301f1545e2dc09d..40c48b0718fc3a96e1ab9a1f6d64d5106e97faa7 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -12,9 +12,9 @@ install_command = pip install --upgrade {opts} {packages}
 passenv = HOME
 deps=
   -r{toxinidir}/requirements.txt
-  pytest-cov==2.8.1
-  coverage==4.5.4
-  mock==4.0.3
+  pytest-cov
+  coverage
+  mock
 extras = test
 log_format = %(asctime)s %(levelname)s %(message)s
 commands=