commit: afbba3210593a2e7a3e844491c98415ed71ef99f Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Feb 16 05:28:09 2026 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Feb 16 05:28:09 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afbba321
dev-python/tox: Bump to 4.36.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/tox/Manifest | 2 + dev-python/tox/tox-4.36.0.ebuild | 92 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 22132e4ef0a3..c72cc539c924 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -8,3 +8,5 @@ DIST tox-4.34.1.tar.gz 205306 BLAKE2B 76b90cd7b665ebbd3f7d83695168fc9f861b9d1751 DIST tox-4.34.1.tar.gz.provenance 9138 BLAKE2B 33b06d64b52e3fa092d681e899d73f8e307efd5660840498406342fde9698839cb39c7d5645bb484aa06a19b81eb5731e7e6698319c89e2948375918de3eb360 SHA512 33059f07f02a19786dbd4831006ef11581f977e85d76c369e19ffdacf476b14cba66ffa99c77cb0414d0a7f20a7e25883c496b65f721c3a817d164dbd83cc697 DIST tox-4.35.0.tar.gz 205701 BLAKE2B 7f6a89a8ec975c31d06c091b59baba81c827a4f91ed52d77b762b177c5e85ff2f7f3570955abec900b66d13aa24721a19ae839f369a5f59044a0717c3720af17 SHA512 13134511a53b1ba794f6821886655e2421ef0d668238d65779dc10a13bab23e5711f11aefdb99c7723c78f3558032df5cb78c5fe2c90e66b067f9ce325a60225 DIST tox-4.35.0.tar.gz.provenance 9138 BLAKE2B e21ef76a38268db69cef238659b72c2fe9838d769801e124f29c4d32aba21a69cd17f9cf8cfb87a6d272e7997b7c21dee9a244118139ca4f64a8a539813b6292 SHA512 cafe0f3160eff68a84a177e46c8c2ad8c0b8e5f1cce9271f73d2e814ed5af2c989d184d8e47a6d8495d5238c14ed74cc8cc5dd95ae2159862e058fcc30a510a0 +DIST tox-4.36.0.tar.gz 210043 BLAKE2B f9ae83438f050577b7d7a3084d1e0bb7138b6cb3ccc281e27d96571eee07f499ab6cc2b6f16ddecfebab8ab5d77d7f91f61c01bade37f8965159a048633e2474 SHA512 5f37c6e9eff09fb21142fe00b3b493c7dbc8c47d475d6c59c05d0ba061e58cea4ae88596440824416e39e28288760d329b5e79e06e45dc896d52004761c8b8b6 +DIST tox-4.36.0.tar.gz.provenance 9099 BLAKE2B 630575fcc9bec7c8ac5951a980e31b2abf5318563b815d0b60e117995ad9be6ebec36b23b984d09f4da66e02de8c0d86822b82eca2b86e0635165825f60cad47 SHA512 2169d6158fa405209c74c96805f04b3e6b1b917dfff6c6fc460707a9f91edf2b51a0b12ebc0fb46586b7532bbafbf0dcd5e16f21bc26bbf4ddebbd22bf195a0c diff --git a/dev-python/tox/tox-4.36.0.ebuild b/dev-python/tox/tox-4.36.0.ebuild new file mode 100644 index 000000000000..1f6d12965540 --- /dev/null +++ b/dev-python/tox/tox-4.36.0.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/chardet[${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,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= +}
