From 9427b0680c03443d21aaedea03d01f88446aef98 Mon Sep 17 00:00:00 2001 From: ahmadalguydi Date: Wed, 5 Aug 2026 17:46:07 +0300 Subject: [PATCH 1/3] fix: generate publish wheels for target platforms --- MODULE.bazel | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MODULE.bazel b/MODULE.bazel index 1c2042152e..d07a0f1508 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -69,6 +69,11 @@ pip = use_extension("//python/extensions:pip.bzl", "pip") pip.parse( hub_name = "rules_python_publish_deps", python_version = "3.11", + target_platforms = [ + "linux_x86_64", + "linux_aarch64", + "osx_aarch64", + ], requirements_by_platform = { "//tools/publish:requirements_darwin.txt": "osx_*", "//tools/publish:requirements_linux.txt": "linux_*", From 14a42277706e27e13f6b13784c039e3ba48a2c89 Mon Sep 17 00:00:00 2001 From: ahmadalguydi Date: Wed, 5 Aug 2026 17:54:49 +0300 Subject: [PATCH 2/3] style: format publish platform config --- MODULE.bazel | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index d07a0f1508..fee9219a05 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -69,16 +69,16 @@ pip = use_extension("//python/extensions:pip.bzl", "pip") pip.parse( hub_name = "rules_python_publish_deps", python_version = "3.11", - target_platforms = [ - "linux_x86_64", - "linux_aarch64", - "osx_aarch64", - ], requirements_by_platform = { "//tools/publish:requirements_darwin.txt": "osx_*", "//tools/publish:requirements_linux.txt": "linux_*", "//tools/publish:requirements_windows.txt": "windows_*", }, + target_platforms = [ + "linux_x86_64", + "linux_aarch64", + "osx_aarch64", + ], ) use_repo(pip, "rules_python_publish_deps") From 86ddc21e9a576615467f4d7483dd0b70deab5926 Mon Sep 17 00:00:00 2001 From: ahmadalguydi Date: Wed, 5 Aug 2026 18:07:29 +0300 Subject: [PATCH 3/3] fix: include windows publish target --- MODULE.bazel | 1 + 1 file changed, 1 insertion(+) diff --git a/MODULE.bazel b/MODULE.bazel index fee9219a05..602aa3e255 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -78,6 +78,7 @@ pip.parse( "linux_x86_64", "linux_aarch64", "osx_aarch64", + "windows_x86_64", ], ) use_repo(pip, "rules_python_publish_deps")