-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
version_repo
is not updated when Bazel version changes
#25
version_repo
is not updated when Bazel version changes
#25
Comments
I was switching between |
We could replace https://github.com/bazelbuild/bazel/blob/dc4f54f9c57a27b68ae0e8c0d21ad3cb68a3dc44/src/main/java/com/google/devtools/build/lib/packages/WorkspaceFactory.java#L363 with a regular struct field method that tracks whether a repository rule invoked it and then adds the return value to the marker file. |
This would be difficult, but I think there is a much simpler solution: #26 |
Since every version change requires a server restart, it suffices to mark the version-dependent repos as `local`. Fixes #25
Yeah, the new solution is also better since it works for existing Bazel versions! Thank you!! |
We need to update rules_python to make sure a newer version of bazel_features is fetched with fixes for bazel-contrib/bazel_features#25 PiperOrigin-RevId: 601806824 Change-Id: I48f87cbbc1d71e884452b4100bc0582293fbf8b3
When switching the Bazel version, the
bazel_features_version
repo generated bybazel_features/private/version_repo.bzl
Line 5 in 1f1b95a
The text was updated successfully, but these errors were encountered: