chore(deps): update dependency pytest-mock to v3.14.0
Metadata
Current evaluation
Renovate PR merged in commit 3f77b24f, bumping pytest-mock from ==3.12.0 to ==3.14.0 (1-line change); approved by 2 reviewers, no CI changes needed.
Resolution: closed resolved
Reason: The PR was merged into main as commit 3f77b24f ('chore(deps): update dependency pytest-mock to v3.14.0 (#548)') per the issue record and matching git history, applying the version bump to the dev dependency pin in pyproject.toml, where it now reads pytest-mock~=3.12.
Evaluated by: mr-cal-bot
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | β | closed resolved | Renovate PR merged in commit 3f77b24f, bumping pytest-mock from ==3.12.0 to ==3.14.0 (1-line change); approved by 2 reviewers, no CI changes needed. | |
| stealth/space-bunny-alpha | β | closed resolved | Merged PR #548 in commit 3f77b24f, updating pytest-mock from 3.12.0 to 3.14.0. | |
| 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. |
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 pytest-mock 3.14.0 via PR #4694 (commit 7eea38402), upgrading the test dependency from 3.12.0. | |
| #113 chore(deps): update dependency dev/pytest-mock to v3.12.0 | craft-store | merged | Renovate dependency bump of pytest-mock from ==3.11.1 to ==3.12.0 approved and merged into main via commit e7846ba (single-line pyproject.toml/lock change). | |
| #1175 chore(deps): update dependency pytest-mock to v3.11.1 - autoclosed | charmcraft | closed | Renovateβs pytest-mock 3.10.0β3.11.1 update in #1175 was not merged; it was autoclosed after 1,163 days of inactivity and the branch was abandoned. | |
| #541 chore(deps): update development dependencies (non-major) | craft-providers | merged | Renovate PR merged via commit c24e45e: bumped dev deps pytest-mock 3.12.0->3.14.0 and types/pyright 1.1.354->1.1.355 in pyproject.toml (+2/-2). pyproject.toml still pins pytest-mock~=3.14. | |
| #64 chore(deps): update dependency pytest to v7.3.1 | craft-archives | merged | Renovate PR #64 was merged as commit 02f50fa, updating pytest from 7.2.2 to 7.3.1 with no change in test coverage. | |
| #303 chore(deps): update dependency dev/pytest-rerunfailures to v14 | craft-application | merged | Renovate PR bumped dev/pytest-rerunfailures 13.0 -> 14.0 and was merged into main via commit 317ba77f (approved by 2 reviewers); pin has since advanced to 16.7. | |
| #159 chore(deps): update dependency dev/pytest-rerunfailures to v13 | craft-application | merged | Renovate bumped dev/pytest-rerunfailures 12.0 -> 13.0 in test requirements; PR #159 approved by 2 reviewers and merged as d48a79fa (+1/-1 line). | |
| #1188 chore(deps): update dependency pytest-check to v2.2.0 | charmcraft | merged | Renovate PR upgrading pytest-check from 2.1.5 to 2.2.0 was approved and merged into main via commit cd76b689 (one-line test constraints change). | |
| #115 chore(deps): update development dependencies (non-major) | starbase | merged | Merged PR #115 as commit 6a8bb7f, updating pytest 7.4.0, pytest-mock 3.11.1, codespell 2.2.5, mypy 1.4.1, and pyright 1.1.316. | |
| #511 build(deps): update dependency pytest-mock to v3.17.0 (main) | craft-cli | merged | Renovate PR updating pytest-mock from v3.16.0 to v3.17.0. All CI checks passing, automerge enabled, no review comments. |