Commit 79a048c
authored
feat: update dependencies to latest major versions (v2.13.0) (#55)
Update all LangChain and transformers ecosystem dependencies to their
latest major versions with Python 3.10+ support.
## Breaking Changes
- Minimum Python version: 3.9 → 3.10
## LangChain Updates (to v1.x/v3.x/v4.x)
- langchain: 0.3.8 → 1.2.0
- langchain-core: 0.3.29 → 1.2.6
- langchain-openai: 0.2.9 → 1.1.6
- langchain-anthropic: 0.3.0 → 1.3.0
- langchain-google-genai: 2.1.2 → 4.1.2
- langchain-ollama: 0.2.0 → 1.0.1
- langchain-groq: 0.2.1 → 1.1.1
- langchain-mistralai: 0.2.1 → 1.1.1
- langchain-deepseek: 0.1.3 → 1.0.1
- langchain-google-vertexai: 2.0.24 → 3.2.0
## Transformers Ecosystem Updates
- transformers: 4.40.0 → 4.57.3
- torch: 2.2.2 → 2.9.1
- tokenizers: 0.15.2 → 0.22.1
- sentence-transformers: 2.2.0 → 5.2.0
- scikit-learn: 1.3.0 → 1.7.2
- numpy: 1.21.0 → 2.2.6
- accelerate: 1.8.1 → 1.12.0
## Code Changes
- Updated LangChain imports from deprecated paths
(langchain.schema → langchain_core.documents)
- Added google_api_key parameter to Google LangChain conversion
(required by langchain-google-genai 4.x)
- Updated tests to match new LangChain behavior
## Test Results
✅ 642 passed, 1 skipped, 0 failures1 parent 4083a39 commit 79a048c
File tree
8 files changed
+729
-1997
lines changed- src/esperanto/providers
- llm
- reranker
- tests
- integration
- providers/llm
8 files changed
+729
-1997
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
86 | 86 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
| 509 | + | |
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| 277 | + | |
277 | 278 | | |
278 | 279 | | |
279 | 280 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments