Skip to content

chore(deps): update dependency pytest-cov to v6 #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 29, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pytest-cov (changelog) ==4.1.0 -> ==6.2.1 age adoption passing confidence

Release Notes

pytest-dev/pytest-cov (pytest-cov)

v6.2.1

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • Fixed breakage that occurs when --cov-context and the no_cover marker are used together.

v6.1.0

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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.

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 this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sorry, something went wrong.

@renovate renovate bot added the 🤖 dependencies Pull requests that update a dependency file label Oct 29, 2024
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 2 times, most recently from f34f841 to 882d0c6 Compare November 8, 2024 16:57
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 3 times, most recently from 29b7a4b to ce827de Compare November 15, 2024 18:33
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 4 times, most recently from 95c1f66 to 12728ad Compare November 29, 2024 10:22
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 2 times, most recently from 6640062 to d437bb9 Compare December 6, 2024 15:39
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 2 times, most recently from d284be1 to 4169e32 Compare December 17, 2024 08:22
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 2 times, most recently from 2f2d60b to 6d1dbf0 Compare December 20, 2024 22:51
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 4 times, most recently from d965da3 to 2245eb5 Compare January 2, 2025 19:40
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 5 times, most recently from d8c1759 to fcdbbb6 Compare January 11, 2025 05:53
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch from fcdbbb6 to 4330d21 Compare January 16, 2025 17:23
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 2 times, most recently from 69ffa18 to 431d0b3 Compare January 30, 2025 22:23
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 2 times, most recently from 4dfdb5b to ee44b69 Compare February 7, 2025 01:30
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 5 times, most recently from 7accdc1 to 8a48632 Compare March 21, 2025 21:36
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 5 times, most recently from 1211341 to 39407f5 Compare April 5, 2025 14:33
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 2 times, most recently from 3c2b292 to 0be6101 Compare April 17, 2025 21:34
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 2 times, most recently from 2d5cae2 to 2ea9779 Compare May 1, 2025 21:49
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 2 times, most recently from fed0b06 to 7c63454 Compare May 15, 2025 19:48
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 4 times, most recently from d98135c to f230ec8 Compare May 24, 2025 02:31
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 2 times, most recently from f2ae07e to 23ec946 Compare May 29, 2025 22:30
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch 5 times, most recently from 244426c to 12c91bb Compare June 13, 2025 21:52
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch from 12c91bb to 2be6360 Compare June 17, 2025 02:27

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch from 2be6360 to ea1b5ca Compare June 17, 2025 22:22
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants