Skip to content

Recommend Trusted Publishing in the packaging tutorial - #2140

Open
jw9829 wants to merge 2 commits into
pypa:mainfrom
jw9829:recommend-trusted-publishing-1888
Open

jw9829 wants to merge 2 commits into
pypa:mainfrom
jw9829:recommend-trusted-publishing-1888

Conversation

@jw9829

@jw9829 jw9829 commented Sep 27, 2026 •

Copy link
Copy Markdown

Adds a Trusted Publishing recommendation to the production release section, with a link to the GitHub Actions guide.

Fixes #1888.


📚 Documentation preview 📚: https://python-packaging-user-guide--2140.org.readthedocs.build/en/2140/

Comment thread source/tutorials/packaging-projects.rst Outdated
do much the same as you did in this tutorial, but with these important
differences:

For projects published through a supported CI/CD platform, we recommend

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this would look nicer wrapped with a tip admonition.

Also, this probably breaks the list render because it's injected between the list that starts with the asterisk and the paragraph ending with a colon. So we probably need to find a better place for this block.

@webknjaz
webknjaz requested a review from woodruffw September 27, 2026 22:41
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.

Update "Packaging Python Projects" tutorial to tell users to prefer Trusted publishing over API tokens

2 participants