From 1523310351be20a411197580436f0f6c1fb8c468 Mon Sep 17 00:00:00 2001 From: Alex Trotta Date: Sun, 7 Dec 2025 14:59:58 -0500 Subject: [PATCH 1/2] Bump minimum protobuf version to 31.0-rc1 See https://github.com/jvolkman/rules_pycross/issues/209 The old protobuf version still needs Python 3.8, so attempting to load it fails. I see there is already a PR here (https://github.com/bazel-contrib/rules_python/pull/3367) but this is a much smaller change for an isolated issue. --- MODULE.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MODULE.bazel b/MODULE.bazel index b909124d11..beb1f18a30 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -11,7 +11,7 @@ bazel_dep(name = "platforms", version = "0.0.11") # Those are loaded only when using py_proto_library # Use py_proto_library directly from protobuf repository -bazel_dep(name = "protobuf", version = "29.0-rc2", repo_name = "com_google_protobuf") +bazel_dep(name = "protobuf", version = "31.0-rc1", repo_name = "com_google_protobuf") rules_python_config = use_extension("//python/extensions:config.bzl", "config") use_repo( From bf05eb2bfa8d9ab7a7544ae657dd649d123aeae8 Mon Sep 17 00:00:00 2001 From: Alex Trotta Date: Sun, 7 Dec 2025 15:15:12 -0500 Subject: [PATCH 2/2] use non-rc --- MODULE.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MODULE.bazel b/MODULE.bazel index beb1f18a30..74f0aa1081 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -11,7 +11,7 @@ bazel_dep(name = "platforms", version = "0.0.11") # Those are loaded only when using py_proto_library # Use py_proto_library directly from protobuf repository -bazel_dep(name = "protobuf", version = "31.0-rc1", repo_name = "com_google_protobuf") +bazel_dep(name = "protobuf", version = "31.0", repo_name = "com_google_protobuf") rules_python_config = use_extension("//python/extensions:config.bzl", "config") use_repo(