Skip to content

xprof: Add version 2.23.2 - #2450

Draft
riseproject-dev[bot] wants to merge 3 commits into
mainfrom
github-actions/nightly-upgrade/xprof
Draft

riseproject-dev[bot] wants to merge 3 commits into
mainfrom
github-actions/nightly-upgrade/xprof

Conversation

@riseproject-dev

Copy link
Copy Markdown
Contributor

Automatically generated by the nightly check_versions.py run.

xprof v2.23.1 -> v2.23.2

Every - version: entry added to docs/packages/xprof.yaml is built by this PR's own build-xprof.yml run; merging publishes the wheels.

Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com>
@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://riseproject-dev.github.io/python-wheels/pr-preview/pr-2450/

Built to branch gh-pages at 2026-10-11 02:41 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@luhenry
luhenry force-pushed the main branch 3 times, most recently from 39fb7ba to a75cf68 Compare October 1, 2026 15:22
The riscv64 job fails inside the very first `bazel build --nobuild`,
before reaching //xprof/pywrap at all. xprof's WORKSPACE unconditionally
`load()`s `@npm//:repositories.bzl` (wired up by rules_js_dependencies(),
for the frontend's npm/node toolchain), and WORKSPACE files are evaluated
top to bottom regardless of the requested target, so even this
native-extension-only build has to resolve it. That load needs a `yq`
toolchain for the host platform, but aspect_bazel_lib's YQ_PLATFORMS
table (lib/private/yq_toolchain.bzl) has no riscv64 entry, so Bazel
reports an unresolved `@@yq_linux_riscv64` repository ("Cycle in the
workspace file detected ... This could ... mean you have to add the
'@@yq_linux_riscv64' repository").

mikefarah/yq does publish a linux_riscv64 binary, starting at v4.47.1;
aspect_bazel_lib 2.9.1 (the version rules_js 2.1.0 pins) predates that
and never learned about it. Fetch that release locally, add a riscv64
entry to its YQ_PLATFORMS/YQ_VERSIONS tables and bump DEFAULT_YQ_VERSION,
and point Bazel at the patched copy with --override_repository, rather
than touching xprof's own WORKSPACE.
2.23.2 pins a newer @xla (0e4e6b63d1d4) than 2.23.1 (c520e3fb3f00), which
in turn pins LLVM ab547095ead5 - a commit past upstream's own fix for the
clang-21 SFINAE crash in mlir/lib/IR/BuiltinDialectBytecode.cpp
(llvm/llvm-project#188249, fixed by 9722a2ceddb6). getChecked() in
StorageUniquerSupport.h already carries the templated Arg1&& workaround
at that commit, so 2.23.2 needs no patch at all - unlike 2.23.1, there is
no patches/xprof/2.23.2/ directory.

The patch-apply loop had no nullglob, so the unmatched
.../2.23.2/*.patch glob passed the literal six-character string through
to git apply instead of looping zero times:
  error: can't open patch '.../patches/xprof/2.23.2/*.patch': No such
  file or directory

Add shopt -s nullglob around the loop so a version needing no patch is a
clean no-op, the way the loop already intended for the empty case.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant