diff .travis.yml @ 7188:914a2f872854

Remove distro-info package to try to get travisci working again All environments on travis-ci are throwing: pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '0.23ubuntu1' (package: distro-info) when builiding gpgme. Net suggestions include removing the offending distro-info. Let's see if it works.
author John Rouillard <rouilj@ieee.org>
date Mon, 27 Feb 2023 00:04:36 -0500
parents 5cbe5f2a636b
children f3c4655cfdac
line wrap: on
line diff
--- a/.travis.yml	Sun Feb 26 23:40:57 2023 -0500
+++ b/.travis.yml	Mon Feb 27 00:04:36 2023 -0500
@@ -53,6 +53,10 @@
       - gpgsm
 
 before_install:
+  # deal with setuptools error:
+  # pkg_resources.extern.packaging.version.InvalidVersion: Invalid
+  #    version: '0.23ubuntu1' (package: distro-info)
+  - sudo apt-get remove distro-info
   # build xapian
   - echo "$TRAVIS_PYTHON_VERSION"
   # Sphinx required to build the xapian python bindings. Use 1.8.5 on

Roundup Issue Tracker: http://roundup-tracker.org/