-
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
Upgrading wheel and setuptools failing #113
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
See also python/cpython#117173 for a similar report. |
@oliverob what is the command line and or minimal reproducer to see this issue in action? Looks like you're in the middle of some Docker build? |
I also started getting this problem yesterday with my repo2docker-action workflow, which is essentially the workflow on your README.md under where it says 'Cache builds on mybinder.org'. (This is my workflow that gives what looks like the same error https://github.com/acpennlab/statistics-resampling-online/blob/master/.github/workflows/binder-master.yml).
Looking at the discussion at python/cpython#117173 is this related to the upgrade from python 3.10.14? Is it possible to specify the python version as 3.10.13 until this is fixed? I've looked back at the last time the workflow passed and I see that python 3 wasn't updated there:
|
I was able to reproduce the issue now. It's a bug in the dependencies of Alpine package python3 version 3.10.14-r0. It needs libexpat >=2.6.0 at runtime but forgets to pull a recent enough version in. When libexpat 2.5.0 is installed, this will produce the crash that you observed above. For a reproducer FROM quay.io/jupyterhub/repo2docker:main@sha256:7ffa7a5d29942403d10524f933e7742d6d5f0835a82489e1978ffcf85df306e5
RUN apk add python3-dev
RUN test "$(python3 --version)" = "Python 3.10.14"
RUN apk update && apk policy libexpat | grep -B1 lib/apk/db/installed | grep -F 2.5.0
RUN ls -l /usr/lib/libexpat.so.*
RUN grep -F XML_SetReparseDeferralEnabled /usr/lib/libexpat.so.* The last command will fail. CC @ncopa |
Also, the same issue using the repo2docker-action workflow to build our docker image: https://github.com/CryoInTheCloud/hub-image/actions/runs/8395354983/job/23011294112?pr=109. Thank you so much for your help! |
This seems to resolve jupyterhub/repo2docker-action#113 which seem to stem from an issue in alpine:3.17 that has arisen - maybe it will get fixed over time - but I think this could also do the trick.
This will be resolved by jupyterhub/repo2docker#1332 that updates to use alpine:3.19, and this issue isn't showing up in either alpine:3.18 or 3.19, so I suggest we let it be resolved like that. |
Is this resolved now? If someone is able to, check that would be great - the local tests are broken currently (#117) |
I restarted this failing build (CryoInTheCloud/hub-image#109) and it seems to be fixed now. Thanks for the investigation and merge, @consideRatio. For others, if restarting your build doesn't fix the issue, please re-open. |
When I try to run this action I get the following error:
This was not happening yesterday so not sure what has changed between then and now
The text was updated successfully, but these errors were encountered: