-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[BUG] ImportError: cannot import name 'LinkError' from 'distutils.ccompiler' #4866
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
Comments
Some background - this issue is due to the refactoring in pypa/distutils#295, which is an attempt toward isolating the compiler functionality from distutils. The canonical place to find that class was in Thanks for the report and sorry for the inconvenience. I am aiming ultimately to move everything from Expect a fix tomorrow. |
Oh, wow. I thought for sure the issue was that mpi4py was implicated in the deprecated usage, but the call is coming from inside the house:
It's slightly stunning that neither the distutils nor setuptools tests managed to pick this issue up. I guess that means that |
I've gone ahead and yanked the release. |
Thank you for the quick fix 🙏❤️ |
Release 75.9.0 of setuptools changed some internal module paths that broke PyInstaller, and other stuff, see pypa/setuptools#4866 for example.
Release 75.9.0 of setuptools changed some internal module paths that broke PyInstaller, and other stuff, see pypa/setuptools#4866 for example.
Release 75.9.0 of setuptools changed some internal module paths that broke PyInstaller, and other stuff, see pypa/setuptools#4866 for example.
setuptools version
75.9.0
Python version
3.9
OS
Ubuntu 24.04
Additional environment information
GH actions
Description
Since the latest release
75.9.0
, my mpi4py builds (version:4.0.3
) fail withImportError: cannot import name 'LinkError' from 'distutils.ccompiler'
Expected behavior
Please do not fail, it worked a minor version ago :)
How to Reproduce
Install latest
setuptools
and then MPICH or OpenMPI (e.g., fromapt
) and then pip-installmpi4py
.Output
job-logs.txt
The text was updated successfully, but these errors were encountered: