Skip to content

Latest version not including a C compiler to build packages #1035

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

Closed
okke-formsma opened this issue Apr 29, 2025 · 2 comments
Closed

Latest version not including a C compiler to build packages #1035

okke-formsma opened this issue Apr 29, 2025 · 2 comments

Comments

@okke-formsma
Copy link

okke-formsma commented Apr 29, 2025

The latest build (e.g. docker.io/library/python:3.12@sha256:67a652d4832f1ccdd735ab) is unable to build many packages such as "uwsgi". It seems there is suddenly no C compiler available anymore.

We've fixed this by pinning our python dependency to a slightly older docker image. However, I can't find any reason for this change. Is this an accident or by design?

@okke-formsma
Copy link
Author

This seems to be only an issue when installing with uv not with pip directly. Maybe it's something else that's broken since the wheel/setuptools change (#969 (comment))?

Not sure what the issue is but it doesn't seem to be docker-library/python related after all, closing this ticket for now.

@okke-formsma
Copy link
Author

This issue was caused by a mismatch in python minor versions between the system python and the python in the uv.lock file.

See astral-sh/uv#6488 for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant