Conversation
Define a custom Bazel platform that inherits from the host, adds aspect_rules_py's freethreading_enabled constraint (for cp314t wheel selection), and sets the rules_python py_freethreaded=yes flag (for the free-threaded interpreter). Register it as both the default target platform (.bazelrc) and execution platform (MODULE.bazel). Blocked on upstream issues before tests will pass: - aspect-build/rules_py#805: select_chain picks abi3 wheels that segfault under the cp314t ABI - google/re2#602: no cp314t wheels published for google-re2 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
The latest Buf updates on your PR. Results from workflow CI / lint (pull_request).
|
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.
Summary
//tools/platforms:freethreaded) that inherits from the host platform, addsaspect_rules_py'sfreethreading_enabledconstraint forcp314twheel selection, and sets therules_pythonpy_freethreaded=yesflag for the free-threaded interpreter..bazelrc) and execution platform (MODULE.bazel).Blocked on upstream issues
Tests will not pass until these are resolved:
select_chainpicksabi3wheels that segfault under thecp314tABI (different struct layouts make standard-ABI extensions crash on load).cp314twheels published forgoogle-re2(transitive dep viaprotovalidate→cel-python).Test plan
bazelisk build //...succeeds (verified)bazelisk test //...— blocked on upstream issues above🤖 Generated with Claude Code