-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
chore(deps): Migrate to bzl mod dependencies #61
Conversation
ccfd06b
to
9636f92
Compare
# | ||
# Note that you should also run integration_tests against other Bazel | ||
# versions you support. | ||
7.1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did version 7 with --enable_bzlmod=false
cause any issues that can be fixed+merged on their own before enabling bzlmod?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer not to. There are errors since I'm using rules that aren't bazel 7 compatible (the version of rules_js is quite old). I'd prefer to update the deps once rather than twice if that's okay
Move all tests to the e2e directory so that they properly test the bzl_mod setup.
@@ -13,3 +13,15 @@ build --reuse_sandbox_directories | |||
# Avoid this flag being enabled by remote_download_minimal or remote_download_toplevel | |||
# See https://meroton.com/blog/bazel-6-errors-build-without-the-bytes/ | |||
build --noexperimental_action_cache_store_output_metadata | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Were these caused by bzlmod using a newer version of aspect_bazel_lib
then what we had declared in WORKSPACE? Now bzlmod takes the latest declared dep instead of the first declared...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, you nailed it
This reverts commit cf5ed54.
TODO: Augment the release note generation to reference the new bzlmod setup.
Type of change
For changes visible to end-users
Test plan