Skip to content

[pull] main from bazel-contrib:main - #694

Merged
pull[bot] merged 2 commits into
garymm:mainfrom
bazel-contrib:main
Aug 7, 2026
Merged

pull[bot] merged 2 commits into
garymm:mainfrom
bazel-contrib:main

Conversation

@pull

@pull pull Bot commented Aug 7, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…ty (#4008)

Rename `abi_tag` to `soabi` in `PyCcToolchainInfo` and associated
toolchain implementation and macro parameters.

I found the `abi_tag` term a bit ambiguous
with PEP 425 wheel ABI tags and PEP 3149 C extension filename SOABI
tags.
So rename it to `soabi` to directly reflect the SOABI sysconfig var
that it is traditionally derived from.

This also uncovered a bug where the value was _just_ the Python ABI-ness
(`cpython-311`), while it should be the full ABI infix that includes
the platform (`cpython-311-x86_64-linux-gnu`). This also helped simplify
some of the Windows code paths.
Enable static type verification for the runfiles library using the
rules_pyrefly ruleset.

To ensure hermetic type safety across Bazel runfiles utilities, this
configures rules_pyrefly's Bzlmod dev toolchain, tags the runfiles
target with `tags = ["pyrefly"]`, and enables global aspect evaluation
in .bazelrc via
`--aspects=//tests/support/pyrefly:pyrefly.bzl%pyrefly_aspect`.

To support WORKSPACE mode builds without breaking dependency resolution,
a no-op stub repository for rules_pyrefly is defined under
tests/modules/rules_pyrefly_stub and registered in
internal_dev_deps.bzl.
Under Bzlmod, the aspect performs static type checking on tagged
targets,
while under WORKSPACE mode, the stub aspect evaluates cleanly as a
no-op.
@pull pull Bot locked and limited conversation to collaborators Aug 7, 2026
@pull pull Bot added the ⤵️ pull label Aug 7, 2026
@pull
pull Bot merged commit 81b3260 into garymm:main Aug 7, 2026
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant