← Back to issue list

build(deps): update dependency pytest-cov to v7 (main)

View original Github issue

Metadata

Project
craft-parts
Number
#1375
Type
pull request
State
merged
Author
renovate[bot]
Labels
PR: Dependencies
Created
Updated
Closed

Current evaluation

Merged into main via commit 1c2d5740, updating pytest-cov from ~=5.0 to ~=7.0 after tests, lint, and security checks passed.

Resolution: closed resolved

Reason: PR canonical/craft-parts#1375 was merged as commit 1c2d5740, completing the pytest-cov dependency upgrade with no failing checks.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [pytest-cov](https://redirect.github.com/pytest-dev/pytest-cov) ([changelog](https://pytest-cov.readthedocs.io/en/latest/changelog.html)) | `~=5.0` -> `~=7.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-cov/7.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-cov/5.0.0/7.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pytest-dev/pytest-cov (pytest-cov)</summary> ### [`v7.0.0`](https://redirect.github.com/pytest-dev/pytest-cov/blob/HEAD/CHANGELOG.rst#700-2025-09-09) [Compare Source](https://redirect.github.com/pytest-dev/pytest-cov/compare/v6.3.0...v7.0.0) - Dropped support for subprocesses measurement. It was a feature added long time ago when coverage lacked a nice way to measure subprocesses created in tests. It relied on a `.pth` file, there was no way to opt-out and it created bad interations with `coverage's new patch system <https://coverage.readthedocs.io/en/latest/config.html#run-patch>`\_ added in `7.10 <https://coverage.readthedocs.io/en/7.10.6/changes.html#version-7-10-0-2025-07-24>`\_. To migrate to this release you might need to enable the suprocess patch, example for `.coveragerc`: .. code-block:: ini \[run] patch = subprocess This release also requires at least coverage 7.10.6. - Switched packaging to have metadata completely in `pyproject.toml` and use `hatchling <https://pypi.org/project/hatchling/>`\_ for building. Contributed by Ofek Lev in `#&#8203;551 <https://github.com/pytest-dev/pytest-cov/pull/551>`\_ with some extras in `#&#8203;716 <https://github.com/pytest-dev/pytest-cov/pull/716>`\_. - Removed some not really necessary testing deps like `six`. ### [`v6.3.0`](https://redirect.github.com/pytest-dev/pytest-cov/blob/HEAD/CHANGELOG.rst#630-2025-09-06) [Compare Source](https://redirect.github.com/pytest-dev/pytest-cov/compare/v6.2.1...v6.3.0) - Added support for markdown reports. Contributed by Marcos Boger in `#&#8203;712 <https://github.com/pytest-dev/pytest-cov/pull/712>`\_ and `#&#8203;714 <https://github.com/pytest-dev/pytest-cov/pull/714>`\_. - Fixed some formatting issues in docs. Anonymous contribution in `#&#8203;706 <https://github.com/pytest-dev/pytest-cov/pull/706>`\_. ### [`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", ] ### [`v6.1.1`](https://redirect.github.com/pytest-dev/pytest-cov/blob/HEAD/CHANGELOG.rst#611-2025-04-05) [Compare Source](https://redirect.github.com/pytest-dev/pytest-cov/compare/v6.1.0...v6.1.1) - Fixed breakage that occurs when `--cov-context` and the `no_cover` marker are used together. ### [`v6.1.0`](https://redirect.github.com/pytest-dev/pytest-cov/blob/HEAD/CHANGELOG.rst#610-2025-04-01) [Compare Source](https://redirect.github.com/pytest-dev/pytest-cov/compare/v6.0.0...v6.1.0) - Change terminal output to use full width lines for the coverage header. Contributed by Tsvika Shapira in `#&#8203;678 <https://github.com/pytest-dev/pytest-cov/pull/678>`\_. - Removed unnecessary CovFailUnderWarning. Fixes `#&#8203;675 <https://github.com/pytest-dev/pytest-cov/issues/675>`\_. - Fixed the term report not using the precision specified via `--cov-precision`. ### [`v6.0.0`](https://redirect.github.com/pytest-dev/pytest-cov/blob/HEAD/CHANGELOG.rst#600-2024-10-29) [Compare Source](https://redirect.github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0) - Updated various documentation inaccuracies, especially on subprocess handling. - Changed fail under checks to use the precision set in the coverage configuration. Now it will perform the check just like `coverage report` would. - Added a `--cov-precision` cli option that can override the value set in your coverage configuration. - Dropped support for now EOL Python 3.8. </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, 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/canonical/craft-parts). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJQUjogRGVwZW5kZW5jaWVzIl19-->

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged into main via commit 1c2d5740, updating pytest-cov from ~=5.0 to ~=7.0 after tests, lint, and security checks passed.
stealth/space-bunny-alpha — closed resolved Merged canonical/craft-parts#1375 in commit 1c2d5740, upgrading pytest-cov from ~=5.0 to ~=7.0 after all reported tests, lint, and security checks passed.
qwen/qwen3.6-35b-a3b — — Merged automated dependency update upgrading pytest-cov from v5 to v7. Approved by two reviewers and passed all CI checks. Applied to main branch via Renovate bot.
qwen3.6-35b-a3b-mtp-q6 — — Merged automated dependency update upgrading pytest-cov from v5 to v7 on the main branch. The change incorporates major version changes, including dropped subprocess measurement support and updated packaging metadata.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#832 build(deps): update dependency pytest-cov to v7 (main) craft-providers merged Merged PR #832 in commit 9d9f3be, upgrading pytest-cov from ~=5.0 to ~=7.0 in the dev dependency group.
95%
#324 build(deps): update dependency pytest-cov to v7 (main) craft-store merged Merged PR #324 upgraded pytest-cov from 6.3.0 to 7.0.0 in commit 8e3e44a; all CI checks passed and two reviewers approved.
94%
#351 build(deps): update dependency pytest-cov to v7.1.0 (main) craft-store merged Renovate dependency bump of pytest-cov 7.0.0 → 7.1.0 merged into main via commit 6ae2651 (#351); approved by 2 reviewers with CI green apart from unrelated OSV/windows checks.
94%
#205 build(deps): update dependency pytest-cov to v7 (main) craft-archives merged Renovate PR #205 bumping pytest-cov from 4.1.0 to 7.0.0 was merged into main as commit 8b9823d; approved by 2 reviewers with all CI checks passing. Later raised to 7.1.0 in #232.
93%
#232 build(deps): update dependency pytest-cov to v7.1.0 (main) craft-archives merged Renovate PR merged into main as commit 4d206f0, bumping pytest-cov from ==7.0.0 to ==7.1.0 in pyproject.toml plus lockfile; all CI checks (lint, fast/slow tests, min-deps, OSV) passed.
92%
#140 build(deps): update dependency pytest-cov to v7 craft-grammar merged Merged PR #140 in commit 6bc31f6, upgrading pytest-cov from ~=6.0 to ~=7.0 and refreshing the lockfile; all CI checks passed.
92%
#21 build(deps): update dependency pytest-cov to v7 debcraft merged Merged PR #21 as commit 88d1694, upgrading pytest-cov from ~=6.0 to ~=7.0 after two approvals and all CI checks passed.
92%
#216 build(deps): update dependency pytest-cov to v7 imagecraft merged Renovate PR #216 was merged as commit a589bd8, updating pytest-cov from ~=6.0 to ~=7.0.
91%
#393 build(deps): update dependency pytest-cov to v7 craft-cli merged Renovate PR merged pytest-cov 5.0.0 -> 7.0.0 in the dev dependency group (commit 31c0db2), approved by 2 reviewers with all CI checks green; later bumped again to 7.1.0 by #436.
91%
#37 build(deps): update dependency pytest-cov to v7 craft-artifacts merged Renovate dependency bump of pytest-cov from ~=6.0 to ~=7.0 merged into main via commit 0844ee2 (PR #37), after manual merge by lengau; pyproject.toml and uv.lock now pin pytest-cov~=7.0.
90%