From aa0b9ae02e10a821f0da2356f17d7be4c3525c78 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 14 Jul 2026 14:57:07 +0000 Subject: [PATCH] Nightly: rewrite unsupported macOS wheel tags for test.PyPI --- .github/workflows/nightly.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 1c11a973bc..ed54f26cd2 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -915,11 +915,14 @@ jobs: name: PythonPackages path: dist - - name: Exclude macOS wheels unsupported by test.PyPI + - name: Rewrite macOS wheel tags unsupported by test.PyPI run: | # test.PyPI rejects current macOS wheel tags such as macosx_13_3_*. - # Keep publishing sdist + Linux/Windows wheels so this validation job remains useful. - rm -f dist/*-macosx_*.whl + # Rewrite only the unsupported 13_3 tag to 13 for upload validation. + for whl in dist/*-macosx_13_3_*.whl; do + [ -e "$whl" ] || continue + mv "$whl" "${whl/macosx_13_3_/macosx_13_}" + done ls -l dist - name: Publish to PyPI