From 36ab329f959c837eb25b56f53848253a81b9ab15 Mon Sep 17 00:00:00 2001 From: Ignas Anikevicius <240938+aignas@users.noreply.github.com> Date: Sun, 5 Oct 2025 13:52:11 +0900 Subject: [PATCH 1/2] docs(pipstar): add more docs to make it ready for release --- CHANGELOG.md | 3 ++- docs/environment-variables.md | 3 +++ docs/pypi/download.md | 5 ----- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc59e387ee..7cc2646f0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -81,7 +81,8 @@ END_UNRELEASED_TEMPLATE With this release we are deprecating {obj}`pip.parse.experimental_target_platforms` and {obj}`pip_repository.experimental_target_platforms`. For users using `WORKSPACE` and vendoring the `requirements.bzl` file, please re-vendor so that downstream is unaffected - when the APIs get removed. + when the APIs get removed. If you need to customize the way the dependencies get + evaluated, see [our docs](pypi/download.md) on customizing `Requires-Dist` resolution. {#v0-0-0-fixed} ### Fixed diff --git a/docs/environment-variables.md b/docs/environment-variables.md index 4913e329e4..f0cf777a56 100644 --- a/docs/environment-variables.md +++ b/docs/environment-variables.md @@ -71,6 +71,9 @@ instead of the legacy Python scripts. :::{versionadded} 1.5.0 ::: +:::{versionchanged} VERSION_NEXT_FEATURE +Flipped to be enabled by default. +::: :::: ::::{envvar} RULES_PYTHON_EXTRACT_ROOT diff --git a/docs/pypi/download.md b/docs/pypi/download.md index 7f4e205d84..c40f2d4347 100644 --- a/docs/pypi/download.md +++ b/docs/pypi/download.md @@ -168,11 +168,6 @@ available on the PyPI index that you use. ### Customizing `Requires-Dist` resolution -:::{note} -Currently this is disabled by default, but you can turn it on using -{envvar}`RULES_PYTHON_ENABLE_PIPSTAR` environment variable. -::: - In order to understand what dependencies to pull for a particular package, `rules_python` parses the `whl` file [`METADATA`][metadata]. Packages can express dependencies via `Requires-Dist`, and they can add conditions using From 79941c94c4696ae5eeea4af6b8e2eba0fb06d731 Mon Sep 17 00:00:00 2001 From: Ignas Anikevicius <240938+aignas@users.noreply.github.com> Date: Sun, 5 Oct 2025 21:14:32 +0900 Subject: [PATCH 2/2] update the link --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cc2646f0c..002a57db2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -82,7 +82,7 @@ END_UNRELEASED_TEMPLATE {obj}`pip_repository.experimental_target_platforms`. For users using `WORKSPACE` and vendoring the `requirements.bzl` file, please re-vendor so that downstream is unaffected when the APIs get removed. If you need to customize the way the dependencies get - evaluated, see [our docs](pypi/download.md) on customizing `Requires-Dist` resolution. + evaluated, see [our docs](/pypi/download.html#customizing-requires-dist-resolution) on customizing `Requires-Dist` resolution. {#v0-0-0-fixed} ### Fixed