summaryrefslogtreecommitdiff
path: root/dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2023-03-10 13:55:48 +0100
committerSam James <sam@gentoo.org>2023-03-10 13:55:13 +0000
commitf96aaa62cb7b6fff5dba9602c37ee8b1553ad3ca (patch)
treeeaae8f2c636a9aba484a12be4c7f0d5167401270 /dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild
parentd7f6f2d938cc48a64919dce4fa295d4751c71a51 (diff)
downloadgentoo-f96aaa62cb7b6fff5dba9602c37ee8b1553ad3ca.tar.gz
gentoo-f96aaa62cb7b6fff5dba9602c37ee8b1553ad3ca.tar.bz2
gentoo-f96aaa62cb7b6fff5dba9602c37ee8b1553ad3ca.zip
dev-python/kafka-python: enable py3.11
It was necessary to apply patch to fix tests with py3.11. The patch was sent to upstream [1]. [1] https://github.com/dpkp/kafka-python/pull/2358 Closes: https://bugs.gentoo.org/896790 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/30043 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild')
-rw-r--r--dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild b/dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild
index 911f0ecfa1e6..d0963154542f 100644
--- a/dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild
+++ b/dev-python/kafka-python/kafka-python-2.0.2-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 optfeature
@@ -35,6 +35,10 @@ BDEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}/${P}-py311-test-fixes.patch"
+)
+
distutils_enable_tests pytest
EPYTEST_DESELECT=(