Mercurial > p > roundup > code
comparison .travis.yml @ 7198:4e4e7a7c9049
python-gpg does not exist for python2 on ubuntu focal
This was apparently a package built only for bionic (and earlier??).
Removing install of package. Will see what happens to python2 test.
I may have to drop testing of PGP/gpg on python2.
no-github-ci
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 27 Feb 2023 09:06:48 -0500 |
| parents | 3cb3406ead4f |
| children | a94e223f1e3e |
comparison
equal
deleted
inserted
replaced
| 7197:3cb3406ead4f | 7198:4e4e7a7c9049 |
|---|---|
| 58 # pkg_resources.extern.packaging.version.InvalidVersion: Invalid | 58 # pkg_resources.extern.packaging.version.InvalidVersion: Invalid |
| 59 # version: '0.23ubuntu1' (package: distro-info) | 59 # version: '0.23ubuntu1' (package: distro-info) |
| 60 - sudo apt-get remove distro-info | 60 - sudo apt-get remove distro-info |
| 61 # pin setuptools to try to get gpgme to build | 61 # pin setuptools to try to get gpgme to build |
| 62 - pip install "setuptools<66" | 62 - pip install "setuptools<66" |
| 63 - if [[ $TRAVIS_PYTHON_VERSION == "2."* ]]; then sudo apt-get install python-gpg; fi | |
| 64 - if [[ $TRAVIS_PYTHON_VERSION == "3."* ]]; then sudo apt-get install python3-gpg; fi | 63 - if [[ $TRAVIS_PYTHON_VERSION == "3."* ]]; then sudo apt-get install python3-gpg; fi |
| 65 # build xapian | 64 # build xapian |
| 66 - echo "$TRAVIS_PYTHON_VERSION" | 65 - echo "$TRAVIS_PYTHON_VERSION" |
| 67 # Sphinx required to build the xapian python bindings. Use 1.8.5 on | 66 # Sphinx required to build the xapian python bindings. Use 1.8.5 on |
| 68 # older python and newest on newer. | 67 # older python and newest on newer. |
