Update to 4.35.0

- Fixes: rhbz#2439637

The removed part of fix-tests.patch landed upstream
in https://github.com/tox-dev/tox/pull/3673
This commit is contained in:
Miro Hrončok
2026-02-13 11:46:25 +01:00
parent 83ad569efe
commit 43797b10de
3 changed files with 10 additions and 11 deletions

View File

@@ -19,14 +19,6 @@ diff --git a/pyproject.toml b/pyproject.toml
index 6920d19..53326bc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -201,6 +195,7 @@ filterwarnings = [
"error",
"ignore:unclosed database in <sqlite3.Connection object at:ResourceWarning",
"ignore:unclosed file <_io.TextIOWrapper:ResourceWarning",
+ "ignore:subprocess \\d+ is still running:ResourceWarning",
]
tmp_path_retention_policy = "failed"
@@ -222,9 +217,6 @@ report.omit = [
"tests/type_check/*",
]

View File

@@ -20,7 +20,7 @@
%undefine _py3_shebang_s
Name: python-tox
Version: 4.34.1
Version: 4.35.0
Release: %autorelease
Summary: Virtualenv-based automation of test activities
@@ -32,7 +32,6 @@ Source: %{pypi_source tox}
# Remove coverage options.
# Adjust virtualenv environment variables to make it work with our patched virtualenv.
# Adjust setuptools-version specific ifs to check for setuptools version rather than Python version.
# Ignore ResourceWarning: subprocess ... is still running (happens arbitrarily, possibly due to pytest-xdist usage)
Patch: fix-tests.patch
BuildArch: noarch
@@ -159,6 +158,14 @@ k="${k-}${k+ and }not test_tox_install_pkg_sdist"
test -z $VIRTUALENV_WHEEL || k="${k-}${k+ and }not test_result_json_sequential"
%endif
# Skip tests only working with packaging 26+
# Adjusted upstream in https://github.com/tox-dev/tox/pull/3673
%if %{pyversion packaging} < v"26"
k="${k-}${k+ and }not (test_req_file and name-extra-protocol)"
k="${k-}${k+ and }not (test_req_file and whitespace and around)"
k="${k-}${k+ and }not test_dependency_groups_bad_requirement"
%endif
# The following tests either need internet connection or installed tox
# so we only run them on the CI.
%if %{without ci_tests}

View File

@@ -1 +1 @@
SHA512 (tox-4.34.1.tar.gz) = ec7ffdf372d1794f659c36f9a5cfc41da18e23532323fbf9a7a21fe9b9ed71ce38f801086ec64de9a8aaea0a15e7b282e24175c7f8ae31930b63fab5dbd57beb
SHA512 (tox-4.35.0.tar.gz) = 13134511a53b1ba794f6821886655e2421ef0d668238d65779dc10a13bab23e5711f11aefdb99c7723c78f3558032df5cb78c5fe2c90e66b067f9ce325a60225