-
Notifications
You must be signed in to change notification settings - Fork 37
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
cadabra2 fails to build with Python 3.12 #291
Comments
@doko42 This is related to pybind11 which is included in the source tree, and picks up the wrong python. Can you check release 2.4.5.4 (I just tagged & released one on github) and let me know? That one includes a more recent pybind11. |
no, still selects 3.11: Configuring Python-- Building for use with Python 3 (good!) Call Stack (most recent call first): -- Found PythonInterp: /usr/bin/python3.11 (found version "3.11.7") |
Ah, it's picking up a duplicate |
Ok. That package still misses a number of dependencies in order to run correctly, in particular |
@kpeeters sorry for the delay, but i'll try the latest version on debian now... a little bit over complicated, basically i have these:
and i want just one place to set it to |
Sorry, github somehow didn't notify me about the edit you made to this comment, so I missed the key part. I'll have a look today. Meanwhile, does the current master branch still insist on building with 3.11 for you? |
yes and i want to have a single like configuration for cadabra2_defaults.py path and not 20 random lines distributed across all the files generating it in some magical way. the latest two issues also affect me |
(Welcome to the mess that is Python package distribution... No matter what I do, there is always some system that decides that they want to do it differently.) Just to be clear: unless there is a bug, and unless you are inside an AppImage (which doesn't apply to you), then cadabra should only ever try to load
Is there anything you have found that does not stick to this promise? If so then of course I'm happy to fix that. (I agree that |
see https://bugs.debian.org/1061319
we currently have both 3.11 and 3.12 installed during the build, and cadabra2 picks up 3.11, ignores 3.12. is there a way to use a specific Python version?
The text was updated successfully, but these errors were encountered: