Skip to content

Commit ee0acbd

Browse files
Prepare release v2.2.0 (bazel-contrib#3874)
Work towards bazel-contrib#3867 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 9af23e5 commit ee0acbd

18 files changed

Lines changed: 47 additions & 31 deletions

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,45 @@ Unreleased changes are tracked as individual files in the [news/](./news)
2929
directory, or view the [latest generated
3030
changelog](https://rules-python.readthedocs.io/en/latest/changelog.html).
3131

32+
{#v2-2-0}
33+
## [2.2.0] - 2026-06-30
34+
35+
[2.2.0]: https://github.com/bazel-contrib/rules_python/releases/tag/2.2.0
36+
37+
{#v2-2-0-changed}
38+
### Changed
39+
* Renamed most public bzl_library targets from `{foo}_bzl` to `{foo}` to follow
40+
gazelle naming conventions. Deprecated aliases are left for backwards
41+
compatibility.
42+
* (binaries/tests) Added a deprecation warning for targets relying on implicit `__init__.py` creation.
43+
44+
{#v2-2-0-fixed}
45+
### Fixed
46+
* Fixed a flaky error on Windows 2022 when looking up the win32 version during
47+
site initialization by retrying the lookup
48+
([#3721](https://github.com/bazel-contrib/rules_python/issues/3721)).
49+
* (coverage) Skip lcov report when no data was collected.
50+
* (pypi) Fixed `experimental_index_url` checking truthiness before envsubst
51+
expansion.
52+
* (rules) Fixed venv output paths for `py_binary` and `py_test` targets whose
53+
names contain path separators so distinct targets with the same basename no
54+
longer share the same venv output directory.
55+
56+
{#v2-2-0-added}
57+
### Added
58+
* Added {bzl:obj}`features.loadable_symbols` to allow detecting public symbols
59+
exported by bzl files.
60+
* Exposed {bzl:obj}`VenvSymlinkEntry` and {bzl:obj}`VenvSymlinkKind` in
61+
{bzl:target}`//python:py_info.bzl`.
62+
* (pypi) Added `@pypi` repo: a unified hub of `pip.parse` hubs.
63+
* (uv) Support for basic `uv.lock` generation via the `lock` rule
64+
and basic support for importing the `uv.lock` file itself. Since this
65+
may have bugs, please report this by creating new tickets.
66+
Work towards [#2787](https://github.com/bazel-contrib/rules_python/issues/2787)
67+
and [#1975](https://github.com/bazel-contrib/rules_python/issues/1975).
68+
69+
70+
3271
{#v2-1-0}
3372
## [2.1.0] - 2026-06-17
3473

docs/api/rules_python/python/config_settings/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ Values:
362362
specified concrete PyPI hub (corresponding to a
363363
{obj}`pip.parse.hub_name` value).
364364

365-
:::{versionadded} VERSION_NEXT_FEATURE
365+
:::{versionadded} 2.2.0
366366
:::
367367
::::
368368

docs/environment-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ a warning is printed indicating that the renaming occurred. If not set (defaulti
126126
to `0`), a warning is printed advising to rename the hub, and the collision
127127
is not resolved.
128128

129-
:::{versionadded} VERSION_NEXT_FEATURE
129+
:::{versionadded} 2.2.0
130130
:::
131131

132132
:::

docs/pypi/download.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ downloading the same wheels numerous times.
5353
(unified-pypi-hub)=
5454
## Unified `@pypi` Hub for Multi-Hub Configurations
5555

56-
:::{versionadded} VERSION_NEXT_FEATURE
56+
:::{versionadded} 2.2.0
5757
Unified `@pypi` hub repository for Bzlmod multi-hub configurations.
5858
:::
5959

news/2945.changed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/3785.added.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

news/3828.fixed.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

news/3832.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/3837.added.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/expose-venv-symlink.added.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)