-
Notifications
You must be signed in to change notification settings - Fork 2k
python
: add 3.14
support
#3180
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
python
: add 3.14
support
#3180
Conversation
a483a9d
to
24d1da9
Compare
24d1da9
to
5fe5697
Compare
6c99220
to
d54d5a7
Compare
b6b3a8e
to
954da58
Compare
dc86b9e
to
308d126
Compare
fc5223d
to
ecb34a7
Compare
79d1051
to
7473c1e
Compare
Should Python 3.13 be added to the automated testing?
What about Python 3.14 and 3.14t (free threaded)? |
@cclauss I did tested python build with It's an experimental option given in recipe class: Does And regarding adding them to the test workflow, we can’t do that just yet, since other recipes still need to be ported to PyProjectRecipe; otherwise, they will fail on Python 3.13 and above. |
https://docs.python.org/3.14/whatsnew/3.14.html#build-changes
|
Python 3.14 (the π version) was released 30 minutes ago. |
5748977
to
4592ee3
Compare
I would feel more comfortable about this if GitHub Actions tests were being run.
--> python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t'] |
4592ee3
to
5b4bf5e
Compare
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.
Perhaps bumping python3 & hostpython3 to 3.14 would be great?
@kuzeyron Maybe another PR for that as other recipes need to be updated to support python Currently errors like this occur:
Distutils was removed in recent python versions. |
Setuptools has some parts of distutils left in it, so `pip install setuptools; python_version>="3.13" might be a short-term solution. |
@cclauss But distutils import will still fail as it is hardcoded in setup.py files. |
uv run --python=3.14 --with=setuptools setup.py |
In general, we want to move away from setup.py and toward pyproject.toml. We also want to drop |
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.
LGTM thank you for the effort
This PR adds python
3.14
support, we can't set default version to3.14
just yet as in latest python,distutils
was removed, so a lot of recipes need updating.Closes #3219