wenet-e2e / wespeaker

Research and Production Oriented Speaker Verification, Recognition and Diarization Toolkit
Apache License 2.0
717 stars 120 forks source link

Any plans to update the pypi package? #354

Open MiniXC opened 2 months ago

MiniXC commented 2 months ago

I'm assuming wespeakerruntime is the official pypi package, but it hasn't been updated since Feb 2023.

Having wespeaker as a pypi package would be useful for publishing libraries that depend on it, as packages with github dependencies cannot be published on pypi themselves.

Edit: I also think the wespeaker name would still be free: https://pypi.org/project/wespeaker/

wsstriving commented 2 months ago

Thanks for the suggestion, can @cdliang11 and @pengzhendong help to follow this?

wsstriving commented 2 months ago

By the way, currently you can install using pip install git+https://github.com/wenet-e2e/wespeaker.git

MiniXC commented 2 months ago

Yes I'm using this method, however it does not work for declaring it as a dependency for another package (that's to be published on pypi)

JiJiJiang commented 2 months ago

Hi @MiniXC , thanks for usage! Could you please put the error message here?

MiniXC commented 2 months ago

It is basically this when I try to publish my package using the wespeaker repository as a dependency:

HTTPError: 400 Client Error: Invalid value for requires_dist. Error: Can't have direct dependency: 'wespeaker @ git+https://github.com/wenet-e2e/wespeaker.git' for url: https://upload.pypi.org

More detail about why only pypi packages can be used as dependencies this way can be found here: https://stackoverflow.com/a/54894359