chore: prepare for 1.5 release (#2973)
Update version markers with upcoming version.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e8fa175..57001ca 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -47,12 +47,12 @@
END_UNRELEASED_TEMPLATE
-->
-{#v0-0-0}
-## Unreleased
+{#1-5-0}
+## [1.5.0] - 2025-06-11
-[0.0.0]: https://github.com/bazel-contrib/rules_python/releases/tag/0.0.0
+[1.5.0]: https://github.com/bazel-contrib/rules_python/releases/tag/1.5.0
-{#v0-0-0-changed}
+{#1-5-0-changed}
### Changed
* (rules) On Windows, {obj}`--bootstrap_impl=system_python` is forced. This
@@ -66,7 +66,7 @@
`PyInfo.site_packages_symlinks`
* (deps) Updating setuptools to patch CVE-2025-47273.
-{#v0-0-0-fixed}
+{#1-5-0-fixed}
### Fixed
* (rules) PyInfo provider is now advertised by py_test, py_binary, and py_library;
@@ -93,7 +93,7 @@
by platform even though the same version is used. Fixes [#2648](https://github.com/bazel-contrib/rules_python/issues/2648).
* (pypi) `compile_pip_requirements` test rule works behind the proxy
-{#v0-0-0-added}
+{#1-5-0-added}
### Added
* Repo utilities `execute_unchecked`, `execute_checked`, and `execute_checked_stdout` now
support `log_stdout` and `log_stderr` keyword arg booleans. When these are `True`
@@ -115,7 +115,7 @@
Useful when an intermediate dependency needs to be upgraded to pull in
security patches.
-{#v0-0-0-removed}
+{#1-5-0-removed}
### Removed
* Nothing removed.
diff --git a/docs/api/rules_python/python/config_settings/index.md b/docs/api/rules_python/python/config_settings/index.md
index 7fe2588..989ebf1 100644
--- a/docs/api/rules_python/python/config_settings/index.md
+++ b/docs/api/rules_python/python/config_settings/index.md
@@ -167,7 +167,7 @@
This flag points to a target providing {obj}`EnvMarkerInfo`, which determines
the values used when environment markers are resolved at build time.
-:::{versionadded} VERSION_NEXT_FEATURE
+:::{versionadded} 1.5.0
:::
::::
diff --git a/docs/environment-variables.md b/docs/environment-variables.md
index 26c1710..8a51bcb 100644
--- a/docs/environment-variables.md
+++ b/docs/environment-variables.md
@@ -65,7 +65,7 @@
When `1`, the rules_python Starlark implementation of the pypi/pip integration is used
instead of the legacy Python scripts.
-:::{versionadded} VERSION_NEXT_FEATURE
+:::{versionadded} 1.5.0
:::
::::
diff --git a/docs/toolchains.md b/docs/toolchains.md
index be85a24..668a458 100644
--- a/docs/toolchains.md
+++ b/docs/toolchains.md
@@ -305,7 +305,7 @@
{flag}`--py_linux_libc` and {flag}`--py_freethreaded`, among others.
:::
-:::{versionadded} VERSION_NEXT_FEATURE
+:::{versionadded} 1.5.0
Added support for custom platform names, `target_compatible_with`, and
`target_settings` with `single_version_platform_override`.
:::
diff --git a/python/features.bzl b/python/features.bzl
index b678a45..e3d1ffd 100644
--- a/python/features.bzl
+++ b/python/features.bzl
@@ -35,7 +35,7 @@
True if the `PyInfo.venv_symlinks` field is available.
- :::{versionadded} VERSION_NEXT_FEATURE
+ :::{versionadded} 1.5.0
:::
::::
diff --git a/python/private/local_runtime_toolchains_repo.bzl b/python/private/local_runtime_toolchains_repo.bzl
index 004ca66..8ef5ee9 100644
--- a/python/private/local_runtime_toolchains_repo.bzl
+++ b/python/private/local_runtime_toolchains_repo.bzl
@@ -96,7 +96,7 @@
See the [Local toolchains] docs for examples and further information.
-:::{versionadded} VERSION_NEXT_FEATURE
+:::{versionadded} 1.5.0
:::
""",
),
@@ -145,7 +145,7 @@
instead of constraints.
:::
-:::{versionadded} VERSION_NEXT_FEATURE
+:::{versionadded} 1.5.0
:::
""",
),
@@ -183,7 +183,7 @@
instead of `config_settings`.
:::
-:::{versionadded} VERSION_NEXT_FEATURE
+:::{versionadded} 1.5.0
:::
""",
),
diff --git a/python/private/py_info.bzl b/python/private/py_info.bzl
index 17c5e4e..31df5cf 100644
--- a/python/private/py_info.bzl
+++ b/python/private/py_info.bzl
@@ -312,7 +312,7 @@
:::{include} /_includes/experimental_api.md
:::
-:::{versionadded} VERSION_NEXT_FEATURE
+:::{versionadded} 1.5.0
:::
""",
},
diff --git a/python/private/py_library.bzl b/python/private/py_library.bzl
index e727694..24adb5f 100644
--- a/python/private/py_library.bzl
+++ b/python/private/py_library.bzl
@@ -97,7 +97,7 @@
:::{versionadded} 1.4.0
:::
-:::{versionchanged} VERSION_NEXT_FEATURE
+:::{versionchanged} 1.5.0
The topological order has been removed and if 2 different versions of the same PyPI
package are observed, the behaviour has no guarantees except that it is deterministic
and that only one package version will be included.
diff --git a/python/private/py_runtime_info.bzl b/python/private/py_runtime_info.bzl
index d2ae17e..efe14b2 100644
--- a/python/private/py_runtime_info.bzl
+++ b/python/private/py_runtime_info.bzl
@@ -334,7 +334,7 @@
interpreter. This typically requires the Python version to be known at
build-time and match at runtime.
-:::{versionadded} VERSION_NEXT_FEATURE
+:::{versionadded} 1.5.0
:::
""",
"zip_main_template": """
diff --git a/python/private/py_runtime_rule.bzl b/python/private/py_runtime_rule.bzl
index 6dadcfe..861014e 100644
--- a/python/private/py_runtime_rule.bzl
+++ b/python/private/py_runtime_rule.bzl
@@ -360,7 +360,7 @@
See {obj}`PyRuntimeInfo.supports_build_time_venv` for docs.
-:::{versionadded} VERSION_NEXT_FEATURE
+:::{versionadded} 1.5.0
:::
""",
default = True,
diff --git a/python/private/pypi/env_marker_info.bzl b/python/private/pypi/env_marker_info.bzl
index b483436..c3c5ec6 100644
--- a/python/private/pypi/env_marker_info.bzl
+++ b/python/private/pypi/env_marker_info.bzl
@@ -8,7 +8,7 @@
The {obj}`--//python/config_settings:pip_env_marker_config` flag.
:::
-:::{versionadded} VERSION_NEXT_FEATURE
+:::{versionadded} 1.5.0
""",
fields = {
"env": """
diff --git a/python/private/python.bzl b/python/private/python.bzl
index 8e23668..6eb8a37 100644
--- a/python/private/python.bzl
+++ b/python/private/python.bzl
@@ -1240,7 +1240,7 @@
Docs for [Registering custom runtimes]
:::
-:::{{versionadded}} VERSION_NEXT_FEATURE
+:::{{versionadded}} 1.5.0
:::
""",
),
@@ -1265,7 +1265,7 @@
Docs for [Registering custom runtimes]
:::
-:::{{versionadded}} VERSION_NEXT_FEATURE
+:::{{versionadded}} 1.5.0
:::
""",
),
@@ -1288,7 +1288,7 @@
`target_settings`, `os_name`, and `arch` should be specified so the toolchain is
only used when appropriate.
-:::{{versionchanged}} VERSION_NEXT_FEATURE
+:::{{versionchanged}} 1.5.0
Arbitrary platform strings allowed.
:::
""".format(
@@ -1320,7 +1320,7 @@
Docs for [Registering custom runtimes]
:::
-:::{{versionadded}} VERSION_NEXT_FEATURE
+:::{{versionadded}} 1.5.0
:::
""",
),
@@ -1334,7 +1334,7 @@
Docs for [Registering custom runtimes]
:::
-:::{{versionadded}} VERSION_NEXT_FEATURE
+:::{{versionadded}} 1.5.0
:::
""",
),