-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
No module named 'distutils' #53
Comments
Hi, Thanks. It looks like a week ago the official Python 3.12.5 image was changed to remove this in docker-library/python#954. Prior to that it was installing that package. This project wasn't built in CI within a week. When I build the image locally with I just pushed ea3ce5c to fix it. |
Wow, that was fast! Thanks 🚀 |
No problem, thanks to this issue I'm going to look into using GitHub Action's |
I was curious whether it was a broken dependency of this project that was missing the setuptools dependency (and if so, was going to report that upstream), however, trying out a build locally I see the issue was from a first-party usage of
Checking https://peps.python.org/pep-0632/#migration-advice it seems there isn't an official replacement for
|
Thanks, I remember thinking about this back when 3.12 dropped and I was undecided. That But maybe the |
Got this error on macOS when I was trying to setup my project. My python version was 3.12.5. Apparently distutils has been removed in python 3.12.
Managed to fix it by adding
setuptools==74.1.2
inrequirements.txt
and randocker compose up --build
again.The text was updated successfully, but these errors were encountered: