zopefoundation / meta

Meta issues concerning many/all of the zopefoundation repositories.
Other
7 stars 6 forks source link

A better way to specify a future Python version #239

Closed dataflake closed 4 months ago

dataflake commented 4 months ago

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.