Skip to content

Commit 6753a90

Browse files
authoredMar 26, 2025··
Revert "Requirements: use xmlsec with --no-binary option" (#12071)
This breaks importing xmlsec again Reverts #12056
1 parent 71f3862 commit 6753a90

File tree

5 files changed

+3
-12
lines changed

5 files changed

+3
-12
lines changed
 

‎requirements/deploy.txt

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#
55
# pip-compile --output-file=requirements/deploy.txt requirements/deploy.in
66
#
7-
--no-binary xmlsec
8-
97
amqp==5.3.1
108
# via
119
# -r requirements/pip.txt

‎requirements/docker.txt

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#
55
# pip-compile --output-file=requirements/docker.txt requirements/docker.in
66
#
7-
--no-binary xmlsec
8-
97
amqp==5.3.1
108
# via
119
# -r requirements/pip.txt

‎requirements/pip.in

+3-4
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ bumpver
150150

151151

152152
# xmlsec is a dependecy from python3-saml which is required by django-allauth.
153-
# We have to use --no-binary to build it using `libxml2-dev` package installed at
154-
# system level. Otherwise, it fails saying there is a version mismatch
153+
# We have to pin it because the underlying `libxml2-dev` package installed at
154+
# system level is incompatible with the Python version
155155
# https://github.com/xmlsec/python-xmlsec/issues/324
156-
# https://github.com/lxml/lxml/blob/0eb4f0029497957e58a9f15280b3529bdb18d117/doc/FAQ.txt#L623
157-
--no-binary=xmlsec
156+
xmlsec==1.3.14

‎requirements/pip.txt

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#
55
# pip-compile --output-file=requirements/pip.txt requirements/pip.in
66
#
7-
--no-binary xmlsec
8-
97
amqp==5.3.1
108
# via kombu
119
annotated-types==0.7.0

‎requirements/testing.txt

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#
55
# pip-compile --output-file=requirements/testing.txt requirements/testing.in
66
#
7-
--no-binary xmlsec
8-
97
alabaster==1.0.0
108
# via sphinx
119
amqp==5.3.1

0 commit comments

Comments
 (0)
Please sign in to comment.