summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2025-09-27 00:34:56 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2025-09-30 16:48:24 +0900
commitc6ab85258a149aa22c75e8092d0e57e5f2823c20 (patch)
tree10fc6c056567c337f5d7f04ceb650704b0fa04fe
parentfaa5bb6ef6aff3ecbba67195fdf90d76e74e1baa (diff)
gnu: python-lxml-4.9: Disable test suite.
* gnu/packages/xml.scm (python-lxml-4.9) [#:tests?]: Set to #f. [#:phases] {check}: Delete. Change-Id: I1e984f27598ed7dfd694712bb609b4d6a2ab242c
-rw-r--r--gnu/packages/xml.scm12
1 files changed, 3 insertions, 9 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 2b38ed9d03f..ed0b1743c91 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1921,19 +1921,13 @@ libxml2 and libxslt.")
1921 (sha256 1921 (sha256
1922 (base32 "03l86qr5xzvz0jcbk669sj8nbw1fjshmf0b7l83gl5cfnx81wm5i")))) 1922 (base32 "03l86qr5xzvz0jcbk669sj8nbw1fjshmf0b7l83gl5cfnx81wm5i"))))
1923 (arguments 1923 (arguments
1924 (list #:phases 1924 (list #:tests? #f ;some tests fail with newer libxml2
1925 #:phases
1925 #~(modify-phases %standard-phases 1926 #~(modify-phases %standard-phases
1926 (add-after 'unpack 'relax-gcc-14-strictness 1927 (add-after 'unpack 'relax-gcc-14-strictness
1927 (lambda _ 1928 (lambda _
1928 (setenv "CFLAGS" 1929 (setenv "CFLAGS"
1929 "-Wno-error=incompatible-pointer-types"))) 1930 "-Wno-error=incompatible-pointer-types")))))))))
1930 (replace 'check
1931 (lambda* (#:key tests? #:allow-other-keys)
1932 (when tests?
1933 (substitute* "src/lxml/tests/test_elementtree.py"
1934 ;; AssertionError: Lists differ: [] != [('end', 'element')]
1935 (("def test_simple_xml") "def _do_not_test_simple_xml"))
1936 (invoke "make" "test"))))))))))
1937 1931
1938(define-deprecated python-lxml-4.7 python-lxml) 1932(define-deprecated python-lxml-4.7 python-lxml)
1939(export python-lxml-4.7) 1933(export python-lxml-4.7)