Skip to content

Commit b8e43f8

Browse files
chore(deps): update dependency pytest-cov to v6.2.0 (#816)
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.1.1` -> `==6.2.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-cov/6.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest-cov/6.2.0?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.0?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.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pytest-dev/pytest-cov (pytest-cov)</summary> ### [`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**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, 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/line/line-bot-sdk-python). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC40OC41IiwidXBkYXRlZEluVmVyIjoiNDAuNDguNSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJkZXBlbmRlbmN5IHVwZ3JhZGUiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 51ac1bb commit b8e43f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pytest==8.4.0
22
pytest-pep8==1.0.6
3-
pytest-cov==6.1.1
3+
pytest-cov==6.2.0
44
pytest-aiohttp==1.1.0
55
pytest-asyncio==1.0.0
66
responses==0.25.7

0 commit comments

Comments
 (0)