From aefe72638388d699c9d4e0941124e8356964bd8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 10 Feb 2025 12:58:08 +0100 Subject: [PATCH] feat: build lxml/xmlsec from source This is needed to allow migrating to Python 3.13 as xmlsec does not ship compatible wheels for it. --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 07e71cdb4..5bd1d6d45 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,8 @@ RUN --mount=type=cache,target=/.uv-cache \ *+* ) \ uv pip install \ --compile-bytecode \ + --no-binary xmlsec \ + --no-binary lxml \ -r /app/src/requirements.txt \ "https://github.com/translate/translate/archive/master.zip" \ "https://github.com/WeblateOrg/language-data/archive/main.zip" \ @@ -27,6 +29,8 @@ RUN --mount=type=cache,target=/.uv-cache \ * ) \ uv pip install \ --compile-bytecode \ + --no-binary xmlsec \ + --no-binary lxml \ -r /app/src/requirements.txt \ "Weblate[$WEBLATE_EXTRAS]==$WEBLATE_VERSION" \ ;; \