commit:     cdbea1402843a0aba9a19ff8efa197dab4e31659
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  2 02:57:22 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar  2 03:55:17 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdbea140

dev-python/tox: Bump to 4.47.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/tox/Manifest          |  2 +
 dev-python/tox/tox-4.47.0.ebuild | 91 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)

diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest
index ea4a15491adb..7dc3056645e1 100644
--- a/dev-python/tox/Manifest
+++ b/dev-python/tox/Manifest
@@ -10,3 +10,5 @@ DIST tox-4.46.0.tar.gz 249296 BLAKE2B 
fdc12cff02ec234383221604c03e2d495b7975336e
 DIST tox-4.46.0.tar.gz.provenance 9373 BLAKE2B 
89756e65dd4ce39994a726735b96022f18bc1643c67d67f8e0a798c7b901182616521c8700ccfea0f1f0d6719932e2dd44b0166f7419bfd3d4ff5523bdb56b86
 SHA512 
6fd3a70b0fa0a0732e51d0b186e0bb15658751767a992166919b8f68b56c50c106ac56af40206eaa31bb7e3dca5270ba800607cf0fd4961b77892b7f887e4ffd
 DIST tox-4.46.3.tar.gz 250933 BLAKE2B 
028c1d2b5035439bbcd3b0b5b33a9c4aaf533e67602a00b4ddc227bff0548cffee54183c1cad4cccdc253eea95bbe179c2625ae2f850cce93b51d8356c54b469
 SHA512 
a327ed5710ab604096f6978ac6bb6e7fb84f864c96906379f9646ec6295156ede9b787e67684fbfc2c46d8c7e138645a85aeede3ba706b3526d5cceeeb977860
 DIST tox-4.46.3.tar.gz.provenance 9334 BLAKE2B 
1bc4a799991d69a42c1ae2fd4edcc92d3f56e0bf0872dc7fa2b8abd4b8760ab25245d1e46932b08c43cdacd31fcda40f58c1fc7029d0bb032622876a6cc7299b
 SHA512 
29b31df2e9928c13859570a5c830d180411f4c826f7e652979d48ee361272079c538c8d5b1ac793b0b03ff5ec3411a1a120afc3b05b513a8be7e703672eba6f3
+DIST tox-4.47.0.tar.gz 253965 BLAKE2B 
b350f0afb6c8b14f5f47dada12fcf8f1dc7123ec9a58a0e94628d0209966aac0671f1541507a6f45697f6b40c358832fa93ad4ac5db9d7dea54a9393a2494f8d
 SHA512 
10f2c8309157c6120f3fd4761e141754466783b93d623cbeed7407baf02df36f0238c48b0ceca0ef258d5d385d4e218be895076528214106362cb144916158cb
+DIST tox-4.47.0.tar.gz.provenance 9186 BLAKE2B 
b6739f9fab74e4bfcfa7d45b6c6c30dbb1814d527f04702cd474dd7f7dfa9e1d4b85ad32f6009837117f5f175399f9141bc08473823911996386407680491766
 SHA512 
3dbe8be3613f59faff73756b016bff21066e954f81319966c72c147ee5893b6e02e0e433596b046cc3743d8c9a1f774e9b0210aa3f7adb3ca21e645bd5b41ece

diff --git a/dev-python/tox/tox-4.47.0.ebuild b/dev-python/tox/tox-4.47.0.ebuild
new file mode 100644
index 000000000000..db7f704313d7
--- /dev/null
+++ b/dev-python/tox/tox-4.47.0.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=
+}

Reply via email to