You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm investigating uploading this software to Debian, as part of mywork on packaging Mycroft, which (indirectly) depends on whisper through the speech_recognition abstraction layer.
In doing so, I ran up against the fact that there is already a whisper library in the python package index, which is a different whisper library, and which is packaged under that name in Debian. I noticed that this whisper is also on pypi, as whisper.ai, but that that is an unofficial situation, not maintained by you (if I'm not mistaken), and which anyway still uses the "whisper" namespace if you want to use it.
I can see three possible solutions to this dilemma, none of them great:
I could modify the speech_recognition package before I upload it to Debian, removing the support for whisper
I could upload this whisper as python3-whisper.ai into Debian (essentially reusing the name that is used on pypi), but it would mean I would have to declare a package conflict with the existing python3-whisper package (i.e., it would be impossible to install something that uses the other whisper library on the same system on which mycroft or anything else that wants to use this whisper is already installed)
You guys could rename this package (possibly adding an optional translating compatibility layer so that from whisper import ... would still work for code that also installs the translation layer) and upload the renamed package to pypi, after which I could then create a package for Debian under the new name.
Obviously none of these options are great; I would prefer not to hobble functionality of something I upload into Debian, and would also prefer to avoid a situation where installing one package implies removal of another. But the final option would imply a lot of work on your end (and/or of your users), so isn't great either. Yet, I cannot see any other solution beyond those three.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm investigating uploading this software to Debian, as part of my work on packaging Mycroft, which (indirectly) depends on whisper through the speech_recognition abstraction layer.
In doing so, I ran up against the fact that there is already a whisper library in the python package index, which is a different whisper library, and which is packaged under that name in Debian. I noticed that this whisper is also on pypi, as whisper.ai, but that that is an unofficial situation, not maintained by you (if I'm not mistaken), and which anyway still uses the "whisper" namespace if you want to use it.
I can see three possible solutions to this dilemma, none of them great:
speech_recognition
package before I upload it to Debian, removing the support forwhisper
python3-whisper.ai
into Debian (essentially reusing the name that is used on pypi), but it would mean I would have to declare a package conflict with the existingpython3-whisper
package (i.e., it would be impossible to install something that uses the other whisper library on the same system on which mycroft or anything else that wants to use this whisper is already installed)from whisper import ...
would still work for code that also installs the translation layer) and upload the renamed package to pypi, after which I could then create a package for Debian under the new name.Obviously none of these options are great; I would prefer not to hobble functionality of something I upload into Debian, and would also prefer to avoid a situation where installing one package implies removal of another. But the final option would imply a lot of work on your end (and/or of your users), so isn't great either. Yet, I cannot see any other solution beyond those three.
What is your opinion on this dilemma?
Beta Was this translation helpful? Give feedback.
All reactions