Move test dependencies removal from fix-tests.patch to a sed

That way, the patch is easier applied for future rebases.

pyproject.toml after %prep is identical to what it was before this commit.

[skip changelog]
This commit is contained in:
Miro Hrončok 2025-11-10 11:19:50 +01:00
commit bfcb4db415
2 changed files with 6 additions and 25 deletions

View file

@ -9,7 +9,7 @@ Content-Transfer-Encoding: 8bit
Co-Authored-By: Lumir Balhar <lbalhar@redhat.com>
Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
---
pyproject.toml | 10 +---------
pyproject.toml | 4 +---
src/tox/pytest.py | 14 ++------------
tests/test_provision.py | 11 ++++-------
.../package/test_python_package_util.py | 10 ++++++++--
@ -19,26 +19,6 @@ diff --git a/pyproject.toml b/pyproject.toml
index 6920d19..53326bc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -76,11 +76,6 @@ dev = [
]
test = [
"build[virtualenv]>=1.3",
- "covdefaults>=2.3",
- "coverage>=7.10.7",
- "detect-test-pollution>=1.2",
- "devpi-process>=1.0.2",
- "diff-cover>=9.7.1",
"distlib>=0.4",
"flaky>=3.8.1",
"hatch-vcs>=0.5",
@@ -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",
@@ -201,6 +195,7 @@ filterwarnings = [
"error",
"ignore:unclosed database in <sqlite3.Connection object at:ResourceWarning",