Skip to content

Enable PEP 740 attestations for PyPI releases#542

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/add-pep-740-maintenance
Draft

Enable PEP 740 attestations for PyPI releases#542
Copilot wants to merge 2 commits into
mainfrom
copilot/add-pep-740-maintenance

Conversation

Copy link
Copy Markdown

Copilot AI commented Dec 6, 2025

Overview

Resolves the PEP 740 compliance issue by enabling cryptographic attestations for PyPI releases.

PEP 740 provides verifiable proof that published packages originated from this repository's GitHub Actions workflow, enhancing supply chain security.

Details

  • Added attestations: true to the pypa/gh-action-pypi-publish action in .github/workflows/publish-to-pypi.yml
  • Attestations will be automatically generated and uploaded to PyPI for all future releases using the existing Trusted Publishing (OIDC) configuration
Original prompt

This section details on the original issue you should resolve

<issue_title>Are we PEP 740 yet?</issue_title>
<issue_description>### Describe what maintenance you would like added.

PEP 740 is a Python standard for defining cryptographically verifiable attestations hosted by indices like PyPI.

Links to source code.

https://trailofbits.github.io/are-we-pep740-yet/

Pseudocode or Screenshots

None</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: tkoyama010 <7513610+tkoyama010@users.noreply.github.com>
Copilot AI changed the title [WIP] Add maintenance for PEP 740 compliance Enable PEP 740 attestations for PyPI releases Dec 6, 2025
Copilot AI requested a review from tkoyama010 December 6, 2025 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Are we PEP 740 yet?

2 participants