Skip to content

Commit 2790df7

Browse files
committed
sphinx: Update to 7.2.6, python 3.12, ubuntu-24.04
Update sphinx to 7.2.6, python 3.12. This requires to update .readthedocs.yml to use ubuntu-24.04 [1], because keep in sync sphinx in readthedocs with with the one for local development and github CI. Raising python makes sense, as development is usually done on newer distros, we were still using old python 3.6. This fixes the problem on local development trying to run older sphinx 5.3 on python 3.13 requires to use imghdr, which was removed from standard library (alternatively we'd need to install it from pip via adding standard-imghdr into requirements.txt). [1] https://about.readthedocs.com/blog/2024/06/ubuntu-24-04/ Fixes: b900b79 ("doc: Add sphinx to requirements.txt") Signed-off-by: Petr Vorel <pvorel@suse.cz>
1 parent 8000c95 commit 2790df7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.readthedocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
version: 2
22

33
build:
4-
os: "ubuntu-22.04"
4+
os: "ubuntu-24.04"
55
tools:
6-
python: "3.6"
6+
python: "3.12"
77
apt_packages:
88
- autoconf
99
- enchant-2

doc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Use the same sphinx as on readthedocs.org. When updated, make sure
22
# sphinx-rtd-theme is compatible with sphinx.
3-
sphinx==5.3.0
3+
sphinx==7.2.6
44
sphinx-rtd-theme==2.0.0
55

66
linuxdoc==20231020

0 commit comments

Comments
 (0)