Skip to content

Conversation

dws
Copy link
Contributor

@dws dws commented Jun 13, 2025

We here take a stab at modernizing the test code in Bazel to be compatible with flipping the default for the flag --incompatible_disable_target_default_provider_fields.

We here take a stab at modernizing the test code in Bazel to
be compatible with flipping the default for the flag
`--incompatible_disable_target_default_provider_fields`.
@dws dws marked this pull request as ready for review June 13, 2025 19:23
@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Jun 13, 2025
@dws
Copy link
Contributor Author

dws commented Jun 13, 2025

@meteorcloudy Perhaps you could select a reviewer for this?

@meteorcloudy meteorcloudy requested review from comius and pzembrod June 16, 2025 09:04
@meteorcloudy meteorcloudy added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Jun 16, 2025
@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Jun 17, 2025
copybara-service bot pushed a commit that referenced this pull request Jun 17, 2025
…der_fields

We here address obstacles to building Bazel with `--incompatible_disable_target_default_provider_fields` enabled.

This includes patches representing

- bazelbuild/apple_support#413
- bazelbuild/rules_java#303
- grpc/grpc-java#12148

which should be removed once these PRs have been included in releases of their respective repos.  All of these pull requests have been approved and merged into their respective repositories.

Once #26276 is cherry-picked into a Bazel 8 release, we should be able to update `.bazelversion` to that release, and in conjunction with the changes herein, we should be able to enable  `--incompatible_disable_target_default_provider_fields` in `.bazelrc` in order to prevent regressions.  Ideally, we could also flip the default value of this flag once #26297 also lands.
Note that #26293 is related, but not strictly needed for builds.

Closes #26272.

PiperOrigin-RevId: 772542631
Change-Id: Ib5db3ffa3f4857199a6f8d838078d7ced2281ba3
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.

2 participants