Repository navigation
replace python-version: 3 with latest supported Python - #428
Merged
zacharyburnett merged 1 commit intoOct 16, 2026
Merged
zacharyburnett merged 1 commit into
zacharyburnett merged 1 commit into
Conversation
Contributor
|
pre-commit.ci autofix |
Contributor
|
LoL the bot rejected me. 😿 |
Contributor
|
Also, where is the rest of the CI? Is it disabled? |
Contributor
Author
zacharyburnett
force-pushed
the
py3_latest_supported_python
branch
3 times, most recently
from
October 15, 2026 15:39
07d3b2f to
d6ab911
Compare
Contributor
Author
Contributor
Author
|
I believe the two failing CI jobs are unrelated to this PR |
zacharyburnett
force-pushed
the
py3_latest_supported_python
branch
from
October 15, 2026 15:55
d6ab911 to
7e1b8dc
Compare
zacharyburnett
commented
Oct 15, 2026
| if toxenv.split("-")[0] == "py3": | ||
| # replace py3 with latest supported Python | ||
| # see https://github.com/OpenAstronomy/github-actions-workflows/issues/427 | ||
| matrix_item["python_version"] = supported_pythons[-1] |
Contributor
Author
There was a problem hiding this comment.
just a note for reference: this uses the last version specified in supported_pythons, so for instance if a project specifies requires-python: ">=3.12,<3.15" then a py3 toxenv will install Python 3.14. If a user wanted to use 3.15 in this instance, they'd have to specify py315.
We could potentially add a ignore-supported-python: true option to the matrix item to make py3 install Python 3.15, if that functionality is desired
Cadair
approved these changes
Oct 16, 2026
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.

closes #427