From 0ceb41015f8b7081a891f17df0fafe3728e130b7 Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Tue, 23 Apr 2024 14:37:58 -0600 Subject: [PATCH] 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. --- .readthedocs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 95420fe8..ef6b82d3 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -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"