Skip to content
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

feat: add is_bazel_7_or_greater utility function to public API #714

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

gregmagolan
Copy link
Collaborator

@gregmagolan gregmagolan commented Jan 8, 2024

In the future we should make detection of the Bazel version part of the public API of bazel_features and use that.

Currently, however, the bazel version comparison functions in bazel_features are private API so a change needs to be made there to make the public API. Also adding a new non-dev dep on bazel_features here would be breaking for WORKSPACE users which is undesirable atm.


Type of change

  • New feature or functionality (change which adds functionality)

Test plan

  • Covered by existing test cases

@gregmagolan gregmagolan changed the title feat: add is_bazel_7_or_greater utility feat: add is_bazel_7_or_greater utility function to public API Jan 8, 2024
@alexeagle
Copy link
Collaborator

Oops we probably should have added a dep on bazel_features when we did the 2.0

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