commit:     76d27c20fb94b733ff3c5e5893f6151ea16d111c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  3 16:09:30 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov  3 16:10:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76d27c20

dev-python/pillow: Deselect a known test failure on PPC

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

 dev-python/pillow/pillow-11.0.0-r1.ebuild | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/dev-python/pillow/pillow-11.0.0-r1.ebuild 
b/dev-python/pillow/pillow-11.0.0-r1.ebuild
index f1fbdcb83c33..2deee775548d 100644
--- a/dev-python/pillow/pillow-11.0.0-r1.ebuild
+++ b/dev-python/pillow/pillow-11.0.0-r1.ebuild
@@ -117,6 +117,17 @@ python_test() {
                Tests/test_file_libtiff.py::TestFileLibTiff::test_lzma
        )
 
+       case ${ARCH} in
+               ppc)
+                       EPYTEST_DESELECT+=(
+                               # 
https://github.com/python-pillow/Pillow/issues/7008
+                               # (we've reverted the upstream patch because it 
was worse
+                               # than the original issue)
+                               
Tests/test_file_libtiff.py::TestFileLibTiff::test_exif_ifd
+                       )
+                       ;;
+       esac
+
        "${EPYTHON}" selftest.py --installed || die "selftest failed with 
${EPYTHON}"
        local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
        # leak tests are fragile and broken under xdist

Reply via email to