Skip to content

Commit 6a75386

Browse files
committed
Default ReadTheDocs to Ubuntu / Python latest
I noticed that we're not ensuring the docs build under `3.12`, plus `24.04` will be released later this month (although may take RTD a bit longer to pull it in). Looking at [the docs](https://docs.readthedocs.io/en/stable/config-file/v2.html), there's a `latest` variant for both. It comes with a warning that using latest may unexpectedly break builds if the project isn't compatible... But I think for our use case the odds that it will break are extremely low (and in fact we'd want to know it's broken so we could fix it!) Plus if it starts breaking, it's not hard to temp pin it to an older version. So all-in-all, both lower maintenance and faster realization of breakage if we default to latest on both of these.
1 parent 4209372 commit 6a75386

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readthedocs.yml

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

44
build:
5-
os: ubuntu-22.04
5+
os: "ubuntu-lts-latest"
66
tools:
7-
python: "3.11"
7+
python: "latest"
88

99
python:
1010
install:

0 commit comments

Comments
 (0)