Skip to content

Add trusted publishing to PyPI and Test PyPI - #71

Open
illia-v wants to merge 7 commits into
sethmlarson:masterfrom
illia-v:add-trusted-publishing
Open

illia-v wants to merge 7 commits into
sethmlarson:masterfrom
illia-v:add-trusted-publishing

Conversation

@illia-v

@illia-v illia-v commented Aug 21, 2026 •

Copy link
Copy Markdown
Collaborator

TODO:

  • Create GitHub environments named pypi-publish and test-pypi-publish in the repo settings.
  • Configure trusted publishers on PyPI and Test PyPI.

@illia-v

illia-v commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator Author

Unlike for urllib3, I'd like to avoid the added complexity of something like hatch-vcs for generating dev versions published to Test PyPI. We can just rely on github.run_number instead. Note that the dev number won't be reset when the actual version is changed.

@illia-v

illia-v commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator Author

@sethmlarson please create GitHub environments named pypi-publish and test-pypi-publish https://github.com/sethmlarson/socksio/settings/environments

@illia-v
illia-v marked this pull request as ready for review August 26, 2026 16:20
@illia-v
illia-v requested a review from sethmlarson August 26, 2026 16:20
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.

1 participant