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 188A615810D for ; Tue, 30 May 2023 16:18:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B34DE09EE; Tue, 30 May 2023 16:18:54 +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 2DBB7E09EE for ; Tue, 30 May 2023 16:18:54 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0043D3410D9 for ; Tue, 30 May 2023 16:18:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 45448A7E for ; Tue, 30 May 2023 16:18:51 +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: <1685463526.eb80f50effa33dcc3d9880db0731543e7d264f8b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/trio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/trio/trio-0.22.0_p20230530.ebuild X-VCS-Directories: dev-python/trio/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: eb80f50effa33dcc3d9880db0731543e7d264f8b X-VCS-Branch: master Date: Tue, 30 May 2023 16:18:51 +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: 92c3f27b-e7ad-4cde-9360-3fa3bbd1723f X-Archives-Hash: d013ad4ad9e065599a1da779d3081ddc commit: eb80f50effa33dcc3d9880db0731543e7d264f8b Author: Michał Górny gentoo org> AuthorDate: Tue May 30 16:11:21 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue May 30 16:18:46 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb80f50e dev-python/trio: Enable py3.12 Signed-off-by: Michał Górny gentoo.org> dev-python/trio/trio-0.22.0_p20230530.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dev-python/trio/trio-0.22.0_p20230530.ebuild b/dev-python/trio/trio-0.22.0_p20230530.ebuild index 7b5e30f07816..987eea446215 100644 --- a/dev-python/trio/trio-0.22.0_p20230530.ebuild +++ b/dev-python/trio/trio-0.22.0_p20230530.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..11} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 @@ -28,7 +28,9 @@ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] - >=dev-python/exceptiongroup-1.0.0_rc9[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc9[${PYTHON_USEDEP}] + ' 3.{9..10}) dev-python/idna[${PYTHON_USEDEP}] dev-python/outcome[${PYTHON_USEDEP}] dev-python/sniffio[${PYTHON_USEDEP}] @@ -65,6 +67,11 @@ python_test() { # incompatible ipython version? trio/_core/tests/test_multierror.py::test_ipython_exc_handler ) + if [[ ${EPYTHON} == python3.12 ]]; then + EPYTEST_DESELECT+=( + trio/_core/_tests/test_run.py::test_nursery_cancel_doesnt_create_cyclic_garbage + ) + fi local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest -p trio._tests.pytest_plugin -m "not redistributors_should_skip"