Skip to content

Drop the Test PyPI publish stage - #10

Merged
saudzahirr merged 1 commit into
masterfrom
chore/drop-test-pypi-publish
Aug 25, 2026
Merged

Drop the Test PyPI publish stage#10
saudzahirr merged 1 commit into
masterfrom
chore/drop-test-pypi-publish

Conversation

@saudzahirr

Copy link
Copy Markdown
Collaborator

Summary

Removes the publish-test-pypi job from publish_dist.yml. A published release now runs the test matrix and goes straight to PyPI.

The release pipeline goes from testing → publish-test-pypi → publish-to-pypi → publish_docs to testing → publish-to-pypi → publish_docs, cutting the ~60s Test PyPI smoke-test wait and its propagation delay off every release.

One thing worth noting

Download Distributions is now written out inline in publish-to-pypi. It had been a YAML anchor (&download_dist) defined inside the job being deleted and aliased (*download_dist) from publish-to-pypi, so deleting the job outright would have left a dangling alias and broken the workflow parse. The step's content is unchanged.

Test plan

  • YAML parses; jobs are now testing, publish-to-pypi, publish_docs.
  • publish-to-pypi steps resolve to Download Distributions, Publish to PyPI, Smoke Test on PyPI, with the artifact name/run-id/path inputs identical to before.
  • publish_docs still gates on publish-to-pypi.
  • No references to Test PyPI remain anywhere in the repo.
  • This workflow is release-triggered only, so PR checks cannot exercise it — it runs for real on the next published release.

Follow-up (needs repo settings, not a code change)

The test-pypi GitHub environment is now unused. It's harmless to leave, but you may want to delete it in Settings → Environments, along with any trusted-publisher entry for this repo on test.pypi.org.

🤖 Generated with Claude Code

Releases now go straight to PyPI once the test matrix passes.

The Download Distributions step is inlined into publish-to-pypi: it was
a YAML anchor defined inside publish-test-pypi and aliased from there,
so removing that job would have left a dangling alias.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@saudzahirr
saudzahirr merged commit bbf99a0 into master Aug 25, 2026
12 checks passed
@saudzahirr
saudzahirr deleted the chore/drop-test-pypi-publish branch August 25, 2026 10:42
@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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