dev-python/pip: Use PYTEST_XDIST

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-01-17 18:11:41 +01:00
parent 42a82c1486
commit a27da484bf
+3 -2
View File
@@ -10,7 +10,7 @@ PYTHON_TESTED=( python3_{10..11} )
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
PYTHON_REQ_USE="ssl(+),threads(+)"
inherit bash-completion-r1 distutils-r1 multiprocessing
inherit bash-completion-r1 distutils-r1
DESCRIPTION="The PyPA recommended tool for installing Python packages"
HOMEPAGE="
@@ -117,7 +117,8 @@ python_test() {
local -x SETUPTOOLS_USE_DISTUTILS=stdlib
local -x PIP_DISABLE_PIP_VERSION_CHECK=1
epytest -m "not network" -n "$(makeopts_jobs)"
local EPYTEST_XDIST=1
epytest -m "not network"
}
python_install_all() {