1 |
commit: e8d080443a4a1c791446edbf766b408d32df5e7c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 3 11:59:53 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 3 12:01:45 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8d08044 |
7 |
|
8 |
dev-python/matplotlib: Enable py3.11 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/matplotlib/matplotlib-3.5.2-r3.ebuild | 11 +++++++++-- |
13 |
1 file changed, 9 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/matplotlib/matplotlib-3.5.2-r3.ebuild b/dev-python/matplotlib/matplotlib-3.5.2-r3.ebuild |
16 |
index e154653a5a4d..d62922e0914d 100644 |
17 |
--- a/dev-python/matplotlib/matplotlib-3.5.2-r3.ebuild |
18 |
+++ b/dev-python/matplotlib/matplotlib-3.5.2-r3.ebuild |
19 |
@@ -4,7 +4,7 @@ |
20 |
EAPI=8 |
21 |
|
22 |
DISTUTILS_USE_PEP517=setuptools |
23 |
-PYTHON_COMPAT=( python3_{8..10} ) |
24 |
+PYTHON_COMPAT=( python3_{8..11} ) |
25 |
PYTHON_REQ_USE='tk?,threads(+)' |
26 |
|
27 |
inherit distutils-r1 flag-o-matic multiprocessing prefix toolchain-funcs \ |
28 |
@@ -80,7 +80,9 @@ RDEPEND=" |
29 |
>=www-servers/tornado-6.0.4[${PYTHON_USEDEP}] |
30 |
) |
31 |
wxwidgets? ( |
32 |
- dev-python/wxpython:*[${PYTHON_USEDEP}] |
33 |
+ $(python_gen_cond_dep ' |
34 |
+ dev-python/wxpython:*[${PYTHON_USEDEP}] |
35 |
+ ' python3_{8..10}) |
36 |
) |
37 |
" |
38 |
|
39 |
@@ -247,6 +249,11 @@ python_test() { |
40 |
"tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg7-MatplotlibDeprecationWarning]" |
41 |
tests/test_testing.py::test_warn_to_fail |
42 |
) |
43 |
+ [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( |
44 |
+ # https://github.com/matplotlib/matplotlib/issues/23384 |
45 |
+ "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtagg', 'QT_API': 'PyQt5'}]" |
46 |
+ "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtcairo', 'QT_API': 'PyQt5'}]" |
47 |
+ ) |
48 |
|
49 |
# we need to rebuild mpl against bundled freetype, otherwise |
50 |
# over 1000 tests will fail because of mismatched font rendering |