← Back to issue list

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

View original Github issue

Metadata

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

Current evaluation

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.

Resolution: closed resolved

Reason: The PR itself was merged to main, landing as commit 8b9823d ("build(deps): update dependency pytest-cov to v7 (#205)"), which updated pyproject.toml and uv.lock. Subsequent commit 4d206f0 (#232) further bumped pytest-cov to v7.1.0, and the repo now pins pytest-cov==7.1.0 in the test dependency group.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more [here](https://redirect.github.com/renovatebot/renovate/discussions/37842). 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)) | `==4.1.0` -> `==7.0.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/4.1.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. ### [`v5.0.0`](https://redirect.github.com/pytest-dev/pytest-cov/blob/HEAD/CHANGELOG.rst#500-2024-03-24) [Compare Source](https://redirect.github.com/pytest-dev/pytest-cov/compare/v4.1.0...v5.0.0) - Removed support for xdist rsync (now deprecated). Contributed by Matthias Reichenbach in `#&#8203;623 <https://github.com/pytest-dev/pytest-cov/pull/623>`\_. - Switched docs theme to Furo. - Various legacy Python cleanup and CI improvements. Contributed by Christian Clauss and Hugo van Kemenade in `#&#8203;630 <https://github.com/pytest-dev/pytest-cov/pull/630>`*, `#&#8203;631 <https://github.com/pytest-dev/pytest-cov/pull/631>`*, `#&#8203;632 <https://github.com/pytest-dev/pytest-cov/pull/632>`\_ and `#&#8203;633 <https://github.com/pytest-dev/pytest-cov/pull/633>`\_. - Added a `pyproject.toml` example in the docs. Contributed by Dawn James in `#&#8203;626 <https://github.com/pytest-dev/pytest-cov/pull/626>`\_. - Modernized project's pre-commit hooks to use ruff. Initial POC contributed by Christian Clauss in `#&#8203;584 <https://github.com/pytest-dev/pytest-cov/pull/584>`\_. - Dropped support for Python 3.7. </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-archives). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJQUjogRGVwZW5kZW5jaWVzIl19-->

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved 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.
stealth/space-bunny-alpha — closed resolved Merged #205 updates pytest-cov from 4.1.0 to 7.0.0. Two reviewers approved it and all listed CI checks passed.
qwen/qwen3.6-35b-a3b — — Merged automated dependency update upgrading pytest-cov from v4.1.0 to v7.0.0. Approved by two reviewers and passed all CI checks. The v7 release drops subprocess measurement support and switches packaging to pyproject.toml.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/craft-archives#232 (confidence 85%)

    Follow-up Renovate PR merged as 4d206f0, raising pytest-cov from v7.0.0 to v7.1.0 (commit 99f4892 later reverted coverage config? no — current pin is 7.1.0)

  • Related To: craft-archives#285 (confidence 60%)

    Earlier intermediate Renovate bump of pytest-cov to v6 (commit d956942) on the path to this v7 update

  • Related To: craft-archives#445 (confidence 55%)

    Same titled 'update dependency pytest-cov to v7' change applied on a different branch (commit f9460cc)

  • Related To: canonical/craft-archives#210 (confidence 40%)

    Nearby 'build: clean up dependency groups' commit (fbee636) that reshaped the test dependency group containing pytest-cov

Related issues

Issue Project State Summary Similarity
#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.
97%
#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.
96%
#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.
96%
#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%
#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.
94%
#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.
94%
#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.
94%
#1375 build(deps): update dependency pytest-cov to v7 (main) craft-parts merged Merged into main via commit 1c2d5740, updating pytest-cov from ~=5.0 to ~=7.0 after tests, lint, and security checks passed.
93%
#933 build(deps): update dependency pytest-cov to v7 (main) craft-application merged Renovate PR #933 bumped pytest-cov from ==6.3.0 to ==7.0.0 in craft-application; approved by 2 reviewers and merged into main via commit be5d6994, all CI checks passing. Later advanced to v7.1.0 in #1056.
93%
#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.
93%