dev-python/tox: Bump to 4.57.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-07-21 07:07:12 +02:00
parent 59fa3c90f7
commit 490baab7e9
2 changed files with 82 additions and 0 deletions

View File

@@ -4,3 +4,5 @@ DIST tox-4.56.4.tar.gz 286611 BLAKE2B 63beb6fe64ff88316e637369aa4cfd1eca1dd99421
DIST tox-4.56.4.tar.gz.provenance 9871 BLAKE2B 77a570490a72a56e20e17caa0d1bc3a1564cd97c7e98b9a5394da507546b70b5c300f3a374760ed597516308ec7ab335257369ca7eaf34aeecef3ca89ffa100a SHA512 93518399a30f7e70397368801e32b8881b848d7c50256b4b240c80d75e5ad026bd3ab1ce8405496da624b3b382ef0ebc3b8f7c0eec026ea426dc73f8884c5025
DIST tox-4.57.0.tar.gz 287613 BLAKE2B 1cc082057a78419ff0ce69366513b31795efe120c536a2d965e3958100df088ab08a4339f911f3e53323c49d87f83d03ec70bb729ba8afb1a08e4b578986c5cf SHA512 2cc2caed59061649ed562fcfb21a4636e6a95b9a56ede186bfb5257e7d4de3d2b11d1d85f429a734cbaee8d5300158a610596b88d60ce76c3393cb2a3e59838f
DIST tox-4.57.0.tar.gz.provenance 9448 BLAKE2B 82872ecdd198d8c0d491acc162689ea0d04da4c9b59b9105f6c1f5a66ae2b490843a9ac98edd3dc444bc62bd585a5e1318e779e9e5c2c145798febe4b5cc8908 SHA512 c624b424580a1917fb37aba79680aaefc053894c9f5ae7278473adbd752335f0cece209375f9d4128456a864cd3595c27eb6094d8c38ff1ebfe5c0932c914bc0
DIST tox-4.57.2.tar.gz 296928 BLAKE2B 31adcccbab438196c8627de3a8db9be985216c612c29be6bd67e04e140e4cfad6ff0c35b0a8a3d2b48d8d30db7058ab2b8093688eaaf5d96b2fb4858f61c5374 SHA512 a21bb6c2f7f133e3bc74cfcd18516114453ded75d156f930804acdfcfc65c6d3d2816c838efad01187df730544c19ede99e3c4fef24a68213c6a461396174e55
DIST tox-4.57.2.tar.gz.provenance 9593 BLAKE2B f78ff9e827973ac587dd1c310ea4541101ae947e49d9ae5e729911f500533f78f6169ef51e6a89a1c1f3690ec9341fbc079ab6d762cf1a8ff59767f5cb227e0a SHA512 8638ce3c3ddc7e1bc74955917d2345deb3305fd9dde3eb014a56996dd6abe3806c37830b8214de0150b829eecc70cebd56c082b33d336cb02993444b268f225a

View File

@@ -0,0 +1,80 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYPI_VERIFY_REPO=https://github.com/tox-dev/tox
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="virtualenv-based automation of test activities"
HOMEPAGE="
https://tox.readthedocs.io/
https://github.com/tox-dev/tox/
https://pypi.org/project/tox/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86"
RDEPEND="
dev-python/cachetools[${PYTHON_USEDEP}]
dev-python/colorama[${PYTHON_USEDEP}]
dev-python/filelock[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/platformdirs[${PYTHON_USEDEP}]
dev-python/pluggy[${PYTHON_USEDEP}]
dev-python/pyproject-api[${PYTHON_USEDEP}]
dev-python/python-discovery[${PYTHON_USEDEP}]
dev-python/tomli-w[${PYTHON_USEDEP}]
dev-python/virtualenv[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/hatch-vcs[${PYTHON_USEDEP}]
test? (
dev-python/argcomplete[${PYTHON_USEDEP}]
dev-python/build[${PYTHON_USEDEP}]
dev-python/distlib[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/re-assert[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} time-machine )
# upstream timeouts are quite short
: ${EPYTEST_TIMEOUT:=180}
# xdist seems to mess up state between successive implementation runs
distutils_enable_tests pytest
src_prepare() {
# upstream lower bounds are meaningless
sed -i -e 's:>=[0-9.]*::' pyproject.toml || die
distutils-r1_src_prepare
}
python_test() {
# devpi_process is not packaged, and has lots of dependencies
cat > "${T}"/devpi_process.py <<-EOF || die
def IndexServer(*args, **kwargs): raise NotImplementedError()
EOF
local -x PYTHONPATH=${T}:${PYTHONPATH}
local EPYTEST_DESELECT=(
# Internet
tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external
tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz
tests/tox_env/python/virtual_env/package/test_package_pyproject.py::test_pyproject_installpkg_pep517_envs
# require tombi
tests/session/cmd/test_schema.py::test_schema_tombi_lint
)
local EPYTEST_IGNORE=(
# requires devpi*
tests/test_provision.py
)
epytest -o addopts=
}