Skip to content

Commit

Permalink
tox.ini: add dep on packaging in tox
Browse files Browse the repository at this point in the history
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 pypa/setuptools#4483

Fix this by using a the current packaging version instead of the CentOS
packaged one.

Signed-off-by: Jean-Louis Dupond <[email protected]>
  • Loading branch information
dupondje committed Nov 7, 2024
1 parent 4d11cae commit 0cadd4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ deps =
pytest
pytest-cov
pytest-timeout
packaging
changedir = {toxinidir}/tests
markers = "not (integration or slow or stress)"

Expand Down

0 comments on commit 0cadd4c

Please sign in to comment.