From 73c69915c753e6a829e0864feed25fea89866d8b Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Mon, 2 Dec 2024 12:22:15 -0500 Subject: [PATCH] Travis: Downgrade to setuptools 59.6.0 to avoid error in 71.x 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: https://github.com/pypa/setuptools/issues/4483 Signed-off-by: Stefan Berger --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 4c2af57a0..7f054d5db 100644 --- a/.travis.yml +++ b/.travis.yml @@ -87,6 +87,7 @@ matrix: SWTPM_TEST_STORE_VOLATILE="1" before_script: - sudo apt-get -y install libtpm2-pkcs11-tools + - sudo pip install setuptools==59.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