From 4f4176d0c700ab3efab231b423a3d9325fc742a8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 14 Jul 2026 03:18:15 +0000 Subject: [PATCH] Skip macOS wheels when publishing nightly artifacts to test.PyPI --- .github/workflows/nightly.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 89561e4e4d..c5fb1ebbf5 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -915,6 +915,13 @@ jobs: name: PythonPackages path: dist + - name: Exclude macOS wheels unsupported by test.PyPI + run: | + # test.PyPI rejects current macOS wheel tags (for example macosx_13_3_*). + # Keep publishing sdist + Linux/Windows wheels so this validation job remains useful. + rm -f dist/*-macosx_*.whl + ls -l dist + - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: