Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changes/pdm-build.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Keep runtime image builds compatible with PDM 2.28 by pinning its unearth installer dependency to 0.18.3.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ ENV PDM_CHECK_UPDATE=false \
PDM_VENV_IN_PROJECT=1
WORKDIR /app

RUN pip install --no-cache-dir "pdm==${PDM_VERSION}"
# PDM 2.28 requires the httpx client replaced in unearth 0.19.
RUN pip install --no-cache-dir "pdm==${PDM_VERSION}" "unearth==0.18.3"

COPY pyproject.toml pdm.lock README.md ./
RUN pdm install --prod --no-editable --frozen-lockfile
Expand Down
Loading