Skip to content

Commit

Permalink
Travis: Upgrade to setuptools 75.6.0 to avoid error in 71.x
Browse files Browse the repository at this point in the history
There seems to be a well known error in setuptools 71.x that prevents
installation of cpp-coveralls on Travis now:

File "/usr/local/lib/python3.10/dist-packages/setuptools/_core_metadata.py", line 285, in _distribution_fullname

    canonicalize_version(version, strip_trailing_zero=False),

TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'

Link: pypa/setuptools#4483
Signed-off-by: Stefan Berger <[email protected]>
  • Loading branch information
stefanberger committed Dec 2, 2024
1 parent 34a8597 commit 353158c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ matrix:
SWTPM_TEST_STORE_VOLATILE="1"
before_script:
- sudo apt-get -y install libtpm2-pkcs11-tools
- sudo pip install setuptools==75.6.0
- sudo pip install cpp-coveralls
- p=$PWD; while [ "$PWD" != "/" ]; do chmod o+x . &>/dev/null ; cd .. ; done; cd $p
&& sudo mkdir src/swtpm/.libs
Expand Down

0 comments on commit 353158c

Please sign in to comment.