File tree 1 file changed +10
-4
lines changed
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
37
37
38
38
For more detailed setup instructions, see https://rules-python.readthedocs.io/en/latest/getting-started.html
39
39
40
+ For the user-facing changelog see [here](https://rules-python.readthedocs.io/en/latest/changelog.html#v${TAG// ./ -} )
41
+
40
42
## Using Bzlmod
41
43
42
44
Add to your \` MODULE.bazel\` file:
43
45
44
46
\`\`\` starlark
45
47
bazel_dep(name = "rules_python", version = "${TAG} ")
46
48
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
+ )
48
53
54
+ pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
49
55
pip.parse(
50
- hub_name = "pip ",
51
- python_version = "3.11 ",
56
+ hub_name = "pypi ",
57
+ python_version = "3.13 ",
52
58
requirements_lock = "//:requirements_lock.txt",
53
59
)
54
60
55
- use_repo(pip, "pip ")
61
+ use_repo(pip, "pypi ")
56
62
\`\`\`
57
63
58
64
## Using WORKSPACE
You can’t perform that action at this time.
0 commit comments