commit:     f2ad68a99e02e7277a395462e4e47f43cc2b42ac
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  6 03:52:13 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar  6 04:31:20 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2ad68a9

dev-python/tox: Bump to 4.48.1

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

 dev-python/tox/Manifest          |  2 +
 dev-python/tox/tox-4.48.1.ebuild | 92 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+)

diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest
index 549779435f11..91856d1b5187 100644
--- a/dev-python/tox/Manifest
+++ b/dev-python/tox/Manifest
@@ -16,3 +16,5 @@ DIST tox-4.47.2.tar.gz 254303 BLAKE2B 
4a755856797958873a02b9acaa49bb1a5c14f9ee32
 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
+DIST tox-4.48.1.tar.gz 257985 BLAKE2B 
9378ad6c0d69b8987012f9c0d0d0dcbf492eb135b5154f7ed0da51fc4bf5ee1689c122638a3fc4607b085ac4be47592a3e5d4ebfba1744ab0b99b5a057ebddf3
 SHA512 
f6cdfebea7a4efbed8bc6f18c3afa41d4f17977681addf3985ed92d1428bdff5648c2de122a42314d1636317def87a5a3146ccd339e80c52cde6c337f3fe43bd
+DIST tox-4.48.1.tar.gz.provenance 9515 BLAKE2B 
75543389a831d934733ffccee59304ebfa91b1ba5af1d851684e3cc43eb12755f1d285cbe13b9196901fa68ba7d678abaa830e0e62d1b0aedc9319eb4f0ad2c3
 SHA512 
0680194ab81e55b3da1515f5b376eae4074aa93480f89ecaa056cea68c61a67322a0304bec9a434bad1730c3bc1d44fe3854958a315cec60fd2ec3ec1e710138

diff --git a/dev-python/tox/tox-4.48.1.ebuild b/dev-python/tox/tox-4.48.1.ebuild
new file mode 100644
index 000000000000..a67fd3c02911
--- /dev/null
+++ b/dev-python/tox/tox-4.48.1.ebuild
@@ -0,0 +1,92 @@
+# 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/tomli-w[${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