commit:     342f6230278ac885ea78db16f62138f226db0a91
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 06:46:54 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 28 07:40:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=342f6230

dev-python/openpyxl: Deselect test failing with numpy-2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/openpyxl/openpyxl-3.1.2.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-python/openpyxl/openpyxl-3.1.2.ebuild 
b/dev-python/openpyxl/openpyxl-3.1.2.ebuild
index c13c49087681..16860594aaee 100644
--- a/dev-python/openpyxl/openpyxl-3.1.2.ebuild
+++ b/dev-python/openpyxl/openpyxl-3.1.2.ebuild
@@ -43,6 +43,13 @@ PATCHES=(
 python_test() {
        local EPYTEST_DESELECT=()
 
+       if has_version ">=dev-python/numpy-2[${PYTHON_USEDEP}]"; then
+               EPYTEST_DESELECT+=(
+                       # 
https://foss.heptapod.net/openpyxl/openpyxl/-/issues/2187
+                       
openpyxl/compat/tests/test_compat.py::test_numpy_tostring
+               )
+       fi
+
        case ${EPYTHON} in
                python3.12)
                        EPYTEST_DESELECT+=(

Reply via email to