Skip to content

Commit bba62da

Browse files
committed
pin jinja2<3.1 in ci runs with older versions of sphinx
1 parent 1f4abeb commit bba62da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/python-app.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ jobs:
3131
run: |
3232
python -m pip install --upgrade pip
3333
SPHINX=Sphinx
34+
JINJA2=jinja2
3435
if [[ $SPHINX_VERSION != "" ]]; then
3536
SPHINX="${SPHINX}==${SPHINX_VERSION}";
37+
JINJA2="${JINJA2}<3.1";
3638
fi
37-
pip install pytest pytest-cov codecov "${SPHINX}" -e .
39+
pip install pytest pytest-cov codecov "${SPHINX}" "${JINJA2}" -e .
3840
- name: Test with pytest
3941
run: |
4042
pytest --cov=autodocsumm --cov-report=xml tests

0 commit comments

Comments
 (0)