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

Bump pytest-mock from 3.11.1 to 3.12.0 #7735

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps pytest-mock from 3.11.1 to 3.12.0.

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

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 compatibility score

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)

Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.11.1 to 3.12.0.
- [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@v3.11.1...v3.12.0)

---
updated-dependencies:
- dependency-name: pytest-mock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 20, 2023
@github-actions github-actions bot enabled auto-merge (squash) October 20, 2023 10:46
@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

Merging #7735 (bb80b01) into 3.9 (bc25c89) will increase coverage by 0.00%.
Report is 4 commits behind head on 3.9.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##              3.9    #7735   +/-   ##
=======================================
  Coverage   97.30%   97.30%           
=======================================
  Files         107      107           
  Lines       31888    31903   +15     
  Branches     3725     3726    +1     
=======================================
+ Hits        31029    31044   +15     
  Misses        654      654           
  Partials      205      205           
Flag Coverage Δ
CI-GHA 97.22% <100.00%> (+<0.01%) ⬆️
OS-Linux 96.90% <100.00%> (+<0.01%) ⬆️
OS-Windows 94.42% <100.00%> (+<0.01%) ⬆️
OS-macOS 96.56% <100.00%> (-0.01%) ⬇️
Py-3.10.11 94.33% <100.00%> (+<0.01%) ⬆️
Py-3.10.13 96.75% <100.00%> (+<0.01%) ⬆️
Py-3.11.5 ?
Py-3.11.6 96.43% <100.00%> (?)
Py-3.8.10 94.31% <100.00%> (+<0.01%) ⬆️
Py-3.8.18 96.68% <100.00%> (+<0.01%) ⬆️
Py-3.9.13 94.31% <100.00%> (+<0.01%) ⬆️
Py-3.9.18 96.72% <100.00%> (+<0.01%) ⬆️
Py-pypy7.3.11 96.19% <100.00%> (-0.01%) ⬇️
VM-macos 96.56% <100.00%> (-0.01%) ⬇️
VM-ubuntu 96.90% <100.00%> (+<0.01%) ⬆️
VM-windows 94.42% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
aiohttp/http_exceptions.py 100.00% <100.00%> (ø)
aiohttp/http_parser.py 97.77% <100.00%> (ø)
tests/test_http_exceptions.py 100.00% <100.00%> (ø)
tests/test_http_parser.py 99.18% <100.00%> (+0.01%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@github-actions github-actions bot merged commit e32041e into 3.9 Oct 20, 2023
24 of 29 checks passed
@github-actions github-actions bot deleted the dependabot/pip/3.9/pytest-mock-3.12.0 branch October 20, 2023 11:10
xiangxli pushed a commit to xiangxli/aiohttp that referenced this pull request Dec 4, 2023
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from
3.11.1 to 3.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest-mock/releases">pytest-mock's
releases</a>.</em></p>
<blockquote>
<h2>v3.12.0</h2>
<ul>
<li>Added support for Python 3.12.</li>
<li>Dropped support for EOL Python 3.7.</li>
<li><code>mocker.resetall()</code> now also resets mocks created by
<code>mocker.create_autospec</code> (<a
href="https://redirect.github.com/pytest-dev/pytest-mock/pull/390">#390</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst">pytest-mock's
changelog</a>.</em></p>
<blockquote>
<h2>3.12.0 (2023-10-19)</h2>
<ul>
<li>Added support for Python 3.12.</li>
<li>Dropped support for EOL Python 3.7.</li>
<li><code>mocker.resetall()</code> now also resets mocks created by
<code>mocker.create_autospec</code>
(<code>[aio-libs#390](https://github.com/pytest-dev/pytest-mock/issues/390)</code>_).</li>
</ul>
<p>.. _<a
href="https://redirect.github.com/pytest-dev/pytest-mock/issues/390">#390</a>:
<a
href="https://redirect.github.com/pytest-dev/pytest-mock/pull/390">pytest-dev/pytest-mock#390</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest-mock/commit/69adc6f76c1a7baf4e7a728da9eec38741d5783e"><code>69adc6f</code></a>
Re-add norewrite tests</li>
<li><a
href="https://github.com/pytest-dev/pytest-mock/commit/b905823ba6894f89b1ecd9aafcabf1e20612ac22"><code>b905823</code></a>
Drop Python 3.7 and add Python 3.12</li>
<li><a
href="https://github.com/pytest-dev/pytest-mock/commit/2a71a0d6ab8719defc9309da20bd97b7b35262b6"><code>2a71a0d</code></a>
mocker.resetall now also resets mockers created by
<code>create_autospec</code> (<a
href="https://redirect.github.com/pytest-dev/pytest-mock/issues/390">#390</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest-mock/commit/e84f88501188504f1fa6e56e0d0e6604985298a1"><code>e84f885</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest-mock/issues/391">#391</a>
from pytest-dev/pre-commit-ci-update-config</li>
<li><a
href="https://github.com/pytest-dev/pytest-mock/commit/e0372217cdd057eb67ffe416177880c141cd3adf"><code>e037221</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="https://github.com/pytest-dev/pytest-mock/commit/f019696e44adb0d6159bea78172ed8d0aeed10e5"><code>f019696</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest-mock/issues/387">#387</a>
from pytest-dev/where-to-patch-link</li>
<li><a
href="https://github.com/pytest-dev/pytest-mock/commit/09f18148a5b1a2109914f47198c8d8fb1f836307"><code>09f1814</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest-mock/issues/388">#388</a>
from pytest-dev/pre-commit-ci-update-config</li>
<li><a
href="https://github.com/pytest-dev/pytest-mock/commit/f55f17e73b469034dbb87e5fadbb3e103913826a"><code>f55f17e</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="https://github.com/pytest-dev/pytest-mock/commit/cec59a0b444efc3f1fb03308460cad6bf5a81709"><code>cec59a0</code></a>
Update usage.rst</li>
<li><a
href="https://github.com/pytest-dev/pytest-mock/commit/53cc0a550fb6dbb9c1eafc2c96cc5c2bf02c4185"><code>53cc0a5</code></a>
Update usage.rst</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest-mock/compare/v3.11.1...v3.12.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-mock&package-manager=pip&previous-version=3.11.1&new-version=3.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants