Skip to content

Update publish workflow#7206

Merged
nateprewitt merged 2 commits intomainfrom
update_publish
Feb 13, 2026
Merged

Update publish workflow#7206
nateprewitt merged 2 commits intomainfrom
update_publish

Conversation

@nateprewitt
Copy link
Copy Markdown
Member

@nateprewitt nateprewitt commented Feb 13, 2026

This PR should fix the issues with trusted publishing from the 2.32.5 release and modernizes a few things. We get rid of our inline SLSA generation in favor of the workflow built into gh-action-pypi-publish. I've specifically set attestation: true despite that being the default to be clear about intent.

We can now trigger a manual workflow from GH to test PyPI to verify things are working. Ideally, we would move our versioning to something like setuptools_scm to let us do auto versioning. That would let us mimic urllib3's workflow that autopublishes every push to main. I've saved that until after we gauge impact of moving to PEP 517.

The underlying issue for our failure in #7013 appears to be related to the environment name in the file not matching what was configured in PyPI. That should be fixed now.

@nateprewitt nateprewitt merged commit 5e7cb71 into main Feb 13, 2026
49 checks passed
@nateprewitt nateprewitt deleted the update_publish branch February 13, 2026 20:23
@nateprewitt
Copy link
Copy Markdown
Member Author

For auditing purposes, it looks like things are working:

Workflow Job: https://github.com/psf/requests/actions/runs/22001688121/job/63575693896
Published Artifact in Test PyPI: https://test.pypi.org/project/requests/2.33.0.dev1/

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.

2 participants