Skip to content

Commit 3c3e0be

Browse files
authored
revert(pypi): revert the default for pipstar (#3373)
A user mentioned that flipping the pipstar default caused a regression in their setup in [this comment]. Until we have a better understanding and a regression test for that, we should revert the flip. Adjusted the CHANGELOG notes for this. Related to #2949 [this comment]: #2949 (comment)
1 parent 39bd4d8 commit 3c3e0be

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ END_UNRELEASED_TEMPLATE
7575
* (toolchains) `py_runtime` and `PyRuntimeInfo` reject Python 2 settings.
7676
Setting `py_runtime.python_version = "PY2"` or non-None
7777
`PyRuntimeInfo.py2_runtime` is an error.
78-
* (pypi) `pipstar` flag has been flipped to be enabled by default, to turn it
79-
off use `RULES_PYTHON_ENABLE_PIPSTAR=0` environment variable. If you do, please
78+
* (pypi) `pipstar` flag has been implemented for `WORKSPACE` and can be flipped to be enabled using `RULES_PYTHON_ENABLE_PIPSTAR=1` environment variable. If you do, please
8079
add a comment to
81-
[#2949](https://github.com/bazel-contrib/rules_python/issues/2949).
80+
[#2949](https://github.com/bazel-contrib/rules_python/issues/2949) if you run into any
81+
problems.
8282
With this release we are deprecating {obj}`pip.parse.experimental_target_platforms` and
8383
{obj}`pip_repository.experimental_target_platforms`. For users using `WORKSPACE` and
8484
vendoring the `requirements.bzl` file, please re-vendor so that downstream is unaffected

python/private/internal_config_repo.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ load("//python/private:text_util.bzl", "render")
2222
load(":repo_utils.bzl", "repo_utils")
2323

2424
_ENABLE_PIPSTAR_ENVVAR_NAME = "RULES_PYTHON_ENABLE_PIPSTAR"
25-
_ENABLE_PIPSTAR_DEFAULT = "1"
25+
_ENABLE_PIPSTAR_DEFAULT = "0"
2626
_ENABLE_DEPRECATION_WARNINGS_ENVVAR_NAME = "RULES_PYTHON_DEPRECATION_WARNINGS"
2727
_ENABLE_DEPRECATION_WARNINGS_DEFAULT = "0"
2828

0 commit comments

Comments
 (0)