[llvm] [bazel] Update versions for mpfr and python (PR #217674)

Jordan Rupprecht via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 08:57:10 PDT 2026


https://github.com/rupprecht created https://github.com/llvm/llvm-project/pull/217674

Update mpfr and rules_python:
* mpfr: pick up https://github.com/bazelbuild/bazel-central-registry/pull/9861 to fix float128 support when using a local (external) build of mpfr (thx @UebelAndre for merging)
* rules_python: update to resolve the warning `the root module requires module version rules_python at 1.8.0, but got rules_python at 1.8.4 in the resolved dependency graph`

>From f9f2044f8c4bfe28d73cb9f5c084650885b8290e Mon Sep 17 00:00:00 2001
From: Jordan Rupprecht <rupprecht at google.com>
Date: Thu, 20 Aug 2026 08:51:51 -0700
Subject: [PATCH] Update module deps

---
 utils/bazel/MODULE.bazel      | 4 ++--
 utils/bazel/MODULE.bazel.lock | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/utils/bazel/MODULE.bazel b/utils/bazel/MODULE.bazel
index dbe401c7bf7ca..d836c8bc72448 100644
--- a/utils/bazel/MODULE.bazel
+++ b/utils/bazel/MODULE.bazel
@@ -13,7 +13,7 @@ bazel_dep(name = "apple_support", version = "2.6.1", repo_name = "build_bazel_ap
 bazel_dep(name = "protobuf", version = "35.0", repo_name = "com_google_protobuf")
 bazel_dep(name = "rules_android", version = "0.7.2")
 bazel_dep(name = "rules_cc", version = "0.2.19")
-bazel_dep(name = "rules_python", version = "1.8.0")
+bazel_dep(name = "rules_python", version = "1.8.4")
 bazel_dep(name = "rules_shell", version = "0.8.0")
 
 # Latest pins: track upstream freely. No compatibility contract -- bump to
@@ -25,7 +25,7 @@ bazel_dep(name = "zlib-ng", version = "2.3.3", repo_name = "llvm_zlib")
 bazel_dep(name = "zstd", version = "1.5.7.bcr.1", repo_name = "llvm_zstd")
 bazel_dep(name = "gmp", version = "6.3.0.bcr.1")
 bazel_dep(name = "mpc", version = "1.4.1.bcr.2")
-bazel_dep(name = "mpfr", version = "4.2.2")
+bazel_dep(name = "mpfr", version = "4.2.2.bcr.1")
 bazel_dep(name = "nanobind", version = "2.12.0.bcr.1")
 bazel_dep(name = "libpfm", version = "4.13.0", repo_name = "pfm")
 bazel_dep(name = "vulkan_headers", version = "1.4.349")
diff --git a/utils/bazel/MODULE.bazel.lock b/utils/bazel/MODULE.bazel.lock
index b7882b21779f5..03931eff76777 100644
--- a/utils/bazel/MODULE.bazel.lock
+++ b/utils/bazel/MODULE.bazel.lock
@@ -114,8 +114,9 @@
     "https://bcr.bazel.build/modules/m4/1.4.21.bcr.1/source.json": "6693ed9c3380e29bbe5200c0e2fa4635b38b2b7cf8c1cb527fc3109456d3ca69",
     "https://bcr.bazel.build/modules/mpc/1.4.1.bcr.2/MODULE.bazel": "46a2d6db71e0791520548cf9f91ec526749659cd87ef0ab6a4eafe0b82ac7a06",
     "https://bcr.bazel.build/modules/mpc/1.4.1.bcr.2/source.json": "e4ba9ccb2cfa0490ab2feba5982dc45f28c9239bc3062880e7db8d869ab3684d",
+    "https://bcr.bazel.build/modules/mpfr/4.2.2.bcr.1/MODULE.bazel": "22b396f57367f4dc5149c92854450b0a251b14a77b7423873c8318ac85177549",
+    "https://bcr.bazel.build/modules/mpfr/4.2.2.bcr.1/source.json": "9f0fdb2c93bd5347af7f0b3340e941319484ac5a9edae5c54a14a56096d4316d",
     "https://bcr.bazel.build/modules/mpfr/4.2.2/MODULE.bazel": "a27d7763535094f9fb14c9d8e7e559e2b5a66b8beaa1b361e46da79a0783616f",
-    "https://bcr.bazel.build/modules/mpfr/4.2.2/source.json": "23c8cc076a26015225ec2da01b963df77181e1bff134a9b30f93d259f443bff6",
     "https://bcr.bazel.build/modules/nanobind/2.12.0.bcr.1/MODULE.bazel": "561b9c2ecc86b94dc4f07732dfe89236508884333f690f5ee5bb2e065fe7d9e1",
     "https://bcr.bazel.build/modules/nanobind/2.12.0.bcr.1/source.json": "0ff18b9d0c90072d7301c2056928bb9ae7e640a4fd9320130e321bfc42bf0ccc",
     "https://bcr.bazel.build/modules/nlohmann_json/3.12.0.bcr.1/MODULE.bazel": "a1c8bb07b5b91d971727c635f449d05623ac9608f6fe4f5f04254ea12f08e349",
@@ -272,7 +273,6 @@
     "https://bcr.bazel.build/modules/rules_python/1.4.1/MODULE.bazel": "8991ad45bdc25018301d6b7e1d3626afc3c8af8aaf4bc04f23d0b99c938b73a6",
     "https://bcr.bazel.build/modules/rules_python/1.6.0/MODULE.bazel": "7e04ad8f8d5bea40451cf80b1bd8262552aa73f841415d20db96b7241bd027d8",
     "https://bcr.bazel.build/modules/rules_python/1.7.0/MODULE.bazel": "d01f995ecd137abf30238ad9ce97f8fc3ac57289c8b24bd0bf53324d937a14f8",
-    "https://bcr.bazel.build/modules/rules_python/1.8.0/MODULE.bazel": "c151c025dbcc93d8f62ab68ecc313c9176a868a0e6386981bf2a12aec77cbe7b",
     "https://bcr.bazel.build/modules/rules_python/1.8.4/MODULE.bazel": "33e3971e66161a3e955f7a0d411a8d1f291c4ce4c561851512466f3c77ff8ece",
     "https://bcr.bazel.build/modules/rules_python/1.8.4/source.json": "9fbc0e57bae52cddcc3831d668bce87a47e0c655104a85098d4459dd9a3b0a10",
     "https://bcr.bazel.build/modules/rules_robolectric/4.14.1.2/MODULE.bazel": "d44fec647d0aeb67b9f3b980cf68ba634976f3ae7ccd6c07d790b59b87a4f251",



More information about the llvm-commits mailing list