Skip to content

fix: restore support for Bazel 7 #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 27, 2025
Merged

fix: restore support for Bazel 7 #23

merged 4 commits into from
Apr 27, 2025

Conversation

TendTo
Copy link
Owner

@TendTo TendTo commented Apr 27, 2025

@TendTo TendTo requested a review from Copilot April 27, 2025 13:34
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR restores support for Bazel 7 by removing the dependency on @bazel_tools and eliminating unnecessary code while extending CI tests for both Bazel 7.0.0 and 8.0.0. Key changes include:

  • Providing clear guidance in README regarding the unavailable string_keyed_label_dict attribute in Bazel 7.
  • Updating documentation in docs/extensions_doc.md to reflect new parameters and behavior.
  • Updating the CHANGELOG to document the fixes and enhancements.
  • Extending the CI pipeline (.github/workflows/ci.yml) with a new matrix configuration for multiple Bazel versions and injecting the .bazelversion file accordingly.

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

File Description
examples/substitutions/README.md Added an IMPORTANT note to document Bazel 7 limitations
docs/extensions_doc.md Updated function documentation and parameter details for clarity
CHANGELOG.md Updated changelog entries to document the dependency removal and CI tests
.github/workflows/ci.yml Added Bazel version matrix and steps to handle .bazelversion file creation
Files not reviewed (1)
  • extensions.bzl: Language not supported

@TendTo TendTo merged commit 9656130 into main Apr 27, 2025
99 checks passed
@TendTo TendTo deleted the fix/bazel7 branch April 27, 2025 15:52
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.

Starlark file @@bazel_tools//tools/build_defs/repo:cache.bzl is not visible for loading from package @@rules_doxygen~// ...
1 participant