File tree 6 files changed +197
-437
lines changed
6 files changed +197
-437
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ Unreleased changes template.
68
68
{bzl: obj }` python_register_toolchains ` and
69
69
{bzl: obj }` python_register_multi_toolchains ` macros or the {bzl: obj }` python `
70
70
bzlmod extension.
71
+ * (bzlmod) ` pip.parse.parse_all_requirements_files ` attribute has been removed.
72
+ See notes in the previous versions about what to do.
71
73
72
74
Other changes:
73
75
* (python_repository) Start honoring the ` strip_prefix ` field for ` zstd ` archives.
@@ -214,7 +216,7 @@ Other changes:
214
216
* (bzlmod) The extension evaluation has been adjusted to always generate the
215
217
same lock file irrespective if ` experimental_index_url ` is set by any module
216
218
or not. To opt into this behavior, set
217
- {bzl : obj } ` pip.parse.parse_all_requirements_files ` , which will become the
219
+ ` pip.parse.parse_all_requirements_files ` , which will become the
218
220
default in future releases leading up to ` 1.0.0 ` . Fixes
219
221
[ #2268 ] ( https://github.com/bazelbuild/rules_python/issues/2268 ) . A known
220
222
issue is that it may break ` bazel query ` and in these use cases it is
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ register_toolchains("@pythons_hub//:all")
54
54
#####################
55
55
# Install twine for our own runfiles wheel publishing and allow bzlmod users to use it.
56
56
57
- pip = use_extension ("//python/private/pypi :pip.bzl" , "pip_internal " )
57
+ pip = use_extension ("//python/extensions :pip.bzl" , "pip " )
58
58
pip .parse (
59
59
# NOTE @aignas 2024-10-26: We have an integration test that depends on us
60
60
# being able to build sdists for this hub, so explicitly set this to False.
Original file line number Diff line number Diff line change @@ -231,9 +231,6 @@ pip.parse(
231
231
"host" ,
232
232
],
233
233
hub_name = "pip" ,
234
- # Parse all requirements files for the same lock file on all OSes, this will
235
- # become the default with 1.0 release
236
- parse_all_requirements_files = True ,
237
234
python_version = "3.10" ,
238
235
# The requirements files for each platform that we want to support.
239
236
requirements_by_platform = {
You can’t perform that action at this time.
0 commit comments