Skip to content

fix: prevent deadlock when linux32 fails - #2880

Merged
henryiii merged 1 commit into
pypa:mainfrom
mayeut:fix-linux32-deadlock
Jun 1, 2026
Merged

henryiii merged 1 commit into
pypa:mainfrom
mayeut:fix-linux32-deadlock

Conversation

@mayeut

@mayeut mayeut commented May 31, 2026

Copy link
Copy Markdown
Member

Found while crafting #2879

This was the case when running nox -s tests -- --run-podman -v -s 'unit_test/oci_container_test.py::test_multiarch_image[podman-OCIPlatform.i386]' on macOS arm64.

This was the case when running `nox -s tests -- --run-podman -v -s 'unit_test/oci_container_test.py::test_multiarch_image[podman-OCIPlatform.i386]'` on macOS arm64.
@henryiii
henryiii force-pushed the fix-linux32-deadlock branch from 0d0b071 to 5f3746b Compare May 31, 2026 22:27
@henryiii
henryiii merged commit 3c07d63 into pypa:main Jun 1, 2026
45 checks passed
@mayeut
mayeut deleted the fix-linux32-deadlock branch June 1, 2026 05:24
mayeut pushed a commit that referenced this pull request Jun 2, 2026
The linux32 sanity check added in #2880 omitted `*platform_args`, unlike
the surrounding `uname -m` probes and the `create` command. On the i386
fallback path `platform_args` is reassigned to AMD64, so without
forwarding it the check could run against a different image variant than
the one actually built (e.g. on a multi-platform/containerd backend),
making the check meaningless or pulling the wrong variant.

Assisted-by: ClaudeCode:claude-opus-4.8
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

Successfully merging this pull request may close these issues.

2 participants