Skip to content
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

key4hep stuck on python 3.11.9 #684

Open
joequant opened this issue Dec 7, 2024 · 4 comments
Open

key4hep stuck on python 3.11.9 #684

joequant opened this issue Dec 7, 2024 · 4 comments

Comments

@joequant
Copy link
Contributor

joequant commented Dec 7, 2024

key4hep-stack is stuck on python 3.11.9

This is because py-onnx and py-networkx was stuck on numpy1 which apparently is not supported on numpy2 and gaudi is stuck on py-networkx.

I am updating everything on spack

@joequant
Copy link
Contributor Author

joequant commented Dec 7, 2024

py-onnxruntime is also fixed to numpy 1 without an update to 1.20

@joequant
Copy link
Contributor Author

joequant commented Dec 7, 2024

Found the big issue mesa was limited to python 3.11 because of a problem that was fixed

@joequant
Copy link
Contributor Author

joequant commented Dec 13, 2024

The number of packages that need to be updated in order to move to python >= 3.11 is quite large and I've got the patches in the dev/fixes branch of hkphysics/spack

The root cause for the large number of fixes is that 3.12 removes distutils from the standard packages resulting a large number of packages which need to be rebuilt to include setuptools. The distributions in pip have been rebuilt but this involved updating a large number of packages in spack.

Also some of the python packages had dependencies that pulled in numpy 1, and the fixes in spack updates everything to use numpy 2

I am currently able to build a version of key4hep on python 3.13

@joequant
Copy link
Contributor Author

also look at the dev/fixes in hkphysics/key4hep-stack for some changes to key4hep-stack package that forces newer python.

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

No branches or pull requests

1 participant