-
Notifications
You must be signed in to change notification settings - Fork 145
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
Cannot install easybuild-easyconfigs using pip if setuptools>61 #790
Cannot install easybuild-easyconfigs using pip if setuptools>61 #790
Comments
Workaround for anyone affected -- build a wheel
After applying this changes, build proceeds without issues |
Any relation to a similar issue that was reported at easybuilders/easybuild-framework#3984 ? It seems like some kind of breaking change was introduced in a recent version of |
@ktaletsk Can you update the issue description with the |
@boegel Added setuptools versions. Looks like
|
Thanks a lot, that's helpful. It looks like we're being hit by a breaking change in setuptools 61.0, see https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6100, probably related to pypa/setuptools#2894... The easyconfigs package is a special case, since we're only packaging up data files (easyconfigs + patch files, basically), rather than Python code. It seems like we have some homework to do to ensure compatibility with future setuptools versions... |
There's a trivial fix for this, see easybuilders/easybuild-easyconfigs#15206, we'll make sure that's included for the next EasyBuild release (but we also want to try setting up a CI workflow that catches problems like this) |
Hi, I'm using easybuild in my Docker image, which uses miniconda environment for Python. Recently, after some updates I could not build my image anymore because
pip install easybuild
has failed with a large number of errors similar topackage init file 'easybuild/__init__.py' not found (or not a regular file)
.Full log
For a context, here are versions that I have in my container
I noticed on Stackoverflow someone recently had the same issue recently https://stackoverflow.com/questions/71648527/how-to-solve-easybuild-installation-problems
The issue seem to be isolated specifically in building a Python wheel for
easybuild-easyconfigs
package. I tried to isolate any issues related to my container by running popular public containers. Below are the results of my testing:docker run --rm -it python pip install easybuild-easyconfigs
. Success.Full log
docker run --rm -it jupyter/minimal-notebook:2022-03-21 pip install easybuild-easyconfigs==4.5.3
. Success.Full log
docker run --rm -it jupyter/minimal-notebook:2022-03-28 pip install easybuild-easyconfigs==4.5.3
. Failure.Full log
I am confused what's going on. There seem to be no clear correlation of the issue with versions of Python, Conda or pip.
UPD: Added
setuptools
versions to the scenarios and it seems like the version 61 is the one causing issuesThe text was updated successfully, but these errors were encountered: