Skip to content

Commit

Permalink
Use sphinx 2.4.5 as minimum supported version during testing
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperCraeghs committed Sep 12, 2024
1 parent c1af12a commit 0d75465
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
- name: Build documentation with Sphinx 2.1
run: tox -e sphinx2.1
- name: Build documentation with Sphinx 2.4.5
run: tox -e sphinx2.4.5
- name: Build documentation with latest Sphinx versions
run: tox -e sphinx-latest
- name: Static checks
Expand Down
14 changes: 10 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
envlist =
check,
py37, py38, py39, py310, py311, py312
sphinx2.1,
sphinx2.4.5,
sphinx-latest,

[gh-actions]
Expand All @@ -23,7 +23,7 @@ basepython =
py310: {env:TOXPYTHON:python3.10}
py311: {env:TOXPYTHON:python3.11}
py312: {env:TOXPYTHON:python3.12}
{check,sphinx2.1,sphinx-latest}: python3
{check,sphinx2.4.5,sphinx-latest}: python3
passenv =
*
usedevelop = true
Expand All @@ -46,13 +46,19 @@ commands =
check-manifest {toxinidir} -u
flake8 mlx setup.py

[testenv:sphinx2.1]
[testenv:sphinx2.4.5]
deps=
{[testenv]deps}
jinja2 == 2.11.3
markupsafe == 1.1.0
docutils == 0.17
sphinx <= 2.1.9999
sphinx == 2.4.5
sphinxcontrib-applehelp<=1.0.4
sphinxcontrib-devhelp<=1.0.4
sphinxcontrib-htmlhelp<=2.0.4
sphinxcontrib-serializinghtml<=1.1.9
sphinxcontrib-qthelp<=1.0.6
alabaster<=0.7.13
mlx.warnings >= 5.4.1
sphinx_selective_exclude >= 1.0.3
whitelist_externals =
Expand Down

0 comments on commit 0d75465

Please sign in to comment.