Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A better way to specify a future Python version #239

Merged
merged 2 commits into from
May 14, 2024

Conversation

dataflake
Copy link
Member

Fixes #238

Advantages are cleaner GHA configuration files and when the future Python version is finally released all releases will be picked up automatically, so packages don't need any immediate configuration changes.

This change will insert the flag allow-prereleases into other Python versions as well because I didn't see a way to test for the specific version on the Jinja side. The matrix is only interpreted on the GHA side during execution. But this is safe - a prerelease will only ever be selected if there is no normal release.

@dataflake dataflake added the enhancement New feature or request label May 13, 2024
@dataflake dataflake requested a review from icemac May 13, 2024 14:23
@dataflake dataflake self-assigned this May 13, 2024
Copy link
Member

@icemac icemac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like these changes!

@dataflake dataflake merged commit 5a4d3a1 into master May 14, 2024
4 checks passed
@dataflake dataflake deleted the dataflake/better-future-python branch May 14, 2024 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A better way to specify a Python prerelease version
2 participants