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 C75FB158004 for ; Sun, 29 Oct 2023 18:59:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E99AC2BC016; Sun, 29 Oct 2023 18:59:43 +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 C871A2BC016 for ; Sun, 29 Oct 2023 18:59:43 +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 D625E335C0D for ; Sun, 29 Oct 2023 18:59:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2633C12EE for ; Sun, 29 Oct 2023 18:59:41 +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: <1698605452.eadaf2e4a8e3508911e28e995ab883c2b5e96f31.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/emcee/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/emcee/emcee-3.1.4.ebuild X-VCS-Directories: dev-python/emcee/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: eadaf2e4a8e3508911e28e995ab883c2b5e96f31 X-VCS-Branch: master Date: Sun, 29 Oct 2023 18:59:41 +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: fe9085d4-5ea5-4102-95e8-d8dcb1e04744 X-Archives-Hash: b82134c7ccb04479945eb36b00257bbf commit: eadaf2e4a8e3508911e28e995ab883c2b5e96f31 Author: Michał Górny gentoo org> AuthorDate: Sun Oct 29 18:50:52 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Oct 29 18:50:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eadaf2e4 dev-python/emcee: Enable py3.12 Signed-off-by: Michał Górny gentoo.org> dev-python/emcee/emcee-3.1.4.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-python/emcee/emcee-3.1.4.ebuild b/dev-python/emcee/emcee-3.1.4.ebuild index 4b4b5950a76f..d90034e8e56b 100644 --- a/dev-python/emcee/emcee-3.1.4.ebuild +++ b/dev-python/emcee/emcee-3.1.4.ebuild @@ -4,9 +4,9 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 pypi +inherit distutils-r1 multiprocessing pypi DESCRIPTION="Python ensemble sampling toolkit for affine-invariant MCMC" HOMEPAGE=" @@ -29,6 +29,7 @@ RDEPEND=" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}] ) " @@ -42,3 +43,8 @@ src_prepare() { sed -i -e '/wheel/d' setup.py || die distutils-r1_src_prepare } + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal +}