Skip to content

Bazel Version Constraints in BCR #2336

Answered by keith
shantanu-gontia asked this question in Q&A
Discussion options

You must be logged in to vote

Theoretically folks should be annotating their MODULE.bazel with this compatibility:

bazel_compatibility = [">=6.0.0"],

In which case you would be able to see it there. And it would fail earlier than some random bazel API change. I think thus far folks have been pretty lax on that, and it doesn't help you spot the case when a transitive dependency does encode this requirement and it hits you too. I would expect this to improve as more folks use bzlmod

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@shantanu-gontia
Comment options

@fmeum
Comment options

@meteorcloudy
Comment options

Answer selected by shantanu-gontia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants