From 90be6393dc64b2ef4e81569d986a2b3ee95f8b54 Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Mon, 26 Oct 2026 21:26:59 -0700 Subject: [PATCH] ci(sdk): keep unearth below 0.19 when installing pdm unearth 0.19.0 (2026-10-27) moved to httpx2, and pdm 2.29.3 crashes on it during `pdm install` with "super(type, obj): obj must be an instance or subtype of type". pdm master has migrated (pdm-project/pdm#3962) but no release carries it yet. Signed-off-by: Kevin Wang --- sdk/compat/run-compat-tests.sh | 2 +- sdk/run-tests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/compat/run-compat-tests.sh b/sdk/compat/run-compat-tests.sh index 32ebc4f70..5b63d3b07 100755 --- a/sdk/compat/run-compat-tests.sh +++ b/sdk/compat/run-compat-tests.sh @@ -273,7 +273,7 @@ run_python_suite() { cd "$sdk_root/python" if ! command -v pdm >/dev/null 2>&1; then echo "Installing PDM..." - pip install pdm + pip install pdm 'unearth<0.19' fi pdm install --dev # `pdm run check` is deliberately not run: it lints the released SDK's diff --git a/sdk/run-tests.sh b/sdk/run-tests.sh index ff25c3755..2a86c45b5 100755 --- a/sdk/run-tests.sh +++ b/sdk/run-tests.sh @@ -35,7 +35,7 @@ pushd "$ROOT_DIR/python" # Ensure PDM is installed if ! command -v pdm &> /dev/null; then echo "Installing PDM..." - pip install pdm + pip install pdm 'unearth<0.19' fi # Install dependencies and setup environment using PDM pdm install --dev