Repository navigation
ci(wheels): mount only a dedicated temp dir in the free-threaded check - #148
Merged
Merged
Conversation
HaoZeke
force-pushed
the
fix/wheels-ci-r3
branch
from
December 4, 2026 23:33
491c4f1 to
1dea516
Compare
…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
force-pushed
the
fix/wheels-ci-r3
branch
from
December 5, 2026 00:16
1dea516 to
78a848f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The free-threaded wheel check on Linux created its venv at
/tmp/checkinside the manylinux container.test_no_machine_pathsrejects that path, so the check now uses/runner-temp/checkinstead.The step first creates
$RUNNER_TEMP/cp313t-checkand mounts only that subdirectory at/runner-temp. The runner's own command files in$RUNNER_TEMPstay outside the container. The check itself still installs thecp313twheel and reads one frame from a.confile.Only
.github/workflows/python_wheels.ymlchanges.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/checkinside the manylinux container. That path was trippingtest_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/checkwhile 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.confile.Reviewed by Cursor Bugbot for commit 1dea516. Bugbot is set up for automated code reviews on this repo. Configure here.