File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -37,22 +37,28 @@ cat > release_notes.txt << EOF
3737
3838For more detailed setup instructions, see https://rules-python.readthedocs.io/en/latest/getting-started.html
3939
40+ For the user-facing changelog see [here](https://rules-python.readthedocs.io/en/latest/changelog.html#v${TAG// ./ -} )
41+
4042## Using Bzlmod
4143
4244Add to your \` MODULE.bazel\` file:
4345
4446\`\`\` starlark
4547bazel_dep(name = "rules_python", version = "${TAG} ")
4648
47- pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
49+ python = use_extension("@rules_python//python/extensions:python.bzl", "python")
50+ python.toolchain(
51+ python_version = "3.13",
52+ )
4853
54+ pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
4955pip.parse(
50- hub_name = "pip ",
51- python_version = "3.11 ",
56+ hub_name = "pypi ",
57+ python_version = "3.13 ",
5258 requirements_lock = "//:requirements_lock.txt",
5359)
5460
55- use_repo(pip, "pip ")
61+ use_repo(pip, "pypi ")
5662\`\`\`
5763
5864## Using WORKSPACE
You can’t perform that action at this time.
0 commit comments