Skip to content

Conversation

sundargthb
Copy link
Contributor

Simplify Release Workflow

Description

This change modifies the GitHub Actions release workflow to publish directly to PyPI without first publishing to TestPyPI. After some successful releases, we are confident in our release process and can simplify it by removing the TestPyPI step.

Changes

  • Removed TestPyPI publishing step from the GitHub Actions release workflow
  • Retained the pull request process for approving release changes (pyproject.toml, uv.lock, changelog.md)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

skip-existing: false
verbose: true

- name: Wait for PyPI availability
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this move on to the next step after 5 mins? what happens if the publish fails? would the previous step fail?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this step was checking for CDN propagation, not whether the publish succeeded. When we publish to PyPI, the package is immediately stored on their servers (and the publish step would fail if this didn’t work), but it takes time to propagate across PyPI’s global CDN network.

The wait step gives the CDN time to update, but if it’s still not available after 5 minutes, we continue anyway since we know the upload succeeded and the package will eventually be accessible everywhere. The GitHub release and tag should still be created to match what we’ve successfully published.

@sundargthb sundargthb merged commit 8f9bbf5 into main Sep 20, 2025
21 checks passed
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.

2 participants