python3Packages.pyopenxl: update disabled tests

This commit is contained in:
Martin Weinelt
2025-08-09 19:05:01 +02:00
parent 52fe5a3545
commit 1bf2f73c1b
@@ -6,8 +6,7 @@
lxml,
pandas,
pillow,
pytest7CheckHook,
pythonAtLeast,
pytestCheckHook,
pythonOlder,
setuptools,
}:
@@ -35,7 +34,7 @@ buildPythonPackage rec {
lxml
pandas
pillow
pytest7CheckHook
pytestCheckHook
];
pytestFlags = [
@@ -43,26 +42,8 @@ buildPythonPackage rec {
];
disabledTests = [
# Tests broken since lxml 2.12; https://foss.heptapod.net/openpyxl/openpyxl/-/issues/2116
"test_read"
"test_read_comments"
"test_ignore_external_blip"
"test_from_xml"
"test_filenames"
"test_exts"
"test_from_complex"
"test_merge_named_styles"
"test_unprotected_cell"
"test_none_values"
"test_rgb_colors"
"test_named_styles"
"test_read_ole_link"
]
++ lib.optionals (pythonAtLeast "3.11") [
"test_broken_sheet_ref"
"test_name_invalid_index"
"test_defined_names_print_area"
"test_no_styles"
# lxml 6.0
"test_iterparse"
];
pythonImportsCheck = [ "openpyxl" ];