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

Make sure to find DD4hep first to avoid python issues #8

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

tmadlener
Copy link
Contributor

DD4hep has to be found pretty much first for CMake because it is the one that requires an exact version of python. However, if anything else (e.g. Boost via Gaudi) finds another version of python (typically a newer one from the underlying system) then this version will be cached and the check in the DD4hep cmake configuration will fail.

Just ran into this on Ubuntu 24, where the system python is 3.12

BEGINRELEASENOTES

  • Make sure to find DD4hep first in CMake config to avoid finding conflicting versions of python.

ENDRELEASENOTES

DD4hep has to be found pretty much first for CMake because it is the one
that requires an exact version of python. However, if anything
else (e.g. Boost via Gaudi) finds another version of python (typically a
newer one from the underlying system) then this version will be cached
and the check in the DD4hep cmake configuration will fail.
@andresailer andresailer merged commit 4b9f4b9 into main Nov 20, 2024
6 of 7 checks passed
@andresailer andresailer deleted the dd4hep-python-cmake branch November 20, 2024 10:36
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