Skip to content

ci: skip existing files when uploading to pypi - #1822

Merged
bdraco merged 1 commit into
masterfrom
ci-pypi-skip-existing
Aug 28, 2026
Merged

bdraco merged 1 commit into
masterfrom
ci-pypi-skip-existing

Conversation

@bdraco

@bdraco bdraco commented Aug 28, 2026

Copy link
Copy Markdown
Member

Summary

Adds skip-existing: true to the PyPI publish step. The 0.150.2 upload failed partway through on a transient PyPI error; the rerun only succeeded because it reused the same artifacts, so the bytes were identical. If the wheels had been rebuilt, the rerun would have failed with file already exists on everything uploaded before the error, leaving the release stuck partially published.

Test plan

  • pre-commit passes on the workflow file
  • matches the documented skip-existing input of gh-action-pypi-publish v1.14.0

@bdraco
bdraco marked this pull request as ready for review August 28, 2026 16:22
@codecov

codecov Bot commented Aug 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.81%. Comparing base (899eaaa) to head (ffd4f86).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1822   +/-   ##
=======================================
  Coverage   99.81%   99.81%           
=======================================
  Files          33       33           
  Lines        3759     3759           
  Branches      533      533           
=======================================
  Hits         3752     3752           
  Misses          5        5           
  Partials        2        2           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bdraco
bdraco merged commit 2cf84a0 into master Aug 28, 2026
32 of 33 checks passed
@bdraco
bdraco deleted the ci-pypi-skip-existing branch August 28, 2026 16:22
@codspeed

codspeed Bot commented Aug 28, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 21 untouched benchmarks


Comparing ci-pypi-skip-existing (ffd4f86) with master (899eaaa)1

Open in CodSpeed

Footnotes

  1. No successful run was found on master (40931f9) during the generation of this report, so 899eaaa was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant