Repository navigation
rules_py: uv host repo reports libsystem 14.0 on macOS without running sw_vers (part of #12277) - #12824
Draft
TrapsterDK wants to merge 3 commits into
Draft
rules_py: uv host repo reports libsystem 14.0 on macOS without running sw_vers (part of #12277)#12824TrapsterDK wants to merge 3 commits into
TrapsterDK wants to merge 3 commits into
Conversation
Collaborator
Author
|
Review: changes requested Must fix before merge:
The PR is still draft, and its fix needs a macos_arm64 evidence run, so keep it draft until that run is green. 🤖 Generated with Claude Code |
…g sw_vers (part of #12277) The hermetic cpp_rust qualification on macos_arm64 failed fetching rules_py_uv_host: sw_vers is not on the hermetic PATH, so the version split had one element. Report the 14.0 floor the apple rules target. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hzwNN9Q3DFZx18pNic
The macOS remotejdk patch_cmds ran `bash` from the applet-only PATH and failed with execvp(bash). Repository patch commands now take BAZEL_SH. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hzwNN9Q3DFZx18pNic
… (part of #12277) The hermetic PATH holds only applets, so which(install_name_tool) failed while fetching the macOS CPython repo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hzwNN9Q3DFZx18pNic
Collaborator
Author
|
Fixed: rebased onto origin/main and regenerated patches/rules_py/host_libc_glibc.patch (conflict resolved); rechecked UNIX_ENV_PREFIX (11) and test indices (hermetic_unit_test passes); patches/README.md row reads correctly after rebase. |
TrapsterDK
force-pushed
the
fix-12277-hermetic-cpp-rust
branch
from
November 16, 2026 09:49
3840104 to
b1135d1
Compare
This branch has not been deployed
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.
Part of #12277
//tools/testing/hermetic:cpp_ruston macos_arm64 fails during thefetchprobe. This PR fixes two of those fetch failures:rules_py++host_platform+rules_py_uv_host:sw_versis not on the hermetic PATH, sover[1]was out of range (ci.yml run 43706723775).host_libc_glibc.patchnow returnslibsystem,14.0on macOS.remotejdk21_macos_aarch64: itspatch_cmdsranbashfrom the applet-only PATH (execvp(bash, ...), evidence run 43835976571). Probes now run Bazel withBAZEL_SH=/bin/bash, which repository patch commands use.Tests:
//tools/testing/hermetic:hermetic_unit_testpasses; the rules_py patch applies.tools/dx check --affectedtimed out after 1200s locally; not checked.//patches:update_readme_testfails on main too:patches/README.md: fmt has no override in MODULE.bazel(row not touched here).rules_python++python+python_3_14_aarch64-apple-darwin:Unable to find the binary 'install_name_tool' on PATH.Also: new
patches/rules_python/install_name_tool.patch(patch applies to 2.4.6 locally).Remaining on #12277:
install_name_tool.patch(rules_python) uses/usr/bin/install_name_tool; not run on macOS, needs a new evidence run.dogfood; the owner has to decide on thedogfoodneeds.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hzwNN9Q3DFZx18pNic