From de932ea8b5a314df0383490b21653e77a8541ec4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 10:04:09 +0900 Subject: [PATCH] chore(deps): update dependency pytest-cov to v6 (#605) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pytest-cov](https://redirect.github.com/pytest-dev/pytest-cov) ([changelog](https://pytest-cov.readthedocs.io/en/latest/changelog.html)) | `~5.0.0` -> `~6.0.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-cov/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest-cov/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest-cov/5.0.0/6.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/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
pytest-dev/pytest-cov (pytest-cov) ### [`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.
--- ### 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 becomes conflicted, 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](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/naa0yama/PythonBoilerplate). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- poetry.lock | 12 ++++++------ pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index a2e0f8f3..b7f35b5f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -889,17 +889,17 @@ pytest-nunit = ">=1.0.0,<2.0.0" [[package]] name = "pytest-cov" -version = "5.0.0" +version = "6.0.0" description = "Pytest plugin for measuring coverage." optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "pytest-cov-5.0.0.tar.gz", hash = "sha256:5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857"}, - {file = "pytest_cov-5.0.0-py3-none-any.whl", hash = "sha256:4f0764a1219df53214206bf1feea4633c3b558a2925c8b59f144f682861ce652"}, + {file = "pytest-cov-6.0.0.tar.gz", hash = "sha256:fde0b595ca248bb8e2d76f020b465f3b107c9632e6a1d1705f17834c89dcadc0"}, + {file = "pytest_cov-6.0.0-py3-none-any.whl", hash = "sha256:eee6f1b9e61008bd34975a4d5bab25801eb31898b032dd55addc93e96fcaaa35"}, ] [package.dependencies] -coverage = {version = ">=5.2.1", extras = ["toml"]} +coverage = {version = ">=7.5", extras = ["toml"]} pytest = ">=4.6" [package.extras] @@ -1636,4 +1636,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "3.10.14" -content-hash = "4f10b57780e980dcd341dd3d8eaee05d1e3c7da39e870f3f912b4e3867d2b09d" +content-hash = "529f031498deb214b5c25b16341a9df66abf819318c3bfb62adb57c0278d510d" diff --git a/pyproject.toml b/pyproject.toml index bd0bf430..59341023 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ ruff = "^0.6.0" [tool.poetry.group.tests.dependencies] pytest = "~8.3.0" pytest-azurepipelines = "~1.0.4" -pytest-cov = "~5.0.0" +pytest-cov = "~6.0.0" pytest-mock = "~3.14.0" [tool.poetry.group.types.dependencies]