Skip to content

Commit 3d026cd

Browse files
authored
feat(langchain): Support v1 (#4874)
### Description Adapt to import changes in new langchain 1.x #### Issues Closes #4735 #### Reminders - Please add tests to validate your changes, and lint your code using `tox -e linters`. - Add GH Issue ID _&_ Linear ID (if applicable) - PR title should use [conventional commit](https://develop.sentry.dev/engineering-practices/commit-messages/#type) style (`feat:`, `fix:`, `ref:`, `meta:`) - For external contributors: [CONTRIBUTING.md](https://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md), [Sentry SDK development docs](https://develop.sentry.dev/sdk/), [Discord community](https://discord.gg/Ww9hbqr)
1 parent 086197f commit 3d026cd

File tree

5 files changed

+42
-24
lines changed

5 files changed

+42
-24
lines changed

scripts/populate_tox/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@
202202
"*": ["openai", "tiktoken", "langchain-openai"],
203203
"<=0.1": ["httpx<0.28.0"],
204204
">=0.3": ["langchain-community"],
205+
">=1.0": ["langchain-classic"],
205206
},
206-
"include": "<1.0",
207207
"python": {
208208
"<1.0": "<3.14", # https://github.com/langchain-ai/langchain/issues/33449#issuecomment-3408876631
209209
},
@@ -215,8 +215,8 @@
215215
"*": ["openai", "langchain-openai"],
216216
"<=0.1": ["httpx<0.28.0"],
217217
">=0.3": ["langchain-community"],
218+
">=1.0": ["langchain-classic"],
218219
},
219-
"include": "<1.0",
220220
"python": {
221221
"<1.0": "<3.14", # https://github.com/langchain-ai/langchain/issues/33449#issuecomment-3408876631
222222
},

0 commit comments

Comments
 (0)