Commit bd38394
authored
build: upgrade Sphinx 4→7, drop m2r2/recommonmark, Python 3.11+ (#167)
* build: upgrade Sphinx 4→9, drop m2r2/recommonmark, Python 3.11+
- Upgrade sphinx 4.x → >=7.0 (resolves Python 3.13 incompatibility from
imghdr removal, closes #157)
- Replace m2r2 + recommonmark with myst-parser >=2.0 (handles all Markdown;
m2r2/recommonmark are unmaintained and incompatible with Sphinx 7+)
- Drop setuptools workaround (was needed only for m2r2)
- Pin python >=3.11 (matching .readthedocs.yml; 3.13 in CI/RTD)
- Bump sphinx_rtd_theme to >=2.0, sphinx-tabs to ^3.4, sphinx-click to >=6.0
- Update .readthedocs.yml: python 3.11 → 3.13
- Update CI: actions/checkout@v2→v4, setup-python@v1→v5, python 3.12→3.13
- Regenerate poetry.lock (sphinx 9.0.4, myst-parser 5.0.0)
* fix(conf): fix Sphinx 9 extlinks TypeError and warnings
- Add %s to extlinks captions (required by Sphinx 7+)
- Set language = "en" instead of None (deprecated in Sphinx 9)
- Exclude changelog/*.md from build (duplicates of .rst files
that cause "multiple files found" warnings with myst-parser)
* fix(deps): pin Sphinx <9 for sphinx-tabs compatibility
sphinx-tabs 3.4.7 has a known KeyError on 'backrefs' with Sphinx 9
(executablebooks/sphinx-tabs#209). Pin to Sphinx 8.x which supports
Python 3.13 and is compatible with all current extensions.1 parent f040671 commit bd38394
File tree
5 files changed
+176
-294
lines changed- .github/workflows
- src
5 files changed
+176
-294
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments