finic-ai / doctran

MIT License
479 stars 42 forks source link

"poetry add doctran" does not work #19

Open Tatsumi-Itokazu opened 7 months ago

Tatsumi-Itokazu commented 7 months ago
Using version ^0.0.14 for doctran

Updating dependencies
Resolving dependencies... (0.0s)

Because no versions of doctran match >0.0.14,<0.0.15
 and doctran (0.0.14) depends on openai (>=0.27.8,<0.28.0), doctran (>=0.0.14,<0.0.15) requires openai (>=0.27.8,<0.28.0).
So, because [project name] depends on both openai (^1.12.0) and doctran (^0.0.14), version solving failed.

Please fix it so that it works with the latest openai version(^1.12.0)

aunroel commented 5 months ago

this is due to recent update of open ai dependency

author forgot to bump the project version

@jasonwcfan 0.0.15 should do it, I believe?

yangfei4913438 commented 5 months ago

I've developed a temporary fix version, doctran_openai now supports the new version of openai. Before the author fixes this issue, you might want to try out my temporary package. Hope it helps you.

pip install doctran_openai