Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 15, 2022

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Change Age Confidence
pytest-mock (changelog) ==3.6.1 -> ==3.15.1 age confidence

Release Notes

pytest-dev/pytest-mock (pytest-mock)

v3.15.1

Compare Source

2025-09-16

  • #&#8203;529 <https://github.com/pytest-dev/pytest-mock/issues/529>_: Fixed itertools._tee object has no attribute error -- now duplicate_iterators=True must be passed to mocker.spy to duplicate iterators.

v3.15.0

Compare Source

2025-09-04

  • Python 3.8 (EOL) is no longer supported.
  • #&#8203;524 <https://github.com/pytest-dev/pytest-mock/pull/524>_: Added spy_return_iter to mocker.spy, which contains a duplicate of the return value of the spied method if it is an Iterator.

v3.14.1

Compare Source

  • #&#8203;503 <https://github.com/pytest-dev/pytest-mock/pull/503>_: Python 3.14 is now officially supported.

v3.14.0

Compare Source

  • #&#8203;415 <https://github.com/pytest-dev/pytest-mock/pull/415>_: MockType and AsyncMockType can be imported from pytest_mock for type annotation purposes.

  • #&#8203;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

Compare Source

  • #&#8203;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.
  • #&#8203;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.

v3.12.0

Compare Source

  • Added support for Python 3.12.
  • Dropped support for EOL Python 3.7.
  • mocker.resetall() now also resets mocks created by mocker.create_autospec (#390_).

.. _#390: #​390

v3.11.1

Compare Source

(This release source code is identical to 3.11.0 except a small internal fix to deployment/CI)

  • Fixed introspection for failed assert_has_calls (#365_).

  • Updated type annotations for mocker.patch and mocker.spy (#364_).

.. _#365: #​365
.. _#364: #​364

v3.11.0

Compare Source

  • Fixed introspection for failed assert_has_calls (#365_).

  • Updated type annotations for mocker.patch and mocker.spy (#364_).

.. _#365: #​365
.. _#364: #​364

v3.10.0

Compare Source

  • Added new mocker.stop(m) method to stop specific mocker.patch or mocker.spy calls (#319_).

.. _#319: #​319

v3.9.0

Compare Source

  • Expose NonCallableMagicMock via the mocker fixture (#318_).

.. _#318: #​318

v3.8.2

Compare Source

  • Fixed AsyncMock support for Python 3.7+ in mocker.async_stub (#302_).

.. _#302: #​302

v3.8.1

Compare Source

  • Fixed regression caused by an explicit mock dependency in the code (#298_).

.. _#298: #​298

v3.8.0

Compare Source

  • Add MockerFixture.async_mock method. Thanks @PerchunPak_ for the PR (#296_).

.. _@​PerchunPak: https://github.com/PerchunPak
.. _#296: #​296

v3.7.0

Compare Source

  • Python 3.10 now officially supported.
  • Dropped support for Python 3.6.

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,every weekend" in timezone Africa/Lusaka, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.

@renovate renovate bot added dependencies Pull requests that update a dependency file python labels May 15, 2022
@renovate renovate bot force-pushed the renovate/pytest-mock-3.x branch from f50cc4a to 74fff15 Compare November 20, 2022 07:26
@renovate renovate bot changed the title build(deps): update dependency pytest-mock to v3.7.0 build(deps): update dependency pytest-mock to v3.10.0 Nov 20, 2022
@renovate renovate bot force-pushed the renovate/pytest-mock-3.x branch from 74fff15 to 4e343fa Compare June 16, 2023 00:00
@renovate renovate bot changed the title build(deps): update dependency pytest-mock to v3.10.0 build(deps): update dependency pytest-mock to v3.11.0 Jun 16, 2023
@renovate renovate bot changed the title build(deps): update dependency pytest-mock to v3.11.0 build(deps): update dependency pytest-mock to v3.11.1 Jun 16, 2023
@renovate renovate bot force-pushed the renovate/pytest-mock-3.x branch from 4e343fa to ab04701 Compare June 16, 2023 03:31
@renovate renovate bot changed the title build(deps): update dependency pytest-mock to v3.11.1 build(deps): update dependency pytest-mock to v3.12.0 Oct 19, 2023
@renovate renovate bot force-pushed the renovate/pytest-mock-3.x branch from ab04701 to 0b69eca Compare October 19, 2023 19:58
@renovate renovate bot force-pushed the renovate/pytest-mock-3.x branch from 0b69eca to 5208298 Compare March 21, 2024 19:17
@renovate renovate bot changed the title build(deps): update dependency pytest-mock to v3.12.0 build(deps): update dependency pytest-mock to v3.13.0 Mar 21, 2024
@renovate renovate bot changed the title build(deps): update dependency pytest-mock to v3.13.0 build(deps): update dependency pytest-mock to v3.14.0 Mar 22, 2024
@renovate renovate bot force-pushed the renovate/pytest-mock-3.x branch from 5208298 to d51a0a6 Compare March 22, 2024 00:12
@renovate renovate bot force-pushed the renovate/pytest-mock-3.x branch from d51a0a6 to c941265 Compare May 26, 2025 15:22
@renovate renovate bot changed the title build(deps): update dependency pytest-mock to v3.14.0 build(deps): update dependency pytest-mock to v3.14.1 May 26, 2025
@renovate renovate bot force-pushed the renovate/pytest-mock-3.x branch from c941265 to 56f3b40 Compare July 26, 2025 07:30
@renovate renovate bot force-pushed the renovate/pytest-mock-3.x branch from 56f3b40 to cf62c6a Compare September 6, 2025 19:57
@renovate renovate bot changed the title build(deps): update dependency pytest-mock to v3.14.1 build(deps): update dependency pytest-mock to v3.15.0 Sep 6, 2025
@renovate renovate bot changed the title build(deps): update dependency pytest-mock to v3.15.0 build(deps): update dependency pytest-mock to v3.15.1 Sep 16, 2025
@renovate renovate bot force-pushed the renovate/pytest-mock-3.x branch from cf62c6a to 822d7b1 Compare September 16, 2025 17:08
@renovate renovate bot changed the title build(deps): update dependency pytest-mock to v3.15.1 build(deps): update dependency pytest-mock to v3.15.1 - autoclosed Sep 28, 2025
@renovate renovate bot closed this Sep 28, 2025
@renovate renovate bot deleted the renovate/pytest-mock-3.x branch September 28, 2025 11:04
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 python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant