psychic-api / doctran

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"poetry add doctran" does not work

Tatsumi-Itokazu opened this issue · comments

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)

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?

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