File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -235,13 +235,18 @@ jobs:
235235 # docutils for ReStructuredText
236236 pip install beautifulsoup4 brotli docutils jinja2 \
237237 mistune==0.8.4 pyjwt pytz whoosh
238- # gpg doesn't build on Ubuntu 24.04. Ignore failure on that
239- # platform only. Grep os-release to cover matrix.os in
240- # [ubunutu-latest, ubuntu-24.04].
241- pip install gpg || ( save_status=$?; \
242- if grep 24.04 /etc/os-release > /dev/null; then \
243- echo "Ignoring error ubuntu-24.04: issue2551368"; exit 0; \
244- else exit $save_status; fi; )
238+ # gpg on PyPi is currently broken with newer OS platform
239+ # ubuntu 24.04
240+ # used for newer Python versions. Temporarily use the
241+ # testing index, which contains a newer version of the
242+ # bindings on 24.04 or released version for other OS
243+ # versions. See issue2551368
244+ if grep 24.04 /etc/os-release > /dev/null; then \
245+ pip install --index-url https://test.pypi.org/simple/ \
246+ --extra-index-url https://pypi.org/simple --pre gpg; \
247+ else \
248+ pip install gpg; \
249+ fi
245250
246251 - name : Install aux packages that need versions differences
247252 # if zstd fails install, keep going with test, don't abort
You can’t perform that action at this time.
0 commit comments