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
Describe the bug
The pyproject.toml says python = ">=3.10,<3.12", while the README.md says Install Python 3.11 or later. I confirmed poetry install does not work with 3.10.12.
To Reproduce
Steps to reproduce the behavior:
Fresh clone of the repo
Run poetry install
Expected behavior
Poetry should be configured to only use versions of python which work
Desktop (please complete the following information):
OS: Mac
Browser: N/A
Version: Latest master
Additional context
% poetry install
The currently activated Python version 3.13.0 is not supported by the project (>=3.10,<3.12).
Trying to find and use a compatible version.
Using python3.10 (3.10.15)
Creating virtualenv gpt-researcher in /Users/myname/git/gpt-researcher/.venv
Updating dependencies
Resolving dependencies... (1.6s)
Because no versions of langchain-openai match >=0.1,<0.1.1 ||>0.1.1,<0.1.2 ||>0.1.2,<0.1.3 ||>0.1.3,<0.1.4 ||>0.1.4,<0.1.5 ||>0.1.5,<0.1.6 ||>0.1.6,<0.1.7 ||>0.1.7,<0.1.8 ||>0.1.8,<0.1.9 ||>0.1.9,<0.1.10 ||>0.1.10,<0.1.11 ||>0.1.11,<0.1.12 ||>0.1.12,<0.1.13 ||>0.1.13,<0.1.14 ||>0.1.14,<0.1.15 ||>0.1.15,<0.1.16 ||>0.1.16,<0.1.17 ||>0.1.17,<0.1.19 ||>0.1.19,<0.1.20 ||>0.1.20,<0.1.21rc1 ||>0.1.21rc1,<0.1.21rc2 ||>0.1.21rc2,<0.1.22 ||>0.1.22,<0.1.23 ||>0.1.23,<0.1.24 ||>0.1.24,<0.1.25 ||>0.1.25,<0.2
and langchain-openai (0.1.21rc1) depends on langchain-core (>=0.2.29rc1,<0.3.0), langchain-openai (>=0.1,<0.1.1 ||>0.1.1,<0.1.2 ||>0.1.2,<0.1.3 ||>0.1.3,<0.1.4 ||>0.1.4,<0.1.5 ||>0.1.5,<0.1.6 ||>0.1.6,<0.1.7 ||>0.1.7,<0.1.8 ||>0.1.8,<0.1.9 ||>0.1.9,<0.1.10 ||>0.1.10,<0.1.11 ||>0.1.11,<0.1.12 ||>0.1.12,<0.1.13 ||>0.1.13,<0.1.14 ||>0.1.14,<0.1.15 ||>0.1.15,<0.1.16 ||>0.1.16,<0.1.17 ||>0.1.17,<0.1.19 ||>0.1.19,<0.1.20 ||>0.1.20,<0.1.21rc2 ||>0.1.21rc2,<0.1.22 ||>0.1.22,<0.1.23 ||>0.1.23,<0.1.24 ||>0.1.24,<0.1.25 ||>0.1.25,<0.2) requires langchain-core (>=0.2.29rc1,<0.3.0).
And because langchain-openai (0.1.21rc2) depends on langchain-core (>=0.2.29,<0.3.0)
and langchain-openai (0.1.1) depends on langchain-core (>=0.1.33,<0.2.0), langchain-openai (>=0.1,<0.1.2 ||>0.1.2,<0.1.3 ||>0.1.3,<0.1.4 ||>0.1.4,<0.1.5 ||>0.1.5,<0.1.6 ||>0.1.6,<0.1.7 ||>0.1.7,<0.1.8 ||>0.1.8,<0.1.9 ||>0.1.9,<0.1.10 ||>0.1.10,<0.1.11 ||>0.1.11,<0.1.12 ||>0.1.12,<0.1.13 ||>0.1.13,<0.1.14 ||>0.1.14,<0.1.15 ||>0.1.15,<0.1.16 ||>0.1.16,<0.1.17 ||>0.1.17,<0.1.19 ||>0.1.19,<0.1.20 ||>0.1.20,<0.1.22 ||>0.1.22,<0.1.23 ||>0.1.23,<0.1.24 ||>0.1.24,<0.1.25 ||>0.1.25,<0.2) requires langchain-core (>=0.1.33,<0.2.0 ||>=0.2.29rc1,<0.3.0).
And because langchain-openai (0.1.2) depends on langchain-core (>=0.1.41,<0.2.0)
and langchain-openai (0.1.3) depends on langchain-core (>=0.1.42,<0.2.0), langchain-openai (>=0.1,<0.1.4 ||>0.1.4,<0.1.5 ||>0.1.5,<0.1.6 ||>0.1.6,<0.1.7 ||>0.1.7,<0.1.8 ||>0.1.8,<0.1.9 ||>0.1.9,<0.1.10 ||>0.1.10,<0.1.11 ||>0.1.11,<0.1.12 ||>0.1.12,<0.1.13 ||>0.1.13,<0.1.14 ||>0.1.14,<0.1.15 ||>0.1.15,<0.1.16 ||>0.1.16,<0.1.17 ||>0.1.17,<0.1.19 ||>0.1.19,<0.1.20 ||>0.1.20,<0.1.22 ||>0.1.22,<0.1.23 ||>0.1.23,<0.1.24 ||>0.1.24,<0.1.25 ||>0.1.25,<0.2) requires langchain-core (>=0.1.33,<0.2.0 ||>=0.2.29rc1,<0.3.0).
And because langchain-openai (0.1.4) depends on langchain-core (>=0.1.46,<0.2.0)
and langchain-openai (0.1.5) depends on langchain-core (>=0.1.46,<0.2.0), langchain-openai (>=0.1,<0.1.6 ||>0.1.6,<0.1.7 ||>0.1.7,<0.1.8 ||>0.1.8,<0.1.9 ||>0.1.9,<0.1.10 ||>0.1.10,<0.1.11 ||>0.1.11,<0.1.12 ||>0.1.12,<0.1.13 ||>0.1.13,<0.1.14 ||>0.1.14,<0.1.15 ||>0.1.15,<0.1.16 ||>0.1.16,<0.1.17 ||>0.1.17,<0.1.19 ||>0.1.19,<0.1.20 ||>0.1.20,<0.1.22 ||>0.1.22,<0.1.23 ||>0.1.23,<0.1.24 ||>0.1.24,<0.1.25 ||>0.1.25,<0.2) requires langchain-core (>=0.1.33,<0.2.0 ||>=0.2.29rc1,<0.3.0).
And because langchain-openai (0.1.6) depends on langchain-core (>=0.1.46,<0.2.0)
and langchain-openai (0.1.7) depends on langchain-core (>=0.1.46,<0.3), langchain-openai (>=0.1,<0.1.8 ||>0.1.8,<0.1.9 ||>0.1.9,<0.1.10 ||>0.1.10,<0.1.11 ||>0.1.11,<0.1.12 ||>0.1.12,<0.1.13 ||>0.1.13,<0.1.14 ||>0.1.14,<0.1.15 ||>0.1.15,<0.1.16 ||>0.1.16,<0.1.17 ||>0.1.17,<0.1.19 ||>0.1.19,<0.1.20 ||>0.1.20,<0.1.22 ||>0.1.22,<0.1.23 ||>0.1.23,<0.1.24 ||>0.1.24,<0.1.25 ||>0.1.25,<0.2) requires langchain-core (>=0.1.33,<0.3.0).
And because langchain-openai (0.1.8) depends on langchain-core (>=0.2.2,<0.3)
and langchain-openai (0.1.9) depends on langchain-core (>=0.2.2,<0.3), langchain-openai (>=0.1,<0.1.10 ||>0.1.10,<0.1.11 ||>0.1.11,<0.1.12 ||>0.1.12,<0.1.13 ||>0.1.13,<0.1.14 ||>0.1.14,<0.1.15 ||>0.1.15,<0.1.16 ||>0.1.16,<0.1.17 ||>0.1.17,<0.1.19 ||>0.1.19,<0.1.20 ||>0.1.20,<0.1.22 ||>0.1.22,<0.1.23 ||>0.1.23,<0.1.24 ||>0.1.24,<0.1.25 ||>0.1.25,<0.2) requires langchain-core (>=0.1.33,<0.3.0).
And because langchain-openai (0.1.10) depends on langchain-core (>=0.2.2,<0.3)
and langchain-openai (0.1.11) depends on langchain-core (>=0.2.2,<0.3), langchain-openai (>=0.1,<0.1.12 ||>0.1.12,<0.1.13 ||>0.1.13,<0.1.14 ||>0.1.14,<0.1.15 ||>0.1.15,<0.1.16 ||>0.1.16,<0.1.17 ||>0.1.17,<0.1.19 ||>0.1.19,<0.1.20 ||>0.1.20,<0.1.22 ||>0.1.22,<0.1.23 ||>0.1.23,<0.1.24 ||>0.1.24,<0.1.25 ||>0.1.25,<0.2) requires langchain-core (>=0.1.33,<0.3).
And because langchain-openai (0.1.12) depends on langchain-core (>=0.2.2,<0.3)
and langchain-openai (0.1.13) depends on langchain-core (>=0.2.2,<0.3), langchain-openai (>=0.1,<0.1.14 ||>0.1.14,<0.1.15 ||>0.1.15,<0.1.16 ||>0.1.16,<0.1.17 ||>0.1.17,<0.1.19 ||>0.1.19,<0.1.20 ||>0.1.20,<0.1.22 ||>0.1.22,<0.1.23 ||>0.1.23,<0.1.24 ||>0.1.24,<0.1.25 ||>0.1.25,<0.2) requires langchain-core (>=0.1.33,<0.3).
And because langchain-openai (0.1.14) depends on langchain-core (>=0.2.2,<0.3)
and langchain-openai (0.1.15) depends on langchain-core (>=0.2.13,<0.3.0), langchain-openai (>=0.1,<0.1.16 ||>0.1.16,<0.1.17 ||>0.1.17,<0.1.19 ||>0.1.19,<0.1.20 ||>0.1.20,<0.1.22 ||>0.1.22,<0.1.23 ||>0.1.23,<0.1.24 ||>0.1.24,<0.1.25 ||>0.1.25,<0.2) requires langchain-core (>=0.1.33,<0.3.0).
And because langchain-openai (0.1.16) depends on langchain-core (>=0.2.17,<0.3.0)
and langchain-openai (0.1.17) depends on langchain-core (>=0.2.20,<0.3.0), langchain-openai (>=0.1,<0.1.19 ||>0.1.19,<0.1.20 ||>0.1.20,<0.1.22 ||>0.1.22,<0.1.23 ||>0.1.23,<0.1.24 ||>0.1.24,<0.1.25 ||>0.1.25,<0.2) requires langchain-core (>=0.1.33,<0.3.0).
And because langchain-openai (0.1.19) depends on langchain-core (>=0.2.24,<0.3.0)
and langchain-openai (0.1.20) depends on langchain-core (>=0.2.26,<0.3.0), langchain-openai (>=0.1,<0.1.22 ||>0.1.22,<0.1.23 ||>0.1.23,<0.1.24 ||>0.1.24,<0.1.25 ||>0.1.25,<0.2) requires langchain-core (>=0.1.33,<0.3.0).
And because langchain-openai (0.1.22) depends on langchain-core (>=0.2.33,<0.3.0)
and langchain-openai (0.1.23) depends on langchain-core (>=0.2.35,<0.3.0), langchain-openai (>=0.1,<0.1.24 ||>0.1.24,<0.1.25 ||>0.1.25,<0.2) requires langchain-core (>=0.1.33,<0.3.0).
And because langchain-openai (0.1.24) depends on langchain-core (>=0.2.39,<0.3.0)
and langchain-openai (0.1.25) depends on langchain-core (>=0.2.40,<0.3.0), langchain-openai (>=0.1,<0.2) requires langchain-core (>=0.1.33,<0.3.0).
Because no versions of langchain-gigachat match >0.3.3,<0.4.0
and langchain-gigachat (0.3.3) depends on langchain-core (>=0.3,<0.4), langchain-gigachat (>=0.3.3,<0.4.0) requires langchain-core (>=0.3,<0.4).
Thus, langchain-gigachat (>=0.3.3,<0.4.0) is incompatible with langchain-openai (>=0.1,<0.2).
So, because gpt-researcher depends on both langchain-openai (^0.1) and langchain-gigachat (^0.3.3), version solving failed.
The text was updated successfully, but these errors were encountered:
The error text I posted actually is not related to the miss-matched version, it seems to be the new gigachatllm PR merged in 3 hours ago: 62257aa. Using python 3.11, I checked out the previous commit and poetry install passes. Will open a separate issue for this.
Describe the bug
The pyproject.toml says
python = ">=3.10,<3.12"
, while the README.md saysInstall Python 3.11 or later
. I confirmedpoetry install
does not work with 3.10.12.To Reproduce
Steps to reproduce the behavior:
poetry install
Expected behavior
Poetry should be configured to only use versions of python which work
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: