Skip to content

Commit 6582bec

Browse files
⬆️ Bump pytest-cov to v7.1.0 (#150)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [pytest-cov](https://redirect.github.com/pytest-dev/pytest-cov) ([changelog](https://pytest-cov.readthedocs.io/en/latest/changelog.html)) | `==7.0.0` → `==7.1.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-cov/7.1.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-cov/7.0.0/7.1.0?slim=true) | --- ### Release Notes <details> <summary>pytest-dev/pytest-cov (pytest-cov)</summary> ### [`v7.1.0`](https://redirect.github.com/pytest-dev/pytest-cov/blob/HEAD/CHANGELOG.rst#710-2026-03-21) [Compare Source](https://redirect.github.com/pytest-dev/pytest-cov/compare/v7.0.0...v7.1.0) - Fixed total coverage computation to always be consistent, regardless of reporting settings. Previously some reports could produce different total counts, and consequently can make --cov-fail-under behave different depending on reporting options. See `#&#8203;641 <https://github.com/pytest-dev/pytest-cov/issues/641>`\_. - Improve handling of ResourceWarning from sqlite3. The plugin adds warning filter for sqlite3 `ResourceWarning` unclosed database (since 6.2.0). It checks if there is already existing plugin for this message by comparing filter regular expression. When filter is specified on command line the message is escaped and does not match an expected message. A check for an escaped regular expression is added to handle this case. With this fix one can suppress `ResourceWarning` from sqlite3 from command line:: pytest -W "ignore:unclosed database in \<sqlite3.Connection object at:ResourceWarning" ... - Various improvements to documentation. Contributed by Art Pelling in `#&#8203;718 <https://github.com/pytest-dev/pytest-cov/pull/718>`\_ and "vivodi" in `#&#8203;738 <https://github.com/pytest-dev/pytest-cov/pull/738>`*. Also closed `#&#8203;736 <https://github.com/pytest-dev/pytest-cov/issues/736>`*. - Fixed some assertions in tests. Contributed by in Markéta Machová in `#&#8203;722 <https://github.com/pytest-dev/pytest-cov/pull/722>`\_. - Removed unnecessary coverage configuration copying (meant as a backup because reporting commands had configuration side-effects before coverage 5.0). </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 is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates 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/tr4nt0r/pythonkuma). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My42Ni40IiwidXBkYXRlZEluVmVyIjoiNDMuNjYuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiOnJlY3ljbGU6IGRlcGVuZGVuY2llcyIsIjpzbmFrZTogcHl0aG9uIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent c59008c commit 6582bec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ dependencies = [
5050
"mkdocstrings[python]==1.0.3",
5151
"pytest-asyncio==1.3.0",
5252
"pytest==9.0.2",
53-
"pytest-cov==7.0.0",
53+
"pytest-cov==7.1.0",
5454
"syrupy==5.1.0",
5555
]
5656

@@ -69,7 +69,7 @@ pythonpath = ["pythonkuma"]
6969

7070
[tool.hatch.envs.hatch-test]
7171
extra-dependencies = [
72-
"pytest-cov==7.0.0",
72+
"pytest-cov==7.1.0",
7373
"pytest-asyncio==1.3.0",
7474
"syrupy==5.1.0",
7575
]

0 commit comments

Comments
 (0)