Skip to content

Use PyPI Trusted Publishers feature to publish releases #10870

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bluetech opened this issue Apr 5, 2023 · 4 comments · Fixed by #10925
Closed

Use PyPI Trusted Publishers feature to publish releases #10870

bluetech opened this issue Apr 5, 2023 · 4 comments · Fixed by #10925
Labels
type: infrastructure improvement to development/releases/CI structure

Comments

@bluetech
Copy link
Member

bluetech commented Apr 5, 2023

https://docs.pypi.org/trusted-publishers/

This is currently still in beta, and I don't think pytest should be a beta tester, but opening this issue for discussion ahead of time.

Seems like a good improvement over the API token method we currently use.

@bluetech bluetech added the type: infrastructure improvement to development/releases/CI structure label Apr 5, 2023
@nicoddemus
Copy link
Member

Indeed, looks like a good improvement, thanks for reporting it. 👍

@RonnyPfannschmidt
Copy link
Member

I'll play early adoption in setuptools_scm and execnet, then we can transfer to pytest*

@RonnyPfannschmidt
Copy link
Member

@nicoddemus @bluetech i just made a test mr to setuptools_scm testing it, it works fabulous and is absolutely easy

i'll add some extras for setuptools_scm so that we can have test-pypi uploads and then propose the change to pytest either this or next week

@bluetech
Copy link
Member Author

@RonnyPfannschmidt nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: infrastructure improvement to development/releases/CI structure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants