Commit a125224
fix(website): pin UV_PYTHON=3.13 for the Amplify build
The build phase died in resolve_sources.py with `ModuleNotFoundError: No module
named 'tomllib'`. tomllib is stdlib only in Python 3.11+, but the repo declares
requires-python ">=3.10" with no version pin, so uv on Amplify's Amazon Linux
created the venv with a <=3.10 interpreter. (Locally and on GH Actions uv happens
to pick 3.13.)
Set UV_PYTHON=3.13 so uv fetches/uses 3.13 for both the root env and the
notebook emitter project (both declare >=3.10 and resolve to 3.13 locally),
giving resolve_sources.py + gen_compat_matrix.py their tomllib.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 2dc932f commit a125224
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
| |||
0 commit comments