Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cross-arch tests are failing, package python3.12-distutils not found #1142

Closed
llucax opened this issue Jan 2, 2025 · 2 comments · Fixed by #1141
Closed

Cross-arch tests are failing, package python3.12-distutils not found #1142

llucax opened this issue Jan 2, 2025 · 2 comments · Fixed by #1141
Labels
part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) priority:❓ We need to figure out how soon this should be addressed type:bug Something isn't working
Milestone

Comments

@llucax
Copy link
Contributor

llucax commented Jan 2, 2025

What happened?

160.1 E: Couldn't find any package by glob 'python3.12-distutils'
160.1 E: Couldn't find any package by regex 'python3.12-distutils'

What did you expect instead?

The tests to pass.

Affected version(s)

No response

Affected part(s)

Build script, CI, dependencies, etc. (part:tooling)

Extra information

It seems that package is not available for arm64 for some reason.

@llucax llucax added priority:❓ We need to figure out how soon this should be addressed type:bug Something isn't working labels Jan 2, 2025
@llucax llucax added this to the v1.0.0-rc1500 milestone Jan 2, 2025
@keywordlabeler keywordlabeler bot added the part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) label Jan 2, 2025
@llucax
Copy link
Contributor Author

llucax commented Jan 2, 2025

OK, distutils was removed from Python in 3.12, but the CI was working before in 3.12. Actually it still is in amd64. I guess the package was probably added to deadsnakes as in previous Python versions and then removed, and stayed in our CI cache, so we didn't noticed until now.

@llucax
Copy link
Contributor Author

llucax commented Jan 2, 2025

Potential fixes:

  1. Install python-venv instead
  2. Use python3.12 -m ensurepip --upgrade

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) priority:❓ We need to figure out how soon this should be addressed type:bug Something isn't working
Projects
Development

Successfully merging a pull request may close this issue.

1 participant