Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-tox for openSUSE:Factory checked in at 2026-02-10 21:11:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tox (Old) and /work/SRC/openSUSE:Factory/.python-tox.new.1670 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tox" Tue Feb 10 21:11:57 2026 rev:62 rq:1331923 version:4.34.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tox/python-tox.changes 2026-01-17 14:56:16.078981852 +0100 +++ /work/SRC/openSUSE:Factory/.python-tox.new.1670/python-tox.changes 2026-02-10 21:12:08.110840556 +0100 @@ -1,0 +2,44 @@ +Mon Feb 9 03:16:40 UTC 2026 - Steve Kowalik <[email protected]> + +- Update to 4.34.1: + ## Features: + * Support installing extras from the current project in dependency groups. + * Add support for conditional set_env using PEP-496 environment markers. + * Add __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI, which passes through the CI + variable if present. + * A new tox life cycle event is now exposed for use via Plugins API. + * Pass ssh-agent variables SSH_AGENT_PID and SSH_AUTH_SOCK in pass_env by + default. + * Added constraints to allow specifying constraints files for all + dependencies. + * Allow disabling tox plugins via the TOX_DISABLED_EXTERNAL_PLUGINS + environment variable. + ## Bugfixes: + * Fix wheel corruption errors when the build backend updates the file in + place. + * Expand braced range syntax in all internal sections of tox.ini + (e.g. deps, testenv). + * Fix None appearing as the config filename in error output when the user's + default config file is corrupt. + * Previously, when tox ran in an automatically provisioned environment, it + could hang waiting for a PEP 517 build backend if used in conjunction + with the --installpkg option. + * Prevent tox from hanging upon exit due to orphaned build threads and + subprocesses when the --installpkg option is used with sdist. + * Makes the error message more clear when pyproject.toml file cannot be + loaded or is missing expected keys. + * The tox_extend_envs() hook recently added turned out to not work well + with tox run. It was fixed internally, not to exhaust the underlying + iterator on the first use. + * Don't pass in the filter argument to tar.extractall on old Python + versions. + * Use tarfile.data_filter with extractall only on supported Python + versions. +- Refresh patches: + * optional_devpi_process.patch + * mark-network-tests.patch +- Add patch support-packaging-26.patch: + * Support changes required by packaging 26.0. +- Use autopatch to apply patches after the first one. + +------------------------------------------------------------------- Old: ---- tox-4.27.0.tar.gz New: ---- support-packaging-26.patch tox-4.34.1.tar.gz ----------(New B)---------- New: * mark-network-tests.patch - Add patch support-packaging-26.patch: * Support changes required by packaging 26.0. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tox.spec ++++++ --- /var/tmp/diff_new_pack.lo0CRK/_old 2026-02-10 21:12:08.886873073 +0100 +++ /var/tmp/diff_new_pack.lo0CRK/_new 2026-02-10 21:12:08.898873576 +0100 @@ -23,7 +23,7 @@ %bcond_with devpi_process %endif Name: python-tox -Version: 4.27.0 +Version: 4.34.1 Release: 0 Summary: Virtualenv-based automation of test activities License: MIT @@ -35,27 +35,28 @@ # PATCH-FEATURE-UPSTREAM mark-network-tests.patch [email protected] # to skip test which require network access Patch1: mark-network-tests.patch -BuildRequires: %{python_module base >= 3.8} -BuildRequires: %{python_module build >= 0.10.0} -BuildRequires: %{python_module cachetools >= 5.5.1} +# PATCH-FIX-OPENSUSE Support packaging 26 changes +Patch2: support-packaging-26.patch +BuildRequires: %{python_module base >= 3.10} +BuildRequires: %{python_module build >= 1.4} +BuildRequires: %{python_module cachetools >= 6.2.4} BuildRequires: %{python_module chardet >= 5.2} BuildRequires: %{python_module colorama >= 0.4.6} -BuildRequires: %{python_module filelock >= 3.16.1} +BuildRequires: %{python_module filelock >= 3.20.2} BuildRequires: %{python_module hatch >= 0.3} -BuildRequires: %{python_module hatch_vcs >= 0.4} +BuildRequires: %{python_module hatch_vcs >= 0.5} BuildRequires: %{python_module hatchling >= 1.21} -BuildRequires: %{python_module packaging >= 24.2} +BuildRequires: %{python_module packaging >= 25} BuildRequires: %{python_module pip} -BuildRequires: %{python_module platformdirs >= 4.3.6} -BuildRequires: %{python_module pluggy >= 1.5} -BuildRequires: %{python_module pyproject-api >= 1.8} -BuildRequires: %{python_module pytoml >= 0.1} -BuildRequires: %{python_module re-assert} -BuildRequires: %{python_module setuptools >= 41.0.1} +BuildRequires: %{python_module platformdirs >= 4.5.1} +BuildRequires: %{python_module pluggy >= 1.6} +BuildRequires: %{python_module pyproject-api >= 1.10} +BuildRequires: %{python_module re-assert >= 1.1} +BuildRequires: %{python_module setuptools >= 78} BuildRequires: %{python_module setuptools_scm >= 2.0.0} -BuildRequires: %{python_module time-machine >= 2.13} -BuildRequires: %{python_module virtualenv >= 20.31} -BuildRequires: %{python_module wheel >= 0.42} +BuildRequires: %{python_module time-machine >= 3.2} +BuildRequires: %{python_module virtualenv >= 20.35.4} +BuildRequires: %{python_module wheel >= 0.45.1} %if %{with devpi_process} BuildRequires: %{python_module devpi-process > 1} %endif @@ -63,15 +64,15 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip -Requires: python-cachetools >= 5.5.1 +Requires: python-cachetools >= 6.2.4 Requires: python-chardet >= 5.2 Requires: python-colorama >= 0.4.6 -Requires: python-filelock >= 3.16.1 -Requires: python-packaging >= 24.2 -Requires: python-platformdirs >= 4.3.6 -Requires: python-pluggy >= 1.5 -Requires: python-pyproject-api >= 1.8 -Requires: python-virtualenv >= 20.31 +Requires: python-filelock >= 3.20.2 +Requires: python-packaging >= 25 +Requires: python-platformdirs >= 4.5.1 +Requires: python-pluggy >= 1.6 +Requires: python-pyproject-api >= 1.10 +Requires: python-virtualenv >= 20.35.4 Requires(post): update-alternatives Requires(postun): update-alternatives # last detox version is 0.19 @@ -80,14 +81,14 @@ BuildArch: noarch # SECTION setup.cfg [options.extras_requires] testing= # (except for pytest-cov and -randomly) -BuildRequires: %{python_module flaky >= 3.7.0} +BuildRequires: %{python_module flaky >= 3.8.1} BuildRequires: %{python_module freezegun >= 0.3.11} BuildRequires: %{python_module numpy >= 1.25} BuildRequires: %{python_module psutil >= 6.1.1} BuildRequires: %{python_module pytest >= 8.3.4} BuildRequires: %{python_module pytest-cov >= 5} BuildRequires: %{python_module pytest-mock >= 3.14} -BuildRequires: %{python_module pytest-xdist >= 3.6.1} +BuildRequires: %{python_module pytest-xdist >= 3.8} # /SECTION %if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" Provides: tox = %{version} @@ -113,7 +114,7 @@ %if %{without devpi_process} %patch -P 0 -p1 %endif -%patch -P 1 -p1 +%autopatch -m 1 -p1 %build export LANG=en_US.UTF8 @@ -152,6 +153,8 @@ donttest+=" or test_package_pyproject or test_package_only" # gh#tox-dev/tox#3399 donttest+=" or test_skip_develop_mode" +# gh#tox-dev/tox#3672 +donttest+=" or test_dependency_groups_bad_requirement" %{python_expand # tests expect an active virtualenv with a clean python name as sys.executable virtualenv-%{$python_bin_suffix} --system-site-packages testenv-%{$python_bin_suffix} @@ -171,6 +174,6 @@ %license LICENSE %doc README.md %python_alternative %{_bindir}/tox -%{python_sitelib}/tox-%{version}*-info %{python_sitelib}/tox +%{python_sitelib}/tox-%{version}.dist-info ++++++ mark-network-tests.patch ++++++ --- /var/tmp/diff_new_pack.lo0CRK/_old 2026-02-10 21:12:08.950875755 +0100 +++ /var/tmp/diff_new_pack.lo0CRK/_new 2026-02-10 21:12:08.958876090 +0100 @@ -8,30 +8,30 @@ .../python/virtual_env/package/test_package_cmd_builder.py | 1 + 2 files changed, 4 insertions(+) -Index: tox-4.23.2/pyproject.toml +Index: tox-4.34.1/pyproject.toml =================================================================== ---- tox-4.23.2.orig/pyproject.toml -+++ tox-4.23.2/pyproject.toml -@@ -146,6 +146,9 @@ testpaths = [ +--- tox-4.34.1.orig/pyproject.toml ++++ tox-4.34.1/pyproject.toml +@@ -198,6 +198,9 @@ testpaths = [ "tests", ] - addopts = "--tb=auto -ra --showlocals --no-success-flaky-report" + addopts = "--no-success-flaky-report" +markers = [ + "network: tests requiring network connection", +] - # Keep temporary directories only for failed or errored tests. - tmp_path_retention_policy = "failed" - -Index: tox-4.23.2/tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py + verbosity_assertions = 2 + filterwarnings = [ + "error", +Index: tox-4.34.1/tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py =================================================================== ---- tox-4.23.2.orig/tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py -+++ tox-4.23.2/tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py -@@ -86,6 +86,7 @@ def test_install_pkg_via(tox_project: To +--- tox-4.34.1.orig/tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py ++++ tox-4.34.1/tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py +@@ -87,6 +87,7 @@ def test_install_pkg_via(tox_project: To @pytest.mark.usefixtures("enable_pip_pypi_access") [email protected] - def test_build_wheel_external(tox_project: ToxProjectCreator, demo_pkg_inline: Path) -> None: - ini = """ - [testenv] + def test_build_wheel_external( + tox_project: ToxProjectCreator, demo_pkg_inline: Path, monkeypatch: pytest.MonkeyPatch + ) -> None: ++++++ optional_devpi_process.patch ++++++ --- /var/tmp/diff_new_pack.lo0CRK/_old 2026-02-10 21:12:08.978876929 +0100 +++ /var/tmp/diff_new_pack.lo0CRK/_new 2026-02-10 21:12:08.982877096 +0100 @@ -10,11 +10,11 @@ tests/test_provision.py | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) -diff --git a/src/tox/pytest.py b/src/tox/pytest.py -index d734defd..f9e5ae10 100644 ---- a/src/tox/pytest.py -+++ b/src/tox/pytest.py -@@ -17,7 +17,10 @@ from typing import TYPE_CHECKING, Any, Callable, Iterator, Protocol, Sequence, c +Index: tox-4.34.1/src/tox/pytest.py +=================================================================== +--- tox-4.34.1.orig/src/tox/pytest.py ++++ tox-4.34.1/src/tox/pytest.py +@@ -17,7 +17,10 @@ from typing import TYPE_CHECKING, Any, P import pytest from _pytest.fixtures import SubRequest # noqa: PLC2701 @@ -26,7 +26,7 @@ from virtualenv.info import fs_supports_symlink import tox.run -@@ -507,6 +510,7 @@ def enable_pip_pypi_access_fixture( +@@ -514,6 +517,7 @@ def enable_pip_pypi_access_fixture( """Set a fake pip index url, tests that want to use a pypi server should create and overwrite this.""" _, previous_url = disable_pip_pypi_access enable_pypi_server(monkeypatch, previous_url) @@ -34,14 +34,14 @@ return previous_url -diff --git a/tests/test_provision.py b/tests/test_provision.py -index 41eb630e..88cefb76 100644 ---- a/tests/test_provision.py -+++ b/tests/test_provision.py -@@ -16,7 +16,10 @@ from filelock import FileLock - from packaging.requirements import Requirement +Index: tox-4.34.1/tests/test_provision.py +=================================================================== +--- tox-4.34.1.orig/tests/test_provision.py ++++ tox-4.34.1/tests/test_provision.py +@@ -19,7 +19,10 @@ if TYPE_CHECKING: + from collections.abc import Callable, Iterator, Sequence - if TYPE_CHECKING: + from build import DistributionType - from devpi_process import Index, IndexServer + try: + from devpi_process import Index, IndexServer @@ -50,7 +50,4 @@ from tox.pytest import MonkeyPatch, TempPathFactory, ToxProjectCreator --- -2.44.0 - ++++++ support-packaging-26.patch ++++++ Index: tox-4.34.1/tests/tox_env/python/pip/req/test_file.py =================================================================== --- tox-4.34.1.orig/tests/tox_env/python/pip/req/test_file.py +++ tox-4.34.1/tests/tox_env/python/pip/req/test_file.py @@ -207,8 +207,8 @@ _REQ_FILE_TEST_CASES = [ pytest.param( "numpy[2,1] @ file://./downloads/numpy-1.9.2-cp34-none-win32.whl", {}, - ["numpy[1,2]@ file://./downloads/numpy-1.9.2-cp34-none-win32.whl"], - ["numpy[1,2]@ file://./downloads/numpy-1.9.2-cp34-none-win32.whl"], + ["numpy[1,2] @ file://./downloads/numpy-1.9.2-cp34-none-win32.whl"], + ["numpy[1,2] @ file://./downloads/numpy-1.9.2-cp34-none-win32.whl"], id="path with name-extra-protocol", ), pytest.param( @@ -330,8 +330,8 @@ _REQ_FILE_TEST_CASES = [ pytest.param( "\tp @ https://github.com/a/b/c/d.zip ", {}, - ["p@ https://github.com/a/b/c/d.zip"], - ["p@ https://github.com/a/b/c/d.zip"], + ["p @ https://github.com/a/b/c/d.zip"], + ["p @ https://github.com/a/b/c/d.zip"], id="whitespace around", ), ] ++++++ tox-4.27.0.tar.gz -> tox-4.34.1.tar.gz ++++++ ++++ 5203 lines of diff (skipped)
