pytest-timeout icon indicating copy to clipboard operation
pytest-timeout copied to clipboard

automate pypi releases

Open graingert opened this issue 4 years ago • 8 comments

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

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

graingert avatar Oct 11 '21 20:10 graingert

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 avatar Oct 17 '21 20:10 flub

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.

flub avatar Oct 08 '23 10:10 flub

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

aqeelat avatar Oct 13 '23 18:10 aqeelat

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

RonnyPfannschmidt avatar Oct 14 '23 09:10 RonnyPfannschmidt

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

flub avatar Oct 16 '23 19:10 flub

@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).

nicoddemus avatar Oct 16 '23 21:10 nicoddemus

@flub https://docs.pypi.org/trusted-publishers/adding-a-publisher/

aqeelat avatar Oct 17 '23 09:10 aqeelat

thanks for the links!

flub avatar Oct 19 '23 19:10 flub