From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3696915806E for ; Mon, 29 May 2023 12:26:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58AE2E0878; Mon, 29 May 2023 12:26:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 39E0CE0878 for ; Mon, 29 May 2023 12:26:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 48094340BDD for ; Mon, 29 May 2023 12:26:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D892AA72 for ; Mon, 29 May 2023 12:26:33 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1685363182.d7f12d179930490b1fcfa4b0a1fa8dc8db25ce39.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/yarl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/yarl/yarl-1.9.2.ebuild X-VCS-Directories: dev-python/yarl/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d7f12d179930490b1fcfa4b0a1fa8dc8db25ce39 X-VCS-Branch: master Date: Mon, 29 May 2023 12:26:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 40dc77bb-5fd3-47f2-b106-faa00b8eaa99 X-Archives-Hash: aabf031acfe7da3fa252536fb60f2851 commit: d7f12d179930490b1fcfa4b0a1fa8dc8db25ce39 Author: Michał Górny gentoo org> AuthorDate: Mon May 29 12:02:56 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon May 29 12:26:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7f12d17 dev-python/yarl: Enable py3.12 Signed-off-by: Michał Górny gentoo.org> dev-python/yarl/yarl-1.9.2.ebuild | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/dev-python/yarl/yarl-1.9.2.ebuild b/dev-python/yarl/yarl-1.9.2.ebuild index dca10cbd9658..f08b6212d247 100644 --- a/dev-python/yarl/yarl-1.9.2.ebuild +++ b/dev-python/yarl/yarl-1.9.2.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} pypy3 ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) inherit distutils-r1 pypi @@ -38,6 +38,20 @@ src_configure() { } python_test() { + local EPYTEST_DESELECT=() + if [[ ${EPYTHON} == python3.12 ]]; then + EPYTEST_DESELECT+=( + # tests for seemingly invalid addresses, unlikely to affect + # real world use + # https://github.com/aio-libs/yarl/issues/876 + tests/test_url.py::test_ipv6_zone + tests/test_url.py::test_human_repr_delimiters + tests/test_url_parsing.py::TestHost::test_masked_ipv4 + tests/test_url_parsing.py::TestHost::test_strange_ip + tests/test_url_parsing.py::TestUserInfo::test_weird_user3 + ) + fi + cd tests || die epytest --override-ini=addopts= }