fix(deps): update dependency langchain to v1#2730
Conversation
|
f2ad1d3 to
5186db1
Compare
f00e2c3 to
e0508f7
Compare
deb5787 to
1fc8817
Compare
9d7d761 to
91f52b0
Compare
5aef3b5 to
f4c0aa1
Compare
b58b525 to
f2f0206
Compare
f2f0206 to
9bfe9c4
Compare
| @@ -57,7 +57,7 @@ html5lib = "^1.1" | |||
| ipython = "^9.0.0" | |||
| isodate = "^0.7.2" | |||
There was a problem hiding this comment.
Bug: Upgrading langchain to ^1.0.0 conflicts with langchain-experimental ^0.3.4, which requires an older langchain-community version. This will cause dependency resolution to fail.
Severity: CRITICAL
Suggested Fix
To resolve the dependency conflict, update langchain-experimental in pyproject.toml to a version compatible with langchain ^1.0.0, likely ^0.4.x or higher. After updating, run poetry lock and poetry install to verify the dependencies can be resolved successfully.
Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: pyproject.toml#L58
Potential issue: The update to `langchain="^1.0.0"` in `pyproject.toml` introduces a
dependency conflict. The project also depends on `langchain-experimental="^0.3.4"`,
which has a strict requirement for `langchain-community` to be a version less than
`0.4.0`. However, `langchain 1.0.0` requires a newer, incompatible version of
`langchain-community`. This conflict will prevent the project's dependencies from being
installed, causing the build or deployment process to fail immediately.
334ffed to
504bd12
Compare
504bd12 to
fd06f83
Compare
This PR contains the following updates:
^0.3.11→^1.0.0Configuration
📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.