-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add Python 3.14 to configuration options #17647
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
Conversation
|
I think Still, it might be worth holding off until 3.14 is our latest, fully-supported Python version, like you said. #17529 is currently using it too, but I don't think that will end up being the final design. And I think it will have to wait for a minor release anyway. |
@@ -34,6 +34,7 @@ pub enum PythonVersion { | |||
Py311, | |||
Py312, | |||
Py313, | |||
Py314, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's unfortunate that adding Py314
makes it appear in the JSON schema and clap documentation without the possibility of mentioning that Py314
support is in preview.
I think we should log a warning or even abort if a user specifies 3.14 and hasn't preview
enabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went with a warning, feel free to bikeshed the message which is currently:
Support for Python 3.14 is under development and may be unstable. Enable
preview
to remove this warning.
A small PR that just updates the various settings/configurations to allow Python 3.14. (At the moment selecting that target version will have no impact compared to Python 3.13).
One question (maybe for @ntBre): should I update
PythonVersion::latest
to point to 3.14 as well? Or should that wait until we have full Python 3.14 support ready to go (i.e. is that used as a default anywhere?)It would also be good for someone to verify that this won't impact red knot in an unforseen way!