Skip to content

Commit 62661ed

Browse files
committed
build: justhtml fails on python < 3.10
change method of pip install so it doesn't break the ci.
1 parent 1fd22d1 commit 62661ed

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ jobs:
240240
# pygments for markdown2 to highlight code blocks
241241
pip install markdown2 pygments
242242
# docutils for ReStructuredText
243-
pip install beautifulsoup4 justhtml brotli docutils jinja2 \
243+
pip install beautifulsoup4 brotli docutils jinja2 \
244244
mistune==0.8.4 pyjwt pytz whoosh
245245
# gpg on PyPi is currently broken with newer OS platform
246246
# ubuntu 24.04
@@ -257,6 +257,8 @@ jobs:
257257
run: |
258258
set -xv
259259
pip install zstd || true
260+
# justhtml supports python 3.10 or newer.
261+
pip install justhtml || true
260262
if [[ "$PYTHON_VERSION" != "2."* ]]; then
261263
pip install Markdown; fi
262264

0 commit comments

Comments
 (0)