Commit dbba743
fix(docker): pin api image to uv.lock to escape greenlet 3.5.0
Cloud Build trigger 1e9fc847 (build a12d85eb) failed with:
hint: You're on Linux (manylinux_2_41_x86_64), but greenlet (v3.5.0)
only has wheels for the following platforms: macosx_11_0_universal2,
win_arm64
error: Distribution greenlet==3.5.0 ... can't be installed because
it doesn't have a source distribution or wheel for the current
platform
The Dockerfile copied `pyproject.toml` but not `uv.lock`, and ran
`uv sync` (re-resolves from pyproject) instead of `uv sync --frozen`
(honors uv.lock). uv.lock pins greenlet 3.2.4 which has full
linux/x86_64 wheel coverage; the 3.5.0 release only shipped macOS +
win_arm64 wheels and broke any image built without the lock.
Adds `COPY uv.lock .` and switches `uv sync` → `uv sync --frozen`.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b2ab800 commit dbba743
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | | - | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
0 commit comments