From 93343e07a32479d8d2a326d87166771690e07be8 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 27 Dec 2023 11:53:14 -0700 Subject: [PATCH] tox.ini: Move some deps to setup.cfg Signed-off-by: Zack Cerza --- requirements.txt | 8 ++++++++ setup.cfg | 2 ++ tox.ini | 6 +++--- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 80e5d44bf..d42e52d2f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/setup.cfg b/setup.cfg index 6cde733d7..6118586a6 100644 --- 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 71e059fe7..40c48b071 100644 --- 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= -- 2.47.3