Skip to content

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

Closed

Description

@nlhkabu

Issue Description

https://packaging.python.org/en/latest/tutorials/packaging-projects/#uploading-the-distribution-archives should tell users to prefer Trusted Publishing over API tokens, and point users towards https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

Code of Conduct

  • I am aware that participants in this repository must follow the PSF Code of Conduct.

Activity

  1. webknjaz commented on Aug 3, 2025

    @webknjaz
    Member

    @nlhkabu there's a guide in PyPUG already. It should be pointing to that instead of external resources. The PyPI docs pointer could be added to that guide if it's not already there.

  2. nlhkabu commented on Aug 4, 2025

    @nlhkabu
    MemberAuthor

    Thanks @webknjaz , I've updated the issue accordingly.

  3. changed the title [-]Update "Packaging Python Projects" to tell users to prefer Trusted publishing over API tokens[/-] [+]Update "Packaging Python Projects" tutorial to tell users to prefer Trusted publishing over API tokens[/+] on Aug 4, 2025
  4. webknjaz commented on Aug 4, 2025

    @webknjaz
    Member

    Thanks! I just realized that we should link both because my guide solely focuses on GHA since I made it as a canonical doc for the action.

  5. MenszgUD0ker commented on Aug 13, 2025

    @MenszgUD0ker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions