Skip to content

Conversation

@BishopWolf
Copy link

@BishopWolf BishopWolf commented Jan 12, 2026

For #865

tasks:

  • Linux : Missing python3.14 support in the docker image tbaudier/opengate_core:v11.3.2
  • Windows : Ready :)
    * CIBuildWheel > 3.2.1 required for python 3.14 support BUT < 2.23.3 for python 3.10.
  • MacOS : Ready :)
    * Missing Python 3.10 support?

@BishopWolf
Copy link
Author

BishopWolf commented Jan 12, 2026

This is the current blocker

Traceback (most recent call last):
  File "/Users/runner/work/opengate/opengate/core/setup.py", line 7, in <module>
    import setuptools
ModuleNotFoundError: No module named 'setuptools'
Error: Process completed with exit code 1.

@tbaudier your docker image of opengate_core does not support python 3.14

Status: Downloaded newer image for tbaudier/opengate_core:v11.3.2
+ echo cp314-cp314
cp314-cp314
+ cd /home/core/
....
/home/.github/workflows/createWheelLinux.sh: line 13: /opt/python/cp314-cp314/bin/pip: No such file or directory
Error: Process completed with exit code 127.

Another issue, cmake minimum should be 3.10 as anything older has no support already

# File [opengate/core/CMakeLists.txt:l8]
cmake_minimum_required(VERSION 3.5.0)

update setup-python to version 6 as recommended
@BishopWolf
Copy link
Author

@tbaudier I don't understand the ci build wheel for macos. Why forcing python3.12?
isn't it better to take the version from the build matrix?

add python version for macos defined by build matrix
added python version for macos
Add setuptools as it's not always installed by default
python 3.14 is not installed in default location, but we can call python and pip directly
@tbaudier
Copy link
Contributor

Hello @BishopWolf
Thank you for all the work

  • for unix, the docker image will be updated sooner with the new G4 version. And in that image python 3.14 will be included
  • for mac, the python used to compile opengate_core is the python installed by actions/setup-python. The line containing the python installed by brew was a remnant line from a previous bug on Intel machines of Github actions. Maybe the line could be removed
  • For windows, to support python 3.10 is more important than support 3.14 (https://w3techs.com/technologies/history_details/pl-python/3)

guess python 3.14 location in linux
@BishopWolf
Copy link
Author

BishopWolf commented Jan 16, 2026

@tbaudier

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants