Skip to content

Conversation

@woodruffw
Copy link
Contributor

@woodruffw woodruffw commented Sep 18, 2025

Pre-PEP thread: https://discuss.python.org/t/pre-pep-trusted-publishing-token-exchange/103067/15

Donald (@dstufft) has graciously agreed to be my sponsor and delegate for this PEP 🙂

Signed-off-by: William Woodruff william@astral.sh

Basic requirements (all PEP Types)

  • Read and followed PEP 1 & PEP 12
  • File created from the latest PEP template
  • PEP has next available number, & set in filename (pep-NNNN.rst), PR title (PEP 123: <Title of PEP>) and PEP header
  • Title clearly, accurately and concisely describes the content in 79 characters or less
  • Core dev/PEP editor listed as Author or Sponsor, and formally confirmed their approval
  • Author, Status (Draft), Type and Created headers filled out correctly
  • PEP-Delegate, Topic, Requires and Replaces headers completed if appropriate
  • Required sections included
    • Abstract (first section)
    • Copyright (last section; exact wording from template required)
  • Code is well-formatted (PEP 7/PEP 8) and is in code blocks, with the right lexer names if non-Python
  • PEP builds with no warnings, pre-commit checks pass and content displays as intended in the rendered HTML
  • Authors/sponsor added to .github/CODEOWNERS for the PEP

Standards Track requirements

  • PEP topic discussed in a suitable venue with general agreement that a PEP is appropriate
  • Suggested sections included (unless not applicable)
    • Motivation
    • Rationale
    • Specification
    • Backwards Compatibility
    • Security Implications
    • How to Teach This
    • Reference Implementation
    • Rejected Ideas
    • Open Issues
  • Python-Version set to valid (pre-beta) future Python version, if relevant
  • Any project stated in the PEP as supporting/endorsing/benefiting from the PEP formally confirmed such
  • Right before or after initial merging, PEP discussion thread created and linked to in Discussions-To and Post-History

📚 Documentation preview 📚: https://pep-previews--4597.org.readthedocs.build/pep-0807/

Signed-off-by: William Woodruff <william@astral.sh>
Signed-off-by: William Woodruff <william@astral.sh>
@woodruffw woodruffw requested a review from a team as a code owner September 18, 2025 17:36
Signed-off-by: William Woodruff <william@astral.sh>
Signed-off-by: William Woodruff <william@astral.sh>
@hugovk
Copy link
Member

hugovk commented Sep 18, 2025

  • Core dev/PEP editor listed as Author or Sponsor, and formally confirmed their approval

@dstufft Please could you confirm your sponsorship?

Signed-off-by: William Woodruff <william@astral.sh>
@AA-Turner
Copy link
Member

You can take 807.

A

@AA-Turner AA-Turner changed the title PEP: Index support for Trusted Publishing PEP 807: Index support for Trusted Publishing Sep 19, 2025
Signed-off-by: William Woodruff <william@astral.sh>
Copy link
Contributor

@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.

Thanks @woodruffw. Overall this looks good and I like your approach to standardize the workflow.

@dstufft
Copy link
Member

dstufft commented Sep 19, 2025

Please could you confirm your sponsorship?

Yes.

woodruffw and others added 3 commits September 19, 2025 17:32
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Signed-off-by: William Woodruff <william@astral.sh>
@woodruffw
Copy link
Contributor Author

Let me know if anything else is needed here for merge!

(I'm holding off on the DPO thread until this is live.)

@AA-Turner AA-Turner self-requested a review September 23, 2025 16:31
Copy link
Member

@AA-Turner AA-Turner left a comment

Choose a reason for hiding this comment

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

A few points:

I don't think you say what 'pytp' means anywhere -- presumably 'Python Trusted Publishing'? I assume the acronym form was chosen over spelling out '/trusted-publishing/' for length reasons?

Please remove all the reference targets and/or prefix them with pep807-. You can replace :ref: by just using the section name (e.g. `Section Name`_).

A

woodruffw and others added 4 commits September 24, 2025 10:10
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Signed-off-by: William Woodruff <william@astral.sh>
Signed-off-by: William Woodruff <william@astral.sh>
Signed-off-by: William Woodruff <william@astral.sh>
@woodruffw
Copy link
Contributor Author

I don't think you say what 'pytp' means anywhere -- presumably 'Python Trusted Publishing'? I assume the acronym form was chosen over spelling out '/trusted-publishing/' for length reasons?

Yeah, I just made that up 😅 -- I don't actually like it, but I was going to flag it for ideation/bikeshedding on the DPO thread itself. It does indeed stand for "Python Trusted Publishing."

Signed-off-by: William Woodruff <william@astral.sh>
Signed-off-by: William Woodruff <william@astral.sh>
woodruffw and others added 2 commits September 29, 2025 10:01
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Signed-off-by: William Woodruff <william@astral.sh>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@woodruffw
Copy link
Contributor Author

Thanks @AA-Turner! LMK if it's easier for me to deconflict here (I know it's pretty annoying with the PR-to-an-org-fork workflow...)

@AA-Turner AA-Turner enabled auto-merge (squash) September 29, 2025 15:14
@AA-Turner
Copy link
Member

AA-Turner commented Sep 29, 2025

@woodruffw please, sorry I hadn't noticed the merge conflicts.

A

@AA-Turner AA-Turner disabled auto-merge September 29, 2025 15:14
@woodruffw
Copy link
Contributor Author

Done!

@AA-Turner AA-Turner merged commit ce0bb08 into python:main Sep 29, 2025
5 checks passed
@AA-Turner
Copy link
Member

Thanks!

A

@AA-Turner AA-Turner added the new-pep A new draft PEP submitted for initial review label Sep 29, 2025
@woodruffw woodruffw deleted the ww/tp-discovery-pep branch September 29, 2025 15:26
zklaus pushed a commit to zklaus/peps that referenced this pull request Nov 3, 2025
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-pep A new draft PEP submitted for initial review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants