-
Notifications
You must be signed in to change notification settings - Fork 23
Pr 140 #145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
BrandtKruger
wants to merge
2
commits into
kinde-oss:main
Choose a base branch
from
BrandtKruger:pr-140
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Pr 140 #145
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: kinde-oss/kinde-python-sdk
Length of output: 196
🌐 Web query:
pytest-cov v7 major version changes breaking compatibility💡 Result:
Short summary — pytest-cov 7.0 (major) breaking / compatibility notes:
Dropped built‑in support for measuring subprocesses created by tests (the old .pth-based subprocess-measurement). If you relied on that, enable coverage’s subprocess patch via your .coveragerc (e.g. [run] patch = subprocess) and ensure coverage >= 7.10.6. [1][2]
Minimum coverage requirement increased (requires at least coverage 7.10.6). [1][3]
Packaging changed (metadata moved to pyproject.toml; build with hatchling) and some test deps removed (e.g. six) — this mainly affects downstream packagers/build tooling. [1]
References:
[1] pytest-cov changelog (7.0.0) — release notes.
[2] Example dependency-update notes summarizing v7 change (subprocess drop).
[3] Changelog mirrors listing requirement for coverage >= 7.10.6.
🌐 Web query:
coverage package dependency pytest-cov transitive💡 Result:
Short answer: pytest-cov depends on the coverage package, so installing pytest-cov will pull coverage in transitively (and recent pytest-cov releases also require a minimum coverage version). (pypi.org)
Citations:
Ensure .coveragerc is configured for pytest-cov v7 subprocess measurement.
The pytest-cov v7 upgrade includes breaking changes: built-in subprocess measurement via .pth files was removed. If your tests spawn subprocesses, you must explicitly enable coverage's subprocess patch in .coveragerc (add
[run] patch = subprocess). The explicitcoverage>=7.10.6requirement is correct—it's the minimum version mandated by pytest-cov v7, not redundant. Verify that your coverage configuration and test suite are compatible with these changes.🤖 Prompt for AI Agents