diff --git a/CHANGELOG.md b/CHANGELOG.md index db173447ae..0615801885 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -84,6 +84,9 @@ END_UNRELEASED_TEMPLATE path separators; the bootstrap stub is now declared as a sibling of the `.exe` launcher ([#3789](https://github.com/bazel-contrib/rules_python/issues/3789)). +* Fix the forwarding of `target_compatible_with` from `compile_pip_requirements` + towards the underlying `*.update` target. + ([#3787](https://github.com/bazel-contrib/rules_python/pull/3787)) {#v0-0-0-added} diff --git a/python/private/pypi/pip_compile.bzl b/python/private/pypi/pip_compile.bzl index 28923005df..3ef2cdb39c 100644 --- a/python/private/pypi/pip_compile.bzl +++ b/python/private/pypi/pip_compile.bzl @@ -173,6 +173,7 @@ def pip_compile( name = name + ".update", env = env, python_version = kwargs.get("python_version", None), + target_compatible_with = kwargs.get("target_compatible_with", []), **attrs )