Skip to content

Commit

Permalink
chore(docs): Default ReadTheDocs to Ubuntu / Python latest (#751)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jeffwidman committed Apr 23, 2024
1 parent 6540c93 commit 0ceb410
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
os: "ubuntu-lts-latest"
tools:
python: "3.7"
python: "latest"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
Expand Down

0 comments on commit 0ceb410

Please sign in to comment.