From 61109422f8f14e4a6c92c31c791091ad47cefbab Mon Sep 17 00:00:00 2001 From: Jean-Louis Dupond Date: Thu, 7 Nov 2024 13:57:51 +0100 Subject: [PATCH] tests: add dep on packaging in tox There is an incompatibility between packaging version from CentOS and setuptools from pip. Which causes a failure running the tests: TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero' See also https://github.com/pypa/setuptools/issues/4483 Fix this by using a the current packaging version instead of the CentOS packaged one. Signed-off-by: Jean-Louis Dupond --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 9c73bc806d..25d1ffcccd 100644 --- a/tox.ini +++ b/tox.ini @@ -22,6 +22,7 @@ deps = pytest pytest-cov pytest-timeout + packaging changedir = {toxinidir}/tests markers = "not (integration or slow or stress)"