Skip to content

ci(sdk): keep unearth below 0.19 when installing pdm - #1493

Merged
kvinwang merged 2 commits into
nextfrom
ci/pin-unearth-for-pdm
Oct 28, 2026
Merged

kvinwang merged 2 commits into
nextfrom
ci/pin-unearth-for-pdm

Conversation

@kvinwang

Copy link
Copy Markdown
Collaborator

SDK tests and SDK compatibility fail on every PR that touches sdk/ or dstack/ since unearth 0.19.0 was published (2026-10-27 03:05 UTC). It switched to httpx2, and pdm 2.29.3 (latest release) then crashes in pdm install:

[TypeError]: super(type, obj): obj must be an instance or subtype of type

pdm master already migrated (pdm-project/pdm#3962), but it is not released yet. Pin unearth<0.19 next to pip install pdm in sdk/run-tests.sh and sdk/compat/run-compat-tests.sh; drop it once a pdm release with the migration is out.

Checked locally in a fresh venv: pip install pdm + pdm install --dev in sdk/python reproduces the error; with 'unearth<0.19' it installs (pdm 2.29.3, unearth 0.18.3).

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 <wy721@qq.com>
@kvinwang
kvinwang enabled auto-merge October 28, 2026 09:19
@kvinwang
kvinwang merged commit b2d94e0 into next Oct 28, 2026
9 checks passed
@kvinwang
kvinwang deleted the ci/pin-unearth-for-pdm branch October 28, 2026 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant