changeset 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 d0dfb4085e94
children 1976dedb3319
files .github/workflows/ci-test.yml
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Mon Dec 15 00:10:24 2025 -0500
+++ b/.github/workflows/ci-test.yml	Mon Dec 15 00:52:41 2025 -0500
@@ -240,7 +240,7 @@
           # pygments for markdown2 to highlight code blocks
           pip install markdown2 pygments
           # docutils for ReStructuredText
-          pip install beautifulsoup4 justhtml brotli docutils jinja2 \
+          pip install beautifulsoup4 brotli docutils jinja2 \
             mistune==0.8.4 pyjwt pytz whoosh
           # gpg on PyPi is currently broken with newer OS platform
           #   ubuntu 24.04
@@ -257,6 +257,8 @@
         run: |
           set -xv
           pip install zstd || true
+          # justhtml supports python 3.10 or newer.
+          pip install justhtml || true
           if [[ "$PYTHON_VERSION" != "2."* ]]; then 
               pip install Markdown; fi
 

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