Skip to content

Commit 299f60f

Browse files
committed
Merge branch 'main' of https://github.com/bazel-contrib/rules_python into feat.default.bootstrap.script
2 parents 6b7c414 + abdf560 commit 299f60f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Unreleased changes template.
7272
* (toolchains) Previously [#2636](https://github.com/bazel-contrib/rules_python/pull/2636)
7373
changed the semantics of `ignore_root_user_error` from "ignore" to "warning". This is now
7474
flipped back to ignoring the issue, and will only emit a warning when the attribute is set
75-
`False`.
75+
`False`.
7676
* (pypi) The PyPI extension will no longer write the lock file entries as the
7777
extension has been marked reproducible.
7878
Fixes [#2434](https://github.com/bazel-contrib/rules_python/issues/2434).
@@ -104,6 +104,8 @@ Unreleased changes template.
104104
* (toolchains) Ensure temporary `.pyc` and `.pyo` files are also excluded from the interpreters repository files.
105105
* (pypi) Run interpreter version call in isolated mode, to ensure it's not affected by userland environment variables, such as `PYTHONPATH`.
106106
* (packaging) An empty `requires_file` is treated as if it were omitted, resulting in a valid `METADATA` file.
107+
* (rules) py_wheel and sphinxdocs rules now propagate `target_compatible_with` to all targets they create.
108+
[PR #2788](https://github.com/bazel-contrib/rules_python/pull/2788).
107109
* Fixes when using {obj}`--bootstrap_impl=script`:
108110
* `compile_pip_requirements` is now works with it
109111
* The `sys._base_executable` value will reflect the underlying interpreter,

python/private/util.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def copy_propagating_kwargs(from_kwargs, into_kwargs = None):
4242
into_kwargs = {}
4343

4444
# Include tags because people generally expect tags to propagate.
45-
for attr in ("testonly", "tags", "compatible_with", "restricted_to"):
45+
for attr in ("testonly", "tags", "compatible_with", "restricted_to", "target_compatible_with"):
4646
if attr in from_kwargs and attr not in into_kwargs:
4747
into_kwargs[attr] = from_kwargs[attr]
4848
return into_kwargs

0 commit comments

Comments
 (0)