commit: ce442037f69c734d176e0480a06ccc47532cf384 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Aug 16 20:12:06 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Aug 16 20:12:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce442037
dev-python/matplotlib: skip a test on 32-bit Too large. Bug: https://bugs.gentoo.org/754324 Bug: https://bugs.gentoo.org/859499 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-python/matplotlib/matplotlib-3.7.1.ebuild | 11 +++++++++++ dev-python/matplotlib/matplotlib-3.7.2.ebuild | 12 ++++++++++++ 2 files changed, 23 insertions(+) diff --git a/dev-python/matplotlib/matplotlib-3.7.1.ebuild b/dev-python/matplotlib/matplotlib-3.7.1.ebuild index 05c4db3ee7b0..6a3b7310439d 100644 --- a/dev-python/matplotlib/matplotlib-3.7.1.ebuild +++ b/dev-python/matplotlib/matplotlib-3.7.1.ebuild @@ -256,6 +256,17 @@ python_test() { "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtcairo', 'QT_API': 'PyQt5'}]" ) + case "${ABI}" in + alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) + EPYTEST_DESELECT+=( + # too large for 32-bit platforms + 'tests/test_axes.py::test_psd_csd[png]' + ) + ;; + *) + ;; + esac + # we need to rebuild mpl against bundled freetype, otherwise # over 1000 tests will fail because of mismatched font rendering grep -v system_freetype "${BUILD_DIR}"/setup.cfg \ diff --git a/dev-python/matplotlib/matplotlib-3.7.2.ebuild b/dev-python/matplotlib/matplotlib-3.7.2.ebuild index 0590c8818ea7..7406ac29a074 100644 --- a/dev-python/matplotlib/matplotlib-3.7.2.ebuild +++ b/dev-python/matplotlib/matplotlib-3.7.2.ebuild @@ -254,12 +254,24 @@ python_test() { # unhappy about xdist tests/test_widgets.py::test_span_selector_animated_artists_callback ) + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( # https://github.com/matplotlib/matplotlib/issues/23384 "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtagg', 'QT_API': 'PyQt5'}]" "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtcairo', 'QT_API': 'PyQt5'}]" ) + case "${ABI}" in + alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) + EPYTEST_DESELECT+=( + # too large for 32-bit platforms + 'tests/test_axes.py::test_psd_csd[png]' + ) + ;; + *) + ;; + esac + # we need to rebuild mpl against bundled freetype, otherwise # over 1000 tests will fail because of mismatched font rendering grep -v system_freetype "${BUILD_DIR}"/setup.cfg \
