Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 0 additions & 5 deletions news/3792.fixed.md

This file was deleted.

4 changes: 0 additions & 4 deletions news/4394.fixed.md

This file was deleted.

2 changes: 0 additions & 2 deletions news/4491.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion news/4520.fixed.md

This file was deleted.

2 changes: 0 additions & 2 deletions news/4533.fixed.md

This file was deleted.

3 changes: 0 additions & 3 deletions news/current-py-cc-headers-dynamic-deps.fixed.md

This file was deleted.

5 changes: 0 additions & 5 deletions news/windows-long-paths.fixed.md

This file was deleted.

4 changes: 2 additions & 2 deletions python/private/current_py_cc_headers.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
:::
Expand Down Expand Up @@ -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`.
:::
Expand Down
Loading