From 37722bae762beecedb4534392fb7e8aeefa19bb1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 25 Nov 2025 17:05:07 +0000 Subject: [PATCH 1/3] chore(deps): update dependency pytest-cov to v7 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5df6712f..1e7abe59 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,7 +67,7 @@ zip-safe = false [tool.poetry.dev-dependencies] pytest = "^7.4.0" -pytest-cov = "^4.1.0" +pytest-cov = "^7.0.0" pytest-django = "^4.5.2" mypy = "^1.5.0" bandit = "^1.7" From 381041c2613a5e52435b19309a40eaa2dd24ce9f Mon Sep 17 00:00:00 2001 From: brandtkruger Date: Tue, 2 Dec 2025 18:05:48 +0200 Subject: [PATCH 2/3] fix: update requirements.txt to match pyproject.toml and add coverage>=7.10.6 - Update pytest-cov from >=4.1.0 to >=7.0.0 in requirements.txt to match pyproject.toml - Add coverage>=7.10.6 requirement (required by pytest-cov v7.0.0) - Add coverage to pyproject.toml dev-dependencies This ensures consistency between requirements.txt and pyproject.toml and satisfies pytest-cov v7.0.0's requirement for coverage >= 7.10.6. --- pyproject.toml | 1 + requirements.txt | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1e7abe59..559fd969 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,6 +68,7 @@ zip-safe = false [tool.poetry.dev-dependencies] pytest = "^7.4.0" pytest-cov = "^7.0.0" +coverage = ">=7.10.6" pytest-django = "^4.5.2" mypy = "^1.5.0" bandit = "^1.7" diff --git a/requirements.txt b/requirements.txt index d6383423..fb1692b7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -23,7 +23,8 @@ pydantic>=2.0.0,<3.0.0 pytest>=7.4.0 pytest-django>=4.5.2 pytest-asyncio>=0.21.1 -pytest-cov>=4.1.0 +pytest-cov>=7.0.0 +coverage>=7.10.6 pytest-timeout>=2.2.0 black>=23.7.0 flake8>=6.1.0 From 619d294a00f92974229c23f327f013504c6a0066 Mon Sep 17 00:00:00 2001 From: brandtkruger Date: Sat, 17 Jan 2026 20:07:42 +0200 Subject: [PATCH 3/3] fix: configure subprocess measurement for pytest-cov v7 compatibility Add patch = subprocess to .coveragerc [run] section to enable subprocess measurement for pytest-cov v7. pytest-cov v7 removed built-in subprocess measurement via .pth files, so it must be explicitly enabled. This configuration requires coverage>=7.10.6 (as specified in requirements.txt). If coverage is not yet upgraded, a warning may appear but will resolve once coverage is upgraded to the required version. Fixes critical issue identified in CodeRabbit review. --- .coveragerc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.coveragerc b/.coveragerc index 56956620..6a51ca5b 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,10 @@ [run] source = kinde_sdk +# Enable subprocess measurement for pytest-cov v7 compatibility +# pytest-cov v7 removed built-in subprocess measurement via .pth files +# This option requires coverage>=7.10.6 (specified in requirements.txt) +# If you see a warning about unrecognized option, upgrade coverage first +patch = subprocess omit = # Generated OpenAPI files kinde_sdk/management/api/*