Skip to content

Commit 323cb13

Browse files
committed
extra tidyup and fixes
1 parent e6f09b5 commit 323cb13

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ END_UNRELEASED_TEMPLATE
7373
off use `RULES_PYTHON_ENABLE_PIPSTAR=0` environment variable. If you do, please
7474
add a comment to
7575
[#2949](https://github.com/bazel-contrib/rules_python/issues/2949).
76+
With this PR we are deprecating {obj}`pip.parse.experimental_target_platforms` and
77+
{obj}`pip_repository.experimental_target_platforms`. It will be removed in the version.
7678

7779
{#v0-0-0-fixed}
7880
### Fixed

python/pip_install/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ bzl_library(
2424
deps = [
2525
"//python/private/pypi:package_annotation_bzl",
2626
"//python/private/pypi:pip_repository_bzl",
27-
"//python/private/pypi:whl_config_library_bzl",
27+
"//python/private/pypi:whl_config_repository_bzl",
2828
"//python/private/pypi:whl_library_bzl",
2929
],
3030
)

python/private/pypi/BUILD.bazel

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,15 @@ bzl_library(
408408
],
409409
)
410410

411+
bzl_library(
412+
name = "whl_config_repository_bzl",
413+
srcs = ["whl_config_repository.bzl"],
414+
deps = [
415+
":generate_group_library_build_bazel_bzl",
416+
"//python/private:text_util_bzl",
417+
],
418+
)
419+
411420
bzl_library(
412421
name = "whl_config_setting_bzl",
413422
srcs = ["whl_config_setting.bzl"],

python/private/pypi/attrs.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ Special values: `host` (for generating deps for the host platform only) and
152152
153153
NOTE: this is not for cross-compiling Python wheels but rather for parsing the `whl` METADATA correctly.
154154
""",
155+
deprecated = "Use pipstar instead of this feature",
155156
),
156157
"extra_hub_aliases": attr.string_list_dict(
157158
doc = """\

0 commit comments

Comments
 (0)