Open
Description
- deep_translator version:1.11.4
- Python version: 3.11.10
- Operating System: MacOS
Description
I had great fun using the GoogleTranslator in this package. It works great. I use it to translate texts in my resume builder.
Then I tried to add the openai package to my Python project for other purposes. And poetry said no. Because googletrans needs httpx version 0.13.3 and openai needs httpx version 0.23.0 or higher.
What I Did
% poetry add openai
Using version ^1.59.3 for openai
Updating dependencies
Resolving dependencies... (0.4s)
Because no versions of googletrans match >3.0.0,<3.1.0a0 || >3.1.0a0,<4.0.0
and googletrans (3.1.0a0) depends on httpx (0.13.3), googletrans (>3.0.0,<4.0.0) requires httpx (0.13.3).
And because googletrans (3.0.0) depends on httpx (0.13.3), googletrans (>=3.0.0,<4.0.0) requires httpx (0.13.3).
Because no versions of openai match >1.59.3,<2.0.0
and openai (1.59.3) depends on httpx (>=0.23.0,<1), openai (>=1.59.3,<2.0.0) requires httpx (>=0.23.0,<1).
Thus, openai (>=1.59.3,<2.0.0) is incompatible with googletrans (>=3.0.0,<4.0.0).
So, because lazyresume depends on both googletrans (^3.0.0) and openai (^1.59.3), version solving failed.
Is there any way to update the dependency?
Metadata
Metadata
Assignees
Labels
No labels
Activity