From 11827b3d489442ae0876f569ee4976122d084cbd Mon Sep 17 00:00:00 2001 From: Richard Levasseur Date: Fri, 19 Dec 2025 14:58:36 -0800 Subject: [PATCH] chore: update version markers for 1.8 release --- CHANGELOG.md | 18 +++++++++--------- python/private/py_library.bzl | 2 +- python/private/pypi/extension.bzl | 2 +- python/private/pypi/hub_builder.bzl | 2 +- python/private/python.bzl | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fcf56348fc..aceccbbb85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,18 +48,18 @@ END_UNRELEASED_TEMPLATE --> -{#v0-0-0} -## Unreleased +{#v1-8-0} +## [1.8.0] - 2025-12-19 -[0.0.0]: https://github.com/bazel-contrib/rules_python/releases/tag/0.0.0 +[1.8.0]: https://github.com/bazel-contrib/rules_python/releases/tag/1.8.0 -{#v0-0-0-known-issues} +{#v1-8-0-known-issues} ### Known Issues * (gazelle) Windows support for the Gazelle plugin may be broken. See [#3416](https://github.com/bazel-contrib/rules_python/issues/3416) for details and possible workarounds. -{#v0-0-0-removed} +{#v1-8-0-removed} ### Removed * (toolchain) Remove all of the python 3.8 toolchain support out of the box. Users need to pass the `TOOL_VERSIONS` that include 3.8 toolchains or use the `bzlmod` APIs to add @@ -74,7 +74,7 @@ END_UNRELEASED_TEMPLATE the toolchains in the repository phase, ensure that you pass `-B` to the python interpreter. ([#2016](https://github.com/bazel-contrib/rules_python/issues/2016)) -{#v0-0-0-changed} +{#v1-8-0-changed} ### Changed * (toolchains) Use toolchains from the [20251031] release. * (gazelle) Internally split modules mapping generation to be per-wheel for concurrency and caching. @@ -88,7 +88,7 @@ END_UNRELEASED_TEMPLATE * (gazelle deps) rules_go bumped from 0.55.1 to 0.59.0 * (gazelle deps) gazelle bumped from 0.36.0 to 0.47.0 -{#v0-0-0-fixed} +{#v1-8-0-fixed} ### Fixed * (gazelle) Remove {obj}`py_binary` targets with invalid `srcs`. This includes files that are not generated or regular files. @@ -109,7 +109,7 @@ END_UNRELEASED_TEMPLATE * (core rules) For the system_python bootstrap, the runfiles root is added to sys.path. -{#v0-0-0-added} +{#v1-8-0-added} ### Added * (toolchains) `3.9.25` Python toolchain from [20251031] release. * (toolchains) `3.13.10`, `3.14.1` Python toolchain from [20251202] release. @@ -2065,4 +2065,4 @@ Breaking changes: * (pip) Create all_data_requirements alias * Expose Python C headers through the toolchain. -[0.24.0]: https://github.com/bazel-contrib/rules_python/releases/tag/0.24.0 +[0.24.0]: https://github.com/bazel-contrib/rules_python/releases/tag/0.24.0 \ No newline at end of file diff --git a/python/private/py_library.bzl b/python/private/py_library.bzl index 7e9a59f277..6edb25abae 100644 --- a/python/private/py_library.bzl +++ b/python/private/py_library.bzl @@ -111,7 +111,7 @@ When {obj}`--venv_site_packages=yes` is set, this helps inform which directories treated as namespace packages and expect files from other targets to be contributed. This allows optimizing the generation of symlinks to be cheaper at analysis time. -:::{versionadded} VERSION_NEXT_FEATURE +:::{versionadded} 1.8.0 ::: """, ), diff --git a/python/private/pypi/extension.bzl b/python/private/pypi/extension.bzl index e9033996c6..3927f61c00 100644 --- a/python/private/pypi/extension.bzl +++ b/python/private/pypi/extension.bzl @@ -687,7 +687,7 @@ a string `"{os}_{arch}"` as the value here. You could also use `"{os}_{arch}_fre :::{include} /_includes/experimental_api.md ::: -:::{versionadded} VERSION_NEXT_FEATURE +:::{versionadded} 1.8.0 ::: """, ), diff --git a/python/private/pypi/hub_builder.bzl b/python/private/pypi/hub_builder.bzl index 95e007aa69..700f22e2c0 100644 --- a/python/private/pypi/hub_builder.bzl +++ b/python/private/pypi/hub_builder.bzl @@ -142,7 +142,7 @@ def _pip_parse(self, module_ctx, pip_attr): python_version = full_python_version, config = self._config, # TODO @aignas 2025-12-09: flip or part to default to 'os_arch' after - # VERSION_NEXT_FEATURE is released and set the default of the `target_platforms` attribute + # 1.8.0 is released and set the default of the `target_platforms` attribute # to `{os}_{arch}`. target_platforms = pip_attr.target_platforms or ([] if default_cross_setup else ["{os}_{arch}"]), ) diff --git a/python/private/python.bzl b/python/private/python.bzl index 80f2afac53..399743c18d 100644 --- a/python/private/python.bzl +++ b/python/private/python.bzl @@ -1065,7 +1065,7 @@ Then the python interpreter will be available as `my_python_name`. "ignore_root_user_error": attr.bool( default = True, doc = """\ -:::{versionchanged} VERSION_NEXT_FEATURE +:::{versionchanged} 1.8.0 Noop, will be removed in the next major release. ::: """,