Skip to content

Commit daed352

Browse files
authored
chore: change the parse_all_requirements_files default value (#2389)
With this PR we are changing the defaults in the upcoming `0.39` version, and if all goes well, the release after that will be `1.0`. Work towards #1361
1 parent 2af0020 commit daed352

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ A brief description of the categories of changes:
3434
* 3.11.10
3535
* 3.12.7
3636
* 3.13.0
37+
* (pypi) The naming scheme for the `bzlmod` spoke repositories have changed as
38+
all of the given `requirements.txt` files are now parsed by `default`, to
39+
temporarily restore the behavior, you can use
40+
{bzl:obj}`pip.parse.extra_hub_aliases`, which will be removed or made noop in
41+
the future.
3742

3843
[20241016]: https://github.com/indygreg/python-build-standalone/releases/tag/20241016
3944

examples/bzlmod/MODULE.bazel.lock

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python/private/pypi/extension.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ find in case extra indexes are specified.
786786
default = True,
787787
),
788788
"parse_all_requirements_files": attr.bool(
789-
default = False,
789+
default = True,
790790
doc = """\
791791
A temporary flag to enable users to make `pip` extension result always
792792
the same independent of the whether transitive dependencies use {bzl:attr}`experimental_index_url` or not.

0 commit comments

Comments
 (0)