-
Notifications
You must be signed in to change notification settings - Fork 4.5k
bzlmod examples and documentation updates #18030
Copy link
Copy link
Open
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)area-BzlmodBzlmod-specific PRs, issues, and feature requestsBzlmod-specific PRs, issues, and feature requestshelp wantedSomeone outside the Bazel team could own thisSomeone outside the Bazel team could own thisteam-DocumentationDocumentation improvements that cannot be directly linked to other team labelsDocumentation improvements that cannot be directly linked to other team labelsteam-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.External dependency handling, remote repositiories, WORKSPACE file.type: documentation (cleanup)
Metadata
Metadata
Assignees
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)area-BzlmodBzlmod-specific PRs, issues, and feature requestsBzlmod-specific PRs, issues, and feature requestshelp wantedSomeone outside the Bazel team could own thisSomeone outside the Bazel team could own thisteam-DocumentationDocumentation improvements that cannot be directly linked to other team labelsDocumentation improvements that cannot be directly linked to other team labelsteam-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.External dependency handling, remote repositiories, WORKSPACE file.type: documentation (cleanup)
Type
Fields
Give feedbackNo fields configured for issues without a type.
Page link:
https://bazel.build/external/overview#bzlmod
Problem description (include actual vs expected text, if applicable):
Problem Statement
We have multiple things that have changed when using bzlmod that I have struggled to learn. Through updating and working with the rules_python examples and working on a Python tutorial, I have some experiences that I would like to share. Migration is challenging, no matter what we do. I aim to inform users why we are migrating to bzlmod and give them the documentation and example to help their journey.
Recommendations
My experience
Here are some notes from my experience with using bzlmod.
native.register_toolchainis no longer available.Resources
https://bazel.build/external/overview#bzlmod
bazelbuild/rules_rust#1528
https://docs.google.com/document/d/1JtXIVnXyFZ4bmbiBCr5gsTH4-opZAFf5DMMb-54kES0/edit#heading=h.5mcn15i0e1ch
Where do you see this issue? (include link to specific section of the page, if applicable)
No response
Any other information you'd like to share?
No response