Skip to content

Use separate jobs and environment for PyPI and Test PyPI uploading #275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

matt-graham
Copy link
Collaborator

Resolves #259

Separates current combined Actions workflow job for uploading to both Test PyPI and PyPI in to separate jobs each with their own dedicated environment, to avoid the issue with attestation file from Test PyPI upload causing PyPI upload to subsequently fail, with runs in separate jobs instead being in isolated environments. This also seems to be the recommended practice .

@matt-graham matt-graham added the infrastructure Issues related to infrastructure for repository and project label Feb 24, 2025
@matt-graham
Copy link
Collaborator Author

Merging this without review as per internal discussion as this should only affect release workflow.

@matt-graham matt-graham merged commit b1bf438 into main Mar 20, 2025
6 checks passed
@matt-graham matt-graham deleted the mmg/fix-pypi-publish branch March 20, 2025 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Issues related to infrastructure for repository and project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upload to PyPI job in build workflow failing
1 participant