summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-08-26 21:28:41 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-08-26 21:28:52 +0100
commitbaef9b7d90fc52cd3f568c85a906cede6ddbea66 (patch)
tree95dc2443ab21469202d61c928467b24e99ed64b1 /gnu/packages
parent74d300172c1ac4894e4a1785fcbf52a45e8814ff (diff)
gnu: python-openpyxl: Build with python-lxml, simplify tests.
* gnu/packages/python-xyz.scm (python-openpyxl): [arguments] <#:test-flags>: Drop most of the options as deselected tests passed successfully. [native-inputs]: Replace python-lxml-4.9 with python-lxml.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm22
1 files changed, 4 insertions, 18 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d667cb5560a..c992392bb6e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7980,8 +7980,6 @@ server.")
7980 (version "3.1.5") 7980 (version "3.1.5")
7981 (source 7981 (source
7982 (origin 7982 (origin
7983 ;; We use the upstream repository, as the tests are not included in the
7984 ;; PyPI releases.
7985 (method hg-fetch) 7983 (method hg-fetch)
7986 (uri (hg-reference 7984 (uri (hg-reference
7987 (url "https://foss.heptapod.net/openpyxl/openpyxl") 7985 (url "https://foss.heptapod.net/openpyxl/openpyxl")
@@ -7992,24 +7990,12 @@ server.")
7992 (build-system pyproject-build-system) 7990 (build-system pyproject-build-system)
7993 (arguments 7991 (arguments
7994 (list 7992 (list
7995 ;; XXX: The workbook writer doesn't respect SOURCE_DATE_EPOCH 7993 ;; tests: 2577 passed, 17 skipped, 4 deselected, 7 xfailed
7996 ;; https://foss.heptapod.net/openpyxl/openpyxl/-/issues/2268
7997 ;; It makes a few tests fail.
7998 #:test-flags 7994 #:test-flags
7999 #~(list "--ignore=openpyxl/worksheet/tests/test_read_only.py" 7995 #~(list (string-append "--deselect=openpyxl/xml/tests/"
8000 "-k" (string-join 7996 "test_functions.py::test_iterparse"))))
8001 (list "not test_unsupport_drawing"
8002 "test_broken_sheet_ref"
8003 "test_no_default_style"
8004 "test_ctor"
8005 "test_force_dimension"
8006 "test_get_max_cell"
8007 "test_read_hyperlinks_read_only"
8008 "test_read_with_missing_cells"
8009 "test_read_empty_rows")
8010 " and not "))))
8011 (native-inputs 7997 (native-inputs
8012 (list python-lxml-4.9 7998 (list python-lxml
8013 python-pillow 7999 python-pillow
8014 python-pytest 8000 python-pytest
8015 python-setuptools)) 8001 python-setuptools))