comparison .github/workflows/ci-test.yml @ 8321:71e961941be6

chore(ci): issue2551368 make pip install gpg work for 24.04 ubuntu Use the version installed on the test pypi server.
author John Rouillard <rouilj@ieee.org>
date Tue, 03 Jun 2025 21:43:29 -0400
parents 81ca7ceb71db
children 32a57cde072f
comparison
equal deleted inserted replaced
8320:b07165add61b 8321:71e961941be6
233 # pygments for markdown2 to highlight code blocks 233 # pygments for markdown2 to highlight code blocks
234 pip install markdown2 pygments 234 pip install markdown2 pygments
235 # docutils for ReStructuredText 235 # docutils for ReStructuredText
236 pip install beautifulsoup4 brotli docutils jinja2 \ 236 pip install beautifulsoup4 brotli docutils jinja2 \
237 mistune==0.8.4 pyjwt pytz whoosh 237 mistune==0.8.4 pyjwt pytz whoosh
238 # gpg doesn't build on Ubuntu 24.04. Ignore failure on that 238 # gpg on PyPi is currently broken with newer OS platform
239 # platform only. Grep os-release to cover matrix.os in 239 # ubuntu 24.04
240 # [ubunutu-latest, ubuntu-24.04]. 240 # used for newer Python versions. Temporarily use the
241 pip install gpg || ( save_status=$?; \ 241 # testing index, which contains a newer version of the
242 if grep 24.04 /etc/os-release > /dev/null; then \ 242 # bindings on 24.04 or released version for other OS
243 echo "Ignoring error ubuntu-24.04: issue2551368"; exit 0; \ 243 # versions. See issue2551368
244 else exit $save_status; fi; ) 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
245 250
246 - name: Install aux packages that need versions differences 251 - name: Install aux packages that need versions differences
247 # if zstd fails install, keep going with test, don't abort 252 # if zstd fails install, keep going with test, don't abort
248 run: | 253 run: |
249 set -xv 254 set -xv

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