whisper icon indicating copy to clipboard operation
whisper copied to clipboard

Add github action to automatically push to pypi on Release x.y.z commit

Open rom1504 opened this issue 2 years ago • 3 comments

Publishing whisper on pypi will help use it much more conveniently. It's very easy to do so, and require minimal effort from your part.

The only steps to do would be to :

  1. merge this PR
  2. create a token there https://pypi.org/manage/account/token/
  3. put it in there https://github.com/openai/whisper/settings/secrets/actions/new , name it PYPI_PASSWORD

Then the release will be triggered automatically when you name a commit Release x.y.z I advise to change the version in setup.py in that commit

rom1504 avatar Dec 13 '22 22:12 rom1504

Check https://github.com/openai/whisper/pull/627

nick-konovalchuk avatar Dec 17 '22 10:12 nick-konovalchuk

I merged in my fork and released https://pypi.org/project/whisper-openai/

if you wish to run this yourself, I'll gladly remove the pypi package and let you do it

in the meantime, pip install whisper-openai works

rom1504 avatar Dec 20 '22 01:12 rom1504

When will this PR be merged?

ghost avatar Dec 31 '22 19:12 ghost

When will this PR be merged?

Probably never, since in #627 one of the authors stated that releasing a pipy package is not planned at all

nick-konovalchuk avatar Jan 13 '23 08:01 nick-konovalchuk

Well as far as I'm concerned this problem is already solved. The package is on pypi and usable. It takes about 2min every 6month to deploy a new version. I guess I'll do it if the upstream maintainer does not want to.

rom1504 avatar Jan 13 '23 14:01 rom1504

Hi, thanks for the PR. I wasn't ready to go fully enterprise open-source with semantic versioning and everything, but date-based versioning seems manageable. The package is now available as openai-whisper on PyPI. I'll make the release commits after any nontrivial updates. Hope this helps!

jongwook avatar Jan 18 '23 00:01 jongwook

Great, thank you!

On Wed, Jan 18, 2023, 01:21 Jong Wook Kim @.***> wrote:

Hi, thanks for the PR. I wasn't ready to go fully enterprise open-source with semantic versioning and everything, but date-based versioning seems manageable. The package is now available as openai-whisper on PyPI https://pypi.org/project/openai-whisper/. I'll make the release commits after any nontrivial updates. Hope this helps!

— Reply to this email directly, view it on GitHub https://github.com/openai/whisper/pull/681#issuecomment-1386276152, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437SSS4SN4JY7RYGQRGTWS4ZOXANCNFSM6AAAAAAS5XREY4 . You are receiving this because you modified the open/close state.Message ID: @.***>

rom1504 avatar Jan 18 '23 00:01 rom1504