From 1b63e9b941c8d528951d5a66c43a3582aba6fb6b Mon Sep 17 00:00:00 2001 From: Ignas Anikevicius <240938+aignas@users.noreply.github.com> Date: Sat, 25 Jan 2025 18:03:42 +0900 Subject: [PATCH] doc: point users to our CHANGELOG at the top of the release note --- .github/workflows/create_archive_and_notes.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/create_archive_and_notes.sh b/.github/workflows/create_archive_and_notes.sh index 29f9f8b9f7..dc7f8a6982 100755 --- a/.github/workflows/create_archive_and_notes.sh +++ b/.github/workflows/create_archive_and_notes.sh @@ -37,6 +37,8 @@ cat > release_notes.txt << EOF For more detailed setup instructions, see https://rules-python.readthedocs.io/en/latest/getting-started.html +For the user-facing changelog see [here](https://rules-python.readthedocs.io/en/latest/changelog.html#v${TAG//./-}) + ## Using Bzlmod Add to your \`MODULE.bazel\` file: @@ -44,15 +46,19 @@ Add to your \`MODULE.bazel\` file: \`\`\`starlark bazel_dep(name = "rules_python", version = "${TAG}") -pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") +python = use_extension("@rules_python//python/extensions:python.bzl", "python") +python.toolchain( + python_version = "3.13", +) +pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") pip.parse( - hub_name = "pip", - python_version = "3.11", + hub_name = "pypi", + python_version = "3.13", requirements_lock = "//:requirements_lock.txt", ) -use_repo(pip, "pip") +use_repo(pip, "pypi") \`\`\` ## Using WORKSPACE