dev-python/tox: Bump to 4.57.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-07-18 05:12:29 +02:00
parent 89e7562fd6
commit f7da6f6fdf
2 changed files with 82 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ DIST tox-4.55.1.tar.gz 280676 BLAKE2B ccbf018634d708ba00710ea1c15fa1328acf402f02
DIST tox-4.55.1.tar.gz.provenance 9530 BLAKE2B 6a8de7003c54e6c388154619fc5900bd968e72862267615f67157e4b4c1294cd1d70dfcb02189788bb415ef84e07775acf08c38fa66113f850c78b00a28f2b68 SHA512 c8773255b47b7078b80c179dff30b0a51a1ec3e0b2576377c377aec87fefa74383e14e4a9c19a067b9eadd45e8611e6d0c2eddbd60b774ac91fbb62abf803e56
DIST tox-4.56.4.tar.gz 286611 BLAKE2B 63beb6fe64ff88316e637369aa4cfd1eca1dd994211de03807ccee82f76ddd7aee1948f754d3d81c6f02e7cae69b508697f5a0566f1dff5ad0effce8d7b1c22b SHA512 64a6ccfe98420a12888b0fe51763814c205f4d46e8cb91ef8658bec05a178dc3fb52632437e16f50966b454b2aeacebef31247d12920f517acaecbd5edc17c7d
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

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=
}