Skip to content
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

automate pypi releases #106

Open
graingert opened this issue Oct 11, 2021 · 8 comments
Open

automate pypi releases #106

graingert opened this issue Oct 11, 2021 · 8 comments
Assignees

Comments

@graingert
Copy link
Member

Using https://github.com/pypa/gh-action-pypi-publish or similar.

Will need @flub to add a pypi key to github secrets

@flub
Copy link
Member

flub commented Oct 17, 2021

Is the idea that anyone with write access can than publish by tagging a version? I wouldn't mind, if someone sets this up. Though I've also not seen much interest from other people to do maintenance work on pytest-timeout so not sure how necessary it is. Is there more precedent in the pytest (plugin) ecosystem for this?

@flub
Copy link
Member

flub commented Oct 8, 2023

I'm still open to this if someone sets it up. It might speed up making releases as now every time I need to do a release I end up having to fight my own computer for a bit.

@aqeelat
Copy link
Collaborator

aqeelat commented Oct 13, 2023

@flub I'll open a PR for this soon.

@RonnyPfannschmidt
Copy link
Member

These days around oidc can be used instead of tokens, but that needs the pypi admin to configure the repo and permitted workflow

@aqeelat aqeelat self-assigned this Oct 16, 2023
@flub
Copy link
Member

flub commented Oct 16, 2023

These days around oidc can be used instead of tokens, but that needs the pypi admin to configure the repo and permitted workflow

i can do so if someone gives me instructions

@nicoddemus
Copy link
Member

@flub see https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers, specially the "Using trusted publishing with GitHub Actions" (I cannot link directly to that section unfortunately).

@aqeelat
Copy link
Collaborator

aqeelat commented Oct 17, 2023

@flub
Copy link
Member

flub commented Oct 19, 2023

thanks for the links!

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

No branches or pull requests

5 participants