Commit c1921a4
authored
fix: Work around compromised transitive dependency (#6257)
- `mistralai` [might have been
compromised](mistralai/client-python#524).
It's been quarantined by PyPI, so it can't be installed at all.
- The base Pydantic AI package `pydantic-ai`
[installs](pydantic/pydantic-ai#5382)
`pydantic-ai-slim` with a bunch of extras for all sort of AI providers,
including `mistralai`.
- Our test suite fails because we attempt to install `pydantic-ai`,
which then tries to pull in `mistralai` transitively.
The fix: don't install `pydantic-ai`, but instead install
`pydantic-ai-slim` directly, at least for now until `mistralai` is
restored.1 parent c718728 commit c1921a4
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
| 313 | + | |
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
| |||
0 commit comments