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 52DE0158089 for ; Tue, 7 Nov 2023 05:29:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 193332BC019; Tue, 7 Nov 2023 05:29:22 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E9B6E2BC017 for ; Tue, 7 Nov 2023 05:29:21 +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 E7215335D16 for ; Tue, 7 Nov 2023 05:29:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4CDD1132B for ; Tue, 7 Nov 2023 05:29:19 +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: <1699334948.be0e95a40cde62f20949da34802d96df38b08328.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyrate-limiter/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyrate-limiter/pyrate-limiter-3.1.0.ebuild X-VCS-Directories: dev-python/pyrate-limiter/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: be0e95a40cde62f20949da34802d96df38b08328 X-VCS-Branch: master Date: Tue, 7 Nov 2023 05:29:19 +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: 49397e5e-26b5-4bd5-9373-4291b3f99523 X-Archives-Hash: 66b554318cc4f71c354de1a55fdd7d71 commit: be0e95a40cde62f20949da34802d96df38b08328 Author: Michał Górny gentoo org> AuthorDate: Fri Nov 3 19:20:11 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Nov 7 05:29:08 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be0e95a4 dev-python/pyrate-limiter: Use EPYTEST_XDIST Signed-off-by: Michał Górny gentoo.org> dev-python/pyrate-limiter/pyrate-limiter-3.1.0.ebuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dev-python/pyrate-limiter/pyrate-limiter-3.1.0.ebuild b/dev-python/pyrate-limiter/pyrate-limiter-3.1.0.ebuild index 47947453dc89..2bfd9a737bdd 100644 --- a/dev-python/pyrate-limiter/pyrate-limiter-3.1.0.ebuild +++ b/dev-python/pyrate-limiter/pyrate-limiter-3.1.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry PYTHON_COMPAT=( python3_{10..11} ) -inherit distutils-r1 multiprocessing pypi +inherit distutils-r1 pypi DESCRIPTION="Python Rate-Limiter using Leaky-Bucket Algorimth Family" HOMEPAGE=" @@ -26,7 +26,6 @@ RDEPEND=" BDEPEND=" test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] ) " @@ -37,6 +36,7 @@ EPYTEST_DESELECT=( # Python 3.11 is slightly faster, leading to a non-critical failure here "tests/test_concurrency.py::test_concurrency[ProcessPoolExecutor-SQLiteBucket]" ) +EPYTEST_XDIST=1 # TODO: package sphinx-copybutton # distutils_enable_sphinx docs \ @@ -67,7 +67,3 @@ src_test() { # Clean up afterwards kill "$(<"${redis_pid}")" || die } - -python_test() { - epytest -n "$(makeopts_jobs)" --dist=worksteal -}