Skip to content
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

Update the pypa/gh-action-pypi-publish action version #15

Merged

Conversation

peytondmurray
Copy link
Collaborator

@peytondmurray peytondmurray commented May 8, 2024

This PR updates the pypa/gh-action-pypi-publish version. After checking the requirements for this action, it looks like this uses pkginfo==1.10.0, potentially solving the issue we're seeing.

It's also been a while since a version was released, and trusted publishing now requires different permissions for the publish job. See https://github.com/pypa/gh-action-pypi-publish?tab=readme-ov-file#trusted-publishing for more information on this configuration; without it, I tried testing publishing releases to test.pypi.org and they failed.

@mlucool I don't have the permissions needed to edit trusted publishers on the PYPI project page, but it should be pretty easy to do so by following these instructions before attempting to make a new release: https://docs.pypi.org/trusted-publishers/adding-a-publisher/.

Alternatively if you'd prefer that I take care of it, add me to the project and I can do the trusted publishing setup.

A side effect of this PR is that we can now get rid of the PYPI_API_TOKEN secret.

@peytondmurray peytondmurray force-pushed the ci-update-publish-action-version branch 2 times, most recently from 9189413 to 6e997dc Compare May 8, 2024 05:57
@peytondmurray peytondmurray requested a review from mlucool May 8, 2024 06:01
@peytondmurray peytondmurray force-pushed the ci-update-publish-action-version branch 2 times, most recently from b3f292c to 7ed9d25 Compare May 8, 2024 17:29
@peytondmurray
Copy link
Collaborator Author

Just reverted the change that pointed to test.pypi.org, so this should be good to merge now.

@mlucool mlucool merged commit f8e729c into deshaw:main May 8, 2024
30 checks passed
@peytondmurray peytondmurray deleted the ci-update-publish-action-version branch May 8, 2024 21:27
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