diff --git a/fix-tests.patch b/fix-tests.patch index c24144f..7caaa2d 100644 --- a/fix-tests.patch +++ b/fix-tests.patch @@ -1,4 +1,4 @@ -From 276688b3d884787663a1832990025c3402770961 Mon Sep 17 00:00:00 2001 +From 42a461b71597e85e7902571348786aa4ab848cf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= Date: Fri, 28 Mar 2025 09:44:24 +0100 Subject: [PATCH] Fix tests @@ -9,37 +9,37 @@ Content-Transfer-Encoding: 8bit Co-Authored-By: Lumir Balhar Co-Authored-By: Miro HronĨok --- - pyproject.toml | 10 +--------- - src/tox/pytest.py | 16 +++------------- - tests/test_provision.py | 11 ++++------- - .../package/test_python_package_util.py | 10 ++++++++-- - 4 files changed, 16 insertions(+), 31 deletions(-) + pyproject.toml | 10 +--------- + src/tox/pytest.py | 14 ++------------ + tests/test_provision.py | 11 ++++------- + .../package/test_python_package_util.py | 10 ++++++++-- + 4 files changed, 15 insertions(+), 30 deletions(-) diff --git a/pyproject.toml b/pyproject.toml -index a7323bf..ed9b315 100644 +index 6920d19..53326bc 100644 --- a/pyproject.toml +++ b/pyproject.toml -@@ -77,11 +77,6 @@ dev = [ +@@ -76,11 +76,6 @@ dev = [ ] test = [ - "build[virtualenv]>=1.2.2.post1", + "build[virtualenv]>=1.3", - "covdefaults>=2.3", -- "coverage>=7.9.2", +- "coverage>=7.10.7", - "detect-test-pollution>=1.2", - "devpi-process>=1.0.2", -- "diff-cover>=9.6", +- "diff-cover>=9.7.1", "distlib>=0.4", "flaky>=3.8.1", "hatch-vcs>=0.5", -@@ -89,7 +84,6 @@ test = [ - "pdm-backend", - "psutil>=7", - "pytest>=8.4.1", -- "pytest-cov>=6.2.1", - "pytest-mock>=3.14.1", +@@ -88,7 +83,6 @@ test = [ + "pdm-backend>=2.4.5", + "psutil>=7.1", + "pytest>=8.4.2", +- "pytest-cov>=7", + "pytest-mock>=3.15.1", "pytest-xdist>=3.8", "re-assert>=1.1", -@@ -203,6 +197,7 @@ filterwarnings = [ +@@ -201,6 +195,7 @@ filterwarnings = [ "error", "ignore:unclosed database in None +@@ -479,15 +478,6 @@ def enable_pypi_server(monkeypatch: pytest.MonkeyPatch, url: str | None) -> None monkeypatch.setenv("PIP_TIMEOUT", str(2)) @@ -100,10 +97,10 @@ index bfdc7e6..9a02df3 100644 def _invalid_index_fake_port() -> int: with closing(socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as socket_handler: diff --git a/tests/test_provision.py b/tests/test_provision.py -index 2cde4f6..0baba46 100644 +index d1b6b2d..022e340 100644 --- a/tests/test_provision.py +++ b/tests/test_provision.py -@@ -124,15 +124,13 @@ def _use_pypi_index(pypi_index: Index, monkeypatch: MonkeyPatch) -> None: +@@ -126,15 +126,13 @@ def _use_pypi_index(pypi_index: Index, monkeypatch: MonkeyPatch) -> None: @pytest.fixture @@ -123,7 +120,7 @@ index 2cde4f6..0baba46 100644 def test_provision_requires_nok(tox_project: ToxProjectCreator) -> None: -@@ -181,7 +179,6 @@ def test_provision_requires_ok(tox_project: ToxProjectCreator, tmp_path: Path) - +@@ -183,7 +181,6 @@ def test_provision_requires_ok(tox_project: ToxProjectCreator, tmp_path: Path) - @pytest.mark.integration @@ -162,5 +159,5 @@ index 3802147..7f64d90 100644 for left, right in zip_longest(result, exp): assert isinstance(right, Requirement) -- -2.51.0 +2.51.1 diff --git a/python-tox.spec b/python-tox.spec index afc7ab4..ead1f71 100644 --- a/python-tox.spec +++ b/python-tox.spec @@ -20,7 +20,7 @@ %undefine _py3_shebang_s Name: python-tox -Version: 4.30.3 +Version: 4.32.0 Release: %autorelease Summary: Virtualenv-based automation of test activities diff --git a/sources b/sources index a5ffa2f..29364be 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tox-4.30.3.tar.gz) = c4ef909b7e369844042f26ae4c492ec4c78cd0efe11af80f36159304166cd6e77b75b8191de0e78870f414c921230402bccdfda5ceeb56e4194abc66f076f720 +SHA512 (tox-4.32.0.tar.gz) = eabe1ef037f3b44947dd13e11528cd702762d6b38cf87ae7675643d7f09b2b3ddd9761a395713e95f286ffc44d77495998f68ed2f0491910f64308fb15f726ff