Skip to content

Commit 704ecdd

Browse files
authored
docs: doc version when RULES_PYTHON_ENABLE_PYSTAR was introduced (#2838)
While figuring out an upgrade from an old rules_python version, I had to look up when the environment variable first became available. Also note what version it defaulted to 1.
1 parent 1c35e4c commit 704ecdd

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/environment-variables.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,19 @@ When `1`, the rules_python will warn users about deprecated functionality that w
4646
be removed in a subsequent major `rules_python` version. Defaults to `0` if unset.
4747
:::
4848

49-
:::{envvar} RULES_PYTHON_ENABLE_PYSTAR
49+
::::{envvar} RULES_PYTHON_ENABLE_PYSTAR
5050

5151
When `1`, the rules_python Starlark implementation of the core rules is used
52-
instead of the Bazel-builtin rules. Note this requires Bazel 7+.
52+
instead of the Bazel-builtin rules. Note this requires Bazel 7+. Defaults
53+
to `1`.
54+
55+
:::{versionadded} 0.26.0
56+
Defaults to `0` if unspecified.
57+
:::
58+
:::{versionchanged} 0.40.0
59+
The default became `1` if unspecified
5360
:::
61+
::::
5462

5563
::::{envvar} RULES_PYTHON_EXTRACT_ROOT
5664

0 commit comments

Comments
 (0)