diff options
author | Sam James <sam@gentoo.org> | 2023-08-16 21:12:06 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-08-16 21:12:41 +0100 |
commit | ce442037f69c734d176e0480a06ccc47532cf384 (patch) | |
tree | e8c8b3069bdee02c90a62f3651b430aa1c78d8c9 | |
parent | app-antivirus/clamav: Version bump critical patch versions (diff) | |
download | gentoo-ce442037f69c734d176e0480a06ccc47532cf384.tar.gz gentoo-ce442037f69c734d176e0480a06ccc47532cf384.tar.bz2 gentoo-ce442037f69c734d176e0480a06ccc47532cf384.zip |
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@gentoo.org>
-rw-r--r-- | dev-python/matplotlib/matplotlib-3.7.1.ebuild | 11 | ||||
-rw-r--r-- | dev-python/matplotlib/matplotlib-3.7.2.ebuild | 12 |
2 files changed, 23 insertions, 0 deletions
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 \ |