From 5a0e3e73efd2ed498973356f1b83692696e620b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= Date: Wed, 10 Sep 2025 07:01:14 -0700 Subject: [PATCH 1/2] Fix CI for pytest-cov 7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bernát Gábor --- pyproject.toml | 15 ++++++++------- tox.ini | 14 +++++++------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5e68893..64706c7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] build-backend = "hatchling.build" requires = [ - "hatch-vcs>=0.4", + "hatch-vcs>=0.5", "hatchling>=1.27", ] @@ -47,18 +47,18 @@ dynamic = [ ] dependencies = [ "packaging>=25", - "tomli>=2.2.1; python_version<'3.11'", + "tomli>=2.2.1; python_version < '3.11'", ] optional-dependencies.docs = [ - "furo>=2024.8.6", + "furo>=2025.7.19", "sphinx-autodoc-typehints>=3.2", ] optional-dependencies.testing = [ "covdefaults>=2.3", - "pytest>=8.3.5", - "pytest-cov>=6.1.1", - "pytest-mock>=3.14", - "setuptools>=80.3.1", + "pytest>=8.4.2", + "pytest-cov>=7", + "pytest-mock>=3.15", + "setuptools>=80.9", ] urls.Changelog = "https://github.com/tox-dev/pyproject-api/releases" urls.Homepage = "https://pyproject-api.readthedocs.io" @@ -138,6 +138,7 @@ paths.source = [ report.omit = [ ] run.parallel = true +run.patch = [ "subprocess" ] run.plugins = [ "covdefaults", ] diff --git a/tox.ini b/tox.ini index f476ac9..3e7f25a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] requires = - tox>=4.25 - tox-uv>=1.25 + tox>=4.30.2 + tox-uv>=1.28 env_list = fix 3.13 @@ -38,7 +38,7 @@ commands = description = run static analysis and style check using flake8 package = skip deps = - pre-commit-uv>=4.1.4 + pre-commit-uv>=4.1.5 pass_env = HOMEPATH PROGRAMDATA @@ -57,7 +57,7 @@ commands = [testenv:type] description = run type check on code base deps = - mypy==1.15 + mypy==1.17.1 set_env = {tty:MYPY_FORCE_COLOR = 1} commands = @@ -68,9 +68,9 @@ commands = description = check that the long description is valid skip_install = true deps = - check-wheel-contents>=0.6.1 - twine>=6.1 - uv>=0.7.2 + check-wheel-contents>=0.6.3 + twine>=6.2 + uv>=0.8.16 commands = uv build --sdist --wheel --out-dir {env_tmp_dir} . twine check {env_tmp_dir}{/}* From 64cc2332a0b527b67bdb06cb7d039bccf4bf771c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 10 Sep 2025 14:01:28 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 64706c7..e9ba542 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ dynamic = [ ] dependencies = [ "packaging>=25", - "tomli>=2.2.1; python_version < '3.11'", + "tomli>=2.2.1; python_version<'3.11'", ] optional-dependencies.docs = [ "furo>=2025.7.19",