Fix pip-install: build sdist once, test across matrix#341
Conversation
The previous approach built both sdist and wheel on every OS/Python combo, then merged all 24 artifacts. Wheels built with python -m build lack manylinux tags (required by PyPI for Linux) and the merge produced corrupt wheel files (BadZipFile). Fix by building the sdist once on ubuntu-latest, testing installation from that sdist across the full OS/Python matrix, and uploading only the sdist to PyPI. Bump VERSION to 2.5.36. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Test Results (py3.11 on ubuntu-22.04)19 903 tests 19 647 ✅ 1m 35s ⏱️ For more details on these failures, see this check. Results for commit 35472e7. |
Test Results (py3.10 on ubuntu-24.04)19 903 tests 19 647 ✅ 1m 39s ⏱️ For more details on these failures, see this check. Results for commit 35472e7. |
Test Results (py3.12 on ubuntu-22.04)19 903 tests 19 647 ✅ 1m 37s ⏱️ For more details on these failures, see this check. Results for commit 35472e7. |
Test Results (py3.10 on ubuntu-22.04)19 903 tests 19 647 ✅ 1m 40s ⏱️ For more details on these failures, see this check. Results for commit 35472e7. |
Test Results (py3.12 on ubuntu-24.04)19 903 tests 19 647 ✅ 1m 36s ⏱️ For more details on these failures, see this check. Results for commit 35472e7. |
Test Results (py3.13 on ubuntu-22.04)19 903 tests 19 647 ✅ 1m 37s ⏱️ For more details on these failures, see this check. Results for commit 35472e7. |
Test Results (py3.13 on ubuntu-24.04)19 903 tests 19 647 ✅ 1m 35s ⏱️ For more details on these failures, see this check. Results for commit 35472e7. |
Test Results (py3.11 on ubuntu-24.04)19 903 tests 19 647 ✅ 1m 33s ⏱️ For more details on these failures, see this check. Results for commit 35472e7. |
Test Results (py3.9 on ubuntu-22.04)19 903 tests 19 647 ✅ 1m 44s ⏱️ For more details on these failures, see this check. Results for commit 35472e7. |
Test Results (py3.9 on ubuntu-24.04)19 903 tests 19 647 ✅ 1m 43s ⏱️ For more details on these failures, see this check. Results for commit 35472e7. |
Test Results (py3.14 on ubuntu-22.04)19 903 tests 19 647 ✅ 1m 38s ⏱️ For more details on these failures, see this check. Results for commit 35472e7. |
Test Results (py3.14 on ubuntu-24.04)19 903 tests 19 647 ✅ 1m 34s ⏱️ For more details on these failures, see this check. Results for commit 35472e7. |
Summary
BadZipFile: Bad magic number for file header) from the mergemanylinuxtags that PyPI would reject anywayTest plan
🤖 Generated with Claude Code