Skip to content

Commit 5147774

Browse files
Fix CI for pytest-cov 7 (#246)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 7894de1 commit 5147774

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

pyproject.toml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "hatchling.build"
33
requires = [
4-
"hatch-vcs>=0.4",
4+
"hatch-vcs>=0.5",
55
"hatchling>=1.27",
66
]
77

@@ -39,11 +39,11 @@ dynamic = [
3939
"version",
4040
]
4141
dependencies = [
42-
"packaging>=24.2",
42+
"packaging>=25",
4343
"tomli>=2.2.1; python_version<'3.11'",
44-
"tox>=4.26,<5",
45-
"typing-extensions>=4.12.2; python_version<'3.10'",
46-
"uv>=0.5.31,<1",
44+
"tox>=4.30.2,<5",
45+
"typing-extensions>=4.15; python_version<'3.10'",
46+
"uv>=0.8.16,<1",
4747
]
4848
urls.Changelog = "https://github.com/tox-dev/tox-uv/releases"
4949
urls.Documentation = "https://github.com/tox-dev/tox-uv#tox-uv"
@@ -62,14 +62,14 @@ dev = [
6262
test = [
6363
"covdefaults>=2.3",
6464
"devpi-process>=1.0.2",
65-
"diff-cover>=9.2.2",
66-
"pytest>=8.3.4",
67-
"pytest-cov>=6",
68-
"pytest-mock>=3.14",
69-
]
70-
type = [ "mypy==1.15", "types-setuptools>=80.9.0.20250801", { include-group = "test" } ]
71-
lint = [ "pre-commit-uv>=4.1.4" ]
72-
pkg-meta = [ "check-wheel-contents>=0.6.1", "twine>=6.1", "uv>=0.5.31" ]
65+
"diff-cover>=9.6",
66+
"pytest>=8.4.2",
67+
"pytest-cov>=7",
68+
"pytest-mock>=3.15",
69+
]
70+
type = [ "mypy==1.17.1", "types-setuptools>=80.9.0.20250822", { include-group = "test" } ]
71+
lint = [ "pre-commit-uv>=4.1.5" ]
72+
pkg-meta = [ "check-wheel-contents>=0.6.3", "twine>=6.2", "uv>=0.8.16" ]
7373

7474
[tool.hatch]
7575
build.hooks.vcs.version-file = "src/tox_uv/version.py"
@@ -151,6 +151,7 @@ report.omit = [
151151
]
152152
report.fail_under = 100
153153
run.parallel = true
154+
run.patch = [ "subprocess" ]
154155
run.plugins = [
155156
"covdefaults",
156157
]

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
requires =
3-
tox>=4.24.1
3+
tox>=4.30.2
44
tox-uv>=1.23
55
env_list =
66
fix
@@ -36,7 +36,7 @@ dependency_groups = test
3636
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
3737
skip_install = true
3838
deps =
39-
pre-commit-uv>=4.1.4
39+
pre-commit-uv>=4.1.5
4040
commands =
4141
pre-commit run --all-files --show-diff-on-failure
4242

0 commit comments

Comments
 (0)