Skip to content

Commit 5840a67

Browse files
humitosstsewd
andauthored
Requirements: use xmlsec with --no-binary option (#12056)
Co-authored-by: Santos Gallegos <[email protected]>
1 parent 392de8d commit 5840a67

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

requirements/deploy.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#
55
# pip-compile --output-file=requirements/deploy.txt requirements/deploy.in
66
#
7+
--no-binary xmlsec
8+
79
amqp==5.3.1
810
# via
911
# -r requirements/pip.txt

requirements/docker.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#
55
# pip-compile --output-file=requirements/docker.txt requirements/docker.in
66
#
7+
--no-binary xmlsec
8+
79
amqp==5.3.1
810
# via
911
# -r requirements/pip.txt

requirements/pip.in

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ bumpver
150150

151151

152152
# xmlsec is a dependecy from python3-saml which is required by django-allauth.
153-
# We have to pin it because the underlying `libxml2-dev` package installed at
154-
# system level is incompatible with the Python version
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
155155
# https://github.com/xmlsec/python-xmlsec/issues/324
156-
xmlsec==1.3.14
156+
# https://github.com/lxml/lxml/blob/0eb4f0029497957e58a9f15280b3529bdb18d117/doc/FAQ.txt#L623
157+
--no-binary=xmlsec

requirements/pip.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#
55
# pip-compile --output-file=requirements/pip.txt requirements/pip.in
66
#
7+
--no-binary xmlsec
8+
79
amqp==5.3.1
810
# via kombu
911
annotated-types==0.7.0

requirements/testing.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#
55
# pip-compile --output-file=requirements/testing.txt requirements/testing.in
66
#
7+
--no-binary xmlsec
8+
79
alabaster==1.0.0
810
# via sphinx
911
amqp==5.3.1

0 commit comments

Comments
 (0)