comparison .github/workflows/ci-test.yml @ 8494:2741b3de4432

build: justhtml fails on python < 3.10 change method of pip install so it doesn't break the ci.
author John Rouillard <rouilj@ieee.org>
date Mon, 15 Dec 2025 00:52:41 -0500
parents 520075b29474
children 1976dedb3319
comparison
equal deleted inserted replaced
8493:d0dfb4085e94 8494:2741b3de4432
238 run: | 238 run: |
239 sudo apt-get install swig gpg gpgsm libgpgme-dev 239 sudo apt-get install swig gpg gpgsm libgpgme-dev
240 # pygments for markdown2 to highlight code blocks 240 # pygments for markdown2 to highlight code blocks
241 pip install markdown2 pygments 241 pip install markdown2 pygments
242 # docutils for ReStructuredText 242 # docutils for ReStructuredText
243 pip install beautifulsoup4 justhtml brotli docutils jinja2 \ 243 pip install beautifulsoup4 brotli docutils jinja2 \
244 mistune==0.8.4 pyjwt pytz whoosh 244 mistune==0.8.4 pyjwt pytz whoosh
245 # gpg on PyPi is currently broken with newer OS platform 245 # gpg on PyPi is currently broken with newer OS platform
246 # ubuntu 24.04 246 # ubuntu 24.04
247 # used for newer Python versions. Temporarily use the 247 # used for newer Python versions. Temporarily use the
248 # testing index, which contains a newer version of the 248 # testing index, which contains a newer version of the
255 - name: Install aux packages that need versions differences 255 - name: Install aux packages that need versions differences
256 # if zstd fails install, keep going with test, don't abort 256 # if zstd fails install, keep going with test, don't abort
257 run: | 257 run: |
258 set -xv 258 set -xv
259 pip install zstd || true 259 pip install zstd || true
260 # justhtml supports python 3.10 or newer.
261 pip install justhtml || true
260 if [[ "$PYTHON_VERSION" != "2."* ]]; then 262 if [[ "$PYTHON_VERSION" != "2."* ]]; then
261 pip install Markdown; fi 263 pip install Markdown; fi
262 264
263 - name: Install xapian 265 - name: Install xapian
264 run: | 266 run: |

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