From 46d1763961636cbb9bc1bc6ae4be80c3f672bec7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 1 Dec 2026 13:59:11 +0000 Subject: [PATCH] chore(release): sync changelog for v2.5.2 backports --- CHANGELOG.md | 37 +++++++++++++++++++ news/3792.fixed.md | 5 --- news/4394.fixed.md | 4 -- news/4491.fixed.md | 2 - news/4520.fixed.md | 1 - news/4533.fixed.md | 2 - ...urrent-py-cc-headers-dynamic-deps.fixed.md | 3 -- news/windows-long-paths.fixed.md | 5 --- python/private/current_py_cc_headers.bzl | 4 +- 9 files changed, 39 insertions(+), 24 deletions(-) delete mode 100644 news/3792.fixed.md delete mode 100644 news/4394.fixed.md delete mode 100644 news/4491.fixed.md delete mode 100644 news/4520.fixed.md delete mode 100644 news/4533.fixed.md delete mode 100644 news/current-py-cc-headers-dynamic-deps.fixed.md delete mode 100644 news/windows-long-paths.fixed.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 07601d0f5e..9fd2b192e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,43 @@ Unreleased changes are tracked as individual files in the [news/](./news) directory, or view the [latest generated changelog](https://rules-python.readthedocs.io/en/latest/changelog.html). +{#v2-5-2} +## [2.5.2] - 2026-12-01 + +[2.5.2]: https://github.com/bazel-contrib/rules_python/releases/tag/2.5.2 + +{#v2-5-2-fixed} +### Fixed +* (binaries/tests) (Windows) {obj}`py_binary` and {obj}`py_test` no longer need + the privilege to create symlinks to run on Windows 10 1809, Windows Server + 2019 or later. If creating a symlink fails, the venv that is created at runtime + uses hard links, junctions or copies instead + ([#3792](https://github.com/bazel-contrib/rules_python/issues/3792)). +* (binaries/tests) (Windows) {obj}`py_binary` and {obj}`py_test` work with + runfiles paths of 260 characters or more when `LongPathsEnabled` is off, which + is the default. Before, the venv created at runtime without the privilege to + create symlinks could be missing files, and the runfiles directory wasn't found, + so imports failed. +* (bzlmod) Flattened and compacted {obj}`pip` extension facts in + `MODULE.bazel.lock` so Bazel's lockfile merge driver merges concurrent + dependency changes cleanly + ([#4162](https://github.com/bazel-contrib/rules_python/issues/4162)). +* (cc) {obj}`current_py_cc_headers` and {obj}`current_py_cc_headers_abi3` no + longer drop the Windows Python import libraries when used by a `cc_binary` with + `dynamic_deps`. +* (pypi) Allow uv lockfiles with dynamic-version workspace members to resolve + their dependencies in {obj}`pip.parse` ([#4533](https://github.com/bazel-contrib/rules_python/issues/4533)). +* (pypi) The wheel `METADATA` files with CRLF line endings are now parsed + correctly. +* (zipapp) Zipapps clean up extracted files even if killed during extraction. + + + + + + + + {#v2-5-1} ## [2.5.1] - 2026-11-13 diff --git a/news/3792.fixed.md b/news/3792.fixed.md deleted file mode 100644 index 5a7dfa3795..0000000000 --- a/news/3792.fixed.md +++ /dev/null @@ -1,5 +0,0 @@ -(binaries/tests) (Windows) {obj}`py_binary` and {obj}`py_test` no longer need -the privilege to create symlinks to run on Windows 10 1809, Windows Server -2019 or later. If creating a symlink fails, the venv that is created at runtime -uses hard links, junctions or copies instead -([#3792](https://github.com/bazel-contrib/rules_python/issues/3792)). diff --git a/news/4394.fixed.md b/news/4394.fixed.md deleted file mode 100644 index 25bb97a616..0000000000 --- a/news/4394.fixed.md +++ /dev/null @@ -1,4 +0,0 @@ -(bzlmod) Flattened and compacted {obj}`pip` extension facts in -`MODULE.bazel.lock` so Bazel's lockfile merge driver merges concurrent -dependency changes cleanly -([#4162](https://github.com/bazel-contrib/rules_python/issues/4162)). diff --git a/news/4491.fixed.md b/news/4491.fixed.md deleted file mode 100644 index 713e4d1918..0000000000 --- a/news/4491.fixed.md +++ /dev/null @@ -1,2 +0,0 @@ -(pypi) The wheel `METADATA` files with CRLF line endings are now parsed -correctly. diff --git a/news/4520.fixed.md b/news/4520.fixed.md deleted file mode 100644 index facb9ecc5c..0000000000 --- a/news/4520.fixed.md +++ /dev/null @@ -1 +0,0 @@ -(zipapp) Zipapps clean up extracted files even if killed during extraction. diff --git a/news/4533.fixed.md b/news/4533.fixed.md deleted file mode 100644 index a8f99a545f..0000000000 --- a/news/4533.fixed.md +++ /dev/null @@ -1,2 +0,0 @@ -(pypi) Allow uv lockfiles with dynamic-version workspace members to resolve -their dependencies in {obj}`pip.parse` ([#4533](https://github.com/bazel-contrib/rules_python/issues/4533)). diff --git a/news/current-py-cc-headers-dynamic-deps.fixed.md b/news/current-py-cc-headers-dynamic-deps.fixed.md deleted file mode 100644 index 7cab53dbc1..0000000000 --- a/news/current-py-cc-headers-dynamic-deps.fixed.md +++ /dev/null @@ -1,3 +0,0 @@ -(cc) {obj}`current_py_cc_headers` and {obj}`current_py_cc_headers_abi3` no -longer drop the Windows Python import libraries when used by a `cc_binary` with -`dynamic_deps`. diff --git a/news/windows-long-paths.fixed.md b/news/windows-long-paths.fixed.md deleted file mode 100644 index 960e328d09..0000000000 --- a/news/windows-long-paths.fixed.md +++ /dev/null @@ -1,5 +0,0 @@ -(binaries/tests) (Windows) {obj}`py_binary` and {obj}`py_test` work with -runfiles paths of 260 characters or more when `LongPathsEnabled` is off, which -is the default. Before, the venv created at runtime without the privilege to -create symlinks could be missing files, and the runfiles directory wasn't found, -so imports failed. diff --git a/python/private/current_py_cc_headers.bzl b/python/private/current_py_cc_headers.bzl index 38bd43c47a..7b10b61c86 100644 --- a/python/private/current_py_cc_headers.bzl +++ b/python/private/current_py_cc_headers.bzl @@ -56,7 +56,7 @@ cc_library( ) ``` -:::{versionchanged} VERSION_NEXT_PATCH +:::{versionchanged} 2.5.2 The Windows import libraries are no longer dropped by `cc_binary` with `dynamic_deps`. ::: @@ -98,7 +98,7 @@ cc_library( :::{versionadded} 1.7.0 ::: -:::{versionchanged} VERSION_NEXT_PATCH +:::{versionchanged} 2.5.2 The Windows import libraries are no longer dropped by `cc_binary` with `dynamic_deps`. :::