Mercurial > p > roundup > code
diff .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 |
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml Mon Dec 15 00:52:41 2025 -0500 +++ b/.github/workflows/ci-test.yml Mon Dec 15 09:42:41 2025 -0500 @@ -257,8 +257,11 @@ run: | set -xv pip install zstd || true - # justhtml supports python 3.10 or newer. - pip install justhtml || true + # justhtml supports python 3.10 or newer according to pypi + # page, but will install on 3.8 (and maybe 3.9) but formats + # differently. So skip install if before 3.10. + if echo $PYTHON_VERSION | grep '^3\...'; then + pip install justhtml || true; fi if [[ "$PYTHON_VERSION" != "2."* ]]; then pip install Markdown; fi
