Skip to content

ci(wheels): mount only a dedicated temp dir in the free-threaded check - #148

Merged
HaoZeke merged 1 commit into
developfrom
fix/wheels-ci-r3
Dec 5, 2026
Merged

HaoZeke merged 1 commit into
developfrom
fix/wheels-ci-r3

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

The free-threaded wheel check on Linux created its venv at /tmp/check inside the manylinux container. test_no_machine_paths rejects that path, so the check now uses /runner-temp/check instead.

The step first creates $RUNNER_TEMP/cp313t-check and mounts only that subdirectory at /runner-temp. The runner's own command files in $RUNNER_TEMP stay outside the container. The check itself still installs the cp313t wheel and reads one frame from a .con file.

Only .github/workflows/python_wheels.yml changes.


Note

Low Risk
CI workflow-only change to Docker volume paths for the existing wheel smoke test; no product code or release logic changes.

Overview
The Linux cp313t post-build smoke test no longer creates its venv under /tmp/check inside the manylinux container. That path was tripping test_no_machine_paths (or equivalent path hygiene checks).

The step now mkdir -p "$RUNNER_TEMP/cp313t-check" and bind-mounts only that subdirectory as /runner-temp, so the venv lives at /runner-temp/check while the rest of the runner’s temp files stay off the container filesystem. The check still installs the free-threaded wheel plus numpy and asserts GIL-disabled config plus reading one frame from a fixture .con file.

Reviewed by Cursor Bugbot for commit 1dea516. Bugbot is set up for automated code reviews on this repo. Configure here.

…directory

`test_no_machine_paths` rejects the `/tmp/check` venv in
`.github/workflows/python_wheels.yml`. The Linux check still installs the
`cp313t` wheel and reads one CON frame. The venv is `/runner-temp/check`.
`/runner-temp` is the container volume mount of `$RUNNER_TEMP/cp313t-check`,
a dedicated subdirectory of the runner temp directory. That keeps the runner
command files out of the container.

Kitline-Change: txzymtqlnvyzttmvrkrxuqkxyuxtunmo
@HaoZeke
HaoZeke merged commit 95e4e2e into develop Dec 5, 2026
67 of 77 checks passed
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.

1 participant