[Python] Raise minimum required Python version from 3.8 to 3.9#20086
[Python] Raise minimum required Python version from 3.8 to 3.9#20086guitargeek merged 1 commit intoroot-project:masterfrom
Conversation
Test Results 22 files 22 suites 3d 16h 3m 20s ⏱️ Results for commit cf27cd8. ♻️ This comment has been updated with latest results. |
vepadulano
left a comment
There was a problem hiding this comment.
Thank you! I wasn't sure we could already make the move because of RHEL, but with the extra info you provide I think it's safe. We could even discuss about this for MacOS, in the end on that platform the "system Python version" is not as clearly defined, because versions of the official Python binaries can be downloaded at https://www.python.org/downloads/macos/
Another question, when you say that our alma8 CI runs python 3.12, is it because you modified the image configuration or because the alma8 runner picks up the latest Python by default?
Lastly, I believe this PR is just missing a line in the release notes
Yes, we can think about that, but not sure we should do it now given that the macOS runners seem kind of unstable to me 🙂 Also note that So as I see it, the next minimum Python version requirement raise we can make with our current approach for Linux is Python 3.9 -> 3.12 in April 2027. That means finding a solution for macOS to upgrade the Python version is not urgent.
I have explicitly updated it in
Done! |
Python 3.8 has been end-of-life for one year already. The last platform that used it was AlmaLinux 8, but also there it has reached end of life. Instead, RHEL has committed to support Python 3.12 until the end-of-life of RHEL 8 itself: https://access.redhat.com/support/policy/updates/rhel-app-streams-life-cycle Therefore, our CI images for `alma8` also use Python 3.12 now. And although Python 3.9 has also reached end-of-life now, we still need to support it because it's the system Python version on macOS. See: https://devguide.python.org/versions/
Python 3.8 has been end-of-life for one year already. The last platform that used it was AlmaLinux 8, but also there it has reached end of life. Instead, RHEL has committed to support Python 3.12 until the end-of-life of RHEL 8 itself:
https://access.redhat.com/support/policy/updates/rhel-app-streams-life-cycle
Therefore, our CI images for
alma8also use Python 3.12 now.And although Python 3.9 has also reached end-of-life now, we still need to support it because it's the system Python version on macOS.
See:
https://devguide.python.org/versions/