chore(deps): update dependency pytest-mock to v3.14.0
Metadata
Current evaluation
Merged automated dependency update for pytest-mock from v3.12.0 to v3.14.0. Approved by two reviewers, passed CI, and modified one file. Includes new type annotations and a regression fix for mocker.patch.object.
Suggested action: —
No scores available.
Issue body
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pytest-mock](https://togithub.com/pytest-dev/pytest-mock) ([changelog](https://pytest-mock.readthedocs.io/en/latest/changelog.html)) | `==3.12.0` -> `==3.14.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>pytest-dev/pytest-mock (pytest-mock)</summary>
### [`v3.14.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3140-2024-03-21)
[Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.13.0...v3.14.0)
- `#​415 <https://github.com/pytest-dev/pytest-mock/pull/415>`\_: `MockType` and `AsyncMockType` can be imported from `pytest_mock` for type annotation purposes.
- `#​420 <https://github.com/pytest-dev/pytest-mock/issues/420>`\_: Fixed a regression which would cause `mocker.patch.object` to not being properly cleared between tests.
### [`v3.13.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3130-2024-03-21)
[Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.12.0...v3.13.0)
- `#​417 <https://github.com/pytest-dev/pytest-mock/pull/417>`\_: `spy` now has `spy_return_list`, which is a list containing all the values returned by the spied function.
- `pytest-mock` now requires `pytest>=6.2.5`.
- `#​410 <https://github.com/pytest-dev/pytest-mock/pull/410>`*: pytest-mock's `setup.py` file is removed.
If you relied on this file, e.g. to install pytest using `setup.py install`,
please see `Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>`* for alternatives.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "every weekend" in timezone Etc/UTC.
🚦 **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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/canonical/rockcraft).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM0MC4xMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged automated dependency update for pytest-mock from v3.12.0 to v3.14.0. Approved by two reviewers, passed CI, and modified one file. Includes new type annotations and a regression fix for mocker.patch.object. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged automated dependency update for pytest-mock from v3.12.0 to v3.14.0 via Renovate bot. The upgrade adds type annotation exports and fixes a regression in mocker.patch.object cleanup between tests. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged automated dependency update for pytest-mock from v3.12.0 to v3.14.0 via Renovate bot. The upgrade applies upstream bug fixes, including a regression fix for mocker.patch.object cleanup, and adds new type annotations. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4694 chore(deps): update dependency pytest-mock to v3.14.0 | snapcraft | merged | Merged automated dependency update upgrading pytest-mock from v3.12.0 to v3.14.0. Approved by two reviewers, passed CI and Codecov checks, and successfully merged. | |
| #113 chore(deps): update dependency dev/pytest-mock to v3.12.0 | craft-store | merged | Merged an automated dependency update for dev/pytest-mock from v3.11.1 to v3.12.0. Generated by Renovate, the change was approved, passed CI checks, and was automatically merged. The update modifies a single file with a one-line version bump. | |
| #1175 chore(deps): update dependency pytest-mock to v3.11.1 - autoclosed | charmcraft | closed | Dependency update for pytest-mock to v3.11.1 was autoclosed due to inactivity. The branch was abandoned without review or merging. | |
| #321 build(deps): update dependency pytest-mock to v3.15.1 (main) | craft-store | merged | Merged automated dependency update upgrading pytest-mock from v3.14.1 to v3.15.1. Approved by reviewers and passed all CI checks before merging into the main branch. | |
| #159 chore(deps): update dependency dev/pytest-rerunfailures to v13 | craft-application | merged | Merged automated dependency update for pytest-rerunfailures from v12.0 to v13.0. Approved by two reviewers, passed CI checks, and maintained 99.19% test coverage. | |
| #388 build(deps): update dependency pytest-mock to v3.15.1 | craft-cli | merged | Merged automated dependency update generated by Renovate bot. Updated pytest-mock from v3.14.0 to v3.15.1 across two files. Approved by two reviewers and passed all CI checks before merging into the main branch. | |
| #303 chore(deps): update dependency dev/pytest-rerunfailures to v14 | craft-application | merged | Merged automated dependency update for dev/pytest-rerunfailures from v13.0 to v14.0. Approved by two reviewers, passed CI checks, and merged with a single line change across one file. | |
| #95 chore(deps): update development dependencies (non-major) | starbase | merged | Merged automated updates for pytest (7.3.1 to 7.3.2) and types/pyright (1.1.311 to 1.1.313). Changes were approved, passed CI, and merged into main. | |
| #115 chore(deps): update development dependencies (non-major) | starbase | merged | Merged automated non-major development dependency updates for pytest, pytest-mock, codespell, mypy, and pyright. CI checks passed, approval was granted, and the update was merged into main. | |
| #59 chore(deps): update dependency dev/pytest to v7.3.1 | starbase | merged | Automated dependency update for dev/pytest from v7.2.2 to v7.3.1 was approved, passed CI checks, and successfully merged into the main branch. |