From 9897045323b4898e3006fc156ac4854f53696a1c Mon Sep 17 00:00:00 2001 From: Jean-Louis Dupond Date: Thu, 7 Nov 2024 13:57:51 +0100 Subject: [PATCH] tox.ini: 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)"