Skip to content

fix(build): keep runtime installation compatible with PDM 2.28 - #162

Merged
xiaoland merged 1 commit into
mainfrom
hotfix/pdm-unearth-compat
Oct 27, 2026
Merged

xiaoland merged 1 commit into
mainfrom
hotfix/pdm-unearth-compat

Conversation

@xiaoland

@xiaoland xiaoland commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Fresh runtime image builds fail before application installation because unearth 0.19.0 switched its client to httpx2 while the fixed PDM 2.28.0 still initializes httpx.Client. Pin the builder-only unearth dependency to the compatible 0.18.3 release. Product dependencies and the PDM version stay unchanged.

This unblocks release #161. The release contract requires this build repair to be reviewed separately from version preparation.

Validation: an isolated PDM 2.28.0 environment reproduces the TypeError with unearth 0.19.0; changing only unearth to 0.18.3 makes the same client perform a live PyPI request successfully (HTTP 200). The required repository, standalone CLI, preview-database, and runtime E2E checks passed on aa5d48d, including the actual Docker build. Main artifact publication and deployment passed after merge b84d57b. No implementation-mirroring test is added for a dependency pin.

Risk: a future PDM upgrade must review this compatibility pin. Normal main artifact publication and deployment run after merging; project versions are unchanged, so this PR does not publish a new CLI or Extension version.

@xiaoland
xiaoland merged commit b84d57b into main Oct 27, 2026
7 of 8 checks passed

This branch was successfully deployed

1 active deployment
preview — aa5d48dd Deployed Oct 27, 2026 by xiaoland via impl-py preview cleanup #526
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