Skip to content

Commit 5780812

Browse files
authored
Merge pull request #2112 from EliahKagan/py314
Upgrade Sphinx for 3.14 support; drop doc build support on 3.8; test 3.14
2 parents 6fbbc6a + 4b25af2 commit 5780812

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,32 @@ jobs:
1313
strategy:
1414
matrix:
1515
os-type: [ubuntu, macos, windows]
16-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.13t"]
16+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.13t", "3.14", "3.14t"]
1717
exclude:
1818
- os-type: macos
1919
python-version: "3.7" # Not available for the ARM-based macOS runners.
2020
- os-type: macos
2121
python-version: "3.13t"
22+
- os-type: macos
23+
python-version: "3.14t"
2224
- os-type: windows
23-
python-version: "3.13" # FIXME: Fix and enable Python 3.13 on Windows (#1955).
25+
python-version: "3.13" # FIXME: Fix and enable Python 3.13 and 3.14 on Windows (#1955).
2426
- os-type: windows
2527
python-version: "3.13t"
28+
- os-type: windows
29+
python-version: "3.14"
30+
- os-type: windows
31+
python-version: "3.14t"
2632
include:
2733
- os-ver: latest
2834
- os-type: ubuntu
2935
python-version: "3.7"
3036
os-ver: "22.04"
37+
- build-docs: true # We ensure documentation builds, except on very old interpreters.
38+
- python-version: "3.7"
39+
build-docs: false
40+
- python-version: "3.8"
41+
build-docs: false
3142
- experimental: false
3243

3344
fail-fast: false
@@ -108,7 +119,7 @@ jobs:
108119
continue-on-error: false
109120

110121
- name: Documentation
111-
if: matrix.python-version != '3.7'
122+
if: matrix.build-docs
112123
run: |
113124
pip install '.[doc]'
114125
make -C doc html

doc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
sphinx >= 7.1.2, < 7.2
1+
sphinx >= 7.4.7, < 8
22
sphinx_rtd_theme
33
sphinx-autodoc-typehints

0 commit comments

Comments
 (0)