Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update pytest-mock requirement from <3.10.1 to <3.12.1 #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 20, 2023

Updates the requirements on pytest-mock to permit the latest version.

Release notes

Sourced from pytest-mock's releases.

v3.12.0

  • 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).
Changelog

Sourced from pytest-mock's changelog.

3.12.0 (2023-10-19)

  • 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](https://github.com/pytest-dev/pytest-mock/issues/390)_).

.. _#390: pytest-dev/pytest-mock#390

3.11.1 (2023-06-15)

(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](https://github.com/pytest-dev/pytest-mock/issues/365)_).

  • Updated type annotations for mocker.patch and mocker.spy ([#364](https://github.com/pytest-dev/pytest-mock/issues/364)_).

.. _#365: pytest-dev/pytest-mock#365 .. _#364: pytest-dev/pytest-mock#364

3.11.0 (2023-06-15)

  • Fixed introspection for failed assert_has_calls ([#365](https://github.com/pytest-dev/pytest-mock/issues/365)_).

  • Updated type annotations for mocker.patch and mocker.spy ([#364](https://github.com/pytest-dev/pytest-mock/issues/364)_).

.. _#365: pytest-dev/pytest-mock#365 .. _#364: pytest-dev/pytest-mock#364

3.10.0 (2022-10-05)

  • Added new mocker.stop(m) method to stop specific mocker.patch or mocker.spy calls ([#319](https://github.com/pytest-dev/pytest-mock/issues/319)_).

.. _#319: pytest-dev/pytest-mock#319

3.9.0 (2022-09-28)

  • Expose NonCallableMagicMock via the mocker fixture ([#318](https://github.com/pytest-dev/pytest-mock/issues/318)_).

.. _#318: pytest-dev/pytest-mock#318

3.8.2 (2022-07-05)

  • Fixed AsyncMock support for Python 3.7+ in mocker.async_stub ([#302](https://github.com/pytest-dev/pytest-mock/issues/302)_).

... (truncated)

Commits
  • 69adc6f Re-add norewrite tests
  • b905823 Drop Python 3.7 and add Python 3.12
  • 2a71a0d mocker.resetall now also resets mockers created by create_autospec (#390)
  • e84f885 Merge pull request #391 from pytest-dev/pre-commit-ci-update-config
  • e037221 [pre-commit.ci] pre-commit autoupdate
  • f019696 Merge pull request #387 from pytest-dev/where-to-patch-link
  • 09f1814 Merge pull request #388 from pytest-dev/pre-commit-ci-update-config
  • f55f17e [pre-commit.ci] pre-commit autoupdate
  • cec59a0 Update usage.rst
  • 53cc0a5 Update usage.rst
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 20, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 20, 2023

Dependabot tried to add @dciborow as a reviewer to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/tgoelles/specarray/pulls/30/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the tgoelles/specarray repository. // See: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request

Updates the requirements on [pytest-mock](https://github.com/pytest-dev/pytest-mock) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases)
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-mock@v0.1.0...v3.12.0)

---
updated-dependencies:
- dependency-name: pytest-mock
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-mock-lt-3.12.1 branch from 839ffaa to a7ecdf7 Compare November 5, 2023 18:54
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 Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants