Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please explain why we need to have this change, to be more specific, please quote the error in the commit message, and reference the link to RtD.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, I've made the suggested changes.
Please let me know if I need to add something else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK "image to os" I get, but why change away from "latest"? This just sets us up for a stale jump in future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dmick see https://docs.readthedocs.io/en/stable/config-file/v2.html#build-os . so we only have two options: ubuntu-20.04, ubuntu-22.04
probably we could also have referenced it in the commit message, and explain that "ubuntu-22.04" is preferred, as (i guess), presumably, it is newer and hence better, like with newer tool chain and is better supported, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dmick there was some discussion about adding "latest"/"ubuntu-latest-lts" as an option in readthedocs/readthedocs.org#8861
but seems like RtD decided against it because they wanted to avoid breaking users' builds whenever RtD updated "latest" so they're letting users update on their own timeline. Their explanation: readthedocs/readthedocs.org#10401 (comment)
@tchaikov I'll make sure to mention the reason of using a version more explicitly whenever there's next update