← Back to issue list

build(deps): update dependency pytest-mock to v3.16.0 (main)

View original Github issue

Metadata

Project
craft-cli
Number
#491
Type
pull request
State
merged
Author
renovate
Labels
PR: Dependencies
Created
Updated
Closed

Current evaluation

Renovate PR #491 bumped the test-only dependency pytest-mock from ==3.15.1 to ==3.16.0 in pyproject.toml and uv.lock (+6/-6), with all CI jobs green. Merged into main.

Resolution: closed resolved

Reason: The PR itself was merged into main: pytest-mock was updated to ==3.16.0 in pyproject.toml's dev dependency group and uv.lock, with the full fast/slow test matrix, lint, policy and security checks passing. Repo baseline still shows ==3.15.1 at commit 6c9851e, i.e. the pinned snapshot predates the merge.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [pytest-mock](https://redirect.github.com/pytest-dev/pytest-mock) ([changelog](https://pytest-mock.readthedocs.io/en/latest/changelog.html)) | `==3.15.1` → `==3.16.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-mock/3.16.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-mock/3.15.1/3.16.0?slim=true) | --- ### Release Notes <details> <summary>pytest-dev/pytest-mock (pytest-mock)</summary> ### [`v3.16.0`](https://redirect.github.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3160) [Compare Source](https://redirect.github.com/pytest-dev/pytest-mock/compare/v3.15.1...v3.16.0) *2026-09-27* - `#&#8203;604 <https://github.com/pytest-dev/pytest-mock/pull/604>`\_: Fixed `duplicate_iterators=True` for async functions spied with `mocker.spy`. - `#&#8203;611 <https://github.com/pytest-dev/pytest-mock/pull/611>`\_: Fixed async mock assertion introspection to use awaited arguments instead of the latest call's arguments. - `#&#8203;606 <https://github.com/pytest-dev/pytest-mock/pull/606>`\_: `mocker.resetall(return_value=True, side_effect=True)` now also applies to non-callable mocks, such as those returned by `mocker.create_autospec(SomeClass, instance=True)`. Previously both arguments were silently ignored for them. - `#&#8203;547 <https://github.com/pytest-dev/pytest-mock/issues/547>`\_: Added `SpyType` for annotating `mocker.spy` results. - Dropped support for EOL Python 3.9. - `#&#8203;147 <https://github.com/pytest-dev/pytest-mock/issues/147>`\_: Removed handling of `RuntimeError: stop called on unstarted patcher`, which can no longer occur in the supported Python versions. - Added support for Python 3.15. </details> --- ### Configuration 📅 **Schedule**: (in timezone Etc/UTC) - Branch creation - "every weekend" - 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. --- - [ ] <!-- rebase-check -->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/canonical/craft-cli). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJQUjogRGVwZW5kZW5jaWVzIl19-->

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Renovate PR #491 bumped the test-only dependency pytest-mock from ==3.15.1 to ==3.16.0 in pyproject.toml and uv.lock (+6/-6), with all CI jobs green. Merged into main.
stealth/space-bunny-alpha
Impact: 12
Quick Win: 10
Complexity: 8
Confidence: 88
Actionability: 88
needs review Renovate bump of test-only dependency pytest-mock from ==3.15.1 to ==3.16.0 in pyproject.toml and uv.lock (+6/-6). Fresh PR, zero reviews, all 40+ CI jobs (fast/slow tests across Python 3.10-3.14+, freethreaded, macOS, minimal-deps) and policy/lint/security checks passing.

Update history

Date Change
merged
created

Related work

  • Related To: canonical/craft-cli#388 (confidence 85%)

    Prior Renovate bump of pytest-mock 3.14.0 -> 3.15.1, merged as commit 1c6c944; the version that #491 supersedes.

Related issues

Issue Project State Summary Similarity
#388 build(deps): update dependency pytest-mock to v3.15.1 craft-cli merged Renovate dependency bump of pytest-mock from 3.14.0 to 3.15.1 merged into main via commit 1c6c944; pyproject.toml and uv.lock updated to ==3.15.1, all CI checks green.
94%
#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.
89%
#178 build(deps): update dependency pytest-mock to v3.14.1 (main) craft-archives closed pytest-mock 3.14.1 update PR #178 was closed unmerged after minimum-dependencies tests failed; Renovate then ignored that version. No resolving commit was recorded.
84%
#833 build(deps): update dependency pytest-rerunfailures to v16 (main) craft-providers merged Renovate dependency bump of pytest-rerunfailures from ~=14.0 to ~=16.0 was merged into main (commit 6fe1d55), updating pyproject.toml and uv.lock; all CI checks passed.
81%
#1166 build(deps): update dependency pytest-rerunfailures to v16.6 (main) craft-application merged Renovate PR #1166 merged into main, bumping pytest-rerunfailures from ==16.4 to ==16.6 in pyproject.toml and uv.lock (+5/-5). Approved by 2 reviewers; all CI green except pre-existing snap-tests (openstack:).
81%
#321 build(deps): update dependency pytest-mock to v3.15.1 (main) craft-store merged Renovate's pytest-mock 3.14.1→3.15.1 update passed all CI checks and merged into main via #321 (commit e91a16b).
81%
#301 build(deps): update dependency pytest to v8.4.1 (main) craft-store merged Renovate bumped pytest 8.3.3 -> 8.4.1 in pyproject.toml and uv.lock; PR #301 was merged into main as commit f5e7ef4 after 2 approvals (later superseded by pytest ~=9.1).
80%
#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).
80%
#948 build(deps): update dependency pytest-check to v2.6.0 (main) craft-application merged Renovate PR #948 merged into main via commit 8a153d44, bumping pytest-check from ==2.5.3 to ==2.6.0 in pyproject.toml and constraints. All CI checks passed; approved by 2 reviewers.
80%
#906 build(deps): update dependency pytest to v8.4.2 (main) craft-application merged Renovate PR merged (commit 39577174) into main, bumping pytest from 8.4.1 to 8.4.2 in pyproject.toml dev/docs groups; all CI checks green, 2 approvals. Later superseded by pytest v9 (#962) and v9.1.1 (#1108).
80%