ci_scripts/check_versions.py: gracefully handle existence of upgrade PRs - #273
Open
threexc wants to merge 2 commits into
Open
ci_scripts/check_versions.py: gracefully handle existence of upgrade PRs#273threexc wants to merge 2 commits into
threexc wants to merge 2 commits into
Conversation
threexc
force-pushed
the
tgamblin/fix_check_versions
branch
from
August 19, 2026 15:30
9754d56 to
ecd04ab
Compare
justeph
reviewed
Aug 19, 2026
justeph
reviewed
Aug 19, 2026
justeph
reviewed
Aug 19, 2026
justeph
reviewed
Aug 19, 2026
justeph
reviewed
Aug 19, 2026
threexc
force-pushed
the
tgamblin/fix_check_versions
branch
from
August 19, 2026 15:55
ecd04ab to
7bd2493
Compare
The workflow currently fails every night because of a backlog of version upgrade PRs already being open from previous runs. Improve check_versions.py script so that if it can't open these PRs for versions RISE doesn't yet build, then it finishes gracefully. Do this by trying to confirm the existence of a PR for the given version(s), then warning the maintainer that they should check for them manually if they can't be detected automatically. Additionally, add three retries when attempting to retrieve package information from PyPI, with a backoff time, so that the check doesn't fail if information isn't successfully retrieved for one or two packages during the run. AI-Generated: Uses Claude Sonnet 5 Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
….py is modified Run the nightly workflow on PRs when appropriate, but do a dry-run (i.e. don't actually try creating PRs) in this case so we don't open things during testing. AI-Generated: Uses Claude Sonnet 5 Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
threexc
force-pushed
the
tgamblin/fix_check_versions
branch
from
August 19, 2026 16:08
7bd2493 to
79252ec
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The workflow currently fails every night because of a backlog of version upgrade PRs already being open from previous runs. Improve check_versions.py script so that if it can't open these PRs for versions RISE doesn't yet build, then it finishes gracefully. Do this by trying to confirm the existence of a PR for the given version(s), then warning the maintainer that they should check for them manually if they can't be detected automatically.
AI-Generated: Uses Claude Sonnet 5