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 3E44215817D for ; Sun, 23 Jun 2024 16:20:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB7BAE2AD8; Sun, 23 Jun 2024 16:20:45 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F6CEE2AD8 for ; Sun, 23 Jun 2024 16:20:45 +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 D12FB342FB0 for ; Sun, 23 Jun 2024 16:20:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 094AF1CF5 for ; Sun, 23 Jun 2024 16:20:43 +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: <1719159535.0bb9d55439a26a3f74ca2c5303814d039e7c720d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tenacity/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/tenacity/tenacity-8.4.1.ebuild X-VCS-Directories: dev-python/tenacity/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0bb9d55439a26a3f74ca2c5303814d039e7c720d X-VCS-Branch: master Date: Sun, 23 Jun 2024 16:20:43 +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: 9fe8a873-13e2-4f44-a250-a9763b5185ad X-Archives-Hash: b5d224d20add9250b4ad27ed5286a04c commit: 0bb9d55439a26a3f74ca2c5303814d039e7c720d Author: Michał Górny gentoo org> AuthorDate: Sun Jun 23 13:11:51 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jun 23 16:18:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bb9d554 dev-python/tenacity: Enable py3.13 Signed-off-by: Michał Górny gentoo.org> dev-python/tenacity/tenacity-8.4.1.ebuild | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/dev-python/tenacity/tenacity-8.4.1.ebuild b/dev-python/tenacity/tenacity-8.4.1.ebuild index 6b916a7dff79..0a802a832cbb 100644 --- a/dev-python/tenacity/tenacity-8.4.1.ebuild +++ b/dev-python/tenacity/tenacity-8.4.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi @@ -21,9 +21,23 @@ KEYWORDS="~amd64 ~arm64 ~riscv ~x86" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( - >=dev-python/tornado-6.4-r1[${PYTHON_USEDEP}] - dev-python/typeguard[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tornado-6.4-r1[${PYTHON_USEDEP}] + dev-python/typeguard[${PYTHON_USEDEP}] + ' 3.{10..12}) ) " distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=() + if ! has_version ">=dev-python/tornado-6.4-r1[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_tornado.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}