File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1- ---
21name : mypy
32
43on :
Original file line number Diff line number Diff line change @@ -81,6 +81,13 @@ Unreleased changes template.
8181 [ PR #2746 ] ( https://github.com/bazel-contrib/rules_python/pull/2746 ) .
8282* (rules) {attr}` py_binary.srcs ` and {attr}` py_test.srcs ` is no longer mandatory when
8383 ` main_module ` is specified (for ` --bootstrap_impl=script ` )
84+ * (pypi) From now on the ` Requires-Dist ` from the wheel metadata is analysed in
85+ the loading phase instead of repository rule phase giving better caching
86+ performance when the target platforms are changed (e.g. target python
87+ versions). This is preparatory work for stabilizing the cross-platform wheel
88+ support. From now on the usage of ` experimental_target_platforms ` should be
89+ avoided and the ` requirements_by_platform ` values should be instead used to
90+ specify the target platforms for the given dependencies.
8491
8592[ 20250317 ] : https://github.com/astral-sh/python-build-standalone/releases/tag/20250317
8693
Original file line number Diff line number Diff line change @@ -123,6 +123,9 @@ Warning:
123123 "experimental_target_platforms" : attr .string_list (
124124 default = [],
125125 doc = """\
126+ *NOTE*: This will be removed in the next major version, so please consider migrating
127+ to `bzlmod` and rely on {attr}`pip.parse.requirements_by_platform` for this feature.
128+
126129A list of platforms that we will generate the conditional dependency graph for
127130cross platform wheels by parsing the wheel metadata. This will generate the
128131correct dependencies for packages like `sphinx` or `pylint`, which include
You can’t perform that action at this time.
0 commit comments