Add PEP 740 attestations to PyPI publishing workflow#144
Merged
chrisguidry merged 2 commits intomainfrom Jun 24, 2025
Merged
Conversation
Implements issue #132 by adding cryptographically signed attestations to all published releases. Changes include: - Switch from uv publish to pypa/gh-action-pypi-publish for attestation support - Add PyPI environment configuration for trusted publishing - Automatic generation of PEP 740-compliant attestations using GitHub OIDC This enhances supply chain security by providing verifiable links between published packages and their source repository. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
|
📚 Documentation has been built for this PR! You can download the documentation directly here: |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #144 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 28 28
Lines 3570 3570
Branches 191 191
=========================================
Hits 3570 3570
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
chrisguidry
added a commit
that referenced
this pull request
Jun 25, 2025
## Summary - Closes #132 by adding PEP 740 attestations to PyPI releases - Switches from `uv publish` to `pypa/gh-action-pypi-publish` for built-in attestation support - Adds PyPI environment configuration for proper trusted publishing setup ## Security Benefits - Automatic generation of cryptographically signed attestations for all releases - Provides verifiable link between published packages and source repository - Uses GitHub's OIDC token for trusted publishing and attestation signing ## Test Plan - [ ] Create a test release to verify attestations are generated correctly - [ ] Confirm attestations appear on PyPI package page - [ ] Validate workflow runs successfully with new configuration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pydocketreleases #132 by adding PEP 740 attestations to PyPI releasesuv publishtopypa/gh-action-pypi-publishfor built-in attestation supportSecurity Benefits
Test Plan
🤖 Generated with Claude Code