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

Current pypi build (1.9.6) causes dependency issues with other packages that depend on ctranslate2 #450

Open
jonathanfox5 opened this issue Nov 16, 2024 · 2 comments

Comments

@jonathanfox5
Copy link

When I try to package argostranslate in a package that also uses spacy and whisper, this causes certain dependency resolvers (uv) to fail to be able to find a compatible version of ctranslate2.

I've tracked this down to this line in the 1.9.6 requirements file:stanza==1.1.1

I see from looking through the commits that stanza 1.1.1 was originally required due to certain languages being broken but it seems to have been resolved a few months ago. Is there a possibility that a 1.9.7 build could be released based upon those commits or are there other issues that would block this?

My solution has been to build the git version and upload that to pypi to use as the dependency(argos-spacy-compatibility) but that's obviously not ideal!

Thanks for your work on this project, it's much appreciated :)

@yudelevi
Copy link
Contributor

yudelevi commented Dec 3, 2024

The version in main no longer depends on stanza but instead depends on spacy, once it gets packaged it won't be an issue anymore.

@jonathanfox5
Copy link
Author

Thanks!

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

2 participants