-
Notifications
You must be signed in to change notification settings - Fork 89
Add python 3.14 support #879
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
base: master
Are you sure you want to change the base?
Conversation
|
This is the current blocker @tbaudier your docker image of opengate_core does not support python 3.14 Another issue, cmake minimum should be 3.10 as anything older has no support already |
update setup-python to version 6 as recommended
|
@tbaudier I don't understand the ci build wheel for macos. Why forcing python3.12? |
add python version for macos defined by build matrix
added python version for macos
Add setuptools as it's not always installed by default
CI_Build_Wheel >= 3.2.1 for python 3.14 support https://github.com/pypa/cibuildwheel/releases
python 3.14 is not installed in default location, but we can call python and pip directly
|
Hello @BishopWolf
|
guess python 3.14 location in linux
|
Theoretically I don't need to modify anything else for Unix; just wait for the new docker image, everything should work fine. I will try removing the Python version for macOS. I think, however, it is required based on the build logs. Everything should work for Windows now. I found a way to discriminate the ci_build_wheel version based on the Python version |
|
@tbaudier I see that you have support for Python 3.6 up to 3.9 in the docker image; this shall be removed to decrease the size. ls -l /opt/python/
lrwxrwxrwx 1 root root 30 Feb 23 2025 cp310-cp310 -> /opt/_internal/cpython-3.10.16
lrwxrwxrwx 1 root root 30 Feb 23 2025 cp311-cp311 -> /opt/_internal/cpython-3.11.11
lrwxrwxrwx 1 root root 29 Feb 23 2025 cp312-cp312 -> /opt/_internal/cpython-3.12.9
lrwxrwxrwx 1 root root 29 Feb 23 2025 cp313-cp313 -> /opt/_internal/cpython-3.13.2
lrwxrwxrwx 1 root root 35 Feb 23 2025 cp313-cp313t -> /opt/_internal/cpython-3.13.2-nogil
lrwxrwxrwx 1 root root 29 Feb 23 2025 cp36-cp36m -> /opt/_internal/cpython-3.6.15
lrwxrwxrwx 1 root root 29 Feb 23 2025 cp37-cp37m -> /opt/_internal/cpython-3.7.17
lrwxrwxrwx 1 root root 29 Feb 23 2025 cp38-cp38 -> /opt/_internal/cpython-3.8.20
lrwxrwxrwx 1 root root 29 Feb 23 2025 cp39-cp39 -> /opt/_internal/cpython-3.9.21
lrwxrwxrwx 1 root root 33 Feb 23 2025 pp310-pypy310_pp73 -> /opt/_internal/pp310-pypy310_pp73
lrwxrwxrwx 1 root root 33 Feb 23 2025 pp311-pypy311_pp73 -> /opt/_internal/pp311-pypy311_pp73 |
|
@tbaudier Do you think it is relevant to start supporting non-GIL python versions? starting with 3.13t. I could add it to this PR. |
For me, if no one use/need that version, for the moment it's not necessary |
For #865
tasks:
* Missing python3.14 support in the docker image tbaudier/opengate_core:v11.3.2
* Waiting for Use Geant4 v11.4.0 #886 to be merged
* CIBuildWheel > 3.2.1 required for python 3.14 support BUT < 2.23.3 for python 3.10.
* Missing Python 3.10 support?