guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit a9e041fd74acf7da1bfa33eafd9af2b5fc119789
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Nov 2 01:38:02 2025 +0100

    gnu: python-openpyxl: Disable failing tests.
    
    * gnu/packages/python-xyz.scm (python-openpyxl)[arguments]
    <#:test-flags>: Disable failing tests.
    
    Change-Id: I5d8c9a02377dcd3a04ae4db886bebdf0743db028
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fda4f7bf8b..62fca7c2c0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6780,6 +6780,24 @@ server.")
        (sha256
         (base32 "17z6rrvv3q1axy9r13c2hln2pazfn9n5bhkzrbjcjakgbfjl6mss"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; XXX: The workbook writer doesn't respect SOURCE_DATE_EPOCH
+      ;; https://foss.heptapod.net/openpyxl/openpyxl/-/issues/2268
+      ;; It makes a few tests fail.
+      #:test-flags
+      #~(list "--ignore=openpyxl/worksheet/tests/test_read_only.py"
+              "-k" (string-join
+                    (list "not test_unsupport_drawing"
+                          "test_broken_sheet_ref"
+                          "test_no_default_style"
+                          "test_ctor"
+                          "test_force_dimension"
+                          "test_get_max_cell"
+                          "test_read_hyperlinks_read_only"
+                          "test_read_with_missing_cells"
+                          "test_read_empty_rows")
+                    " and not "))))
     (native-inputs
      (list python-lxml-4.9
            python-pillow

Reply via email to