-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Python 3.11.6
Missing distutils
module
#2915
Comments
* chore: bump [email protected] * chore: bump distro * install setuptools nodejs/node-gyp#2915
I'm not sure what was happening in our CI, but I still suspect it was picking up a copy of Python 3.12 somehow... In an Ubuntu 23.10 Docker container I was able to build EDIT to add: Maybe I think for it to get to the point of running EDIT 2: A bit off-topic, but for reproducibility's sake: This required a workaround adding |
* chore: bump [email protected] * chore: bump distro * install setuptools nodejs/node-gyp#2915
git-utils
Verbose output (from npm or node-gyp):
The interesting part about this failure (Of which the logs for the failure are at the very end) is that it's reporting
distutils
module cannot be found, which I know is an issue on Python3.12.x
but this log comes from GitHub Actions where we installed Python3.11.6
and we consistently see this failure after the runner started using3.11.6
where it worked just fine with3.11.5
.Even more interesting is the action where this occurs never reported a failure status. Although due to the logs it seems it should've.
Here's the full logs of the entire action (not just the
node-gyp
part: GitHub Actions Run.)Setup Python
stepBuild Pulsar
stepI was able to get everything working by using
python3 -m pip install setuptools
but still seems very strange this is occurring on an earlier Python version.The text was updated successfully, but these errors were encountered: