8000 CI: without-optimizations CI job is failing with missing distutils · Issue #25011 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

CI: without-optimizations CI job is failing with missing distutils #25011

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 8000 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ngoldbaum opened this issue Oct 26, 2023 · 2 comments
Closed

CI: without-optimizations CI job is failing with missing distutils #25011

ngoldbaum opened this issue Oct 26, 2023 · 2 comments

Comments

@ngoldbaum
Copy link
Member

See e.g. https://github.com/numpy/numpy/actions/runs/6656548338/job/18089648513?pr=25010

relevant bit of the build log:

2023-10-26T15:55:09.8687256Z Could not introspect Python (['/opt/hostedtoolcache/Python/3.12.0/x64/bin/python', '/home/runner/work/numpy/numpy/vendored-meson/meson/mesonbuild/scripts/python_info.py']): exit code 1
2023-10-26T15:55:09.8688703Z Program stdout:
2023-10-26T15:55:09.8688903Z 
2023-10-26T15:55:09.8688922Z 
2023-10-26T15:55:09.8689037Z Program stderr:
2023-10-26T15:55:09.8689404Z 
2023-10-26T15:55:09.8689592Z Traceback (most recent call last):
2023-10-26T15:55:09.8696505Z   File "/home/runner/work/numpy/numpy/vendored-meson/meson/mesonbuild/scripts/python_info.py", line 16, in <module>
2023-10-26T15:55:09.8697642Z     import distutils.command.install
2023-10-26T15:55:09.8698316Z ModuleNotFoundError: No module named 'distutils'
2023-10-26T15:55:09.8698716Z 
2023-10-26T15:55:09.8698722Z 
2023-10-26T15:55:09.8699849Z meson.build:40:22: ERROR: <PythonExternalProgram 'python3' -> ['/opt/hostedtoolcache/Python/3.12.0/x64/bin/python']> is not a valid python or it is missing distutils
@rgommers
Copy link
Member

I encountered and fixed that issue in gh-25008. The failure is from 16 hours ago, and the fix got merged 12 hours ago. I re-ran the CI job just now, but it's possible that it needs a rebase.

@rgommers rgommers changed the title CI: SIMD tests are failing CI: SIMD job is failing with missing distutils Oct 27, 2023
@rgommers rgommers changed the title CI: SIMD job is failing with missing distutils CI: without-optimizations CI job is failing with missing distutils Oct 27, 2023
@rgommers
Copy link
Member

A re-run didn't fix the issue, but a rebase did. It seems like with a git submodule update, it doesn't auto-update. That's known behavior apparently: https://stackoverflow.com/questions/64407333/using-github-actions-to-automatically-update-the-repos-submodules. I don't think we want to add a manual git submodule update to each job, but let's reconsider that if this kind of failure starts happening more often.

57A4

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

2 participants
0