comparison .github/workflows/ci-test.yml @ 8495:1976dedb3319

build: prevent justhtml install < 3.10 python The package says 3.10 or newer but does install on 3.8 (and maybe 3.9) but the formatting is different (it's actually more like beautifulsoup and dehtml output). So rather than trying to fix the test when it shouldn't be installed anyway just stop install if < 3.10.
author John Rouillard <rouilj@ieee.org>
date Mon, 15 Dec 2025 09:42:41 -0500
parents 2741b3de4432
children 9d1fde7a4bea
comparison
equal deleted inserted replaced
8494:2741b3de4432 8495:1976dedb3319
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. 260 # justhtml supports python 3.10 or newer according to pypi
261 pip install justhtml || true 261 # page, but will install on 3.8 (and maybe 3.9) but formats
262 # differently. So skip install if before 3.10.
263 if echo $PYTHON_VERSION | grep '^3\...'; then
264 pip install justhtml || true; fi
262 if [[ "$PYTHON_VERSION" != "2."* ]]; then 265 if [[ "$PYTHON_VERSION" != "2."* ]]; then
263 pip install Markdown; fi 266 pip install Markdown; fi
264 267
265 - name: Install xapian 268 - name: Install xapian
266 run: | 269 run: |

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