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
18 changes: 9 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@ END_UNRELEASED_TEMPLATE
-->


{#v0-0-0}
## Unreleased
{#v1-8-0}
## [1.8.0] - 2025-12-19

[0.0.0]: https://github.com/bazel-contrib/rules_python/releases/tag/0.0.0
[1.8.0]: https://github.com/bazel-contrib/rules_python/releases/tag/1.8.0

{#v0-0-0-known-issues}
{#v1-8-0-known-issues}
### Known Issues
* (gazelle) Windows support for the Gazelle plugin may be broken. See
[#3416](https://github.com/bazel-contrib/rules_python/issues/3416) for
details and possible workarounds.

{#v0-0-0-removed}
{#v1-8-0-removed}
### Removed
* (toolchain) Remove all of the python 3.8 toolchain support out of the box. Users need
to pass the `TOOL_VERSIONS` that include 3.8 toolchains or use the `bzlmod` APIs to add
Expand All @@ -74,7 +74,7 @@ END_UNRELEASED_TEMPLATE
the toolchains in the repository phase, ensure that you pass `-B` to the python interpreter.
([#2016](https://github.com/bazel-contrib/rules_python/issues/2016))

{#v0-0-0-changed}
{#v1-8-0-changed}
### Changed
* (toolchains) Use toolchains from the [20251031] release.
* (gazelle) Internally split modules mapping generation to be per-wheel for concurrency and caching.
Expand All @@ -88,7 +88,7 @@ END_UNRELEASED_TEMPLATE
* (gazelle deps) rules_go bumped from 0.55.1 to 0.59.0
* (gazelle deps) gazelle bumped from 0.36.0 to 0.47.0

{#v0-0-0-fixed}
{#v1-8-0-fixed}
### Fixed
* (gazelle) Remove {obj}`py_binary` targets with invalid `srcs`. This includes files
that are not generated or regular files.
Expand All @@ -109,7 +109,7 @@ END_UNRELEASED_TEMPLATE
* (core rules) For the system_python bootstrap, the runfiles root is added to
sys.path.

{#v0-0-0-added}
{#v1-8-0-added}
### Added
* (toolchains) `3.9.25` Python toolchain from [20251031] release.
* (toolchains) `3.13.10`, `3.14.1` Python toolchain from [20251202] release.
Expand Down Expand Up @@ -2065,4 +2065,4 @@ Breaking changes:
* (pip) Create all_data_requirements alias
* Expose Python C headers through the toolchain.

[0.24.0]: https://github.com/bazel-contrib/rules_python/releases/tag/0.24.0
[0.24.0]: https://github.com/bazel-contrib/rules_python/releases/tag/0.24.0
2 changes: 1 addition & 1 deletion python/private/py_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ When {obj}`--venv_site_packages=yes` is set, this helps inform which directories
treated as namespace packages and expect files from other targets to be contributed.
This allows optimizing the generation of symlinks to be cheaper at analysis time.

:::{versionadded} VERSION_NEXT_FEATURE
:::{versionadded} 1.8.0
:::
""",
),
Expand Down
2 changes: 1 addition & 1 deletion python/private/pypi/extension.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ a string `"{os}_{arch}"` as the value here. You could also use `"{os}_{arch}_fre
:::{include} /_includes/experimental_api.md
:::

:::{versionadded} VERSION_NEXT_FEATURE
:::{versionadded} 1.8.0
:::
""",
),
Expand Down
2 changes: 1 addition & 1 deletion python/private/pypi/hub_builder.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def _pip_parse(self, module_ctx, pip_attr):
python_version = full_python_version,
config = self._config,
# TODO @aignas 2025-12-09: flip or part to default to 'os_arch' after
# VERSION_NEXT_FEATURE is released and set the default of the `target_platforms` attribute
# 1.8.0 is released and set the default of the `target_platforms` attribute
# to `{os}_{arch}`.
target_platforms = pip_attr.target_platforms or ([] if default_cross_setup else ["{os}_{arch}"]),
)
Expand Down
2 changes: 1 addition & 1 deletion python/private/python.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ Then the python interpreter will be available as `my_python_name`.
"ignore_root_user_error": attr.bool(
default = True,
doc = """\
:::{versionchanged} VERSION_NEXT_FEATURE
:::{versionchanged} 1.8.0
Noop, will be removed in the next major release.
:::
""",
Expand Down