This is an automated email from the ASF dual-hosted git repository.

hgruszecki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git


The following commit(s) were added to refs/heads/master by this push:
     new 6222c9801 ci(python,rust): fix publish dry-run and disable Windows 
wheels (#2813)
6222c9801 is described below

commit 6222c98018c4467fa4f1edb2fb01e94513c4f9bf
Author: Hubert Gruszecki <[email protected]>
AuthorDate: Tue Feb 24 21:35:27 2026 +0100

    ci(python,rust): fix publish dry-run and disable Windows wheels (#2813)
---
 .github/actions/rust/post-merge/action.yml | 8 ++++++--
 .github/workflows/_build_python_wheels.yml | 1 +
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/.github/actions/rust/post-merge/action.yml 
b/.github/actions/rust/post-merge/action.yml
index 3d592de53..0f22b181e 100644
--- a/.github/actions/rust/post-merge/action.yml
+++ b/.github/actions/rust/post-merge/action.yml
@@ -117,8 +117,12 @@ runs:
           echo "🔍 Dry run - would publish crate: $PACKAGE"
           echo ""
 
-          # Run cargo publish in dry-run mode
-          cargo publish --dry-run -p "$PACKAGE"
+          # Use cargo package instead of cargo publish --dry-run to avoid
+          # dependency resolution from crates.io — earlier crates in the
+          # chain (e.g. iggy_common) haven't been published yet during dry run.
+          # Build correctness is already verified by the "Build package" step
+          # which uses workspace-local dependencies.
+          cargo package -p "$PACKAGE" --no-verify
 
           echo ""
           echo "Would publish:"
diff --git a/.github/workflows/_build_python_wheels.yml 
b/.github/workflows/_build_python_wheels.yml
index af8b814d3..4bd41bbf2 100644
--- a/.github/workflows/_build_python_wheels.yml
+++ b/.github/workflows/_build_python_wheels.yml
@@ -156,6 +156,7 @@ jobs:
           retention-days: 7
 
   windows:
+    if: false # TODO(hubcio): temporarily disabled
     runs-on: windows-latest
     steps:
       - name: Download latest copy script from master

Reply via email to