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 461D0158090 for ; Wed, 11 May 2022 06:19:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F890E0985; Wed, 11 May 2022 06:19:21 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 18FA6E0985 for ; Wed, 11 May 2022 06:19:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 1630D3419A8 for ; Wed, 11 May 2022 06:19:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9333D452 for ; Wed, 11 May 2022 06:19:17 +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: <1652249950.34eea06ee62c0bf38261ad7ccb4bee58ce1fa160.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cffi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cffi/cffi-1.15.0-r1.ebuild X-VCS-Directories: dev-python/cffi/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 34eea06ee62c0bf38261ad7ccb4bee58ce1fa160 X-VCS-Branch: master Date: Wed, 11 May 2022 06:19:17 +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: 0693ba7e-900f-46d3-9e18-9fe1c614f3a6 X-Archives-Hash: 16888894442197cc8c43bd634c34cd58 commit: 34eea06ee62c0bf38261ad7ccb4bee58ce1fa160 Author: Michał Górny gentoo org> AuthorDate: Tue May 10 21:20:06 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 11 06:19:10 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34eea06e dev-python/cffi: Enable py3.11 Signed-off-by: Michał Górny gentoo.org> dev-python/cffi/cffi-1.15.0-r1.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-python/cffi/cffi-1.15.0-r1.ebuild b/dev-python/cffi/cffi-1.15.0-r1.ebuild index 97883557d572..2039fa2bc8f1 100644 --- a/dev-python/cffi/cffi-1.15.0-r1.ebuild +++ b/dev-python/cffi/cffi-1.15.0-r1.ebuild @@ -7,7 +7,7 @@ EAPI=7 DISTUTILS_USE_PEP517=setuptools # DO NOT ADD pypy to PYTHON_COMPAT # pypy bundles a modified version of cffi. Use python_gen_cond_dep instead. -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 toolchain-funcs @@ -54,10 +54,17 @@ src_configure() { } python_test() { + local EPYTEST_DESELECT=() local EPYTEST_IGNORE=( # these tests call pip testing/cffi0/test_zintegration.py ) + if [[ ${EPYTHON} == python3.11 ]]; then + EPYTEST_DESELECT+=( + # exception printing format has changed + c/test_c.py::test_callback_exception + ) + fi "${EPYTHON}" -c "import _cffi_backend as backend" || die local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1