Skip to content

Commit 5c32fa9

Browse files
chore: prepare 2.1 release (#3829)
Update changelog and version markers --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 102b501 commit 5c32fa9

9 files changed

Lines changed: 21 additions & 21 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,19 @@ BEGIN_UNRELEASED_TEMPLATE
4747
END_UNRELEASED_TEMPLATE
4848
-->
4949

50-
{#v0-0-0}
51-
## Unreleased
50+
{#v2-1-0}
51+
## [2.1.0] - 2026-06-17
5252

53-
[0.0.0]: https://github.com/bazel-contrib/rules_python/releases/tag/0.0.0
53+
[2.1.0]: https://github.com/bazel-contrib/rules_python/releases/tag/2.1.0
5454

55-
{#v0-0-0-removed}
55+
{#v2-1-0-removed}
5656
### Removed
5757
* (build_data) Removed CONFIG_MODE from build data
5858
([#3793](https://github.com/bazel-contrib/rules_python/issues/3793)).
5959
* (coverage) Support for python 3.8 has been dropped from the bundled
6060
`coverage.py` wheel set, since coverage.py 7.6.2 dropped it.
6161

62-
{#v0-0-0-changed}
62+
{#v2-1-0-changed}
6363
### Changed
6464
* (bzlmod) How default runtimes are registered has changed to use a manifest
6565
of SHAs and URLs. `TOOL_VERSIONS` in `python/versions.bzl` is now empty under
@@ -75,7 +75,7 @@ END_UNRELEASED_TEMPLATE
7575
platform, a warning is now printed instead of silently producing an empty
7676
coverage report.
7777

78-
{#v0-0-0-fixed}
78+
{#v2-1-0-fixed}
7979
### Fixed
8080
* (gazelle) `py_library` and `py_test` targets with missing source files can now be
8181
removed by Gazelle ([#3375](https://github.com/bazel-contrib/rules_python/issues/3375)).
@@ -117,7 +117,7 @@ END_UNRELEASED_TEMPLATE
117117
* (coverage) handle nested coverage collection
118118
([#3823](https://github.com/bazel-contrib/rules_python/pull/3823))
119119

120-
{#v0-0-0-added}
120+
{#v2-1-0-added}
121121
### Added
122122
* (toolchain) Added {obj}`PyRuntimeInfo.interpreter_files_to_run` so action
123123
consumers can execute an in-build runtime interpreter with its runfiles.
@@ -2475,4 +2475,4 @@ Breaking changes:
24752475
* (pip) Create all_data_requirements alias
24762476
* Expose Python C headers through the toolchain.
24772477

2478-
[0.24.0]: https://github.com/bazel-contrib/rules_python/releases/tag/0.24.0
2478+
[0.24.0]: https://github.com/bazel-contrib/rules_python/releases/tag/0.24.0

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ is created.
375375

376376
## Removed Flags
377377

378-
:::{versionremoved} VERSION_NEXT_FEATURE
378+
:::{versionremoved} 2.1.0
379379
The following flags were removed:
380380

381381
* `pip_whl`

docs/environment-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ When `1`, debug information about coverage behavior is printed to stderr.
151151

152152
## Removed Environment Variables
153153

154-
:::{versionremoved} VERSION_NEXT_FEATURE
154+
:::{versionremoved} 2.1.0
155155
The following environment variables were removed:
156156

157157
* `RULES_PYTHON_ENABLE_PYSTAR`: Used to enable the Starlark implementation of

docs/toolchains.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ Notes:
373373
that match supported platforms.
374374
- Only runtimes matching known platforms in `rules_python` will be registered.
375375

376-
:::{versionadded} VERSION_NEXT_FEATURE
376+
:::{versionadded} 2.1.0
377377
Added support for registering runtimes from a manifest using
378378
`add_runtime_manifest_files`, `add_runtime_manifest_urls`, and
379379
`runtime_manifest_sha` in `python.override`.

gazelle/docs/directives.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ that are relative to the current package.
681681
{gh-pr}`3014`
682682
:::
683683

684-
:::{versionchanged} VERSION_NEXT_FEATURE
684+
:::{versionchanged} 2.1.0
685685
The default was changed from `false` to `true`. {gh-pr}`3753`
686686
:::
687687

@@ -725,7 +725,7 @@ not write `pyi_deps`.
725725
{gh-pr}`3356`
726726
:::
727727

728-
:::{versionchanged} VERSION_NEXT_FEATURE
728+
:::{versionchanged} 2.1.0
729729
The default was changed from `false` to `true`. {gh-pr}`3753`
730730
:::
731731

python/private/py_executable_info.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Only used with Windows for files that would have used `declare_symlink()`
8888
to create relative symlinks. These may overlap with paths in runfiles; it's
8989
up to the consumer to determine how to handle such overlaps.
9090
91-
:::{versionadded} VERSION_NEXT_FEATURE
91+
:::{versionadded} 2.1.0
9292
:::
9393
""",
9494
"venv_interpreter_runfiles": """

python/private/py_runtime_info.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ interpreter in an action should use this field so Bazel can stage the
261261
interpreter together with its runfiles. This is `None` for platform runtimes
262262
using `interpreter_path` and for file-only interpreter targets.
263263
264-
:::{versionadded} VERSION_NEXT_FEATURE
264+
:::{versionadded} 2.1.0
265265
:::
266266
""",
267267
"interpreter_path": """

python/private/python.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ Example:
12311231
[Manifest file format documentation](https://rules-python.readthedocs.io/en/latest/toolchains.html#manifest-file-format)
12321232
:::
12331233
1234-
:::{versionadded} VERSION_NEXT_FEATURE
1234+
:::{versionadded} 2.1.0
12351235
:::
12361236
""",
12371237
),
@@ -1250,7 +1250,7 @@ Note that `/latest/` can be used in place of a specific release date (e.g., `202
12501250
[Manifest file format documentation](https://rules-python.readthedocs.io/en/latest/toolchains.html#manifest-file-format)
12511251
:::
12521252
1253-
:::{versionadded} VERSION_NEXT_FEATURE
1253+
:::{versionadded} 2.1.0
12541254
:::
12551255
""",
12561256
),
@@ -1274,7 +1274,7 @@ These settings are appended to the `target_settings` of all toolchains
12741274
registered by the extension, including any that already have settings
12751275
from `python.single_version_platform_override`.
12761276
1277-
:::{versionadded} VERSION_NEXT_FEATURE
1277+
:::{versionadded} 2.1.0
12781278
:::
12791279
""",
12801280
),
@@ -1328,7 +1328,7 @@ The values in this mapping override the default values and do not replace them.
13281328
doc = """
13291329
SHA256 hash for the add_runtime_manifest_urls.
13301330
1331-
:::{versionadded} VERSION_NEXT_FEATURE
1331+
:::{versionadded} 2.1.0
13321332
:::
13331333
""",
13341334
),

python/uv/private/lock.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ shortest directory path is selected. This makes `uv` read
306306
`[tool.uv]` settings (e.g. `no-build-isolation`,
307307
`exclude-dependencies`) from that `pyproject.toml`.
308308
309-
:::{versionadded} VERSION_NEXT_FEATURE
309+
:::{versionadded} 2.1.0
310310
:::
311311
""",
312312
),
@@ -529,7 +529,7 @@ def lock(
529529
`exclude-dependencies` from that `pyproject.toml`. If no
530530
`pyproject.toml` is in `srcs` and no `project` is given, the
531531
Bazel package directory is used as fallback.
532-
{versionadded}VERSION_NEXT_FEATURE
532+
{versionadded} 2.1.0
533533
python_version: {type}`str | None` the python_version to transition to
534534
when locking the requirements. Defaults to the default python version
535535
configured by the {obj}`python` module extension.

0 commit comments

Comments
 (0)