Skip to content

Commit 8a9cd71

Browse files
authored
chore: prepare 1.9.0 release (#3623)
Updating version markers and changelog for 1.9.0 release
1 parent c805941 commit 8a9cd71

File tree

10 files changed

+23
-23
lines changed

10 files changed

+23
-23
lines changed

CHANGELOG.md

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

50-
{#v0-0-0}
51-
## Unreleased
50+
{#v1-9-0}
51+
## [1.9.0] - 2026-02-21
5252

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

55-
{#v0-0-0-removed}
55+
{#v1-9-0-removed}
5656
### Removed
5757
* Nothing removed.
5858

59-
{#v0-0-0-changed}
59+
{#v1-9-0-changed}
6060
### Changed
6161
* **DEPRECATED: implicit zipapp support**
6262
* Implicit zipapp output of `py_binary`/`py_test` has been deprecated and
@@ -81,15 +81,15 @@ END_UNRELEASED_TEMPLATE
8181
`config_settings` attribute. NOTE: `enable_runfiles=true` will
8282
soon become **required for Windows**.
8383

84-
{#v0-0-0-fixed}
84+
{#v1-9-0-fixed}
8585
### Fixed
8686
* (runfiles) Fixed `CurrentRepository()` raising `ValueError` on Windows.
8787
([#3579](https://github.com/bazel-contrib/rules_python/issues/3579))
8888
* (tests) No more coverage warnings are being printed if there are no sources.
8989
([#2762](https://github.com/bazel-contrib/rules_python/issues/2762))
9090
* (gazelle) Ancestor `conftest.py` files are added in addition to sibling `conftest.py`.
9191
([#3497](https://github.com/bazel-contrib/rules_python/issues/3497)) Note
92-
that this behavior can be reverted to the pre-VERSION_NEXT_FEATURE behavior by setting the new
92+
that this behavior can be reverted to the pre-1.9.0 behavior by setting the new
9393
`python_include_ancestor_conftest` directive to `false`.
9494
* (pypi) `pip_parse` no longer silently drops PEP 508 URL-based requirements
9595
(`pkg @ https://...`) when `extract_url_srcs=False` (the default for
@@ -100,7 +100,7 @@ END_UNRELEASED_TEMPLATE
100100
([#3587](https://github.com/bazel-contrib/rules_python/issues/3587))
101101
* (binaries/tests) Stamped build data generated by Windows actions is readable
102102

103-
{#v0-0-0-added}
103+
{#v1-9-0-added}
104104
### Added
105105
* (binaries/tests) {obj}`--debugger`: allows specifying an extra dependency
106106
to add to binaries/tests for custom debuggers.
@@ -127,7 +127,7 @@ END_UNRELEASED_TEMPLATE
127127
* (gazelle) A new directive `python_include_ancestor_conftest` has been added.
128128
When `false`, ancestor `conftest` targets are not automatically added to
129129
{bzl:obj}`py_test` target dependencies. This `false` behavior is how things
130-
were in `rules_python` before VERSION_NEXT_FEATURE. The default is `true`, as the prior behavior
130+
were in `rules_python` before 1.9.0. The default is `true`, as the prior behavior
131131
was technically incorrect.
132132
([#3596](https://github.com/bazel-contrib/rules_python/pull/3596))
133133

@@ -2203,4 +2203,4 @@ Breaking changes:
22032203
* (pip) Create all_data_requirements alias
22042204
* Expose Python C headers through the toolchain.
22052205

2206-
[0.24.0]: https://github.com/bazel-contrib/rules_python/releases/tag/0.24.0
2206+
[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
@@ -62,7 +62,7 @@ Setting this flag adds the debugger dependency, but doesn't automatically set
6262
`PYTHONBREAKPOINT` to change `breakpoint()` behavior.
6363
:::
6464

65-
:::{versionadded} VERSION_NEXT_FEATURE
65+
:::{versionadded} 1.9.0
6666
:::
6767
::::
6868

gazelle/docs/directives.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ Detailed docs are not yet written.
753753
(directive-python-include-ancestor-conftest)=
754754
## `python_include_ancestor_conftest`
755755

756-
Version VERSION_NEXT_FEATURE includes a fix ({gh-pr}`3498`) for a long-standing issue
756+
Version 1.9.0 includes a fix ({gh-pr}`3498`) for a long-standing issue
757757
({gh-issue}`3497`) where ancestor `conftest.py` files were not automatically
758758
added as dependencies of {bzl:obj}`py_test` targets.
759759

@@ -762,7 +762,7 @@ Thus the `python_include_ancestor_conftest` directive controls this behavior.
762762
It defaults to `true`, which causes all ancestor `conftest.py` files to be
763763
included as dependencies for {bzl:obj}`py_test` targets.
764764

765-
Setting the directive to `false` reverts to the pre-VERSION_NEXT_FEATURE behavior.
765+
Setting the directive to `false` reverts to the pre-1.9.0 behavior.
766766

767767
For example, given this directory tree (not shown: intermediary `BUILD.bazel`
768768
files)

python/features.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def _features_typedef():
7979
8080
Whether the rules_python version has the `py_zipapp_*` rules
8181
82-
:::{versionadded} VERSION_NEXT_FEATURE
82+
:::{versionadded} 1.9.0
8383
::::
8484
"""
8585

python/private/py_exec_tools_info.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ may be removed.
5050
5151
The Python runtime to use for the exec configuration.
5252
53-
:::{versionadded} VERSION_NEXT_FEATURE
53+
:::{versionadded} 1.9.0
5454
5555
In prior versions, the equivalent can be obtained using:
5656
```

python/private/py_executable_info.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ rules provide it directly so that the runtime the binary original chose
2424
can be accessed.
2525
:::
2626
27-
:::{versionadded} VERSION_NEXT_FEATURE
27+
:::{versionadded} 1.9.0
2828
:::
2929
""",
3030
"build_data_file": """
@@ -38,7 +38,7 @@ A symlink to build_data.txt if stamping is enabled, otherwise None.
3838
Args that should be passed to the interpreter before regular args
3939
(e.g. `-X whatever`).
4040
41-
:::{versionadded} VERSION_NEXT_FEATURE
41+
:::{versionadded} 1.9.0
4242
:::
4343
""",
4444
"interpreter_path": """
@@ -75,7 +75,7 @@ The Bazel-executable-level entry point to the program, which handles Bazel-speci
7575
setup before running the file in {obj}`main`. May be None if a two-stage bootstrap
7676
implementation isn't being used.
7777
78-
:::{versionadded} VERSION_NEXT_FEATURE
78+
:::{versionadded} 1.9.0
7979
:::
8080
""",
8181
"venv_python_exe": """
@@ -84,7 +84,7 @@ implementation isn't being used.
8484
The `bin/python3` file within the venv this binary uses. May be None if venv
8585
mode is not enabled.
8686
87-
:::{versionadded} VERSION_NEXT_FEATURE
87+
:::{versionadded} 1.9.0
8888
:::
8989
""",
9090
},

python/private/zipapp/py_zipapp_rule.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ Output groups:
337337
the previous implicit zipapp functionality. Set `executable=False`
338338
and use the default output of the target instead.*
339339
340-
:::{versionadded} VERSION_NEXT_FEATURE
340+
:::{versionadded} 1.9.0
341341
:::
342342
""".lstrip()
343343

python/py_binary.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def py_binary(**attrs):
2828
* `srcs_version`: cannot be `PY2` or `PY2ONLY`
2929
* `tags`: May have special marker values added, if not already present.
3030
31-
:::{versionchanged} VERSION_NEXT_FEATURE
31+
:::{versionchanged} 1.9.0
3232
The `PYTHONBREAKPOINT` environment variable is inherited. Use in combination
3333
with {obj}`--debugger` to customize the debugger available and used.
3434
:::

python/zipapp/py_zipapp_binary.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ load("//python/private/zipapp:py_zipapp_rule.bzl", _py_zipapp_binary_rule = "py_
1212
def py_zipapp_binary(**kwargs):
1313
"""Builds a Python zipapp from a py_binary/py_test target.
1414
15-
:::{versionadded} VERSION_NEXT_FEATURE
15+
:::{versionadded} 1.9.0
1616
:::
1717
1818
Args:

python/zipapp/py_zipapp_test.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ load("//python/private/zipapp:py_zipapp_rule.bzl", _py_zipapp_test = "py_zipapp_
1212
def py_zipapp_test(**kwargs):
1313
"""Builds a Python zipapp from a py_binary/py_test target.
1414
15-
:::{versionadded} VERSION_NEXT_FEATURE
15+
:::{versionadded} 1.9.0
1616
:::
1717
1818
Args:

0 commit comments

Comments
 (0)