summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-12 17:43:14 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-12 18:17:06 +0200
commit9e9a822e6ac8e76f6b696abd90ed9cc4edb2cee9 (patch)
treea397ab3e8d2cf48a08cec58a789989e6285a0d47 /dev-python/h2
parentdev-python/h2: EAPI 8, PEP517 (diff)
downloadgentoo-9e9a822e6ac8e76f6b696abd90ed9cc4edb2cee9.tar.gz
gentoo-9e9a822e6ac8e76f6b696abd90ed9cc4edb2cee9.tar.bz2
gentoo-9e9a822e6ac8e76f6b696abd90ed9cc4edb2cee9.zip
dev-python/h2: Enable py3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/h2')
-rw-r--r--dev-python/h2/h2-3.2.0-r1.ebuild2
-rw-r--r--dev-python/h2/h2-4.1.0-r1.ebuild16
2 files changed, 16 insertions, 2 deletions
diff --git a/dev-python/h2/h2-3.2.0-r1.ebuild b/dev-python/h2/h2-3.2.0-r1.ebuild
index 315f6e2408b2..46613c45aa92 100644
--- a/dev-python/h2/h2-3.2.0-r1.ebuild
+++ b/dev-python/h2/h2-3.2.0-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
inherit distutils-r1
diff --git a/dev-python/h2/h2-4.1.0-r1.ebuild b/dev-python/h2/h2-4.1.0-r1.ebuild
index 8351e85531d2..2520745f3814 100644
--- a/dev-python/h2/h2-4.1.0-r1.ebuild
+++ b/dev-python/h2/h2-4.1.0-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
inherit distutils-r1
@@ -33,3 +33,17 @@ BDEPEND="
"
distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=()
+ if [[ ${EPYTHON} == python3.11 ]]; then
+ EPYTEST_DESELECT+=(
+ test/test_events.py::TestEventReprs::test_remotesettingschanged_repr
+ test/test_events.py::TestEventReprs::test_streamreset_repr
+ test/test_events.py::TestEventReprs::test_settingsacknowledged_repr
+ test/test_events.py::TestEventReprs::test_connectionterminated_repr
+ )
+ fi
+
+ epytest
+}