1 |
commit: 9e9a822e6ac8e76f6b696abd90ed9cc4edb2cee9 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 12 15:43:14 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 12 16:17:06 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e9a822e |
7 |
|
8 |
dev-python/h2: Enable py3.11 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/h2/h2-3.2.0-r1.ebuild | 2 +- |
13 |
dev-python/h2/h2-4.1.0-r1.ebuild | 16 +++++++++++++++- |
14 |
2 files changed, 16 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/h2/h2-3.2.0-r1.ebuild b/dev-python/h2/h2-3.2.0-r1.ebuild |
17 |
index 315f6e2408b2..46613c45aa92 100644 |
18 |
--- a/dev-python/h2/h2-3.2.0-r1.ebuild |
19 |
+++ b/dev-python/h2/h2-3.2.0-r1.ebuild |
20 |
@@ -4,7 +4,7 @@ |
21 |
EAPI=8 |
22 |
|
23 |
DISTUTILS_USE_PEP517=setuptools |
24 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
25 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
26 |
|
27 |
inherit distutils-r1 |
28 |
|
29 |
|
30 |
diff --git a/dev-python/h2/h2-4.1.0-r1.ebuild b/dev-python/h2/h2-4.1.0-r1.ebuild |
31 |
index 8351e85531d2..2520745f3814 100644 |
32 |
--- a/dev-python/h2/h2-4.1.0-r1.ebuild |
33 |
+++ b/dev-python/h2/h2-4.1.0-r1.ebuild |
34 |
@@ -4,7 +4,7 @@ |
35 |
EAPI=8 |
36 |
|
37 |
DISTUTILS_USE_PEP517=setuptools |
38 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
39 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
40 |
|
41 |
inherit distutils-r1 |
42 |
|
43 |
@@ -33,3 +33,17 @@ BDEPEND=" |
44 |
" |
45 |
|
46 |
distutils_enable_tests pytest |
47 |
+ |
48 |
+python_test() { |
49 |
+ local EPYTEST_DESELECT=() |
50 |
+ if [[ ${EPYTHON} == python3.11 ]]; then |
51 |
+ EPYTEST_DESELECT+=( |
52 |
+ test/test_events.py::TestEventReprs::test_remotesettingschanged_repr |
53 |
+ test/test_events.py::TestEventReprs::test_streamreset_repr |
54 |
+ test/test_events.py::TestEventReprs::test_settingsacknowledged_repr |
55 |
+ test/test_events.py::TestEventReprs::test_connectionterminated_repr |
56 |
+ ) |
57 |
+ fi |
58 |
+ |
59 |
+ epytest |
60 |
+} |