From a9d6c55003cc899cb9dfc77846233b6aa6b2fb9e Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 30 Jul 2021 12:10:55 +0300 Subject: [PATCH] dev-python/aiohttp: enable pypy3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Arthur Zamarin Signed-off-by: Michał Górny --- dev-python/aiohttp/aiohttp-3.7.4-r1.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-python/aiohttp/aiohttp-3.7.4-r1.ebuild b/dev-python/aiohttp/aiohttp-3.7.4-r1.ebuild index 4c0cea0a0d1eb..1010ecc1021f1 100644 --- a/dev-python/aiohttp/aiohttp-3.7.4-r1.ebuild +++ b/dev-python/aiohttp/aiohttp-3.7.4-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..10} pypy3 ) inherit distutils-r1 multiprocessing @@ -91,6 +91,11 @@ python_test() { 'tests/test_streams.py::TestDataQueue::test_exception_waiter[pyloop]' ) + [[ ${EPYTHON} == pypy3 ]] && deselect+=( + # fails with a 'runtime warning' + tests/test_multipart.py::TestPartReader::test_read_boundary_with_incomplete_chunk + ) + pushd "${BUILD_DIR}/lib" >/dev/null || die ln -snf "${S}"/{LICENSE.txt,tests} . || die epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" --forked \