From 554238d5711a863dd86a14c5f5519626db62d5ea Mon Sep 17 00:00:00 2001 From: royshulman Date: Thu, 14 Nov 2024 23:19:57 +0200 Subject: [PATCH] fix: propagate `target_compatible_with` to `_py_env` when creating a test or binary python target --- py/defs.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/py/defs.bzl b/py/defs.bzl index fa250767..1c9d47f0 100644 --- a/py/defs.bzl +++ b/py/defs.bzl @@ -90,6 +90,7 @@ def _py_binary_or_test(name, rule, srcs, main, deps = [], resolutions = {}, **kw package_collisions = package_collisions, tags = ["manual"], testonly = kwargs.get("testonly", False), + target_compatible_with = kwargs.get("target_compatible_with", False), ) def py_binary(name, srcs = [], main = None, **kwargs):