commit: ca26c7c0ab3838cce05f0214537f2f892d39c2a6 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Mar 5 03:48:02 2026 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Mar 5 04:46:45 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca26c7c0
dev-python/tox: Bump to 4.47.3 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/tox/Manifest | 2 + dev-python/tox/tox-4.47.3.ebuild | 91 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 3394a7cba1ef..549779435f11 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -14,3 +14,5 @@ DIST tox-4.47.0.tar.gz 253965 BLAKE2B b350f0afb6c8b14f5f47dada12fcf8f1dc7123ec9a DIST tox-4.47.0.tar.gz.provenance 9186 BLAKE2B b6739f9fab74e4bfcfa7d45b6c6c30dbb1814d527f04702cd474dd7f7dfa9e1d4b85ad32f6009837117f5f175399f9141bc08473823911996386407680491766 SHA512 3dbe8be3613f59faff73756b016bff21066e954f81319966c72c147ee5893b6e02e0e433596b046cc3743d8c9a1f774e9b0210aa3f7adb3ca21e645bd5b41ece DIST tox-4.47.2.tar.gz 254303 BLAKE2B 4a755856797958873a02b9acaa49bb1a5c14f9ee32dcc769fe256d7b7044bf041f52e77926caa998c27259c242e710317875d35459d5f93bf2fdb65e60cd440b SHA512 08aa6a7ca5ae14cc8d6c26ac5e577f3100399a6852fe9dd3fd482c4c40dd3be617deea9c9d6dee9c7fa85c88e0ffa07c96ec09ef389c63be9506d6e6d9558b27 DIST tox-4.47.2.tar.gz.provenance 9233 BLAKE2B a48cf1c2e06002618bde93a8c976e4aff994960c654dd67889712f572f000b6b3dce9b045576e268f504efb8cfa41144f0e22c27843b9a32c94c0b7bef4e1f08 SHA512 00bc756b89fea938f0c94e933d93f938f30717cbf93adb72ea44bcff63512048dbbb90da53d3506c1a074f6de79884e9235cd362fb3ea42109e9f517be8478e5 +DIST tox-4.47.3.tar.gz 254468 BLAKE2B 868819d8f062971f76b5f9cb53c6492cfb56b25253aec4b254240f3d0b7e5047eec1c2e16bd25434e2ebcdd8658e6eba79fa7c1fc3e019d7a09e3ac61f92e9a9 SHA512 62fbc846e322a631c6dd5ea01697f0e49e9e510bdd7d2db50b66fde1a8ccccb513f350236ad29ec089c62f58dd7d34f0b323f7b166f97fe4a006c8e1ecb4d382 +DIST tox-4.47.3.tar.gz.provenance 9570 BLAKE2B d35cc8eb2b0d708a3cc7c70a52b4d92dd9fe2f5132bde33a2354d9ac2ca1b1aca40e2fe232579052df6b3a329fcda5181a2fedff76fe98f830918ea994d189ff SHA512 e9429d43078d9fafe49e6b787968592b674703fa77a70de1ed07479f12c2135090512024badee2d9e262a25abc266ebe11d628443a43dd8e1d0c85920c505bc8 diff --git a/dev-python/tox/tox-4.47.3.ebuild b/dev-python/tox/tox-4.47.3.ebuild new file mode 100644 index 000000000000..db7f704313d7 --- /dev/null +++ b/dev-python/tox/tox-4.47.3.ebuild @@ -0,0 +1,91 @@ +# 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_{11..14} pypy3_11 ) + +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 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~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/virtualenv[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/distlib[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} ) +# 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 + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + case ${EPYTHON} in + python*) + local EPYTEST_PLUGINS=( "${EPYTEST_PLUGINS[@]}" time-machine ) + ;; + pypy3*) + EPYTEST_DESELECT+=( + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' + ) + ;; + esac + + epytest -o addopts= +}
