Skip to content

Use trusted publishing to simplify deployment #73

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 2 commits into from
Jul 5, 2025

Conversation

TimMonko
Copy link
Collaborator

@TimMonko TimMonko commented Jul 5, 2025

References and relevant issues

One of the most difficult things for me when starting was adding an API key to publish to PyPI. Even today, it's one of the most tedious parts of publishing a package.

This PR instead uses the newer OIDC trusted publishing through PyPI which requires no API Key. Instead, you add a new pending publisher via your PyPI account. This is more secure and simpler than before!

I have tested this today with a new plugin to ensure it works correctly. :)

@TimMonko TimMonko requested review from willingc and DragaDoncila July 5, 2025 21:08
Copy link
Collaborator

@willingc willingc left a comment

Choose a reason for hiding this comment

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

I love, love, love this! We should be doing this across the board as it is much more secure. Bravo @TimMonko. 🚢

@willingc
Copy link
Collaborator

willingc commented Jul 5, 2025

Leaving for you or Draga to merge based on your tutorial. Awesome!!!!

@TimMonko TimMonko merged commit 9fdd8fe into napari:main Jul 5, 2025
12 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