-
Notifications
You must be signed in to change notification settings - Fork 322
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(IDX): enable bzlmod #1959
feat(IDX): enable bzlmod #1959
Conversation
This turns on [Bazel modules](https://bazel.build/external/module) and moves some of our (Bazel) dependency declarations to `MODULE.bazel`. This means those dependencies are specified declaratively and not imperatively as was the case in the `WORKSPACE`. This also allows us to update some dependencies, like `rules_python`, which previously created conflicts in transitive dependencies. Some dependencies were also replaced (`rules_gazelle` -> `gazelle`). This also adds a new workflow that ensures the Bazel lockfile, `MODULE.bazel.lock`, is up to date on all the platforms we support (Apple Intel, Apple Silicon, Linux x86). See workflow file for logic and details.
27eaf6f
to
32f4551
Compare
32f4551
to
78cfb1a
Compare
Co-authored-by: Marko Kosmerl <marko.kosmerl@dfinity.org>
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.
Nice! Just a heads-up that #1946 also modifies WORKSPACE.bazel so whoever merges last should make sure the right ubuntu_base is being used.
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.
The formal models related changes LGTM
Co-authored-by: Marko Kosmerl <marko.kosmerl@dfinity.org>
This reverts commit 292b462.
Test broken after #1959 Fix redfish dependency after #1959 Full context: https://dfinity.slack.com/archives/C026JQ1B2AF/p1728578113038139 --------- Co-authored-by: IDX GitHub Automation <IDX GitHub Automation>
Test broken after #1959 Fix redfish dependency after #1959 Full context: https://dfinity.slack.com/archives/C026JQ1B2AF/p1728578113038139 --------- Co-authored-by: IDX GitHub Automation <IDX GitHub Automation>
This turns on [Bazel modules](https://bazel.build/external/module) and moves some of our (Bazel) dependency declarations to `MODULE.bazel`. This means those dependencies are specified declaratively and not imperatively as was the case in the `WORKSPACE`. This also allows us to update some dependencies, like `rules_python`, which previously created conflicts in transitive dependencies. Some dependencies were also replaced (`rules_gazelle` -> `gazelle`). This also adds a new workflow that ensures the Bazel lockfile, `MODULE.bazel.lock`, is up to date on all the platforms we support (Apple Intel, Apple Silicon, Linux x86). See workflow file for logic and details. --------- Co-authored-by: Marko Kosmerl <marko.kosmerl@dfinity.org>
Test broken after #1959 Fix redfish dependency after #1959 Full context: https://dfinity.slack.com/archives/C026JQ1B2AF/p1728578113038139 --------- Co-authored-by: IDX GitHub Automation <IDX GitHub Automation>
This turns on Bazel modules and moves some of our (Bazel) dependency declarations to
MODULE.bazel
. This means those dependencies are specified declaratively and not imperatively as was the case in theWORKSPACE
. This also allows us to update some dependencies, likerules_python
, which previously created conflicts in transitive dependencies.Some dependencies were also replaced (
rules_gazelle
->gazelle
).This also adds a new workflow that ensures the Bazel lockfile,
MODULE.bazel.lock
, is up to date on all the platforms we support (Apple Intel, Apple Silicon, Linux x86). See workflow file for logic and details.