From 2e006d7b02368426ba27b06896f78e22fbe9d4e9 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 8 Jul 2026 15:46:34 -0500 Subject: [PATCH 1/2] fix: install uv via standalone installer in alpine build Alpine 3.14's system pip (20.3.4) predates musllinux wheel-tag support (PEP 656, pip 21.3), so `pip install uv --only-binary uv` finds no compatible wheel and fails with "No matching distribution found for uv". Install uv via its official musl-native standalone installer instead, placing the binary on PATH via UV_INSTALL_DIR. Co-authored-by: Cursor --- scripts/build_alpine.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_alpine.sh b/scripts/build_alpine.sh index e13be80e..f441a9d3 100755 --- a/scripts/build_alpine.sh +++ b/scripts/build_alpine.sh @@ -1,7 +1,7 @@ #!/bin/sh set -eux apk add build-base python3 py3-pip curl -python3 -m pip install uv --only-binary uv +curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR=/usr/local/bin sh # Need to build with python 3.9 to support systems with libpython >= 3.9 uv python pin 3.9 uv sync --no-binary-package pyyaml --no-binary-package ijson From c34b78dc7d4f14b296919a83fb4c97da16ae4d06 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 8 Jul 2026 15:51:48 -0500 Subject: [PATCH 2/2] fix: upgrade pip before installing uv in alpine build Alpine 3.14's system pip (20.3.4) predates musllinux wheel-tag support (PEP 656, pip 21.3), so `pip install uv --only-binary uv` finds no compatible wheel and fails with "No matching distribution found for uv". Upgrade pip first so it recognizes musllinux tags and can install the uv wheel. Alpine 3.14 has no PEP 668 EXTERNALLY-MANAGED marker, so no --break-system-packages is needed. Co-authored-by: Cursor --- scripts/build_alpine.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build_alpine.sh b/scripts/build_alpine.sh index f441a9d3..b71fc81d 100755 --- a/scripts/build_alpine.sh +++ b/scripts/build_alpine.sh @@ -1,7 +1,8 @@ #!/bin/sh set -eux apk add build-base python3 py3-pip curl -curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR=/usr/local/bin sh +python3 -m pip install --upgrade pip +python3 -m pip install uv --only-binary uv # Need to build with python 3.9 to support systems with libpython >= 3.9 uv python pin 3.9 uv sync --no-binary-package pyyaml --no-binary-package ijson