Skip to content

Commit 0ceb410

Browse files
authored
chore(docs): Default ReadTheDocs to Ubuntu / Python latest (#751)
I noticed this because `3.7` is EOL'd by upstream, 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 6540c93 commit 0ceb410

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.readthedocs.yaml

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

88
# Set the version of Python and other tools you might need
99
build:
10-
os: ubuntu-22.04
10+
os: "ubuntu-lts-latest"
1111
tools:
12-
python: "3.7"
12+
python: "latest"
1313
# You can also specify other tool versions:
1414
# nodejs: "19"
1515
# rust: "1.64"

0 commit comments

Comments
 (0)