Skip to content

Commit

Permalink
feat: build lxml/xmlsec from source
Browse files Browse the repository at this point in the history
This is needed to allow migrating to Python 3.13 as xmlsec does not ship
compatible wheels for it.
  • Loading branch information
nijel committed Feb 10, 2025
1 parent 1c965f3 commit aefe726
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand All @@ -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" \
;; \
Expand Down

0 comments on commit aefe726

Please sign in to comment.