Skip to content

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

Merged
pull[bot] merged 4 commits into
garymm:mainfrom
bazel-contrib:main
Sep 28, 2026
Merged

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

Conversation

@pull

@pull pull Bot commented Sep 28, 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 : )

rickeylev and others added 4 commits September 27, 2026 12:23
When a release or backport workflow triggered by an issue or PR comment
fails, no notification appears on the thread. Maintainers must manually
check the Actions tab to discover that a command failed.

Add a failure-reporting job to the comment workflow that runs whenever
any upstream job fails. It adds a thumbs-down reaction to the
triggering comment and posts a reply linking to the failed workflow
run.
Bazel reports source symlinks as regular files, causing Python
executable aliases to be copied into zipapps as full binaries. Hermetic
runtimes also include shared libpython artifacts even when the
interpreter links Python statically.

Preserve source symlinks through sandbox indirection and exclude
libpython shared objects from runtime files while retaining them for
explicit native dependencies. Add regression coverage for archive
structure and native extension loading.

Fixes #3534
Fixes #4163

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Richard Levasseur <richardlev@gmail.com>
…4184)

On Windows ARM64, evaluating the `pip` extension fails as soon as any
module in the graph calls `pip.parse` for Python 3.9 or 3.10:

```
Unable to find interpreter for pip hub 'grpc_python_dependencies' for python_version=3.9: ...
Expected to find python_3_9_host among registered versions:
  python_3_11_host
  python_3_12_host
  python_3_13_host
```

There is no CPython 3.9 or 3.10 build for `aarch64-pc-windows-msvc` in
the
runtime manifest, so those toolchains have no host interpreter there.

`_pip_parse` already handles a close relative of this: a version missing
from `minor_mapping` is skipped with an info message, and the hub's
select fails later only if that version is actually used. This treats a
version with no host interpreter the same way, right after that check.
The `python_X_Y_host` name is built in one small helper, so the new
check
and `_detect_interpreter` look at the same thing.

To check it, I ran `bazel query @bazel_pip_dev_deps//:all` in a plain
checkout of Bazel master (rules_python 1.9.2, grpc 1.76.0) with and
without this change back-ported to 1.9.2, on `windows-11-arm` and
`ubuntu-latest`:

```
                 without   with
windows-arm64    rc=7      rc=0    3.9 and 3.10 skipped for grpc, protoc-gen-validate
                                   and rules_fuzzing
linux-x86_64     rc=0      rc=0    nothing new skipped
```

https://github.com/zakinko/NetBSD-i386/actions/runs/36248007899

With `RULES_PYTHON_REPO_DEBUG_VERBOSITY=INFO` the Windows run prints the
new message once for each of the six hub and version pairs, next to the
existing "no registered toolchain" one for rules_fuzzing's 3.8.

The new test in `hub_builder_tests.bzl` fails without the change with
the
same error, and `//tests/pypi/...` passes with it (254 tests, on macOS).

---------

Co-authored-by: Richard Levasseur <richardlev@gmail.com>
Updates CHANGELOG.md and removes news files for backports:
- #4165

Work towards #4175
Release-Tracking-Issue: #4175

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Sep 28, 2026
@pull pull Bot added the ⤵️ pull label Sep 28, 2026
@pull
pull Bot merged commit 4ce7231 into garymm:main Sep 28, 2026
1 check 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.

3 participants