-
Notifications
You must be signed in to change notification settings - Fork 30
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
tests/test_threadpoolctl.py::test_command_line_empty regression with Python 3.12 #146
Comments
Thanks @mgorny for the report but I cannot reproduce with Python 3.12.0 (final):
Do you confirm we can close this issue? |
I'm afraid I can still reproduce it with Python 3.12.0 final. Perhaps it is Linux-specific? I've also tried 85d329a and it happens there still. Clearly Python version is relevant:
|
Ok so it looks like python itself is linked against libgomp by default on Python 3.12? That's unexpected. Let me update our CI in a PR to check. |
I don't think that's the case, I'm afraid. Or at least trivial |
Oh, I see what's going on. Python 3.12 links to |
That's very interesting. |
Although I cannot reproduce on a conda-forge installation, even on Linux. How did you install python3.12 on your host? EDIT: from your github bio, I guess it's the Python package from gentoo. I can try to replicate with podman or docker. |
I guess we will have to make our tests robust to Python installs that come with libgomp linked in by default. |
Yeah, it's system Python package. FWICS CPython just picks
Yeah, I suppose any library in the stack could incidentally bring OpenMP in. |
Thanks. I can confirm that it fixes the issue for us on Gentoo — however, as I've noted on the PR, other Linux systems are bound to use different paths than |
When running the test suite against Python 3.12.0b4, I'm getting the following test failure:
The test passes with Python 3.11.
The text was updated successfully, but these errors were encountered: