Skip to content

Commit 7a6e3ab

Browse files
committed
Skip older Sphinx versions on Python 3.12 due to breaking with newer setuptools.
1 parent e7946ac commit 7a6e3ab

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

.github/workflows/python_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- {python-version: "3.9", testenvs: "py39-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2},py39-docutils{0.16,0.17,0.18},build", experimental: False}
3434
- {python-version: "3.10", testenvs: "py310-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2},py310-docutils{0.16,0.17,0.18},build", experimental: False}
3535
- {python-version: "3.11", testenvs: "py311-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2},py311-docutils{0.16,0.17,0.18},build", experimental: False}
36-
- {python-version: "3.12", testenvs: "py312-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2},py312-docutils{0.16,0.17,0.18},build", experimental: False}
36+
- {python-version: "3.12", testenvs: "py312-sphinx{4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2},py312-docutils{0.16,0.17,0.18},build", experimental: False}
3737
- {python-version: "3.13", testenvs: "py313-sphinx{6.2,7.0,7.1,7.2},py313-docutils{0.16,0.17,0.18},build", experimental: False}
3838

3939
steps:

.github/workflows/python_ci_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- {python-version: "3.9", testenvs: "py39-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2},py39-docutils{0.16,0.17,0.18},build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2},py310-docutils{0.16,0.17,0.18},build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2},py311-docutils{0.16,0.17,0.18},build", experimental: False}
37-
- {python-version: "3.12", testenvs: "py312-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2},py312-docutils{0.16,0.17,0.18},build", experimental: False}
37+
- {python-version: "3.12", testenvs: "py312-sphinx{4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2},py312-docutils{0.16,0.17,0.18},build", experimental: False}
3838
- {python-version: "3.13", testenvs: "py313-sphinx{6.2,7.0,7.1,7.2},py313-docutils{0.16,0.17,0.18},build", experimental: False}
3939

4040
steps:

repo_helper.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ python_versions:
3333
"3.10":
3434
"3.11":
3535
"3.12":
36+
matrix_exclude:
37+
sphinx:
38+
- 3.3
39+
- 3.4
40+
- 3.5
41+
- 4.0
42+
- 4.1
43+
- 4.2
44+
- 4.3
3645
3.13:
3746
matrix_exclude:
3847
sphinx:

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ envlist =
2727
py39-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2}
2828
py310-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2}
2929
py311-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2}
30-
py312-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2}
30+
py312-sphinx{4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2}
3131
py313-sphinx{6.2,7.0,7.1,7.2}
3232
py37-docutils{0.16,0.17,0.18}
3333
py38-docutils{0.16,0.17,0.18}
@@ -53,7 +53,7 @@ test =
5353
py39-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2}
5454
py310-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2}
5555
py311-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2}
56-
py312-sphinx{3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2}
56+
py312-sphinx{4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2}
5757
py313-sphinx{6.2,7.0,7.1,7.2}
5858
py37-docutils{0.16,0.17,0.18}
5959
py38-docutils{0.16,0.17,0.18}

0 commit comments

Comments
 (0)