Skip to content

Commit da5d905

Browse files
chore(deps): update dependency pytest-cov to >=6,<6.3 (#506)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pytest-cov](https://redirect.github.com/pytest-dev/pytest-cov) ([changelog](https://pytest-cov.readthedocs.io/en/latest/changelog.html)) | `>=6,<6.2` -> `>=6,<6.3` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-cov/6.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest-cov/6.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest-cov/6.1.1/6.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-cov/6.1.1/6.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pytest-dev/pytest-cov (pytest-cov)</summary> ### [`v6.2.1`](https://redirect.github.com/pytest-dev/pytest-cov/blob/HEAD/CHANGELOG.rst#621-2025-06-12) [Compare Source](https://redirect.github.com/pytest-dev/pytest-cov/compare/v6.2.0...v6.2.1) - 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: - "module-not-measured" in workers - "already-imported" in subprocesses ### [`v6.2.0`](https://redirect.github.com/pytest-dev/pytest-cov/blob/HEAD/CHANGELOG.rst#620-2025-06-11) [Compare Source](https://redirect.github.com/pytest-dev/pytest-cov/compare/v6.1.1...v6.2.0) - 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", ] </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/hetznercloud/hcloud-python). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC40OC41IiwidXBkYXRlZEluVmVyIjoiNDAuNTAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent e53438f commit da5d905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"coverage>=7.8,<7.9",
5151
"pylint>=3,<3.4",
5252
"pytest>=8,<8.5",
53-
"pytest-cov>=6,<6.2",
53+
"pytest-cov>=6,<6.3",
5454
"mypy>=1.16,<1.17",
5555
"types-python-dateutil",
5656
"types-requests",

0 commit comments

Comments
 (0)