Roundup Tracker - Issues


Author rouilj
Recipients rouilj
Date 2023-02-27.17:14:03
Message-id <>
Sometime between end of December and mid February CI builds on travis-ci have been failing
when compiling gpgme.

The error is:

    pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '0.23ubuntu1' 
(package: distro-info)


I have:

  * verified that setuptools is at a version less than 66
  * tried to install python-gpg (which is not available
      for the ubuntu 20.04 (focal) release but was available for 18.04.
  * apt-get remove distro-info
  * upgraded to gpgme-1.18.0

My guess is something internal to the gpgme  build is upgrading setuptools
or it parsing/calling some underlying routine that is failing.

I verified that setuptools < 66 before the gpgme tarball is unpacked,
configured and built (rev a94e223f1e3e).

On python3 tests, I have worked around this by installing python3-gpg.

GitHub Actions python2 tests on 22.04 ubuntu work.
So we do have gpg testing for 2.7 roundup.

For now I am removing the pip install gpg for python 2.7 on travis.

Maybe fix this when/if we upgrade to ubuntu 22.04 from 20.04 on travis.
Date User Action Args
2023-02-27 17:14:03rouiljsetrecipients: + rouilj
2023-02-27 17:14:03rouiljsetmessageid: <>
2023-02-27 17:14:03rouiljlinkissue2551267 messages
2023-02-27 17:14:03rouiljcreate