Repository navigation
Conversation
* Replace the `--cpu`-based `config_setting`s in `//src/conditions`, which trigger a deprecation warning, with the existing constraint-based ones. Bazel CI doesn't use `--cpu` anymore. * Set `legacy_create_init = 0` on Bazel's own `py_binary` targets. * Drop the explicit `jar` packaging from Maven coordinates and declare the modules contributing to the `maven` repo to silence rules_jvm_external warnings. * Only pass the `java_proto_library` for the service to `java_grpc_library`, as multiple `deps` are deprecated. The longrunning protos are covered transitively. * Exclude incubator modules from the "all modules" embedded JDK, which jlink warns about and Bazel doesn't use.
fmeum
marked this pull request as ready for review
November 13, 2026 21:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the Bazel-side warnings printed by
bazel build --config=llvm //src:bazel-devon a clean output base:--cpu-basedconfig_settings in//src/conditions, which trigger a deprecation warning (select() on cpu is deprecated), with the existing constraint-based ones. Bazel CI doesn't use--cpuanymore.legacy_create_init = 0on Bazel's ownpy_binarytargets (//src:create_embedded_tools,//tools/build_defs/proguard:wrapper_private) to address the rules_python implicit__init__.pydeprecation.jarpackaging from Maven coordinates (Assuming ... should be interpreted as ...) and declareknown_contributing_modulesfor themavenrepo.maven_install.jsononly changes its input hash.java_proto_libraryfor the service tojava_grpc_library, as multipledepsare deprecated. The longrunning protos are covered transitively.Using incubator modules: jdk.incubator.vector) and Bazel doesn't use.Remaining warnings are fixed elsewhere and will be picked up by follow-up dependency updates:
GetEnum/GetRepeatedEnumcalls are fixed in protobuf 37.0