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

Fix cross-arch CI tests #1141

Merged
merged 2 commits into from
Jan 2, 2025
Merged

Conversation

llucax
Copy link
Contributor

@llucax llucax commented Jan 2, 2025

We only need to do this when the cache directory exists, otherwise the step fails with an error.

Also install python-venv instead of python-distutils, as the distutils package was removed in Python 3.12 (and deadsnakes).

We only need to do this when the cache directory exists, otherwise the
step fails with an error.

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
@llucax llucax requested a review from a team as a code owner January 2, 2025 14:24
@llucax llucax requested review from shsms and removed request for a team January 2, 2025 14:24
@llucax llucax self-assigned this Jan 2, 2025
@github-actions github-actions bot added the part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) label Jan 2, 2025
@llucax llucax added this to the v1.0.0-rc1500 milestone Jan 2, 2025
@llucax llucax enabled auto-merge January 2, 2025 14:24
@llucax llucax added the cmd:skip-release-notes It is not necessary to update release notes for this PR label Jan 2, 2025
The distutils package was removed in Python 3.12 but we can use the
python-venv package instead.

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
@llucax llucax linked an issue Jan 2, 2025 that may be closed by this pull request
@llucax llucax disabled auto-merge January 2, 2025 15:09
@llucax llucax changed the title Fix resetting pip cache ownership in CI Fix cross-arch CI tests Jan 2, 2025
@llucax
Copy link
Contributor Author

llucax commented Jan 2, 2025

This is passing the CI in my fork, so I will force-merge as it is blocking all other PRs.

https://github.com/llucax/frequenz-sdk-python/actions/runs/12584299521

@llucax llucax merged commit ec2ad1a into frequenz-floss:v1.x.x Jan 2, 2025
18 checks passed
@llucax llucax deleted the fix-nox-cross-arch branch January 2, 2025 15:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
cmd:skip-release-notes It is not necessary to update release notes for this PR part:tooling Affects the development tooling (CI, deployment, dependency management, etc.)
Projects
Development

Successfully merging this pull request may close these issues.

Cross-arch tests are failing, package python3.12-distutils not found
1 participant