Skip to content

Bump pytest-cov from 6.2.1 to 7.0.0#34

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/pytest-cov-7.0.0
Closed

Bump pytest-cov from 6.2.1 to 7.0.0#34
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/pytest-cov-7.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 14, 2026

Bumps pytest-cov from 6.2.1 to 7.0.0.

Changelog

Sourced from pytest-cov's changelog.

7.0.0 (2025-09-09)

  • 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 [#551](https://github.com/pytest-dev/pytest-cov/issues/551) <https://github.com/pytest-dev/pytest-cov/pull/551>_ with some extras in [#716](https://github.com/pytest-dev/pytest-cov/issues/716) <https://github.com/pytest-dev/pytest-cov/pull/716>_.

  • Removed some not really necessary testing deps like six.

6.3.0 (2025-09-06)

  • Added support for markdown reports. Contributed by Marcos Boger in [#712](https://github.com/pytest-dev/pytest-cov/issues/712) <https://github.com/pytest-dev/pytest-cov/pull/712>_ and [#714](https://github.com/pytest-dev/pytest-cov/issues/714) <https://github.com/pytest-dev/pytest-cov/pull/714>_.
  • Fixed some formatting issues in docs. Anonymous contribution in [#706](https://github.com/pytest-dev/pytest-cov/issues/706) <https://github.com/pytest-dev/pytest-cov/pull/706>_.
Commits
  • 224d896 Bump version: 6.3.0 → 7.0.0
  • 73424e3 Cleanup the docs a bit.
  • 36f1cc2 Bump pins in template.
  • f299c59 Bump the github-actions group with 2 updates
  • 25f0b2e Update docs/config.rst
  • bb23eac Improve configuration docs
  • a19531e Switch from build/pre-commit to uv/prek - this should make this faster.
  • 82f9993 Update changelog.
  • 211b5cd Fix links.
  • 97aadd7 Update some ci config, reformat and apply some lint fixes.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 6.2.1 to 7.0.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-cov@v6.2.1...v7.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-version: 7.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jan 14, 2026
@dependabot dependabot bot requested a review from a team as a code owner January 14, 2026 00:43
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jan 14, 2026
@github-actions
Copy link

🤖 Claude Code Review

Code Review Analysis

Code Quality

✅ Code follows style guide

The change is a simple dependency version update in a requirements file, which is straightforward and doesn't involve code style considerations.

✅ No commented-out code

No commented-out code present in the diff.

✅ Meaningful variable names

N/A - This is a dependency version update, not code changes.

✅ DRY principle followed

N/A - This is a dependency version update.

✅ Identify Defects

No defects identified. This is a minor version bump of pytest-cov from 6.2.1 to 7.0.0. The change appears to be a standard dependency update, likely for bug fixes or new features in the testing coverage tool.

Recommendation: Verify that this version update is compatible with the current pytest==8.4.1 version and that all tests pass successfully after the upgrade.

ℹ️ Project Memory Configuration

No .claude/CLAUDE.md file found in the repository to consider for project-specific guidelines.

Testing

⚠️ Unit tests for new functions

N/A - No new functions added. However, since this updates a testing dependency, it would be prudent to ensure:

  • All existing tests still pass with pytest-cov==7.0.0
  • Coverage reporting still works as expected
  • No breaking changes in the pytest-cov API affect the test suite

✅ Integration tests for new endpoints

N/A - No new endpoints added.

✅ Edge cases covered

N/A - Dependency update only.

❓ Test coverage > 80%

Cannot determine from the diff alone. The coverage tool itself is being updated, so existing coverage metrics should be validated post-upgrade.

Documentation

⚠️ Readme updated if needed

The README doesn't need updating for a development dependency version bump unless there are breaking changes that affect the development workflow. Based on the minor version increment (6.2.1 → 7.0.0), this is likely a standard update.

✅ API docs updated

N/A - No API changes.

✅ Inline comments for complex logic

N/A - No code logic changes.

❌ CHANGELOG.md updated

The CHANGELOG.md should be updated to note the dependency update, especially since this is a major version jump (6 → 7) for pytest-cov. This helps track what changed between releases.

Recommendation: Add an entry like:

### Changed
- Updated pytest-cov from 6.2.1 to 7.0.0

✅ Markdown files follow CommonMark specification

N/A - No markdown files modified in this PR.

Security

✅ No hardcoded credentials

No credentials in the diff.

✅ Input validation implemented

N/A - Dependency update only.

✅ Proper error handling

N/A - No code changes.

✅ No sensitive data in logs

N/A - No logging code changes.

✅ No license files (.lic) or AQAAAD strings

No license files or sensitive strings detected in the diff.


Summary

Overall Assessment:APPROVED with minor recommendations

This is a straightforward dependency update with minimal risk. The main action items are:

  1. Critical: Verify all tests pass with pytest-cov 7.0.0
  2. Recommended: Update CHANGELOG.md to document this dependency change
  3. Recommended: Review pytest-cov 7.0.0 release notes for any breaking changes or new features that might affect your testing workflow

The change is clean, focused, and follows good dependency management practices by keeping testing tools up to date.

Automated code review analyzing defects and coding standards

@docktermj docktermj self-assigned this Jan 14, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 14, 2026

Looks like pytest-cov is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Jan 14, 2026
@dependabot dependabot bot deleted the dependabot/pip/pytest-cov-7.0.0 branch January 14, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant