Repository navigation
Commit 016f405
committed
fix(deps): explicitly pin Pydantic to support Pyodide WASM
Pyodide natively supports pydantic 2.12.5 and pydantic-core 2.41.5
in its built-in registry. By pinning the dependencies to these exact
versions, the browser worker can fetch them natively instead of failing
to compile C-extensions from PyPI. This also eliminates the need for
mock bypasses (try/except blocks) in models.py to handle older
Pydantic versions.1 parent 18a236e commit 016f405
4 files changed
Lines changed: 9 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
| 158 | + | |
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
| 349 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments