-
Notifications
You must be signed in to change notification settings - Fork 85
chore(deps): update dependency pytest-cov to v6.2.1 #1473
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
base: main
Are you sure you want to change the base?
Conversation
Reviewer's GuideUpgrade pytest-cov to v6.2.0 by updating the version declaration in the project’s requirements file. Sequence Diagram: pytest-cov v6.2.0 Setup of Default Warning FilterssequenceDiagram
participant P as Pytest
participant PCov_New as "pytest-cov v6.2.0"
participant PWF as "Pytest Warning Filter System"
P->>PCov_New: Load Plugin
PCov_New->>PWF: Add Default Warning Filter Rules (New Behavior in v6.2.0)
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1473 +/- ##
=======================================
Coverage 96.11% 96.11%
=======================================
Files 72 72
Lines 5176 5176
Branches 895 895
=======================================
Hits 4975 4975
Misses 119 119
Partials 82 82
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
50883bb
to
119b3d5
Compare
This PR contains the following updates:
==6.1.1
->==6.2.1
Release Notes
pytest-dev/pytest-cov (pytest-cov)
v6.2.1
Compare Source
Added a version requirement for pytest's pluggy dependency (1.2.0, released 2023-06-21) that has the required new-style hookwrapper API.
Removed deprecated license classifier (packaging).
Disabled coverage warnings in two more situations where they have no value:
v6.2.0
Compare Source
The plugin now adds 3 rules in the filter warnings configuration to prevent common coverage warnings being raised as obscure errors::
default:unclosed database in <sqlite3.Connection object at:ResourceWarning
once::PytestCovWarning
once::CoverageWarning
This fixes most of the bad interactions that are occurring on pytest 8.4 with
filterwarnings=error
.The plugin will check if there already matching rules for the 3 categories
(
ResourceWarning
,PytestCovWarning
,CoverageWarning
) and message (unclosed database in <sqlite3.Connection object at
) before adding the filters.This means you can have this in your pytest configuration for complete oblivion (not recommended, if that is not clear)::
filterwarnings = [
"error",
"ignore:unclosed database in <sqlite3.Connection object at:ResourceWarning",
"ignore::PytestCovWarning",
"ignore::CoverageWarning",
]
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.