Closed dataflake closed 4 months ago
According to https://peps.python.org/pep-0745/ 3.14a1 is to be released at 2024-10-15, this is 14 days after the planned final release of 3.13, see https://peps.python.org/pep-0719/. So I'd expect there will be nearly always s future version we can work towards.
This change overrides the value for
with_future_python
and sets it tofalse
if there is no future Python version defined.The goal is to "turn off" the flag with just a change in meta/config itself instead of having to touch all package configurations. So when a new Python version is released and no suitable next Python alpha/beta is available on GHA all you need to do is to set
shared.packages.FUTURE_PYTHON_VERSION
to an empty string and add the new Python release version to the various templates before re-running for a given package. The package won't need any changes itself. Once a new alpha/beta is on GHA that version number can be set again and the packages that do definewith_future_python
will pick it up the next time meta/config is run on them.