dev-python/pytest-xdist: Bump to 3.7.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-05-27 04:34:13 +02:00
parent 35e786193e
commit c392e1a9bd
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 44 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST pytest_xdist-3.6.1.tar.gz 84060 BLAKE2B 01392bc1f5a1587f609fc0246235457ab92ca40b3c34c660c117fae1c2b8b98dc0cde345f42951d69c3b58732e0094c7618ed570a6e3ca41165e93e2d8cf9e84 SHA512 583a78d0adc05d81458bbdd5832c239581c0fcd9cad9edfd16fa78009c005c15bffec7ed074d9e18f1542393f62d9ccb2c9e0a96d825e9cff1faec123545a2a3
DIST pytest_xdist-3.7.0.tar.gz 87550 BLAKE2B 14a95cdc4275495cc5f5a4c3f0ce3d641b0cd043bd713b49e36b2a8c47cd3cc7d725f7c24f1394eb796df604fc0f1aa0f8a24bd243af80dc1bf2bacb685f98b4 SHA512 5c2287a29d2052544a1374c552fd0113841611a5dbd76aae5fc8cf990106734468e73df5c6fffb2134d226fa2e397ea11d505ac57493ac497dcc1f277905586f

View File

@ -0,0 +1,43 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 )
inherit distutils-r1 pypi
DESCRIPTION="Distributed testing and loop-on-failing modes"
HOMEPAGE="
https://pypi.org/project/pytest-xdist/
https://github.com/pytest-dev/pytest-xdist/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
RDEPEND="
>=dev-python/execnet-2.1[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
>=dev-python/pytest-7.0.0[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
dev-python/filelock[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
# disable autoloading plugins in nested pytest calls
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
# since we disabled autoloading, force loading necessary plugins
local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail
epytest -o tmp_path_retention_count=1
}