-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
Add support for resetall
to create_autospec
#390
Add support for resetall
to create_autospec
#390
Conversation
if sys.version_info >= (3, 9): | ||
# The reset on child mocks have been implemented in 3.9 | ||
# https://bugs.python.org/issue38932 | ||
assert mocked_object.run.return_value != "mocked" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't really like this check here, maybe test needs to be split, and then it's easier to use pytest.mark.skipif
to skip for 3.8 and below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or maybe have a completely separate test for resetting child mocks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The check is fine, when we drop support for Python versions it is common to search for sys.version_info
checks like these. 👍
Thanks @inikolaev for the patch, appreciate it!
Seems good enough. 👍
Yes. 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @inikolaev, looks great so far!
Please take a look at my comments.
src/pytest_mock/plugin.py
Outdated
@@ -102,7 +110,8 @@ def stopall(self) -> None: | |||
times. | |||
""" | |||
for p, m in reversed(self._patches_and_mocks): | |||
p.stop() | |||
if p: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's be more explicit here:
if p: | |
if p is not None: |
Given p
is Any, is theoretically possible for it to implement __bool__
and return False
for some reason.
if sys.version_info >= (3, 9): | ||
# The reset on child mocks have been implemented in 3.9 | ||
# https://bugs.python.org/issue38932 | ||
assert mocked_object.run.return_value != "mocked" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The check is fine, when we drop support for Python versions it is common to search for sys.version_info
checks like these. 👍
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>[#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 /> [](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>
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>[#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 /> [](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[](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.11.1` -> `==3.12.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.12.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3120-2023-10-19) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.11.1...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`\_). .. \_#390:[https://github.com/pytest-dev/pytest-mock/pull/390](https://togithub.com/pytest-dev/pytest-mock/pull/390)0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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/allenporter/pyrainbird). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…#9627) 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>[#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 /> [](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [black](https://togithub.com/psf/black) ([changelog](https://togithub.com/psf/black/blob/main/CHANGES.md)) | `23.3.0` -> `23.10.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [flake8-bugbear](https://togithub.com/PyCQA/flake8-bugbear#change-log) ([changelog](https://togithub.com/PyCQA/flake8-bugbear#change-log)) | `23.3.12` -> `23.9.16` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [flake8-comprehensions](https://togithub.com/adamchainz/flake8-comprehensions) ([changelog](https://togithub.com/adamchainz/flake8-comprehensions/blob/main/CHANGELOG.rst)) | `3.13.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/) | | [flake8-pytest-style](https://pypi.org/project/flake8-pytest-style) ([source](https://togithub.com/m-burst/flake8-pytest-style)) | `1.6.0` -> `1.7.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [isort](https://pycqa.github.io/isort/) ([source](https://togithub.com/pycqa/isort), [changelog](https://togithub.com/pycqa/isort/blob/main/CHANGELOG.md)) | `5.11.5` -> `5.12.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/) | | [mypy](https://www.mypy-lang.org/) ([source](https://togithub.com/python/mypy), [changelog](https://mypy-lang.blogspot.com/)) | `1.4.1` -> `1.6.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pytest](https://docs.pytest.org/en/latest/) ([source](https://togithub.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | `7.4.2` -> `7.4.3` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pytest-mock](https://togithub.com/pytest-dev/pytest-mock) ([changelog](https://pytest-mock.readthedocs.io/en/latest/changelog.html)) | `3.11.1` -> `3.12.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>psf/black (black)</summary> ### [`v23.10.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23101) [Compare Source](https://togithub.com/psf/black/compare/23.10.0...23.10.1) ##### Highlights - Maintanence release to get a fix out for GitHub Action edge case ([#​3957](https://togithub.com/psf/black/issues/3957)) ##### Preview style - Fix merging implicit multiline strings that have inline comments ([#​3956](https://togithub.com/psf/black/issues/3956)) - Allow empty first line after block open before a comment or compound statement ([#​3967](https://togithub.com/psf/black/issues/3967)) ##### Packaging - Change Dockerfile to hatch + compile black ([#​3965](https://togithub.com/psf/black/issues/3965)) ##### Integrations - The summary output for GitHub workflows is now suppressible using the `summary` parameter. ([#​3958](https://togithub.com/psf/black/issues/3958)) - Fix the action failing when Black check doesn't pass ([#​3957](https://togithub.com/psf/black/issues/3957)) ##### Documentation - It is known Windows documentation CI is broken [https://github.com/psf/black/issues/3968](https://togithub.com/psf/black/issues/3968)3968 ### [`v23.10.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23100) [Compare Source](https://togithub.com/psf/black/compare/23.9.1...23.10.0) ##### Stable style - Fix comments getting removed from inside parenthesized strings ([#​3909](https://togithub.com/psf/black/issues/3909)) ##### Preview style - Fix long lines with power operators getting split before the line length ([#​3942](https://togithub.com/psf/black/issues/3942)) - Long type hints are now wrapped in parentheses and properly indented when split across multiple lines ([#​3899](https://togithub.com/psf/black/issues/3899)) - Magic trailing commas are now respected in return types. ([#​3916](https://togithub.com/psf/black/issues/3916)) - Require one empty line after module-level docstrings. ([#​3932](https://togithub.com/psf/black/issues/3932)) - Treat raw triple-quoted strings as docstrings ([#​3947](https://togithub.com/psf/black/issues/3947)) ##### Configuration - Fix cache versioning logic when `BLACK_CACHE_DIR` is set ([#​3937](https://togithub.com/psf/black/issues/3937)) ##### Parser - Fix bug where attributes named `type` were not acccepted inside `match` statements ([#​3950](https://togithub.com/psf/black/issues/3950)) - Add support for PEP 695 type aliases containing lambdas and other unusual expressions ([#​3949](https://togithub.com/psf/black/issues/3949)) ##### Output - Black no longer attempts to provide special errors for attempting to format Python 2 code ([#​3933](https://togithub.com/psf/black/issues/3933)) - Black will more consistently print stacktraces on internal errors in verbose mode ([#​3938](https://togithub.com/psf/black/issues/3938)) ##### Integrations - The action output displayed in the job summary is now wrapped in Markdown ([#​3914](https://togithub.com/psf/black/issues/3914)) ### [`v23.9.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2391) [Compare Source](https://togithub.com/psf/black/compare/23.9.0...23.9.1) Due to various issues, the previous release (23.9.0) did not include compiled mypyc wheels, which make Black significantly faster. These issues have now been fixed, and this release should come with compiled wheels once again. There will be no wheels for Python 3.12 due to a bug in mypyc. We will provide 3.12 wheels in a future release as soon as the mypyc bug is fixed. ##### Packaging - Upgrade to mypy 1.5.1 ([#​3864](https://togithub.com/psf/black/issues/3864)) ##### Performance - Store raw tuples instead of NamedTuples in Black's cache, improving performance and decreasing the size of the cache ([#​3877](https://togithub.com/psf/black/issues/3877)) ### [`v23.9.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2390) [Compare Source](https://togithub.com/psf/black/compare/23.7.0...23.9.0) ##### Preview style - More concise formatting for dummy implementations ([#​3796](https://togithub.com/psf/black/issues/3796)) - In stub files, add a blank line between a statement with a body (e.g an `if sys.version_info > (3, x):`) and a function definition on the same level ([#​3862](https://togithub.com/psf/black/issues/3862)) - Fix a bug whereby spaces were removed from walrus operators within subscript([#​3823](https://togithub.com/psf/black/issues/3823)) ##### Configuration - Black now applies exclusion and ignore logic before resolving symlinks ([#​3846](https://togithub.com/psf/black/issues/3846)) ##### Performance - Avoid importing `IPython` if notebook cells do not contain magics ([#​3782](https://togithub.com/psf/black/issues/3782)) - Improve caching by comparing file hashes as fallback for mtime and size ([#​3821](https://togithub.com/psf/black/issues/3821)) ##### *Blackd* - Fix an issue in `blackd` with single character input ([#​3558](https://togithub.com/psf/black/issues/3558)) ##### Integrations - Black now has an [official pre-commit mirror](https://togithub.com/psf/black-pre-commit-mirror). Swapping `https://github.com/psf/black` to `https://github.com/psf/black-pre-commit-mirror` in your `.pre-commit-config.yaml` will make Black about 2x faster ([#​3828](https://togithub.com/psf/black/issues/3828)) - The `.black.env` folder specified by `ENV_PATH` will now be removed on the completion of the GitHub Action ([#​3759](https://togithub.com/psf/black/issues/3759)) ### [`v23.7.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2370) [Compare Source](https://togithub.com/psf/black/compare/23.3.0...23.7.0) ##### Highlights - Runtime support for Python 3.7 has been removed. Formatting 3.7 code will still be supported until further notice ([#​3765](https://togithub.com/psf/black/issues/3765)) ##### Stable style - Fix a bug where an illegal trailing comma was added to return type annotations using PEP 604 unions ([#​3735](https://togithub.com/psf/black/issues/3735)) - Fix several bugs and crashes where comments in stub files were removed or mishandled under some circumstances ([#​3745](https://togithub.com/psf/black/issues/3745)) - Fix a crash with multi-line magic comments like `type: ignore` within parentheses ([#​3740](https://togithub.com/psf/black/issues/3740)) - Fix error in AST validation when *Black* removes trailing whitespace in a type comment ([#​3773](https://togithub.com/psf/black/issues/3773)) ##### Preview style - Implicitly concatenated strings used as function args are no longer wrapped inside parentheses ([#​3640](https://togithub.com/psf/black/issues/3640)) - Remove blank lines between a class definition and its docstring ([#​3692](https://togithub.com/psf/black/issues/3692)) ##### Configuration - The `--workers` argument to *Black* can now be specified via the `BLACK_NUM_WORKERS` environment variable ([#​3743](https://togithub.com/psf/black/issues/3743)) - `.pytest_cache`, `.ruff_cache` and `.vscode` are now excluded by default ([#​3691](https://togithub.com/psf/black/issues/3691)) - Fix *Black* not honouring `pyproject.toml` settings when running `--stdin-filename` and the `pyproject.toml` found isn't in the current working directory ([#​3719](https://togithub.com/psf/black/issues/3719)) - *Black* will now error if `exclude` and `extend-exclude` have invalid data types in `pyproject.toml`, instead of silently doing the wrong thing ([#​3764](https://togithub.com/psf/black/issues/3764)) ##### Packaging - Upgrade mypyc from 0.991 to 1.3 ([#​3697](https://togithub.com/psf/black/issues/3697)) - Remove patching of Click that mitigated errors on Python 3.6 with `LANG=C` ([#​3768](https://togithub.com/psf/black/issues/3768)) ##### Parser - Add support for the new PEP 695 syntax in Python 3.12 ([#​3703](https://togithub.com/psf/black/issues/3703)) ##### Performance - Speed up *Black* significantly when the cache is full ([#​3751](https://togithub.com/psf/black/issues/3751)) - Avoid importing `IPython` in a case where we wouldn't need it ([#​3748](https://togithub.com/psf/black/issues/3748)) ##### Output - Use aware UTC datetimes internally, avoids deprecation warning on Python 3.12 ([#​3728](https://togithub.com/psf/black/issues/3728)) - Change verbose logging to exactly mirror *Black*'s logic for source discovery ([#​3749](https://togithub.com/psf/black/issues/3749)) ##### *Blackd* - The `blackd` argument parser now shows the default values for options in their help text ([#​3712](https://togithub.com/psf/black/issues/3712)) ##### Integrations - Black is now tested with [`PYTHONWARNDEFAULTENCODING = 1`](https://docs.python.org/3/library/io.html#io-encoding-warning) ([#​3763](https://togithub.com/psf/black/issues/3763)) - Update GitHub Action to display black output in the job summary ([#​3688](https://togithub.com/psf/black/issues/3688)) ##### Documentation - Add a CITATION.cff file to the root of the repository, containing metadata on how to cite this software ([#​3723](https://togithub.com/psf/black/issues/3723)) - Update the *classes* and *exceptions* documentation in Developer reference to match the latest code base ([#​3755](https://togithub.com/psf/black/issues/3755)) </details> <details> <summary>PyCQA/flake8-bugbear (flake8-bugbear)</summary> ### [`v23.9.16`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.9.16) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.7.10...23.9.16) - add --classmethod-decorators ([#​405](https://togithub.com/PyCQA/flake8-bugbear/issues/405)) - fix name collision for node_stack on python 3.12 ([#​406](https://togithub.com/PyCQA/flake8-bugbear/issues/406)) - Use pypa/build to build the package ([#​404](https://togithub.com/PyCQA/flake8-bugbear/issues/404)) ### [`v23.7.10`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.7.10) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.6.5...23.7.10) - Add B034: re.sub/subn/split must pass flags/count/maxsplit as keyword arguments. - Fix a crash and several test failures on Python 3.12, all relating to the B907 check. - Declare support for Python 3.12. ### [`v23.6.5`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.6.5) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.5.9...23.6.5) - Include tox.ini in MANIFEST.in for sdist. ([#​389](https://togithub.com/PyCQA/flake8-bugbear/issues/389)) - Improve B033 (duplicate set items) ([#​385](https://togithub.com/PyCQA/flake8-bugbear/issues/385)) ### [`v23.5.9`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.5.9) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.3.23...23.5.9) - Add B033: Detect duplicate items in sets - Add B908: Detect assertRauses like contexts only has top level statements that could throw - Add B028: Allow stacklevel to be explicitly assigned as a positional argument - Remove more < 3.8 checks / assertions ### [`v23.3.23`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.3.23) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.3.12...23.3.23) - flake8-bugbear is now >= 3.8.1 project like flake8>=6.0.0 - This has allowed some more modern AST usage cleanup and less CI running etc. - B030: Fix crash on certain unusual except handlers (e.g. `except a[0].b:`) </details> <details> <summary>adamchainz/flake8-comprehensions (flake8-comprehensions)</summary> ### [`v3.14.0`](https://togithub.com/adamchainz/flake8-comprehensions/blob/HEAD/CHANGELOG.rst#3140-2023-07-10) [Compare Source](https://togithub.com/adamchainz/flake8-comprehensions/compare/3.13.0...3.14.0) - Drop Python 3.7 support. </details> <details> <summary>m-burst/flake8-pytest-style (flake8-pytest-style)</summary> ### [`v1.7.2`](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.1...v1.7.2) [Compare Source](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.1...v1.7.2) ### [`v1.7.1`](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.0...v1.7.1) [Compare Source](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.0...v1.7.1) ### [`v1.7.0`](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.6.0...v1.7.0) [Compare Source](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.6.0...v1.7.0) </details> <details> <summary>pycqa/isort (isort)</summary> ### [`v5.12.0`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5120-January-28-2023) [Compare Source](https://togithub.com/pycqa/isort/compare/5.11.5...5.12.0) - Removed support for Python 3.7 - Fixed incompatiblity with latest poetry version - Added support for directory limitations within built in git hook </details> <details> <summary>python/mypy (mypy)</summary> ### [`v1.6.1`](https://togithub.com/python/mypy/compare/v1.6.0...v1.6.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.6.0...v1.6.1) ### [`v1.6.0`](https://togithub.com/python/mypy/compare/v1.5.1...v1.6.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.5.1...v1.6.0) ### [`v1.5.1`](https://togithub.com/python/mypy/compare/v1.5.0...v1.5.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.5.0...v1.5.1) ### [`v1.5.0`](https://togithub.com/python/mypy/compare/v1.4.1...v1.5.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.4.1...v1.5.0) </details> <details> <summary>pytest-dev/pytest (pytest)</summary> ### [`v7.4.3`](https://togithub.com/pytest-dev/pytest/compare/7.4.2...v7.4.3) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.4.2...v7.4.3) </details> <details> <summary>pytest-dev/pytest-mock (pytest-mock)</summary> ### [`v3.12.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3120-2023-10-19) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.11.1...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`\_). .. \_#390:[https://github.com/pytest-dev/pytest-mock/pull/390](https://togithub.com/pytest-dev/pytest-mock/pull/390)0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/rpdelaney/downforeveryone). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [black](https://togithub.com/psf/black) ([changelog](https://togithub.com/psf/black/blob/main/CHANGES.md)) | `23.9.1` -> `23.10.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [codespell](https://togithub.com/codespell-project/codespell) | `2.2.5` -> `2.2.6` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [exceptiongroup](https://togithub.com/agronholm/exceptiongroup) ([changelog](https://togithub.com/agronholm/exceptiongroup/blob/main/CHANGES.rst)) | `==1.1.1` -> `==1.1.3` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [httpx](https://togithub.com/encode/httpx) ([changelog](https://togithub.com/encode/httpx/blob/master/CHANGELOG.md)) | `==0.24.1` -> `==0.25.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/) | | [lightkube-models](https://togithub.com/gtsystem/lightkube-models) | `==1.27.1.4` -> `==1.28.1.4` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [mypy](https://www.mypy-lang.org/) ([source](https://togithub.com/python/mypy), [changelog](https://mypy-lang.blogspot.com/)) | `1.5.1` -> `1.6.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pytest](https://docs.pytest.org/en/latest/) ([source](https://togithub.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | `7.4.2` -> `7.4.3` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pytest-mock](https://togithub.com/pytest-dev/pytest-mock) ([changelog](https://pytest-mock.readthedocs.io/en/latest/changelog.html)) | `3.11.1` -> `3.12.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/) | | [pyyaml](https://pyyaml.org/) ([source](https://togithub.com/yaml/pyyaml)) | `==6.0` -> `==6.0.1` | [](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>psf/black (black)</summary> ### [`v23.10.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23101) [Compare Source](https://togithub.com/psf/black/compare/23.10.0...23.10.1) ##### Highlights - Maintanence release to get a fix out for GitHub Action edge case ([#​3957](https://togithub.com/psf/black/issues/3957)) ##### Preview style - Fix merging implicit multiline strings that have inline comments ([#​3956](https://togithub.com/psf/black/issues/3956)) - Allow empty first line after block open before a comment or compound statement ([#​3967](https://togithub.com/psf/black/issues/3967)) ##### Packaging - Change Dockerfile to hatch + compile black ([#​3965](https://togithub.com/psf/black/issues/3965)) ##### Integrations - The summary output for GitHub workflows is now suppressible using the `summary` parameter. ([#​3958](https://togithub.com/psf/black/issues/3958)) - Fix the action failing when Black check doesn't pass ([#​3957](https://togithub.com/psf/black/issues/3957)) ##### Documentation - It is known Windows documentation CI is broken [https://github.com/psf/black/issues/3968](https://togithub.com/psf/black/issues/3968)3968 ### [`v23.10.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23100) [Compare Source](https://togithub.com/psf/black/compare/23.9.1...23.10.0) ##### Stable style - Fix comments getting removed from inside parenthesized strings ([#​3909](https://togithub.com/psf/black/issues/3909)) ##### Preview style - Fix long lines with power operators getting split before the line length ([#​3942](https://togithub.com/psf/black/issues/3942)) - Long type hints are now wrapped in parentheses and properly indented when split across multiple lines ([#​3899](https://togithub.com/psf/black/issues/3899)) - Magic trailing commas are now respected in return types. ([#​3916](https://togithub.com/psf/black/issues/3916)) - Require one empty line after module-level docstrings. ([#​3932](https://togithub.com/psf/black/issues/3932)) - Treat raw triple-quoted strings as docstrings ([#​3947](https://togithub.com/psf/black/issues/3947)) ##### Configuration - Fix cache versioning logic when `BLACK_CACHE_DIR` is set ([#​3937](https://togithub.com/psf/black/issues/3937)) ##### Parser - Fix bug where attributes named `type` were not acccepted inside `match` statements ([#​3950](https://togithub.com/psf/black/issues/3950)) - Add support for PEP 695 type aliases containing lambdas and other unusual expressions ([#​3949](https://togithub.com/psf/black/issues/3949)) ##### Output - Black no longer attempts to provide special errors for attempting to format Python 2 code ([#​3933](https://togithub.com/psf/black/issues/3933)) - Black will more consistently print stacktraces on internal errors in verbose mode ([#​3938](https://togithub.com/psf/black/issues/3938)) ##### Integrations - The action output displayed in the job summary is now wrapped in Markdown ([#​3914](https://togithub.com/psf/black/issues/3914)) </details> <details> <summary>codespell-project/codespell (codespell)</summary> ### [`v2.2.6`](https://togithub.com/codespell-project/codespell/releases/tag/v2.2.6) [Compare Source](https://togithub.com/codespell-project/codespell/compare/v2.2.5...v2.2.6) #### What's Changed - Test to check our string escape word triggers on its own by [@​peternewman](https://togithub.com/peternewman) in [https://github.com/codespell-project/codespell/pull/2879](https://togithub.com/codespell-project/codespell/pull/2879) - feat(dictionary): add additiional additional entry by [@​IndexSeek](https://togithub.com/IndexSeek) in [https://github.com/codespell-project/codespell/pull/2882](https://togithub.com/codespell-project/codespell/pull/2882) - Add `currebtly` Misspelling by [@​korverdev](https://togithub.com/korverdev) in [https://github.com/codespell-project/codespell/pull/2881](https://togithub.com/codespell-project/codespell/pull/2881) - Add more typos for "approximate" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2884](https://togithub.com/codespell-project/codespell/pull/2884) - Add new typos for "load" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2885](https://togithub.com/codespell-project/codespell/pull/2885) - Add typos for "accommodate" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2886](https://togithub.com/codespell-project/codespell/pull/2886) - Add spelling correction for 'prodive' by [@​adrien-berchet](https://togithub.com/adrien-berchet) in [https://github.com/codespell-project/codespell/pull/2889](https://togithub.com/codespell-project/codespell/pull/2889) - Add `annhilate` Mispelling by [@​korverdev](https://togithub.com/korverdev) in [https://github.com/codespell-project/codespell/pull/2891](https://togithub.com/codespell-project/codespell/pull/2891) - Add alternative spelling corrections for "merget" by [@​cfi-gb](https://togithub.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/2890](https://togithub.com/codespell-project/codespell/pull/2890) - Add various typos by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2887](https://togithub.com/codespell-project/codespell/pull/2887) - Add suffixes to existing typos by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2895](https://togithub.com/codespell-project/codespell/pull/2895) - Add `twine` As Dev Dependency by [@​korverdev](https://togithub.com/korverdev) in [https://github.com/codespell-project/codespell/pull/2901](https://togithub.com/codespell-project/codespell/pull/2901) - frustrum->frustum by [@​tkoyama010](https://togithub.com/tkoyama010) in [https://github.com/codespell-project/codespell/pull/2899](https://togithub.com/codespell-project/codespell/pull/2899) - Add several spelling corrections by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/2900](https://togithub.com/codespell-project/codespell/pull/2900) - Add suffixes to existing typos, part 2 by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2902](https://togithub.com/codespell-project/codespell/pull/2902) - Add iamges->images and cannel variants by [@​peternewman](https://togithub.com/peternewman) in [https://github.com/codespell-project/codespell/pull/2893](https://togithub.com/codespell-project/codespell/pull/2893) - Add all corrections in [#​2857](https://togithub.com/codespell-project/codespell/issues/2857) by [@​janosh](https://togithub.com/janosh) in [https://github.com/codespell-project/codespell/pull/2898](https://togithub.com/codespell-project/codespell/pull/2898) - Add suffixes to typos that start with "a" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2905](https://togithub.com/codespell-project/codespell/pull/2905) - Add suffixes to typos from "b" to "ch" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2906](https://togithub.com/codespell-project/codespell/pull/2906) - Add suffixes to typos from "cop" to "cy" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2911](https://togithub.com/codespell-project/codespell/pull/2911) - Add spelling corrections for upperace and lowerace. by [@​cfi-gb](https://togithub.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/2909](https://togithub.com/codespell-project/codespell/pull/2909) - Add suffixes to typos from "ci" to "con" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2907](https://togithub.com/codespell-project/codespell/pull/2907) - Add variations of 'check' by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/2904](https://togithub.com/codespell-project/codespell/pull/2904) - Add suffixes to typos that start with "de" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2913](https://togithub.com/codespell-project/codespell/pull/2913) - Add suffixes to typos from "di" to "dy" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2914](https://togithub.com/codespell-project/codespell/pull/2914) - Add suffixes to typos that start with "e" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2915](https://togithub.com/codespell-project/codespell/pull/2915) - Add some spelling corrections by [@​fxlb](https://togithub.com/fxlb) in [https://github.com/codespell-project/codespell/pull/2918](https://togithub.com/codespell-project/codespell/pull/2918) - Add suffixes to typos that start with "f" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2916](https://togithub.com/codespell-project/codespell/pull/2916) - Add typos for "general", "generate", "generic" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2919](https://togithub.com/codespell-project/codespell/pull/2919) - Move `dateset` to code by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2917](https://togithub.com/codespell-project/codespell/pull/2917) - Add correction for "distict" by [@​jdufresne](https://togithub.com/jdufresne) in [https://github.com/codespell-project/codespell/pull/2910](https://togithub.com/codespell-project/codespell/pull/2910) - Add several spelling corrections by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/2908](https://togithub.com/codespell-project/codespell/pull/2908) - Add new suggestions for existing typos by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2921](https://togithub.com/codespell-project/codespell/pull/2921) - Add suffixes to typos that start with "g" or "h" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2922](https://togithub.com/codespell-project/codespell/pull/2922) - Dev Container by [@​korverdev](https://togithub.com/korverdev) in [https://github.com/codespell-project/codespell/pull/2903](https://togithub.com/codespell-project/codespell/pull/2903) - Add postifx->postfix to code dictionary by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/2927](https://togithub.com/codespell-project/codespell/pull/2927) - Add openes->opens, openness, to dictionary by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/2930](https://togithub.com/codespell-project/codespell/pull/2930) - Add suffixes to typos from "ib" to "im" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2924](https://togithub.com/codespell-project/codespell/pull/2924) - Add indepentend->independent by [@​alxgu](https://togithub.com/alxgu) in [https://github.com/codespell-project/codespell/pull/2892](https://togithub.com/codespell-project/codespell/pull/2892) - Add several spelling corrections by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/2926](https://togithub.com/codespell-project/codespell/pull/2926) - feat: Add collogue->colleague to dictionary by [@​matthewfeickert](https://togithub.com/matthewfeickert) in [https://github.com/codespell-project/codespell/pull/2923](https://togithub.com/codespell-project/codespell/pull/2923) - Typos from OpenSSL 3.0 by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2883](https://togithub.com/codespell-project/codespell/pull/2883) - Add suffixes to typos from "ip" to "k" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2931](https://togithub.com/codespell-project/codespell/pull/2931) - Add suffixes to typos that start with "in" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2925](https://togithub.com/codespell-project/codespell/pull/2925) - Add typos discovered in django/deps repository by [@​jdufresne](https://togithub.com/jdufresne) in [https://github.com/codespell-project/codespell/pull/2932](https://togithub.com/codespell-project/codespell/pull/2932) - Add some archaic terms for Muslim to dictionary by [@​skangas](https://togithub.com/skangas) in [https://github.com/codespell-project/codespell/pull/2610](https://togithub.com/codespell-project/codespell/pull/2610) - Add words from misspell's dictionary (A-1) by [@​skangas](https://togithub.com/skangas) in [https://github.com/codespell-project/codespell/pull/2748](https://togithub.com/codespell-project/codespell/pull/2748) - Add suffixes to typos that start with "l" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2936](https://togithub.com/codespell-project/codespell/pull/2936) - Add typo fix: reacord->record by [@​jdufresne](https://togithub.com/jdufresne) in [https://github.com/codespell-project/codespell/pull/2941](https://togithub.com/codespell-project/codespell/pull/2941) - Add suffixes to typos that start with "m" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2937](https://togithub.com/codespell-project/codespell/pull/2937) - Add suffixes to typos that start with "n" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2939](https://togithub.com/codespell-project/codespell/pull/2939) - Add suffixes to typos that start with "o" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2940](https://togithub.com/codespell-project/codespell/pull/2940) - Improve existing suggestions by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2943](https://togithub.com/codespell-project/codespell/pull/2943) - Add vulnerabily->vulnerably, vulnerability, spelling correction. by [@​cfi-gb](https://togithub.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/2946](https://togithub.com/codespell-project/codespell/pull/2946) - Add suffixes to typos from "pa" to "pl" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2944](https://togithub.com/codespell-project/codespell/pull/2944) - Add suffixes to typos from "po" to "pu" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2945](https://togithub.com/codespell-project/codespell/pull/2945) - Allow words missing from aspell dictionaries by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2933](https://togithub.com/codespell-project/codespell/pull/2933) - Add journalling->journaling to GB->EN dict by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/2371](https://togithub.com/codespell-project/codespell/pull/2371) - Use large aspell dictionaries by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2947](https://togithub.com/codespell-project/codespell/pull/2947) - Add suffixes to typos from "q" to "red" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2948](https://togithub.com/codespell-project/codespell/pull/2948) - Add suffixes to typos from "ref" to "rep" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2949](https://togithub.com/codespell-project/codespell/pull/2949) - Add suffixes to typos from "req" to "ry" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2950](https://togithub.com/codespell-project/codespell/pull/2950) - Add suffixes to typos from "sa" to "se" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2951](https://togithub.com/codespell-project/codespell/pull/2951) - Add suffixes to typos from "sh" to "sp" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2952](https://togithub.com/codespell-project/codespell/pull/2952) - Add suffixes to typos from "sr" to "st" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2953](https://togithub.com/codespell-project/codespell/pull/2953) - Remove a branch from `main()` to pass Ruff CI check. by [@​korverdev](https://togithub.com/korverdev) in [https://github.com/codespell-project/codespell/pull/2962](https://togithub.com/codespell-project/codespell/pull/2962) - Add suffixes to typos from "su" to "sz" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2954](https://togithub.com/codespell-project/codespell/pull/2954) - Dictionary fixes by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2935](https://togithub.com/codespell-project/codespell/pull/2935) - Add Pre-Commit as a dev dependency by [@​korverdev](https://togithub.com/korverdev) in [https://github.com/codespell-project/codespell/pull/2959](https://togithub.com/codespell-project/codespell/pull/2959) - Drop support for Python 3.7 by [@​korverdev](https://togithub.com/korverdev) in [https://github.com/codespell-project/codespell/pull/2964](https://togithub.com/codespell-project/codespell/pull/2964) - Fix pre-commit issues by [@​kurtmckee](https://togithub.com/kurtmckee) in [https://github.com/codespell-project/codespell/pull/2967](https://togithub.com/codespell-project/codespell/pull/2967) - Add suffixes to typos that start with "t" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2965](https://togithub.com/codespell-project/codespell/pull/2965) - Add suffixes to typos that start with "u" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2966](https://togithub.com/codespell-project/codespell/pull/2966) - Add suffixes to typos that start with "v" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2970](https://togithub.com/codespell-project/codespell/pull/2970) - Add suffixes to typos from "w" to "z" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2971](https://togithub.com/codespell-project/codespell/pull/2971) - Add some new misspellings by [@​Jeremiah-England](https://togithub.com/Jeremiah-England) in [https://github.com/codespell-project/codespell/pull/2972](https://togithub.com/codespell-project/codespell/pull/2972) - Add spelling corrections for defaoult and variants. by [@​cfi-gb](https://togithub.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/2975](https://togithub.com/codespell-project/codespell/pull/2975) - Fix the name of the extra word lists we load by [@​peternewman](https://togithub.com/peternewman) in [https://github.com/codespell-project/codespell/pull/2976](https://togithub.com/codespell-project/codespell/pull/2976) - Add suffixes to typos from "aa" to "acc" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2974](https://togithub.com/codespell-project/codespell/pull/2974) - Add suffixes to typos from "ace" to "ad" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2987](https://togithub.com/codespell-project/codespell/pull/2987) - Add suffixes to typos from "af" to "al" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2988](https://togithub.com/codespell-project/codespell/pull/2988) - Dictionary fixes by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2980](https://togithub.com/codespell-project/codespell/pull/2980) - Add suffixes to typos from "am" to "an" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2989](https://togithub.com/codespell-project/codespell/pull/2989) - Use pre-commit to sort the dictionaries by [@​kurtmckee](https://togithub.com/kurtmckee) in [https://github.com/codespell-project/codespell/pull/2973](https://togithub.com/codespell-project/codespell/pull/2973) - Simpler dictionary parsing by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2986](https://togithub.com/codespell-project/codespell/pull/2986) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/codespell-project/codespell/pull/2993](https://togithub.com/codespell-project/codespell/pull/2993) - Add suffixes to typos that start with "ap" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2991](https://togithub.com/codespell-project/codespell/pull/2991) - Half dozen new cases in `dictionary.txt` by [@​janosh](https://togithub.com/janosh) in [https://github.com/codespell-project/codespell/pull/2994](https://togithub.com/codespell-project/codespell/pull/2994) - Add suffixes to typos that start with "ar" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2992](https://togithub.com/codespell-project/codespell/pull/2992) - Add suffixes to typos that start with "as" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2997](https://togithub.com/codespell-project/codespell/pull/2997) - Add suffixes to typos from "at" to "ay" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2998](https://togithub.com/codespell-project/codespell/pull/2998) - Add suffixes to typos from "ba" to "be" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/2999](https://togithub.com/codespell-project/codespell/pull/2999) - Add preperint typo by [@​yarikoptic](https://togithub.com/yarikoptic) in [https://github.com/codespell-project/codespell/pull/2978](https://togithub.com/codespell-project/codespell/pull/2978) - Add some typos found in a large documentation repo by [@​kurtmckee](https://togithub.com/kurtmckee) in [https://github.com/codespell-project/codespell/pull/3001](https://togithub.com/codespell-project/codespell/pull/3001) - Add suffixes to typos from "bi" to "bu" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3002](https://togithub.com/codespell-project/codespell/pull/3002) - Add suffixes to typos that start with "ca" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3003](https://togithub.com/codespell-project/codespell/pull/3003) - Add some misspellings and refinements by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/3004](https://togithub.com/codespell-project/codespell/pull/3004) - Add typo variations of background(s) by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/3006](https://togithub.com/codespell-project/codespell/pull/3006) - Add more typos for "check" and similar by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3005](https://togithub.com/codespell-project/codespell/pull/3005) - ...ter → ...tor by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2990](https://togithub.com/codespell-project/codespell/pull/2990) - Add suffixes to typos from "ce" to "ci" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3008](https://togithub.com/codespell-project/codespell/pull/3008) - Remove the grave accent (\`) from the default word regex by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2983](https://togithub.com/codespell-project/codespell/pull/2983) - Add typo variations for 'enble'->'enable' to main dictionary by [@​akien-mga](https://togithub.com/akien-mga) in [https://github.com/codespell-project/codespell/pull/3010](https://togithub.com/codespell-project/codespell/pull/3010) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/codespell-project/codespell/pull/3011](https://togithub.com/codespell-project/codespell/pull/3011) - Add suffixes to typos from "cl" to "col" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3009](https://togithub.com/codespell-project/codespell/pull/3009) - Generate alternative typos with a translation table by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2985](https://togithub.com/codespell-project/codespell/pull/2985) - Remove redundant linting CI workflows handled by pre-commit.ci by [@​kurtmckee](https://togithub.com/kurtmckee) in [https://github.com/codespell-project/codespell/pull/2969](https://togithub.com/codespell-project/codespell/pull/2969) - Fix ruff lint error by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3015](https://togithub.com/codespell-project/codespell/pull/3015) - Add suffixes to typos that start with "com" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3012](https://togithub.com/codespell-project/codespell/pull/3012) - Add spelling correction for information and variant. by [@​cfi-gb](https://togithub.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3018](https://togithub.com/codespell-project/codespell/pull/3018) - Replace local and CI workflow by pre-commit by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3020](https://togithub.com/codespell-project/codespell/pull/3020) - Add fram->frame and friend by [@​peternewman](https://togithub.com/peternewman) in [https://github.com/codespell-project/codespell/pull/3016](https://togithub.com/codespell-project/codespell/pull/3016) - Add typo variations of 'dispatch' by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/3007](https://togithub.com/codespell-project/codespell/pull/3007) - Add more typos for "configure" and similar by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3013](https://togithub.com/codespell-project/codespell/pull/3013) - Add suffixes to typos from "cona" to "conr" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3023](https://togithub.com/codespell-project/codespell/pull/3023) - Add suffixes to typos from "cons" to "conv" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3025](https://togithub.com/codespell-project/codespell/pull/3025) - Add more typos for "correspond" and similar by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3026](https://togithub.com/codespell-project/codespell/pull/3026) - Adding articifial to artificial to `dictionary.txt` by [@​jamesbraza](https://togithub.com/jamesbraza) in [https://github.com/codespell-project/codespell/pull/3024](https://togithub.com/codespell-project/codespell/pull/3024) - Move the valid word implementor in rare dictionary by [@​fxlb](https://togithub.com/fxlb) in [https://github.com/codespell-project/codespell/pull/3030](https://togithub.com/codespell-project/codespell/pull/3030) - Typos from tcpdump and libpcap by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3031](https://togithub.com/codespell-project/codespell/pull/3031) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/codespell-project/codespell/pull/3033](https://togithub.com/codespell-project/codespell/pull/3033) - Add suffixes to typos from "coo" to "coy" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3029](https://togithub.com/codespell-project/codespell/pull/3029) - Add suffixes to typos from "cp" to "cy" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3032](https://togithub.com/codespell-project/codespell/pull/3032) - Add suffixes to typos from "dc" to "den" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3034](https://togithub.com/codespell-project/codespell/pull/3034) - Add suffixes to typos from "dep" to "der" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3036](https://togithub.com/codespell-project/codespell/pull/3036) - \[pre-commit.ci] fix new ruff issue by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3042](https://togithub.com/codespell-project/codespell/pull/3042) - Add suffixes to typos from "des" to "dev" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3039](https://togithub.com/codespell-project/codespell/pull/3039) - Add suffixes to typos that start with "di" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3040](https://togithub.com/codespell-project/codespell/pull/3040) - Add suffixes to typos from "do" to "dy" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3043](https://togithub.com/codespell-project/codespell/pull/3043) - Add suffixes to typos from "ea" to "en" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3048](https://togithub.com/codespell-project/codespell/pull/3048) - Add suffixes to typos from "ep" to "exe" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3049](https://togithub.com/codespell-project/codespell/pull/3049) - Add suffixes to typos from "exi" to "exu" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3050](https://togithub.com/codespell-project/codespell/pull/3050) - \[pre-commit.ci] pre-commit autoupdate by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3045](https://togithub.com/codespell-project/codespell/pull/3045) - Update dictionary.txt by [@​janosh](https://togithub.com/janosh) in [https://github.com/codespell-project/codespell/pull/3035](https://togithub.com/codespell-project/codespell/pull/3035) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/codespell-project/codespell/pull/3051](https://togithub.com/codespell-project/codespell/pull/3051) - Add suffixes to typos that start with "f" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3052](https://togithub.com/codespell-project/codespell/pull/3052) - Add suffixes to typos from "g" to "h" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3053](https://togithub.com/codespell-project/codespell/pull/3053) - Additions to `dictionary.txt` by [@​janosh](https://togithub.com/janosh) in [https://github.com/codespell-project/codespell/pull/3054](https://togithub.com/codespell-project/codespell/pull/3054) - Modify structure of dict read from TOML to match dict read from INI by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3046](https://togithub.com/codespell-project/codespell/pull/3046) - Add suffixes to typos from "id" to "inh" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3055](https://togithub.com/codespell-project/codespell/pull/3055) - Add more typos for "initialize" and similar by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3056](https://togithub.com/codespell-project/codespell/pull/3056) - Add suffixes to typos from "ini" to "it" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3059](https://togithub.com/codespell-project/codespell/pull/3059) - Add suffixes to typos from "j" to "l" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3060](https://togithub.com/codespell-project/codespell/pull/3060) - Add refinement to 'draing' typo by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/3062](https://togithub.com/codespell-project/codespell/pull/3062) - Add suffixes to typos from "ma" to "me" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3063](https://togithub.com/codespell-project/codespell/pull/3063) - Add suffixes to typos from "mi" to "mu" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3064](https://togithub.com/codespell-project/codespell/pull/3064) - Add more variations of "except" and "exempt" by [@​barsnick](https://togithub.com/barsnick) in [https://github.com/codespell-project/codespell/pull/3057](https://togithub.com/codespell-project/codespell/pull/3057) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/codespell-project/codespell/pull/3065](https://togithub.com/codespell-project/codespell/pull/3065) - Bump actions/checkout from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/codespell-project/codespell/pull/3066](https://togithub.com/codespell-project/codespell/pull/3066) - Add spelling correction for "exis". by [@​cfi-gb](https://togithub.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3067](https://togithub.com/codespell-project/codespell/pull/3067) - Add followiing->following by [@​alxgu](https://togithub.com/alxgu) in [https://github.com/codespell-project/codespell/pull/3070](https://togithub.com/codespell-project/codespell/pull/3070) - Add suffixes to typos that start with "n" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3068](https://togithub.com/codespell-project/codespell/pull/3068) - Add suffixes to typos that start with "o" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3069](https://togithub.com/codespell-project/codespell/pull/3069) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/codespell-project/codespell/pull/3074](https://togithub.com/codespell-project/codespell/pull/3074) - Add suffixes to typos that start with "pa" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3071](https://togithub.com/codespell-project/codespell/pull/3071) - Add suffixes to typos from "pe" to "po" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3073](https://togithub.com/codespell-project/codespell/pull/3073) - Get rid of typos with apostrophe replaced by semicolon by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3022](https://togithub.com/codespell-project/codespell/pull/3022) - Add suffixes to typos from "pr" to "pu" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3075](https://togithub.com/codespell-project/codespell/pull/3075) - Add handlong->handling by [@​nils-van-zuijlen](https://togithub.com/nils-van-zuijlen) in [https://github.com/codespell-project/codespell/pull/3076](https://togithub.com/codespell-project/codespell/pull/3076) - Bump codecov/codecov-action from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/codespell-project/codespell/pull/3078](https://togithub.com/codespell-project/codespell/pull/3078) - Add suffixes to typos from "q" to "rec" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3077](https://togithub.com/codespell-project/codespell/pull/3077) - Revert [`b397a6e`](https://togithub.com/codespell-project/codespell/commit/b397a6e4) / [#​3078](https://togithub.com/codespell-project/codespell/issues/3078) by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3080](https://togithub.com/codespell-project/codespell/pull/3080) - Add various typos by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/3079](https://togithub.com/codespell-project/codespell/pull/3079) - Add suffixes to typos from "red" to "rep" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3081](https://togithub.com/codespell-project/codespell/pull/3081) - Add suffixes to typos from "req" to "ru" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3083](https://togithub.com/codespell-project/codespell/pull/3083) - Dictionary additions by [@​janosh](https://togithub.com/janosh) in [https://github.com/codespell-project/codespell/pull/3082](https://togithub.com/codespell-project/codespell/pull/3082) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/codespell-project/codespell/pull/3085](https://togithub.com/codespell-project/codespell/pull/3085) - Add suffixes to typos from "sa" to "se" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3084](https://togithub.com/codespell-project/codespell/pull/3084) - Add correction for havne't->haven't by [@​cfi-gb](https://togithub.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3089](https://togithub.com/codespell-project/codespell/pull/3089) - Add suffixes to typos from "sh" to "so" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3086](https://togithub.com/codespell-project/codespell/pull/3086) - Add suffixes to typos from "sp" to "st" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3087](https://togithub.com/codespell-project/codespell/pull/3087) - Add suffixes to typos from "su" to "sy" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3090](https://togithub.com/codespell-project/codespell/pull/3090) - Add suffixes to typos from "ta" to "th" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3092](https://togithub.com/codespell-project/codespell/pull/3092) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/codespell-project/codespell/pull/3097](https://togithub.com/codespell-project/codespell/pull/3097) - Add suffixes to typos from "ti" to "ty" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3094](https://togithub.com/codespell-project/codespell/pull/3094) - Add suffixes to typos that start with "u" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3095](https://togithub.com/codespell-project/codespell/pull/3095) - Add suffixes to typos from "v" to "z" by [@​int-y1](https://togithub.com/int-y1) in [https://github.com/codespell-project/codespell/pull/3096](https://togithub.com/codespell-project/codespell/pull/3096) - many new typos from different repositories by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3021](https://togithub.com/codespell-project/codespell/pull/3021) - fixing setuptool_scm dependency because the latest version is broken by [@​tomrijntjes](https://togithub.com/tomrijntjes) in [https://github.com/codespell-project/codespell/pull/3100](https://togithub.com/codespell-project/codespell/pull/3100) - More typos by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3101](https://togithub.com/codespell-project/codespell/pull/3101) - Use f-strings wherever possible by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3102](https://togithub.com/codespell-project/codespell/pull/3102) #### New Contributors - [@​IndexSeek](https://togithub.com/IndexSeek) made their first contribution in [https://github.com/codespell-project/codespell/pull/2882](https://togithub.com/codespell-project/codespell/pull/2882) - [@​alxgu](https://togithub.com/alxgu) made their first contribution in [https://github.com/codespell-project/codespell/pull/2892](https://togithub.com/codespell-project/codespell/pull/2892) - [@​kurtmckee](https://togithub.com/kurtmckee) made their first contribution in [https://github.com/codespell-project/codespell/pull/2967](https://togithub.com/codespell-project/codespell/pull/2967) - [@​Jeremiah-England](https://togithub.com/Jeremiah-England) made their first contribution in [https://github.com/codespell-project/codespell/pull/2972](https://togithub.com/codespell-project/codespell/pull/2972) - [@​pre-commit-ci](https://togithub.com/pre-commit-ci) made their first contribution in [https://github.com/codespell-project/codespell/pull/2993](https://togithub.com/codespell-project/codespell/pull/2993) - [@​jamesbraza](https://togithub.com/jamesbraza) made their first contribution in [https://github.com/codespell-project/codespell/pull/3024](https://togithub.com/codespell-project/codespell/pull/3024) - [@​barsnick](https://togithub.com/barsnick) made their first contribution in [https://github.com/codespell-project/codespell/pull/3057](https://togithub.com/codespell-project/codespell/pull/3057) - [@​dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/codespell-project/codespell/pull/3066](https://togithub.com/codespell-project/codespell/pull/3066) - [@​tomrijntjes](https://togithub.com/tomrijntjes) made their first contribution in [https://github.com/codespell-project/codespell/pull/3100](https://togithub.com/codespell-project/codespell/pull/3100) **Full Changelog**: https://github.com/codespell-project/codespell/compare/v2.2.5...v2.2.6 </details> <details> <summary>agronholm/exceptiongroup (exceptiongroup)</summary> ### [`v1.1.3`](https://togithub.com/agronholm/exceptiongroup/compare/1.1.2...1.1.3) [Compare Source](https://togithub.com/agronholm/exceptiongroup/compare/1.1.2...1.1.3) ### [`v1.1.2`](https://togithub.com/agronholm/exceptiongroup/compare/1.1.1...1.1.2) [Compare Source](https://togithub.com/agronholm/exceptiongroup/compare/1.1.1...1.1.2) </details> <details> <summary>encode/httpx (httpx)</summary> ### [`v0.25.0`](https://togithub.com/encode/httpx/blob/HEAD/CHANGELOG.md#0250-11th-Sep-2023) [Compare Source](https://togithub.com/encode/httpx/compare/0.24.1...0.25.0) ##### Removed - Drop support for Python 3.7. ([#​2813](https://togithub.com/encode/httpx/issues/2813)) ##### Added - Support HTTPS proxies. ([#​2845](https://togithub.com/encode/httpx/issues/2845)) - Change the type of `Extensions` from `Mapping[Str, Any]` to `MutableMapping[Str, Any]`. ([#​2803](https://togithub.com/encode/httpx/issues/2803)) - Add `socket_options` argument to `httpx.HTTPTransport` and `httpx.AsyncHTTPTransport` classes. ([#​2716](https://togithub.com/encode/httpx/issues/2716)) - The `Response.raise_for_status()` method now returns the response instance. For example: `data = httpx.get('...').raise_for_status().json()`. ([#​2776](https://togithub.com/encode/httpx/issues/2776)) ##### Fixed - Return `500` error response instead of exceptions when `raise_app_exceptions=False` is set on `ASGITransport`. ([#​2669](https://togithub.com/encode/httpx/issues/2669)) - Ensure all `WSGITransport` environs have a `SERVER_PROTOCOL`. ([#​2708](https://togithub.com/encode/httpx/issues/2708)) - Always encode forward slashes as `%2F` in query parameters ([#​2723](https://togithub.com/encode/httpx/issues/2723)) - Use Mozilla documentation instead of `httpstatuses.com` for HTTP error reference ([#​2768](https://togithub.com/encode/httpx/issues/2768)) </details> <details> <summary>python/mypy (mypy)</summary> ### [`v1.6.1`](https://togithub.com/python/mypy/compare/v1.6.0...v1.6.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.6.0...v1.6.1) ### [`v1.6.0`](https://togithub.com/python/mypy/compare/v1.5.1...v1.6.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.5.1...v1.6.0) </details> <details> <summary>pytest-dev/pytest (pytest)</summary> ### [`v7.4.3`](https://togithub.com/pytest-dev/pytest/compare/7.4.2...v7.4.3) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.4.2...v7.4.3) </details> <details> <summary>pytest-dev/pytest-mock (pytest-mock)</summary> ### [`v3.12.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3120-2023-10-19) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.11.1...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`\_). .. \_#390:[https://github.com/pytest-dev/pytest-mock/pull/390](https://togithub.com/pytest-dev/pytest-mock/pull/390)0 </details> <details> <summary>yaml/pyyaml (pyyaml)</summary> ### [`v6.0.1`](https://togithub.com/yaml/pyyaml/compare/6.0...6.0.1) [Compare Source](https://togithub.com/yaml/pyyaml/compare/6.0...6.0.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 1am and before 2am on saturday" in timezone Etc/UTC, 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/spark-k8s-toolkit-py). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zMS41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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>[#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 /> [](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>
[//]: # (dependabot-start)⚠️ **Dependabot is rebasing this PR**⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) 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>[#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 /> [](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [aws-lambda-powertools](https://togithub.com/aws-powertools/powertools-lambda-python) ([changelog](https://togithub.com/aws-powertools/powertools-lambda-python/releases)) | `2.23.1` -> `2.26.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/) | | [awswrangler](https://aws-sdk-pandas.readthedocs.io/) ([source](https://togithub.com/aws/aws-sdk-pandas)) | `3.3.0` -> `3.4.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [numpy](https://numpy.org) ([source](https://togithub.com/numpy/numpy), [changelog](https://numpy.org/doc/stable/release)) | `1.25.2` -> `1.26.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [openai](https://togithub.com/openai/openai-python) | `0.28.0` -> `0.28.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pandas](https://pandas.pydata.org) ([source](https://togithub.com/pandas-dev/pandas)) | `2.1.0` -> `2.1.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pytest](https://docs.pytest.org/en/latest/) ([source](https://togithub.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | `7.4.1` -> `7.4.3` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pytest-mock](https://togithub.com/pytest-dev/pytest-mock) ([changelog](https://pytest-mock.readthedocs.io/en/latest/changelog.html)) | `3.11.1` -> `3.12.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>aws-powertools/powertools-lambda-python (aws-lambda-powertools)</summary> ### [`v2.26.0`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2260---2023-10-13) [Compare Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.25.1...v2.26.0) #### \[v2.26.0] - 2023-10-13 ### [`v2.25.1`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2251---2023-09-22) [Compare Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.25.0...v2.25.1) #### \[v2.25.1] - 2023-09-22 ### [`v2.25.0`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2250---2023-09-15) [Compare Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.24.0...v2.25.0) #### \[v2.25.0] - 2023-09-15 ### [`v2.24.0`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2240---2023-09-08) [Compare Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.23.1...v2.24.0) #### \[v2.24.0] - 2023-09-08 </details> <details> <summary>aws/aws-sdk-pandas (awswrangler)</summary> ### [`v3.4.1`](https://togithub.com/aws/aws-sdk-pandas/releases/tag/3.4.1): AWS SDK for pandas 3.4.1 [Compare Source](https://togithub.com/aws/aws-sdk-pandas/compare/3.4.0...3.4.1) #### Features/Enhancements 🚀 - feat: Add schema evolution to `athena.to_iceberg` by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [https://github.com/aws/aws-sdk-pandas/pull/2465](https://togithub.com/aws/aws-sdk-pandas/pull/2465) - feat: Athena - add `client_request_token` by [@​kukushking](https://togithub.com/kukushking) in [https://github.com/aws/aws-sdk-pandas/pull/2474](https://togithub.com/aws/aws-sdk-pandas/pull/2474) - feat: Redshift data api - allow all auth combinations by [@​kukushking](https://togithub.com/kukushking) in [https://github.com/aws/aws-sdk-pandas/pull/2475](https://togithub.com/aws/aws-sdk-pandas/pull/2475) - feat: add columns comments to iceberg by [@​frenchytheasian](https://togithub.com/frenchytheasian) in [https://github.com/aws/aws-sdk-pandas/pull/2482](https://togithub.com/aws/aws-sdk-pandas/pull/2482) #### Bug fixes 🐛 - fix: Add missing call to `sanitize_column_name` in `create_*_table` by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [https://github.com/aws/aws-sdk-pandas/pull/2464](https://togithub.com/aws/aws-sdk-pandas/pull/2464) - fix: Hyphenated Iceberg table names by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [https://github.com/aws/aws-sdk-pandas/pull/2466](https://togithub.com/aws/aws-sdk-pandas/pull/2466) - fix: `requests_aws4auth` not being treated as an optional dependency by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [https://github.com/aws/aws-sdk-pandas/pull/2471](https://togithub.com/aws/aws-sdk-pandas/pull/2471) - fix: KeyError exception in athena wrangler by [@​rabingaire](https://togithub.com/rabingaire) in [https://github.com/aws/aws-sdk-pandas/pull/2483](https://togithub.com/aws/aws-sdk-pandas/pull/2483) - fix: column names and apply map by [@​LumberjackUsingMath](https://togithub.com/LumberjackUsingMath) in [https://github.com/aws/aws-sdk-pandas/pull/2492](https://togithub.com/aws/aws-sdk-pandas/pull/2492) - fix: Gremlin batch size calc by [@​kukushking](https://togithub.com/kukushking) in [https://github.com/aws/aws-sdk-pandas/pull/2496](https://togithub.com/aws/aws-sdk-pandas/pull/2496) #### Documentation 📚 - docs: Update layers.rst - add cn-north-1 & cn-northwest-1 by [@​kukushking](https://togithub.com/kukushking) in [https://github.com/aws/aws-sdk-pandas/pull/2477](https://togithub.com/aws/aws-sdk-pandas/pull/2477) #### New Contributors - [@​rabingaire](https://togithub.com/rabingaire) made their first contribution in [https://github.com/aws/aws-sdk-pandas/pull/2483](https://togithub.com/aws/aws-sdk-pandas/pull/2483) - [@​frenchytheasian](https://togithub.com/frenchytheasian) made their first contribution in [https://github.com/aws/aws-sdk-pandas/pull/2482](https://togithub.com/aws/aws-sdk-pandas/pull/2482) - [@​LumberjackUsingMath](https://togithub.com/LumberjackUsingMath) made their first contribution in [https://github.com/aws/aws-sdk-pandas/pull/2492](https://togithub.com/aws/aws-sdk-pandas/pull/2492) **Full Changelog**: https://github.com/aws/aws-sdk-pandas/compare/3.4.0...3.4.1 ### [`v3.4.0`](https://togithub.com/aws/aws-sdk-pandas/releases/tag/3.4.0): AWS SDK for pandas 3.4.0 [Compare Source](https://togithub.com/aws/aws-sdk-pandas/compare/3.3.0...3.4.0) #### Features/Enhancements 🚀 - Geospatial - parse Athena geospatial types via geopandas by [@​kukushking](https://togithub.com/kukushking) in [#​2346](https://togithub.com/aws/aws-sdk-pandas/issues/2346) - Allow group identifiers to be used in `wr.cloudwatch` queries by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [#​2430](https://togithub.com/aws/aws-sdk-pandas/issues/2430) - Add ignore null store parquet metadata by [@​raaidarshad](https://togithub.com/raaidarshad) in [#​2450](https://togithub.com/aws/aws-sdk-pandas/issues/2450) #### Bug fixes 🐛 - Add missing boto3 session in `athena.to_iceberg` wait_query by [@​jaidisido](https://togithub.com/jaidisido) in [#​2428](https://togithub.com/aws/aws-sdk-pandas/issues/2428) - Add catalog ID in `athena.to_iceberg` by [@​jaidisido](https://togithub.com/jaidisido) in [#​2446](https://togithub.com/aws/aws-sdk-pandas/issues/2446) - Return None for missing column and partition key comment by [@​robert-schmidtke](https://togithub.com/robert-schmidtke) in [#​2449](https://togithub.com/aws/aws-sdk-pandas/issues/2449) - Fix urllib3 error when building AWS Lambda Layers by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [#​2447](https://togithub.com/aws/aws-sdk-pandas/issues/2447) - Duplicate schema argument in `wr.s3.to_parquet` by [@​kukushking](https://togithub.com/kukushking) in [#​2455](https://togithub.com/aws/aws-sdk-pandas/issues/2455) #### Tests 🧪 - Test dependabot groups feature by [@​jaidisido](https://togithub.com/jaidisido) in [#​2426](https://togithub.com/aws/aws-sdk-pandas/issues/2426) #### New Contributors - [@​raaidarshad](https://togithub.com/raaidarshad) made their first contribution in [https://github.com/aws/aws-sdk-pandas/pull/2450](https://togithub.com/aws/aws-sdk-pandas/pull/2450) **Full Changelog**: https://github.com/aws/aws-sdk-pandas/compare/3.3.0...3.4.0 </details> <details> <summary>numpy/numpy (numpy)</summary> ### [`v1.26.1`](https://togithub.com/numpy/numpy/releases/tag/v1.26.1) [Compare Source](https://togithub.com/numpy/numpy/compare/v1.26.0...v1.26.1) ##### NumPy 1.26.1 Release Notes NumPy 1.26.1 is a maintenance release that fixes bugs and regressions discovered after the 1.26.0 release. In addition, it adds new functionality for detecting BLAS and LAPACK when building from source. Highlights are: - Improved detection of BLAS and LAPACK libraries for meson builds - Pickle compatibility with the upcoming NumPy 2.0. The 1.26.release series is the last planned minor release series before NumPy 2.0. The Python versions supported by this release are 3.9-3.12. ##### Build system changes ##### Improved BLAS/LAPACK detection and control Auto-detection for a number of BLAS and LAPACK is now implemented for Meson. By default, the build system will try to detect MKL, Accelerate (on macOS >=13.3), OpenBLAS, FlexiBLAS, BLIS and reference BLAS/LAPACK. Support for MKL was significantly improved, and support for FlexiBLAS was added. New command-line flags are available to further control the selection of the BLAS and LAPACK libraries to build against. To select a specific library, use the config-settings interface via `pip` or `pypa/build`. E.g., to select `libblas`/`liblapack`, use: $ pip install numpy -Csetup-args=-Dblas=blas -Csetup-args=-Dlapack=lapack $ # OR $ python -m build . -Csetup-args=-Dblas=blas -Csetup-args=-Dlapack=lapack This works not only for the libraries named above, but for any library that Meson is able to detect with the given name through `pkg-config` or CMake. Besides `-Dblas` and `-Dlapack`, a number of other new flags are available to control BLAS/LAPACK selection and behavior: - `-Dblas-order` and `-Dlapack-order`: a list of library names to search for in order, overriding the default search order. - `-Duse-ilp64`: if set to `true`, use ILP64 (64-bit integer) BLAS and LAPACK. Note that with this release, ILP64 support has been extended to include MKL and FlexiBLAS. OpenBLAS and Accelerate were supported in previous releases. - `-Dallow-noblas`: if set to `true`, allow NumPy to build with its internal (very slow) fallback routines instead of linking against an external BLAS/LAPACK library. *The default for this flag may be changed to \`\`true\`\` in a future 1.26.x release, however for 1.26.1 we'd prefer to keep it as \`\`false\`\` because if failures to detect an installed library are happening, we'd like a bug report for that, so we can quickly assess whether the new auto-detection machinery needs further improvements.* - `-Dmkl-threading`: to select the threading layer for MKL. There are four options: `seq`, `iomp`, `gomp` and `tbb`. The default is `auto`, which selects from those four as appropriate given the version of MKL selected. - `-Dblas-symbol-suffix`: manually select the symbol suffix to use for the library - should only be needed for linking against libraries built in a non-standard way. ##### New features ##### `numpy._core` submodule stubs `numpy._core` submodule stubs were added to provide compatibility with pickled arrays created using NumPy 2.0 when running Numpy 1.26. ##### Contributors A total of 13 people contributed to this release. People with a "+" by their names contributed a patch for the first time. - Andrew Nelson - Anton Prosekin + - Charles Harris - Chongyun Lee + - Ivan A. Melnikov + - Jake Lishman + - Mahder Gebremedhin + - Mateusz Sokół - Matti Picus - Munira Alduraibi + - Ralf Gommers - Rohit Goswami - Sayed Adel ##### Pull requests merged A total of 20 pull requests were merged for this release. - [#​24742](https://togithub.com/numpy/numpy/pull/24742): MAINT: Update cibuildwheel version - [#​24748](https://togithub.com/numpy/numpy/pull/24748): MAINT: fix version string in wheels built with setup.py - [#​24771](https://togithub.com/numpy/numpy/pull/24771): BLD, BUG: Fix build failure for host flags e.g. `-march=native`... - [#​24773](https://togithub.com/numpy/numpy/pull/24773): DOC: Updated the f2py docs to remove a note on -fimplicit-none - [#​24776](https://togithub.com/numpy/numpy/pull/24776): BUG: Fix SIMD f32 trunc test on s390x when baseline is none - [#​24785](https://togithub.com/numpy/numpy/pull/24785): BLD: add libquadmath to licences and other tweaks ([#​24753](https://togithub.com/numpy/numpy/issues/24753)) - [#​24786](https://togithub.com/numpy/numpy/pull/24786): MAINT: Activate `use-compute-credits` for Cirrus. - [#​24803](https://togithub.com/numpy/numpy/pull/24803): BLD: updated vendored-meson/meson for mips64 fix - [#​24804](https://togithub.com/numpy/numpy/pull/24804): MAINT: fix licence path win - [#​24813](https://togithub.com/numpy/numpy/pull/24813): BUG: Fix order of Windows OS detection macros. - [#​24831](https://togithub.com/numpy/numpy/pull/24831): BUG, SIMD: use scalar cmul on bad Apple clang x86\_64 ([#​24828](https://togithub.com/numpy/numpy/issues/24828)) - [#​24840](https://togithub.com/numpy/numpy/pull/24840): BUG: Fix DATA statements for f2py - [#​24870](https://togithub.com/numpy/numpy/pull/24870): API: Add `NumpyUnpickler` for backporting - [#​24872](https://togithub.com/numpy/numpy/pull/24872): MAINT: Xfail test failing on PyPy. - [#​24879](https://togithub.com/numpy/numpy/pull/24879): BLD: fix math func feature checks, fix FreeBSD build, add CI... - [#​24899](https://togithub.com/numpy/numpy/pull/24899): ENH: meson: implement BLAS/LAPACK auto-detection and many CI... - [#​24902](https://togithub.com/numpy/numpy/pull/24902): DOC: add a 1.26.1 release notes section for BLAS/LAPACK build... - [#​24906](https://togithub.com/numpy/numpy/pull/24906): MAINT: Backport `numpy._core` stubs. Remove `NumpyUnpickler` - [#​24911](https://togithub.com/numpy/numpy/pull/24911): MAINT: Bump pypa/cibuildwheel from 2.16.1 to 2.16.2 - [#​24912](https://togithub.com/numpy/numpy/pull/24912): BUG: loongarch doesn't use REAL(10) ##### Checksums ##### MD5 bda38de1a047dd9fdddae16c0d9fb358 numpy-1.26.1-cp310-cp310-macosx_10_9_x86_64.whl 196d2e39047da64ab28e177760c95461 numpy-1.26.1-cp310-cp310-macosx_11_0_arm64.whl 9d25010a7bf50e624d2fed742790afbd numpy-1.26.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 9b22fa3d030807f0708007d9c0659f65 numpy-1.26.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl eea626b8b930acb4b32302a9e95714f5 numpy-1.26.1-cp310-cp310-musllinux_1_1_x86_64.whl 3c40ef068f50d2ac2913c5b9fa1233fa numpy-1.26.1-cp310-cp310-win32.whl 315c251d2f284af25761a37ce6dd4d10 numpy-1.26.1-cp310-cp310-win_amd64.whl ebdd5046937df50e9f54a6d38c5775dd numpy-1.26.1-cp311-cp311-macosx_10_9_x86_64.whl 682f9beebe8547f205d6cdc8ff96a984 numpy-1.26.1-cp311-cp311-macosx_11_0_arm64.whl e86da9b6040ea88b3835c4d8f8578658 numpy-1.26.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl ebcb6cf7f64454215e29d8a89829c8e1 numpy-1.26.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl a8c89e13dc9a63712104e2fb06fb63a6 numpy-1.26.1-cp311-cp311-musllinux_1_1_x86_64.whl 339795930404988dbc664ff4cc72b399 numpy-1.26.1-cp311-cp311-win32.whl 4ef5e1bdd7726c19615843f5ac72e618 numpy-1.26.1-cp311-cp311-win_amd64.whl 3aad6bc72db50e9cc88aa5813e8f35bd numpy-1.26.1-cp312-cp312-macosx_10_9_x86_64.whl fd62f65ae7798dbda9a3f7af7aa5c8db numpy-1.26.1-cp312-cp312-macosx_11_0_arm64.whl 104d939e080f1baf0a56aed1de0e79e3 numpy-1.26.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl c44b56c96097f910bbec1420abcf3db5 numpy-1.26.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 1dce230368ae5fc47dd0fe8de8ff771d numpy-1.26.1-cp312-cp312-musllinux_1_1_x86_64.whl d93338e7d60e1d294ca326450e99806b numpy-1.26.1-cp312-cp312-win32.whl a1832f46521335c1ee4c56dbf12e600b numpy-1.26.1-cp312-cp312-win_amd64.whl 946fbb0b6caca9258985495532d3f9ab numpy-1.26.1-cp39-cp39-macosx_10_9_x86_64.whl 78c2ab13d395d67d90bcd6583a6f61a8 numpy-1.26.1-cp39-cp39-macosx_11_0_arm64.whl 0a9d80d8b646abf4ffe51fff3e075d10 numpy-1.26.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 0229ba8145d4f58500873b540a55d60e numpy-1.26.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 9179fc57c03260374c86e18867c24463 numpy-1.26.1-cp39-cp39-musllinux_1_1_x86_64.whl 246a3103fdbe5d891d7a8aee28875a26 numpy-1.26.1-cp39-cp39-win32.whl 4589dcb7f754fade6ea3946416bee638 numpy-1.26.1-cp39-cp39-win_amd64.whl 3af340d5487a6c045f00fe5eb889957c numpy-1.26.1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl 28aece4f1ceb92ec463aa353d4a91c8b numpy-1.26.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl bbd0461a1e31017b05509e9971b3478e numpy-1.26.1-pp39-pypy39_pp73-win_amd64.whl 2d770f4c281d405b690c4bcb3dbe99e2 numpy-1.26.1.tar.gz ##### SHA256 82e871307a6331b5f09efda3c22e03c095d957f04bf6bc1804f30048d0e5e7af numpy-1.26.1-cp310-cp310-macosx_10_9_x86_64.whl cdd9ec98f0063d93baeb01aad472a1a0840dee302842a2746a7a8e92968f9575 numpy-1.26.1-cp310-cp310-macosx_11_0_arm64.whl d78f269e0c4fd365fc2992c00353e4530d274ba68f15e968d8bc3c69ce5f5244 numpy-1.26.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 8ab9163ca8aeb7fd32fe93866490654d2f7dda4e61bc6297bf72ce07fdc02f67 numpy-1.26.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 78ca54b2f9daffa5f323f34cdf21e1d9779a54073f0018a3094ab907938331a2 numpy-1.26.1-cp310-cp310-musllinux_1_1_x86_64.whl d1cfc92db6af1fd37a7bb58e55c8383b4aa1ba23d012bdbba26b4bcca45ac297 numpy-1.26.1-cp310-cp310-win32.whl d2984cb6caaf05294b8466966627e80bf6c7afd273279077679cb010acb0e5ab numpy-1.26.1-cp310-cp310-win_amd64.whl cd7837b2b734ca72959a1caf3309457a318c934abef7a43a14bb984e574bbb9a numpy-1.26.1-cp311-cp311-macosx_10_9_x86_64.whl 1c59c046c31a43310ad0199d6299e59f57a289e22f0f36951ced1c9eac3665b9 numpy-1.26.1-cp311-cp311-macosx_11_0_arm64.whl d58e8c51a7cf43090d124d5073bc29ab2755822181fcad978b12e144e5e5a4b3 numpy-1.26.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 6081aed64714a18c72b168a9276095ef9155dd7888b9e74b5987808f0dd0a974 numpy-1.26.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 97e5d6a9f0702c2863aaabf19f0d1b6c2628fbe476438ce0b5ce06e83085064c numpy-1.26.1-cp311-cp311-musllinux_1_1_x86_64.whl b9d45d1dbb9de84894cc50efece5b09939752a2d75aab3a8b0cef6f3a35ecd6b numpy-1.26.1-cp311-cp311-win32.whl 3649d566e2fc067597125428db15d60eb42a4e0897fc48d28cb75dc2e0454e53 numpy-1.26.1-cp311-cp311-win_amd64.whl 1d1bd82d539607951cac963388534da3b7ea0e18b149a53cf883d8f699178c0f numpy-1.26.1-cp312-cp312-macosx_10_9_x86_64.whl afd5ced4e5a96dac6725daeb5242a35494243f2239244fad10a90ce58b071d24 numpy-1.26.1-cp312-cp312-macosx_11_0_arm64.whl a03fb25610ef560a6201ff06df4f8105292ba56e7cdd196ea350d123fc32e24e numpy-1.26.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl dcfaf015b79d1f9f9c9fd0731a907407dc3e45769262d657d754c3a028586124 numpy-1.26.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl e509cbc488c735b43b5ffea175235cec24bbc57b227ef1acc691725beb230d1c numpy-1.26.1-cp312-cp312-musllinux_1_1_x86_64.whl af22f3d8e228d84d1c0c44c1fbdeb80f97a15a0abe4f080960393a00db733b66 numpy-1.26.1-cp312-cp312-win32.whl 9f42284ebf91bdf32fafac29d29d4c07e5e9d1af862ea73686581773ef9e73a7 numpy-1.26.1-cp312-cp312-win_amd64.whl bb894accfd16b867d8643fc2ba6c8617c78ba2828051e9a69511644ce86ce83e numpy-1.26.1-cp39-cp39-macosx_10_9_x86_64.whl e44ccb93f30c75dfc0c3aa3ce38f33486a75ec9abadabd4e59f114994a9c4617 numpy-1.26.1-cp39-cp39-macosx_11_0_arm64.whl 9696aa2e35cc41e398a6d42d147cf326f8f9d81befcb399bc1ed7ffea339b64e numpy-1.26.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl a5b411040beead47a228bde3b2241100454a6abde9df139ed087bd73fc0a4908 numpy-1.26.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 1e11668d6f756ca5ef534b5be8653d16c5352cbb210a5c2a79ff288e937010d5 numpy-1.26.1-cp39-cp39-musllinux_1_1_x86_64.whl d1d2c6b7dd618c41e202c59c1413ef9b2c8e8a15f5039e344af64195459e3104 numpy-1.26.1-cp39-cp39-win32.whl 59227c981d43425ca5e5c01094d59eb14e8772ce6975d4b2fc1e106a833d5ae2 numpy-1.26.1-cp39-cp39-win_amd64.whl 06934e1a22c54636a059215d6da99e23286424f316fddd979f5071093b648668 numpy-1.26.1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl 76ff661a867d9272cd2a99eed002470f46dbe0943a5ffd140f49be84f68ffc42 numpy-1.26.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 6965888d65d2848e8768824ca8288db0a81263c1efccec881cb35a0d805fcd2f numpy-1.26.1-pp39-pypy39_pp73-win_amd64.whl c8c6c72d4a9f831f328efb1312642a1cafafaa88981d9ab76368d50d07d93cbe numpy-1.26.1.tar.gz ### [`v1.26.0`](https://togithub.com/numpy/numpy/releases/tag/v1.26.0) [Compare Source](https://togithub.com/numpy/numpy/compare/v1.25.2...v1.26.0) ### NumPy 1.26.0 Release Notes The NumPy 1.26.0 release is a continuation of the 1.25.x release cycle with the addition of Python 3.12.0 support. Python 3.12 dropped distutils, consequently supporting it required finding a replacement for the setup.py/distutils based build system NumPy was using. We have chosen to use the Meson build system instead, and this is the first NumPy release supporting it. This is also the first release that supports Cython 3.0 in addition to retaining 0.29.X compatibility. Supporting those two upgrades was a large project, over 100 files have been touched in this release. The changelog doesn't capture the full extent of the work, special thanks to Ralf Gommers, Sayed Adel, Stéfan van der Walt, and Matti Picus who did much of the work in the main development branch. The highlights of this release are: - Python 3.12.0 support. - Cython 3.0.0 compatibility. - Use of the Meson build system - Updated SIMD support - f2py fixes, meson and bind(x) support - Support for the updated Accelerate BLAS/LAPACK library The Python versions supported in this release are 3.9-3.12. #### New Features ##### Array API v2022.12 support in `numpy.array_api` `numpy.array_api` now full supports the [v2022.12 version](https://data-apis.org/array-api/2022.12) of the array API standard. Note that this does not yet include the optional `fft` extension in the standard. ([gh-23789](https://togithub.com/numpy/numpy/pull/23789)) ##### Support for the updated Accelerate BLAS/LAPACK library Support for the updated Accelerate BLAS/LAPACK library, including ILP64 (64-bit integer) support, in macOS 13.3 has been added. This brings arm64 support, and significant performance improvements of up to 10x for commonly used linear algebra operations. When Accelerate is selected at build time, the 13.3+ version will automatically be used if available. ([gh-24053](https://togithub.com/numpy/numpy/pull/24053)) ##### `meson` backend for `f2py` `f2py` in compile mode (i.e. `f2py -c`) now accepts the `--backend meson` option. This is the default option for Python `3.12` on-wards. Older versions will still default to `--backend distutils`. To support this in realistic use-cases, in compile mode `f2py` takes a `--dep` flag one or many times which maps to `dependency()` calls in the `meson` backend, and does nothing in the `distutils` backend. There are no changes for users of `f2py` only as a code generator, i.e. without `-c`. ([gh-24532](https://togithub.com/numpy/numpy/pull/24532)) ##### `bind(c)` support for `f2py` Both functions and subroutines can be annotated with `bind(c)`. `f2py` will handle both the correct type mapping, and preserve the unique label for other `C` interfaces. **Note:** `bind(c, name = 'routine_name_other_than_fortran_routine')` is not honored by the `f2py` bindings by design, since `bind(c)` with the `name` is meant to guarantee only the same name in `C` and `Fortran`, not in `Python` and `Fortran`. ([gh-24555](https://togithub.com/numpy/numpy/pull/24555)) #### Improvements ##### `iso_c_binding` support for `f2py` Previously, users would have to define their own custom `f2cmap` file to use type mappings defined by the Fortran2003 `iso_c_binding` intrinsic module. These type maps are now natively supported by `f2py` ([gh-24555](https://togithub.com/numpy/numpy/pull/24555)) #### Build system changes In this release, NumPy has switched to Meson as the build system and meson-python as the build backend. Installing NumPy or building a wheel can be done with standard tools like `pip` and `pypa/build`. The following are supported: - Regular installs: `pip install numpy` or (in a cloned repo) `pip install .` - Building a wheel: `python -m build` (preferred), or `pip wheel .` - Editable installs: `pip install -e . --no-build-isolation` - Development builds through the custom CLI implemented with [spin](https://togithub.com/scientific-python/spin): `spin build`. All the regular `pip` and `pypa/build` flags (e.g., `--no-build-isolation`) should work as expected. ##### NumPy-specific build customization Many of the NumPy-specific ways of customizing builds have changed. The `NPY_*` environment variables which control BLAS/LAPACK, SIMD, threading, and other such options are no longer supported, nor is a `site.cfg` file to select BLAS and LAPACK. Instead, there are command-line flags that can be passed to the build via `pip`/`build`'s config-settings interface. These flags are all listed in the `meson_options.txt` file in the root of the repo. Detailed documented will be available before the final 1.26.0 release; for now please see [the SciPy "building from source" docs](http://scipy.github.io/devdocs/building/index.html) since most build customization works in an almost identical way in SciPy as it does in NumPy. ##### Build dependencies While the runtime dependencies of NumPy have not changed, the build dependencies have. Because we temporarily vendor Meson and meson-python, there are several new dependencies - please see the `[build-system]` section of `pyproject.toml` for details. ##### Troubleshooting This build system change is quite large. In case of unexpected issues, it is still possible to use a `setup.py`-based build as a temporary workaround (on Python 3.9-3.11, not 3.12), by copying `pyproject.toml.setuppy` to `pyproject.toml`. However, please open an issue with details on the NumPy issue tracker. We aim to phase out `setup.py` builds as soon as possible, and therefore would like to see all potential blockers surfaced early on in the 1.26.0 release cycle. #### Contributors A total of 20 people contributed to this release. People with a "+" by their names contributed a patch for the first time. - [@​DWesl](https://togithub.com/DWesl) - Albert Steppi + - Bas van Beek - Charles Harris - Developer-Ecosystem-Engineering - Filipe Laíns + - Jake Vanderplas - Liang Yan + - Marten van Kerkwijk - Matti Picus - Melissa Weber Mendonça - Namami Shanker - Nathan Goldbaum - Ralf Gommers - Rohit Goswami - Sayed Adel - Sebastian Berg - Stefan van der Walt - Tyler Reddy - Warren Weckesser #### Pull requests merged A total of 59 pull requests were merged for this release. - [#​24305](https://togithub.com/numpy/numpy/pull/24305): MAINT: Prepare 1.26.x branch for development - [#​24308](https://togithub.com/numpy/numpy/pull/24308): MAINT: Massive update of files from main for numpy 1.26 - [#​24322](https://togithub.com/numpy/numpy/pull/24322): CI: fix wheel builds on the 1.26.x branch - [#​24326](https://togithub.com/numpy/numpy/pull/24326): BLD: update openblas to newer version - [#​24327](https://togithub.com/numpy/numpy/pull/24327): TYP: Trim down the `_NestedSequence.__getitem__` signature - [#​24328](https://togithub.com/numpy/numpy/pull/24328): BUG: fix choose refcount leak - [#​24337](https://togithub.com/numpy/numpy/pull/24337): TST: fix running the test suite in builds without BLAS/LAPACK - [#​24338](https://togithub.com/numpy/numpy/pull/24338): BUG: random: Fix generation of nan by dirichlet. - [#​24340](https://togithub.com/numpy/numpy/pull/24340): MAINT: Dependabot updates from main - [#​24342](https://togithub.com/numpy/numpy/pull/24342): MAINT: Add back NPY_RUN_MYPY_IN_TESTSUITE=1 - [#​24353](https://togithub.com/numpy/numpy/pull/24353): MAINT: Update `extbuild.py` from main. - [#​24356](https://togithub.com/numpy/numpy/pull/24356): TST: fix distutils tests for deprecations in recent setuptools... - [#​24375](https://togithub.com/numpy/numpy/pull/24375): MAINT: Update cibuildwheel to version 2.15.0 - [#​24381](https://togithub.com/numpy/numpy/pull/24381): MAINT: Fix codespaces setup.sh script - [#​24403](https://togithub.com/numpy/numpy/pull/24403): ENH: Vendor meson for multi-target build support - [#​24404](https://togithub.com/numpy/numpy/pull/24404): BLD: vendor meson-python to make the Windows builds with SIMD... - [#​24405](https://togithub.com/numpy/numpy/pull/24405): BLD, SIMD: The meson CPU dispatcher implementation - [#​24406](https://togithub.com/numpy/numpy/pull/24406): MAINT: Remove versioneer - [#​24409](https://togithub.com/numpy/numpy/pull/24409): REL: Prepare for the NumPy 1.26.0b1 release. - [#​24453](https://togithub.com/numpy/numpy/pull/24453): MAINT: Pin upper version of sphinx. - [#​24455](https://togithub.com/numpy/numpy/pull/24455): ENH: Add prefix to \_ALIGN Macro - [#​24456](https://togithub.com/numpy/numpy/pull/24456): BUG: cleanup warnings - [#​24460](https://togithub.com/numpy/numpy/pull/24460): MAINT: Upgrade to spin 0.5 - [#​24495](https://togithub.com/numpy/numpy/pull/24495): BUG: `asv dev` has been removed, use `asv run`. - [#​24496](https://togithub.com/numpy/numpy/pull/24496): BUG: Fix meson build failure due to unchanged inplace auto-generated... - [#​24521](https://togithub.com/numpy/numpy/pull/24521): BUG: fix issue with git-version script, needs a shebang to run - [#​24522](https://togithub.com/numpy/numpy/pull/24522): BUG: Use a default assignment for git_hash - [#​24524](https://togithub.com/numpy/numpy/pull/24524): BUG: fix NPY_cast_info error handling in choose - [#​24526](https://togithub.com/numpy/numpy/pull/24526): BUG: Fix common block handling in f2py - [#​24541](https://togithub.com/numpy/numpy/pull/24541): CI,TYP: Bump mypy to 1.4.1 - [#​24542](https://togithub.com/numpy/numpy/pull/24542): BUG: Fix assumed length f2py regression - [#​24544](https://togithub.com/numpy/numpy/pull/24544): MAINT: Harmonize fortranobject - [#​24545](https://togithub.com/numpy/numpy/pull/24545): TYP: add kind argument to numpy.isin type specification - [#​24561](https://togithub.com/numpy/numpy/pull/24561): BUG: fix comparisons between masked and unmasked structured arrays - [#​24590](https://togithub.com/numpy/numpy/pull/24590): CI: Exclude import libraries from list of DLLs on Cygwin. - [#​24591](https://togithub.com/numpy/numpy/pull/24591): BLD: fix `_umath_linalg` dependencies - [#​24594](https://togithub.com/numpy/numpy/pull/24594): MAINT: Stop testing on ppc64le. - [#​24602](https://togithub.com/numpy/numpy/pull/24602): BLD: meson-cpu: fix SIMD support on platforms with no features - [#​24606](https://togithub.com/numpy/numpy/pull/24606): BUG: Change Cython `binding` directive to "False". - [#​24613](https://togithub.com/numpy/numpy/pull/24613): ENH: Adopt new macOS Accelerate BLAS/LAPACK Interfaces, including... - [#​24614](https://togithub.com/numpy/numpy/pull/24614): DOC: Update building docs to use Meson - [#​24615](https://togithub.com/numpy/numpy/pull/24615): TYP: Add the missing `casting` keyword to `np.clip` - [#​24616](https://togithub.com/numpy/numpy/pull/24616): TST: convert cython test from setup.py to meson - [#​24617](https://togithub.com/numpy/numpy/pull/24617): MAINT: Fixup `fromnumeric.pyi` - [#​24622](https://togithub.com/numpy/numpy/pull/24622): BUG, ENH: Fix `iso_c_binding` type maps and fix `bind(c)`... - [#​24629](https://togithub.com/numpy/numpy/pull/24629): TYP: Allow `binary_repr` to accept any object implementing... - [#​24630](https://togithub.com/numpy/numpy/pull/24630): TYP: Explicitly declare `dtype` and `generic` hashable - [#​24637](https://togithub.com/numpy/numpy/pull/24637): ENH: Refactor the typing "reveal" tests using `typing.assert_type` - [#​24638](https://togithub.com/numpy/numpy/pull/24638): MAINT: Bump actions/checkout from 3.6.0 to 4.0.0 - [#​24647](https://togithub.com/numpy/numpy/pull/24647): ENH: `meson` backend for `f2py` - [#​24648](https://togithub.com/numpy/numpy/pull/24648): MAINT: Refactor partial load Workaround for Clang - [#​24653](https://togithub.com/numpy/numpy/pull/24653): REL: Prepare for the NumPy 1.26.0rc1 release. - [#​24659](https://togithub.com/numpy/numpy/pull/24659): BLD: allow specifying the long double format to avoid the runtime... - [#​24665](https://togithub.com/numpy/numpy/pull/24665): BLD: fix bug in random.mtrand extension, don't link libnpyrandom - [#​24675](https://togithub.com/numpy/numpy/pull/24675): BLD: build wheels for 32-bit Python on Windows, using MSVC - [#​24700](https://togithub.com/numpy/numpy/pull/24700): BLD: fix issue with compiler selection during cross compilation - [#​24701](https://togithub.com/numpy/numpy/pull/24701): BUG: Fix data stmt handling for complex values in f2py - [#​24707](https://togithub.com/numpy/numpy/pull/24707): TYP: Add annotations for the py3.12 buffer protocol - [#​24718](https://togithub.com/numpy/numpy/pull/24718): DOC: fix a few doc build issues on 1.26.x and update `spin docs`... #### Checksums ##### MD5 052d84a2aaad4d5a455b64f5ff3f160b numpy-1.26.0-cp310-cp310-macosx_10_9_x86_64.whl 874567083be194080e97bea39ea7befd numpy-1.26.0-cp310-cp310-macosx_11_0_arm64.whl 1a5fa023e05e050b95549d355890fbb6 numpy-1.26.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2af03fbadd96360b26b993975709d072 numpy-1.26.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 32717dd51a915e9aee4dcca72acb00d0 numpy-1.26.0-cp310-cp310-musllinux_1_1_x86_64.whl 3f101e51b3b5f8c3f01256da645a1962 numpy-1.26.0-cp310-cp310-win32.whl d523a40f0a5f5ba94f09679adbabf825 numpy-1.26.0-cp310-cp310-win_amd64.whl 6115698fdf5fb8cf895540a57d12bfb9 numpy-1.26.0-cp311-cp311-macosx_10_9_x86_64.whl 207603ee822d8af4542f239b8c0a7a67 numpy-1.26.0-cp311-cp311-macosx_11_0_arm64.whl 0cc5f95c4aebab0ca4f9f66463981016 numpy-1.26.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl a4654b46bc10738825f37a1797e1eba5 numpy-1.26.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 3b037dc746499f2a19bb58b55fdd0bfb numpy-1.26.0-cp311-cp311-musllinux_1_1_x86_64.whl 7bfb0c44e95f765e7fc5a7a86968a56c numpy-1.26.0-cp311-cp311-win32.whl 3355b510410cb20bacfb3c87632a731a numpy-1.26.0-cp311-cp311-win_amd64.whl 9624a97f1df9f64054409d274c1502f3 numpy-1.26.0-cp312-cp312-macosx_10_9_x86_64.whl 53429b1349542c38b2f3822c7f2904d5 numpy-1.26.0-cp312-cp312-macosx_11_0_arm64.whl 66a21bf4d8a6372cc3c4c89a67b96279 numpy-1.26.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl cb9abc312090046563eae619c0b68210 numpy-1.26.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 49e3498e0e0ec5c1f6314fb86d7f006e numpy-1.26.0-cp312-cp312-musllinux_1_1_x86_64.whl f4a31765889478341597a7140044db85 numpy-1.26.0-cp312-cp312-win32.whl e7d7ded11f89baf760e5ba69249606e4 numpy-1.26.0-cp312-cp312-win_amd64.whl 19698f330ae322c4813eed6e790a04d5 numpy-1.26.0-cp39-cp39-macosx_10_9_x86_64.whl a3628f551d851fbcde6551adb8fcfe2b numpy-1.26.0-cp39-cp39-macosx_11_0_arm64.whl b34af2ddf43b28207ec7e2c837cbe35f numpy-1.26.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 3d888129c86357ccfb779d9f0c1256f5 numpy-1.26.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl e49d00c779df59a786d9f41e0d73c520 numpy-1.26.0-cp39-cp39-musllinux_1_1_x86_64.whl 69f6aa8a0f3919797cb28fab7069a578 numpy-1.26.0-cp39-cp39-win32.whl 8233224840dcdda49b08da1d5e91a730 numpy-1.26.0-cp39-cp39-win_amd64.whl c11b4d1181b825407b71a1ac8ec04a10 numpy-1.26.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl 1515773d4f569d44c6a757cb5a636cb2 numpy-1.26.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 60dc766d863d8ab561b494a7a759d562 numpy-1.26.0-pp39-pypy39_pp73-win_amd64.whl 69bd28f07afbeed2bb6ecd467afcd469 numpy-1.26.0.tar.gz ##### SHA256 f8db2f125746e44dce707dd44d4f4efeea8d7e2b43aace3f8d1f235cfa2733dd numpy-1.26.0-cp310-cp310-macosx_10_9_x86_64.whl 0621f7daf973d34d18b4e4bafb210bbaf1ef5e0100b5fa750bd9cde84c7ac292 numpy-1.26.0-cp310-cp310-macosx_11_0_arm64.whl 51be5f8c349fdd1a5568e72713a21f518e7d6707bcf8503b528b88d33b57dc68 numpy-1.26.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 767254ad364991ccfc4d81b8152912e53e103ec192d1bb4ea6b1f5a7117040be numpy-1.26.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 436c8e9a4bdeeee84e3e59614d38c3dbd3235838a877af8c211cfcac8a80b8d3 numpy-1.26.0-cp310-cp310-musllinux_1_1_x86_64.whl c2e698cb0c6dda9372ea98a0344245ee65bdc1c9dd939cceed6bb91256837896 numpy-1.26.0-cp310-cp310-win32.whl 09aaee96c2cbdea95de76ecb8a586cb687d281c881f5f17bfc0fb7f5890f6b91 numpy-1.26.0-cp310-cp310-win_amd64.whl 637c58b468a69869258b8ae26f4a4c6ff8abffd4a8334c830ffb63e0feefe99a numpy-1.26.0-cp311-cp311-macosx_10_9_x86_64.whl 306545e234503a24fe9ae95ebf84d25cba1fdc27db971aa2d9f1ab6bba19a9dd numpy-1.26.0-cp311-cp311-macosx_11_0_arm64.whl 8c6adc33561bd1d46f81131d5352348350fc23df4d742bb246cdfca606ea1208 numpy-1.26.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl e062aa24638bb5018b7841977c360d2f5917268d125c833a686b7cbabbec496c numpy-1.26.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 546b7dd7e22f3c6861463bebb000646fa730e55df5ee4a0224408b5694cc6148 numpy-1.26.0-cp311-cp311-musllinux_1_1_x86_64.whl c0b45c8b65b79337dee5134d038346d30e109e9e2e9d43464a2970e5c0e93229 numpy-1.26.0-cp311-cp311-win32.whl eae430ecf5794cb7ae7fa3808740b015aa80747e5266153128ef055975a72b99 numpy-1.26.0-cp311-cp311-win_amd64.whl 166b36197e9debc4e384e9c652ba60c0bacc216d0fc89e78f973a9760b503388 numpy-1.26.0-cp312-cp312-macosx_10_9_x86_64.whl f042f66d0b4ae6d48e70e28d487376204d3cbf43b84c03bac57e28dac6151581 numpy-1.26.0-cp312-cp312-macosx_11_0_arm64.whl e5e18e5b14a7560d8acf1c596688f4dfd19b4f2945b245a71e5af4ddb7422feb numpy-1.26.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 7f6bad22a791226d0a5c7c27a80a20e11cfe09ad5ef9084d4d3fc4a299cca505 numpy-1.26.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 4acc65dd65da28060e206c8f27a573455ed724e6179941edb19f97e58161bb69 numpy-1.26.0-cp312-cp312-musllinux_1_1_x86_64.whl bb0d9a1aaf5f1cb7967320e80690a1d7ff69f1d47ebc5a9bea013e3a21faec95 numpy-1.26.0-cp312-cp312-win32.whl ee84ca3c58fe48b8ddafdeb1db87388dce2c3c3f701bf447b05e4cfcc3679112 numpy-1.26.0-cp312-cp312-win_amd64.whl 4a873a8180479bc829313e8d9798d5234dfacfc2e8a7ac188418189bb8eafbd2 numpy-1.26.0-cp39-cp39-macosx_10_9_x86_64.whl 914b28d3215e0c721dc75db3ad6d62f51f630cb0c277e6b3bcb39519bed10bd8 numpy-1.26.0-cp39-cp39-macosx_11_0_arm64.whl c78a22e95182fb2e7874712433eaa610478a3caf86f28c621708d35fa4fd6e7f numpy-1.26.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 86f737708b366c36b76e953c46ba5827d8c27b7a8c9d0f471810728e5a2fe57c numpy-1.26.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl b44e6a09afc12952a7d2a58ca0a2429ee0d49a4f89d83a0a11052da696440e49 numpy-1.26.0-cp39-cp39-musllinux_1_1_x86_64.whl 5671338034b820c8d58c81ad1dafc0ed5a00771a82fccc71d6438df00302094b numpy-1.26.0-cp39-cp39-win32.whl 020cdbee66ed46b671429c7265cf00d8ac91c046901c55684954c3958525dab2 numpy-1.26.0-cp39-cp39-win_amd64.whl 0792824ce2f7ea0c82ed2e4fecc29bb86bee0567a080dacaf2e0a01fe7654369 numpy-1.26.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl 7d484292eaeb3e84a51432a94f53578689ffdea3f90e10c8b203a99be5af57d8 numpy-1.26.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 186ba67fad3c60dbe8a3abff3b67a91351100f2661c8e2a80364ae6279720299 numpy-1.26.0-pp39-pypy39_pp73-win_amd64.whl f93fc78fe8bf15afe2b8d6b6499f1c73953169fad1e9a8dd086cdff3190e7fdf numpy-1.26.0.tar.gz </details> <details> <summary>openai/openai-python (openai)</summary> ### [`v0.28.1`](https://togithub.com/openai/openai-python/releases/tag/v0.28.1) [Compare Source](https://togithub.com/openai/openai-python/compare/v0.28.0...v0.28.1) #### What's Changed - Update README.md to fix the fine-tuning model delete example by [@​logankilpatrick](https://togithub.com/logankilpatrick) in [https://github.com/openai/openai-python/pull/601](https://togithub.com/openai/openai-python/pull/601) - Revamp README to make examples front and center by [@​logankilpatrick](https://togithub.com/logankilpatrick) in [https://github.com/openai/openai-python/pull/603](https://togithub.com/openai/openai-python/pull/603) - Update pointer to Jupyter notebooks as finetuning doesn't exist by [@​shapor](https://togithub.com/shapor) in [https://github.com/openai/openai-python/pull/477](https://togithub.com/openai/openai-python/pull/477) - Update the wandb logger by [@​morganmcg1](https://togithub.com/morganmcg1) in [https://github.com/openai/openai-python/pull/590](https://togithub.com/openai/openai-python/pull/590) - \[azure] enable audio/whisper support by [@​kristapratico](https://togithub.com/kristapratico) in [https://github.com/openai/openai-python/pull/613](https://togithub.com/openai/openai-python/pull/613) - Update nested_resource_class_methods.py by [@​00arthur00](https://togithub.com/00arthur00) in [https://github.com/openai/openai-python/pull/612](https://togithub.com/openai/openai-python/pull/612) - Fix: SSE Stream parser expects additional space after colon "data:" by [@​michaelfeil](https://togithub.com/michaelfeil) in [https://github.com/openai/openai-python/pull/559](https://togithub.com/openai/openai-python/pull/559) - 🐛 fixed asyncio streaming bugs by [@​hynky1999](https://togithub.com/hynky1999) in [https://github.com/openai/openai-python/pull/584](https://togithub.com/openai/openai-python/pull/584) - Bugfix: Add param positional arg to InvalidRequestError by [@​wdhorton](https://togithub.com/wdhorton) in [https://github.com/openai/openai-python/pull/573](https://togithub.com/openai/openai-python/pull/573) #### New Contributors - [@​shapor](https://togithub.com/shapor) made their first contribution in [https://github.com/openai/openai-python/pull/477](https://togithub.com/openai/openai-python/pull/477) - [@​morganmcg1](https://togithub.com/morganmcg1) made their first contribution in [https://github.com/openai/openai-python/pull/590](https://togithub.com/openai/openai-python/pull/590) - [@​00arthur00](https://togithub.com/00arthur00) made their first contribution in [https://github.com/openai/openai-python/pull/612](https://togithub.com/openai/openai-python/pull/612) - [@​michaelfeil](https://togithub.com/michaelfeil) made their first contribution in [https://github.com/openai/openai-python/pull/559](https://togithub.com/openai/openai-python/pull/559) - [@​hynky1999](https://togithub.com/hynky1999) made their first contribution in [https://github.com/openai/openai-python/pull/584](https://togithub.com/openai/openai-python/pull/584) - [@​wdhorton](https://togithub.com/wdhorton) made their first contribution in [https://github.com/openai/openai-python/pull/573](https://togithub.com/openai/openai-python/pull/573) **Full Changelog**: https://github.com/openai/openai-python/compare/v0.27.10...v0.28.1 </details> <details> <summary>pandas-dev/pandas (pandas)</summary> ### [`v2.1.2`](https://togithub.com/pandas-dev/pandas/releases/tag/v2.1.2): Pandas 2.1.2 [Compare Source](https://togithub.com/pandas-dev/pandas/compare/v2.1.1...v2.1.2) This is a patch release in the 2.1.x series and includes some regression and bug fixes. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/2.1.2/whatsnew/v2.1.2.html) for a list of all the changes. The release will be available on the defaults and conda-forge channels: conda install pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://togithub.com/pandas-dev/pandas/issues). Thanks to all the contributors who made this release possible. ### [`v2.1.1`](https://togithub.com/pandas-dev/pandas/releases/tag/v2.1.1): Pandas 2.1.1 [Compare Source](https://togithub.com/pandas-dev/pandas/compare/v2.1.0...v2.1.1) This is a patch release in the 2.1.x series and includes some regression and bug fixes. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/2.1.1/whatsnew/v2.1.1.html) for a list of all the changes. The release will be available on the defaults and conda-forge channels: conda install pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://togithub.com/pandas-dev/pandas/issues). Thanks to all the contributors who made this release possible. </details> <details> <summary>pytest-dev/pytest (pytest)</summary> ### [`v7.4.3`](https://togithub.com/pytest-dev/pytest/releases/tag/v7.4.3): pytest 7.4.3 (2023-10-24) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.4.2...v7.4.3) ## Bug Fixes - [#​10447](https://togithub.com/pytest-dev/pytest/issues/10447): Markers are now considered in the reverse mro order to ensure base class markers are considered first -- this resolves a regression. - [#​11239](https://togithub.com/pytest-dev/pytest/issues/11239): Fixed `:=` in asserts impacting unrelated test cases. - [#​11439](https://togithub.com/pytest-dev/pytest/issues/11439): Handled an edge case where :data:`sys.stderr` might already be closed when :ref:`faulthandler` is tearing down. ### [`v7.4.2`](https://togithub.com/pytest-dev/pytest/releases/tag/7.4.2): pytest 7.4.2 (2023-09-07) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.4.1...7.4.2) ##### Bug Fixes - [#​11237](https://togithub.com/pytest-dev/pytest/issues/11237): Fix doctest collection of `functools.cached_property` objects. - [#​11306](https://togithub.com/pytest-dev/pytest/issues/11306): Fixed bug using `--importmode=importlib` which would cause package `__init__.py` files to be imported more than once in some cases. - [#​11367](https://togithub.com/pytest-dev/pytest/issues/11367): Fixed bug where `user_properties` where not being saved in the JUnit XML file if a fixture failed during teardown. - [#​11394](https://togithub.com/pytest-dev/pytest/issues/11394): Fixed crash when parsing long command line arguments that might be interpreted as files. ##### Improved Documentation - [#​11391](https://togithub.com/pytest-dev/pytest/issues/11391): Improved disclaimer on pytest plugin reference page to better indicate this is an automated, non-curated listing. </details> <details> <summary>pytest-dev/pytest-mock (pytest-mock)</summary> ### [`v3.12.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3120-2023-10-19) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.11.1...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`\_). .. \_#390:[https://github.com/pytest-dev/pytest-mock/pull/390](https://togithub.com/pytest-dev/pytest-mock/pull/390)0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/sawyerh/highlights). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.10.0 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> <h2>v3.11.1</h2> <ul> <li> <p>Fixed introspection for failed <code>assert_has_calls</code> (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/365">#365</a>).</p> </li> <li> <p>Updated type annotations for <code>mocker.patch</code> and <code>mocker.spy</code> (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/364">#364</a>).</p> </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>[#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> <h2>3.11.1 (2023-06-15)</h2> <p>(This release source code is identical to <code>3.11.0</code> except a small internal fix to deployment/CI)</p> <ul> <li> <p>Fixed introspection for failed <code>assert_has_calls</code> (<code>[#365](https://github.com/pytest-dev/pytest-mock/issues/365)</code>_).</p> </li> <li> <p>Updated type annotations for <code>mocker.patch</code> and <code>mocker.spy</code> (<code>[#364](https://github.com/pytest-dev/pytest-mock/issues/364)</code>_).</p> </li> </ul> <p>.. _<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/365">#365</a>: <a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/365">pytest-dev/pytest-mock#365</a> .. _<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/364">#364</a>: <a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/364">pytest-dev/pytest-mock#364</a></p> <h2>3.11.0 (2023-06-15)</h2> <ul> <li> <p>Fixed introspection for failed <code>assert_has_calls</code> (<code>[#365](https://github.com/pytest-dev/pytest-mock/issues/365)</code>_).</p> </li> <li> <p>Updated type annotations for <code>mocker.patch</code> and <code>mocker.spy</code> (<code>[#364](https://github.com/pytest-dev/pytest-mock/issues/364)</code>_).</p> </li> </ul> <p>.. _<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/365">#365</a>: <a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/365">pytest-dev/pytest-mock#365</a> .. _<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/364">#364</a>: <a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/364">pytest-dev/pytest-mock#364</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.10.0...v3.12.0">compare view</a></li> </ul> </details> <br /> [](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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>[#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 /> [](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [docs/MarkDown](https://togithub.com/Python-Markdown/markdown) ([changelog](https://togithub.com/Python-Markdown/markdown/blob/master/docs/change_log/index.md)) | `==3.5` -> `==3.5.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [docs/mkdocs-macros-plugin](https://togithub.com/fralau/mkdocs_macros_plugin) | `==1.0.4` -> `==1.0.5` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [docs/mkdocs-material](https://togithub.com/squidfunk/mkdocs-material) | `==9.4.6` -> `==9.4.8` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [misc-lint/black](https://togithub.com/psf/black) ([changelog](https://togithub.com/psf/black/blob/main/CHANGES.md)) | `==23.10.0` -> `==23.10.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [misc-lint/ruff](https://docs.astral.sh/ruff) ([source](https://togithub.com/astral-sh/ruff), [changelog](https://togithub.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | `==0.1.0` -> `==0.1.4` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pytest/pytest](https://docs.pytest.org/en/latest/) ([source](https://togithub.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | `==7.4.2` -> `==7.4.3` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pytest/pytest-mock](https://togithub.com/pytest-dev/pytest-mock) ([changelog](https://pytest-mock.readthedocs.io/en/latest/changelog.html)) | `==3.11.1` -> `==3.12.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/) | | [typecheck/types-Markdown](https://togithub.com/python/typeshed) ([changelog](https://togithub.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/Markdown.md)) | `==3.5.0.0` -> `==3.5.0.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [typecheck/types-beautifulsoup4](https://togithub.com/python/typeshed) ([changelog](https://togithub.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/beautifulsoup4.md)) | `==4.12.0.6` -> `==4.12.0.7` | [](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>Python-Markdown/markdown (docs/MarkDown)</summary> ### [`v3.5.1`](https://togithub.com/Python-Markdown/markdown/releases/tag/3.5.1) [Compare Source](https://togithub.com/Python-Markdown/markdown/compare/3.5...3.5.1) ##### Fixed - Fix a performance problem with HTML extraction where large HTML input could trigger quadratic line counting behavior ([#​1392](https://togithub.com/Python-Markdown/markdown/issues/1392)). - Improve and expand type annotations in the code base ([#​1394](https://togithub.com/Python-Markdown/markdown/issues/1394)). </details> <details> <summary>fralau/mkdocs_macros_plugin (docs/mkdocs-macros-plugin)</summary> ### [`v1.0.5`](https://togithub.com/fralau/mkdocs_macros_plugin/blob/HEAD/CHANGELOG.md#105-2023-10-31) [Compare Source](https://togithub.com/fralau/mkdocs_macros_plugin/compare/v1.0.4...v1.0.5) - Added: git.short_tag ([#​183](https://togithub.com/fralau/mkdocs_macros_plugin/issues/183)) - Added: Mermaid diagrams in the documentation (Readthedocs) - Fixed: Changelog was no longer displayed ([#​186](https://togithub.com/fralau/mkdocs_macros_plugin/issues/186)) </details> <details> <summary>squidfunk/mkdocs-material (docs/mkdocs-material)</summary> ### [`v9.4.8`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.8): mkdocs-material-9.4.8 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.7...9.4.8) - Fixed invalid local address replacement when using instant loading - Fixed [#​6275](https://togithub.com/squidfunk/mkdocs-material/issues/6275): Crash after navigation caused 404 when using instant loading ### [`v9.4.7`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.7): mkdocs-material-9.4.7 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.6...9.4.7) - Added Azerbaijani translations </details> <details> <summary>psf/black (misc-lint/black)</summary> ### [`v23.10.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23101) [Compare Source](https://togithub.com/psf/black/compare/23.10.0...23.10.1) ##### Highlights - Maintenance release to get a fix out for GitHub Action edge case ([#​3957](https://togithub.com/psf/black/issues/3957)) ##### Preview style - Fix merging implicit multiline strings that have inline comments ([#​3956](https://togithub.com/psf/black/issues/3956)) - Allow empty first line after block open before a comment or compound statement ([#​3967](https://togithub.com/psf/black/issues/3967)) ##### Packaging - Change Dockerfile to hatch + compile black ([#​3965](https://togithub.com/psf/black/issues/3965)) ##### Integrations - The summary output for GitHub workflows is now suppressible using the `summary` parameter. ([#​3958](https://togithub.com/psf/black/issues/3958)) - Fix the action failing when Black check doesn't pass ([#​3957](https://togithub.com/psf/black/issues/3957)) ##### Documentation - It is known Windows documentation CI is broken [https://github.com/psf/black/issues/3968](https://togithub.com/psf/black/issues/3968)3968 </details> <details> <summary>astral-sh/ruff (misc-lint/ruff)</summary> ### [`v0.1.4`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#014) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.1.3...v0.1.4) ##### Preview features - \[`flake8-trio`] Implement `timeout-without-await` (`TRIO001`) ([#​8439](https://togithub.com/astral-sh/ruff/pull/8439)) - \[`numpy`] Implement NumPy 2.0 migration rule (`NPY200`) ([#​7702](https://togithub.com/astral-sh/ruff/pull/7702)) - \[`pylint`] Implement `bad-open-mode` (`W1501`) ([#​8294](https://togithub.com/astral-sh/ruff/pull/8294)) - \[`pylint`] Implement `import-outside-toplevel` (`C0415`) rule ([#​5180](https://togithub.com/astral-sh/ruff/pull/5180)) - \[`pylint`] Implement `useless-with-lock` (`W2101`) ([#​8321](https://togithub.com/astral-sh/ruff/pull/8321)) - \[`pyupgrade`] Implement `timeout-error-alias` (`UP041`) ([#​8476](https://togithub.com/astral-sh/ruff/pull/8476)) - \[`refurb`] Implement `isinstance-type-none` (`FURB168`) ([#​8308](https://togithub.com/astral-sh/ruff/pull/8308)) - Detect confusable Unicode-to-Unicode units in `RUF001`, `RUF002`, and `RUF003` ([#​4430](https://togithub.com/astral-sh/ruff/pull/4430)) - Add newline after module docstrings in preview style ([#​8283](https://togithub.com/astral-sh/ruff/pull/8283)) ##### Formatter - Add a note on line-too-long to the formatter docs ([#​8314](https://togithub.com/astral-sh/ruff/pull/8314)) - Preserve trailing statement semicolons when using `fmt: skip` ([#​8273](https://togithub.com/astral-sh/ruff/pull/8273)) - Preserve trailing semicolons when using `fmt: off` ([#​8275](https://togithub.com/astral-sh/ruff/pull/8275)) - Avoid duplicating linter-formatter compatibility warnings ([#​8292](https://togithub.com/astral-sh/ruff/pull/8292)) - Avoid inserting a newline after function docstrings ([#​8375](https://togithub.com/astral-sh/ruff/pull/8375)) - Insert newline between docstring and following own line comment ([#​8216](https://togithub.com/astral-sh/ruff/pull/8216)) - Split tuples in return positions by comma first ([#​8280](https://togithub.com/astral-sh/ruff/pull/8280)) - Avoid treating byte strings as docstrings ([#​8350](https://togithub.com/astral-sh/ruff/pull/8350)) - Add `--line-length` option to `format` command ([#​8363](https://togithub.com/astral-sh/ruff/pull/8363)) - Avoid parenthesizing unsplittable because of comments ([#​8431](https://togithub.com/astral-sh/ruff/pull/8431)) ##### CLI - Add `--output-format` to `ruff rule` and `ruff linter` ([#​8203](https://togithub.com/astral-sh/ruff/pull/8203)) ##### Bug fixes - Respect `--force-exclude` in `lint.exclude` and `format.exclude` ([#​8393](https://togithub.com/astral-sh/ruff/pull/8393)) - Respect `--extend-per-file-ignores` on the CLI ([#​8329](https://togithub.com/astral-sh/ruff/pull/8329)) - Extend `bad-dunder-method-name` to permit `__index__` ([#​8300](https://togithub.com/astral-sh/ruff/pull/8300)) - Fix panic with 8 in octal escape ([#​8356](https://togithub.com/astral-sh/ruff/pull/8356)) - Avoid raising `D300` when both triple quote styles are present ([#​8462](https://togithub.com/astral-sh/ruff/pull/8462)) - Consider unterminated f-strings in `FStringRanges` ([#​8154](https://togithub.com/astral-sh/ruff/pull/8154)) - Avoid including literal `shell=True` for truthy, non-`True` diagnostics ([#​8359](https://togithub.com/astral-sh/ruff/pull/8359)) - Avoid triggering single-element test for starred expressions ([#​8433](https://togithub.com/astral-sh/ruff/pull/8433)) - Detect and ignore Jupyter automagics ([#​8398](https://togithub.com/astral-sh/ruff/pull/8398)) - Fix invalid E231 error with f-strings ([#​8369](https://togithub.com/astral-sh/ruff/pull/8369)) - Avoid triggering `NamedTuple` rewrite with starred annotation ([#​8434](https://togithub.com/astral-sh/ruff/pull/8434)) - Avoid un-setting bracket flag in logical lines ([#​8380](https://togithub.com/astral-sh/ruff/pull/8380)) - Place 'r' prefix before 'f' for raw format strings ([#​8464](https://togithub.com/astral-sh/ruff/pull/8464)) - Remove trailing periods from NumPy 2.0 code actions ([#​8475](https://togithub.com/astral-sh/ruff/pull/8475)) - Fix bug where `PLE1307` was raised when formatting `%c` with characters ([#​8407](https://togithub.com/astral-sh/ruff/pull/8407)) - Remove unicode flag from comparable ([#​8440](https://togithub.com/astral-sh/ruff/pull/8440)) - Improve B015 message ([#​8295](https://togithub.com/astral-sh/ruff/pull/8295)) - Use `fixedOverflowWidgets` for playground popover ([#​8458](https://togithub.com/astral-sh/ruff/pull/8458)) - Mark `byte_bounds` as a non-backwards-compatible NumPy 2.0 change ([#​8474](https://togithub.com/astral-sh/ruff/pull/8474)) ##### Internals - Add a dedicated cache directory per Ruff version ([#​8333](https://togithub.com/astral-sh/ruff/pull/8333)) - Allow selective caching for `--fix` and `--diff` ([#​8316](https://togithub.com/astral-sh/ruff/pull/8316)) - Improve performance of comment parsing ([#​8193](https://togithub.com/astral-sh/ruff/pull/8193)) - Improve performance of string parsing ([#​8227](https://togithub.com/astral-sh/ruff/pull/8227)) - Use a dedicated sort key for isort import sorting ([#​7963](https://togithub.com/astral-sh/ruff/pull/7963)) ### [`v0.1.3`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#013) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.1.2...v0.1.3) This release includes a variety of improvements to the Ruff formatter, removing several known and unintentional deviations from Black. ##### Formatter - Avoid space around pow for `None`, `True` and `False` ([#​8189](https://togithub.com/astral-sh/ruff/pull/8189)) - Avoid sorting all paths in the format command ([#​8181](https://togithub.com/astral-sh/ruff/pull/8181)) - Insert necessary blank line between class and leading comments ([#​8224](https://togithub.com/astral-sh/ruff/pull/8224)) - Avoid introducing new parentheses in annotated assignments ([#​8233](https://togithub.com/astral-sh/ruff/pull/8233)) - Refine the warnings about incompatible linter options ([#​8196](https://togithub.com/astral-sh/ruff/pull/8196)) - Add test and basic implementation for formatter preview mode ([#​8044](https://togithub.com/astral-sh/ruff/pull/8044)) - Refine warning about incompatible `isort` settings ([#​8192](https://togithub.com/astral-sh/ruff/pull/8192)) - Only omit optional parentheses for starting or ending with parentheses ([#​8238](https://togithub.com/astral-sh/ruff/pull/8238)) - Use source type to determine parser mode for formatting ([#​8205](https://togithub.com/astral-sh/ruff/pull/8205)) - Don't warn about magic trailing comma when `isort.force-single-line` is true ([#​8244](https://togithub.com/astral-sh/ruff/pull/8244)) - Use `SourceKind::diff` for formatter ([#​8240](https://togithub.com/astral-sh/ruff/pull/8240)) - Fix `fmt:off` with trailing child comment ([#​8234](https://togithub.com/astral-sh/ruff/pull/8234)) - Formatter parentheses support for `IpyEscapeCommand` ([#​8207](https://togithub.com/astral-sh/ruff/pull/8207)) ##### Linter - \[`pylint`] Add buffer methods to `bad-dunder-method-name` (`PLW3201`) exclusions ([#​8190](https://togithub.com/astral-sh/ruff/pull/8190)) - Match rule prefixes from `external` codes setting in `unused-noqa` ([#​8177](https://togithub.com/astral-sh/ruff/pull/8177)) - Use `line-length` setting for isort in lieu of `pycodestyle.max-line-length` ([#​8235](https://togithub.com/astral-sh/ruff/pull/8235)) - Update fix for `unnecessary-paren-on-raise-exception` to unsafe for unknown types ([#​8231](https://togithub.com/astral-sh/ruff/pull/8231)) - Correct quick fix message for `W605` ([#​8255](https://togithub.com/astral-sh/ruff/pull/8255)) ##### Documentation - Fix typo in max-doc-length documentation ([#​8201](https://togithub.com/astral-sh/ruff/pull/8201)) - Improve documentation around linter-formatter conflicts ([#​8257](https://togithub.com/astral-sh/ruff/pull/8257)) - Fix link to error suppression documentation in `unused-noqa` ([#​8172](https://togithub.com/astral-sh/ruff/pull/8172)) - Add `external` option to `unused-noqa` documentation ([#​8171](https://togithub.com/astral-sh/ruff/pull/8171)) - Add title attribute to icons ([#​8060](https://togithub.com/astral-sh/ruff/pull/8060)) - Clarify unsafe case in RSE102 ([#​8256](https://togithub.com/astral-sh/ruff/pull/8256)) - Fix skipping formatting examples ([#​8210](https://togithub.com/astral-sh/ruff/pull/8210)) - docs: fix name of `magic-trailing-comma` option in README ([#​8200](https://togithub.com/astral-sh/ruff/pull/8200)) - Add note about scope of rule changing in versioning policy ([#​8169](https://togithub.com/astral-sh/ruff/pull/8169)) - Document: Fix default lint rules ([#​8218](https://togithub.com/astral-sh/ruff/pull/8218)) - Fix a wrong setting in configuration.md ([#​8186](https://togithub.com/astral-sh/ruff/pull/8186)) - Fix misspelled TOML headers in the tutorial ([#​8209](https://togithub.com/astral-sh/ruff/pull/8209)) ### [`v0.1.2`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#012) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.1.1...v0.1.2) This release includes the Beta version of the Ruff formatter — an extremely fast, Black-compatible Python formatter. Try it today with `ruff format`! [Check out the blog post](https://astral.sh/blog/the-ruff-formatter) and [read the docs](https://docs.astral.sh/ruff/formatter/). ##### Preview features - \[`pylint`] Implement `non-ascii-module-import` (`C2403`) ([#​8056](https://togithub.com/astral-sh/ruff/pull/8056)) - \[`pylint`] implement `non-ascii-name` (`C2401`) ([#​8038](https://togithub.com/astral-sh/ruff/pull/8038)) - \[`pylint`] Implement unnecessary-lambda (W0108) ([#​7953](https://togithub.com/astral-sh/ruff/pull/7953)) - \[`refurb`] Implement `read-whole-file` (`FURB101`) ([#​7682](https://togithub.com/astral-sh/ruff/pull/7682)) - Add fix for `E223`, `E224`, and `E242` ([#​8143](https://togithub.com/astral-sh/ruff/pull/8143)) - Add fix for `E225`, `E226`, `E227`, and `E228` ([#​8136](https://togithub.com/astral-sh/ruff/pull/8136)) - Add fix for `E252` ([#​8142](https://togithub.com/astral-sh/ruff/pull/8142)) - Add fix for `E261` ([#​8114](https://togithub.com/astral-sh/ruff/pull/8114)) - Add fix for `E273` and `E274` ([#​8144](https://togithub.com/astral-sh/ruff/pull/8144)) - Add fix for `E275` ([#​8133](https://togithub.com/astral-sh/ruff/pull/8133)) - Update `SIM401` to catch ternary operations ([#​7415](https://togithub.com/astral-sh/ruff/pull/7415)) - Update `E721` to allow `is` and `is` not for direct type comparisons ([#​7905](https://togithub.com/astral-sh/ruff/pull/7905)) ##### Rule changes - Add `backports.strenum` to `deprecated-imports` ([#​8113](https://togithub.com/astral-sh/ruff/pull/8113)) - Update `SIM112` to ignore `https_proxy`, `http_proxy`, and `no_proxy` ([#​8140](https://togithub.com/astral-sh/ruff/pull/8140)) - Update fix for `literal-membership` (`PLR6201`) to be unsafe ([#​8097](https://togithub.com/astral-sh/ruff/pull/8097)) - Update fix for `mutable-argument-defaults` (`B006`) to be unsafe ([#​8108](https://togithub.com/astral-sh/ruff/pull/8108)) ##### Formatter - Change `line-ending` default to `auto` ([#​8057](https://togithub.com/astral-sh/ruff/pull/8057)) - Respect parenthesized generators in `has_own_parentheses` ([#​8100](https://togithub.com/astral-sh/ruff/pull/8100)) - Add caching to formatter ([#​8089](https://togithub.com/astral-sh/ruff/pull/8089)) - Remove `--line-length` option from `format` command ([#​8131](https://togithub.com/astral-sh/ruff/pull/8131)) - Add formatter to `line-length` documentation ([#​8150](https://togithub.com/astral-sh/ruff/pull/8150)) - Warn about incompatible formatter options ([#​8088](https://togithub.com/astral-sh/ruff/pull/8088)) - Fix range of unparenthesized tuple subject in match statement ([#​8101](https://togithub.com/astral-sh/ruff/pull/8101)) - Remove experimental formatter warning ([#​8148](https://togithub.com/astral-sh/ruff/pull/8148)) - Don't move type param opening parenthesis comment ([#​8163](https://togithub.com/astral-sh/ruff/pull/8163)) - Update versions in format benchmark script ([#​8110](https://togithub.com/astral-sh/ruff/pull/8110)) - Avoid loading files for cached format results ([#​8134](https://togithub.com/astral-sh/ruff/pull/8134)) ##### CLI - Show the `ruff format` command in help menus ([#​8167](https://togithub.com/astral-sh/ruff/pull/8167)) - Add `ruff version` command with long version display ([#​8034](https://togithub.com/astral-sh/ruff/pull/8034)) ##### Configuration - New `pycodestyle.max-line-length` option ([#​8039](https://togithub.com/astral-sh/ruff/pull/8039)) ##### Bug fixes - Detect `sys.version_info` slices in `outdated-version-block` ([#​8112](https://togithub.com/astral-sh/ruff/pull/8112)) - Avoid if-else simplification for `TYPE_CHECKING` blocks ([#​8072](https://togithub.com/astral-sh/ruff/pull/8072)) - Avoid false-positive print separator diagnostic with starred argument ([#​8079](https://togithub.com/astral-sh/ruff/pull/8079)) ##### Documentation - Fix message for `too-many-arguments` lint ([#​8092](https://togithub.com/astral-sh/ruff/pull/8092)) - Fix `extend-unsafe-fixes` and `extend-safe-fixes` example ([#​8139](https://togithub.com/astral-sh/ruff/pull/8139)) - Add links to `flake8-import-conventions` options ([#​8115](https://togithub.com/astral-sh/ruff/pull/8115)) - Rework the documentation to incorporate the Ruff formatter ([#​7732](https://togithub.com/astral-sh/ruff/pull/7732)) - Fix `Options` JSON schema description ([#​8081](https://togithub.com/astral-sh/ruff/pull/8081)) - Fix typo (`pytext` -> `pytest`) ([#​8117](https://togithub.com/astral-sh/ruff/pull/8117)) - Improve `magic-value-comparison` example in docs ([#​8111](https://togithub.com/astral-sh/ruff/pull/8111)) ### [`v0.1.1`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#011) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.1.0...v0.1.1) ##### Rule changes - Add unsafe fix for `escape-sequence-in-docstring` (`D301`) ([#​7970](https://togithub.com/astral-sh/ruff/pull/7970)) ##### Configuration - Respect `#(deprecated)` attribute in configuration options ([#​8035](https://togithub.com/astral-sh/ruff/pull/8035)) - Add `[format|lint].exclude` options ([#​8000](https://togithub.com/astral-sh/ruff/pull/8000)) - Respect `tab-size` setting in formatter ([#​8006](https://togithub.com/astral-sh/ruff/pull/8006)) - Add `lint.preview` ([#​8002](https://togithub.com/astral-sh/ruff/pull/8002)) ##### Preview features - \[`pylint`] Implement `literal-membership` (`PLR6201`) ([#​7973](https://togithub.com/astral-sh/ruff/pull/7973)) - \[`pylint`] Implement `too-many-boolean-expressions` (`PLR0916`) ([#​7975](https://togithub.com/astral-sh/ruff/pull/7975)) - \[`pylint`] Implement `misplaced-bare-raise` (`E0704`) ([#​7961](https://togithub.com/astral-sh/ruff/pull/7961)) - \[`pylint`] Implement `global-at-module-level` (`W0604`) ([#​8058](https://togithub.com/astral-sh/ruff/pull/8058)) - \[`pylint`] Implement `unspecified-encoding` (`PLW1514`) ([#​7939](https://togithub.com/astral-sh/ruff/pull/7939)) - Add fix for `triple-single-quotes` (`D300`) ([#​7967](https://togithub.com/astral-sh/ruff/pull/7967)) ##### Formatter - New code style badge for `ruff format` ([#​7878](https://togithub.com/astral-sh/ruff/pull/7878)) - Fix comments outside expression parentheses ([#​7873](https://togithub.com/astral-sh/ruff/pull/7873)) - Add `--target-version` to `ruff format` ([#​8055](https://togithub.com/astral-sh/ruff/pull/8055)) - Skip over parentheses when detecting `in` keyword ([#​8054](https://togithub.com/astral-sh/ruff/pull/8054)) - Add `--diff` option to `ruff format` ([#​7937](https://togithub.com/astral-sh/ruff/pull/7937)) - Insert newline after nested function or class statements ([#​7946](https://togithub.com/astral-sh/ruff/pull/7946)) - Use `pass` over ellipsis in non-function/class contexts ([#​8049](https://togithub.com/astral-sh/ruff/pull/8049)) ##### Bug fixes - Lazily evaluate all PEP 695 type alias values ([#​8033](https://togithub.com/astral-sh/ruff/pull/8033)) - Avoid failed assertion when showing fixes from stdin ([#​8029](https://togithub.com/astral-sh/ruff/pull/8029)) - Avoid flagging HTTP and HTTPS literals in urllib-open ([#​8046](https://togithub.com/astral-sh/ruff/pull/8046)) - Avoid flagging `bad-dunder-method-name` for `_` ([#​8015](https://togithub.com/astral-sh/ruff/pull/8015)) - Remove Python 2-only methods from `URLOpen` audit ([#​8047](https://togithub.com/astral-sh/ruff/pull/8047)) - Use set bracket replacement for `iteration-over-set` to preserve whitespace and comments ([#​8001](https://togithub.com/astral-sh/ruff/pull/8001)) ##### Documentation - Update tutorial to match revised Ruff defaults ([#​8066](https://togithub.com/astral-sh/ruff/pull/8066)) - Update rule `B005` docs ([#​8028](https://togithub.com/astral-sh/ruff/pull/8028)) - Update GitHub actions example in docs to use `--output-format` ([#​8014](https://togithub.com/astral-sh/ruff/pull/8014)) - Document `lint.preview` and `format.preview` ([#​8032](https://togithub.com/astral-sh/ruff/pull/8032)) - Clarify that new rules should be added to `RuleGroup::Preview`. ([#​7989](https://togithub.com/astral-sh/ruff/pull/7989)) </details> <details> <summary>pytest-dev/pytest (pytest/pytest)</summary> ### [`v7.4.3`](https://togithub.com/pytest-dev/pytest/releases/tag/v7.4.3): pytest 7.4.3 (2023-10-24) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.4.2...v7.4.3) ## Bug Fixes - [#​10447](https://togithub.com/pytest-dev/pytest/issues/10447): Markers are now considered in the reverse mro order to ensure base class markers are considered first -- this resolves a regression. - [#​11239](https://togithub.com/pytest-dev/pytest/issues/11239): Fixed `:=` in asserts impacting unrelated test cases. - [#​11439](https://togithub.com/pytest-dev/pytest/issues/11439): Handled an edge case where :data:`sys.stderr` might already be closed when :ref:`faulthandler` is tearing down. </details> <details> <summary>pytest-dev/pytest-mock (pytest/pytest-mock)</summary> ### [`v3.12.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3120-2023-10-19) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.11.1...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`\_). .. \_#390:[https://github.com/pytest-dev/pytest-mock/pull/390](https://togithub.com/pytest-dev/pytest-mock/pull/390)0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every 3 months on the first day of the month" (UTC), 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/AlexWaygood/typeshed-stats). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Bumps the dev group with 6 updates: | Package | From | To | | --- | --- | --- | | [ipython](https://github.com/ipython/ipython) | `8.16.1` | `8.17.2` | | [mypy](https://github.com/python/mypy) | `1.6.0` | `1.6.1` | | [pytest](https://github.com/pytest-dev/pytest) | `7.4.2` | `7.4.3` | | [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.11.1` | `3.12.0` | | [black](https://github.com/psf/black) | `23.9.1` | `23.11.0` | | [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.87.4` | `6.88.3` | Updates `ipython` from 8.16.1 to 8.17.2 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/ipython/ipython/commits/8.17.2">compare view</a></li> </ul> </details> <br /> Updates `mypy` from 1.6.0 to 1.6.1 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/9b891fe5a101ecbb818f3f16641ab909f289ba04"><code>9b891fe</code></a> Remove +dev from version</li> <li><a href="https://github.com/python/mypy/commit/6b6504eb8a96fa6a9c7b8f034803eb9a0444fe86"><code>6b6504e</code></a> Fix crash on ParamSpec unification (for real) (<a href="https://redirect.github.com/python/mypy/issues/16259">#16259</a>)</li> <li><a href="https://github.com/python/mypy/commit/eb81e63e9dec4dd4c75b307871d1ef9b3e350838"><code>eb81e63</code></a> Fix crash on ParamSpec unification (<a href="https://redirect.github.com/python/mypy/issues/16251">#16251</a>)</li> <li><a href="https://github.com/python/mypy/commit/45f7a12e558e4a48446af3b36494dcb4045c1028"><code>45f7a12</code></a> Add +dev to version</li> <li>See full diff in <a href="https://github.com/python/mypy/compare/v1.6.0...v1.6.1">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 7.4.2 to 7.4.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>pytest 7.4.3 (2023-10-24)</h2> <h2>Bug Fixes</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10447">#10447</a>: Markers are now considered in the reverse mro order to ensure base class markers are considered first -- this resolves a regression.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11239">#11239</a>: Fixed <code>:=</code> in asserts impacting unrelated test cases.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11439">#11439</a>: Handled an edge case where :data:<code>sys.stderr</code> might already be closed when :ref:<code>faulthandler</code> is tearing down.</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/23906106968eb95afbd61adfbc7bbb795fc9aaa9"><code>2390610</code></a> Tweak changelog.rst</li> <li><a href="https://github.com/pytest-dev/pytest/commit/a0714aa0076f38e6fb8c7321e8bb4f5f33d1792d"><code>a0714aa</code></a> Prepare release version 7.4.3</li> <li><a href="https://github.com/pytest-dev/pytest/commit/44ad1c9811d2ebf540e601ea66b9bebf8ea82969"><code>44ad1c9</code></a> [7.4.x] fix <a href="https://redirect.github.com/pytest-dev/pytest/issues/10447">#10447</a> - consider marks in reverse mro order to give base classes...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/5dc77253d439038ac64c55a5a48692ac3a53db2e"><code>5dc7725</code></a> [7.4.x] Ensure logging tests always cleanup after themselves (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11541">#11541</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/a5178273183ddbda0ef4e4c6aa2b92aab086776b"><code>a517827</code></a> [7.4.x] Configure ReadTheDocs to fail on warnings (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11540">#11540</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/21fe071d797612468fa18dd0ae4d6dbf49846b6d"><code>21fe071</code></a> [7.4.x] fix for ValueError raised in faulthandler teardown code (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11455">#11455</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/f8bb8572fed8627946bfc82819d24b138d587257"><code>f8bb857</code></a> Force terminal width when running tests (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11425">#11425</a>) (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11432">#11432</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/1944dc06d39404ae9869b544dc2e2b482bf472e2"><code>1944dc0</code></a> [7.4.x] Fix --import-mode=importlib when root contains <code>__init__.py</code> file (<a href="https://redirect.github.com/pytest-dev/pytest/issues/1">#1</a>...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/946634c84cf074a1ead10bdba56ddf3e5408e95c"><code>946634c</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/11419">#11419</a> from nicoddemus/backport-11414-to-7.4.x</li> <li><a href="https://github.com/pytest-dev/pytest/commit/d849a3ed64c6da63a0e3713892a7bfefdd56acaf"><code>d849a3e</code></a> [7.4.x] fix: closes <a href="https://redirect.github.com/pytest-dev/pytest/issues/11343">#11343</a>'s [attr-defined] type errors (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11421">#11421</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/7.4.2...7.4.3">compare view</a></li> </ul> </details> <br /> Updates `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>[#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 /> Updates `black` from 23.9.1 to 23.11.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>23.11.0</h2> <h3>Highlights</h3> <ul> <li>Support formatting ranges of lines with the new <code>--line-ranges</code> command-line option (<a href="https://redirect.github.com/psf/black/issues/4020">#4020</a>)</li> </ul> <h3>Stable style</h3> <ul> <li>Fix crash on formatting bytes strings that look like docstrings (<a href="https://redirect.github.com/psf/black/issues/4003">#4003</a>)</li> <li>Fix crash when whitespace followed a backslash before newline in a docstring (<a href="https://redirect.github.com/psf/black/issues/4008">#4008</a>)</li> <li>Fix standalone comments inside complex blocks crashing Black (<a href="https://redirect.github.com/psf/black/issues/4016">#4016</a>)</li> <li>Fix crash on formatting code like <code>await (a ** b)</code> (<a href="https://redirect.github.com/psf/black/issues/3994">#3994</a>)</li> <li>No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash (<a href="https://redirect.github.com/psf/black/issues/4019">#4019</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Multiline dicts and lists that are the sole argument to a function are now indented less (<a href="https://redirect.github.com/psf/black/issues/3964">#3964</a>)</li> <li>Multiline unpacked dicts and lists as the sole argument to a function are now also indented less (<a href="https://redirect.github.com/psf/black/issues/3992">#3992</a>)</li> <li>In f-string debug expressions, quote types that are visible in the final string are now preserved (<a href="https://redirect.github.com/psf/black/issues/4005">#4005</a>)</li> <li>Fix a bug where long <code>case</code> blocks were not split into multiple lines. Also enable general trailing comma rules on <code>case</code> blocks (<a href="https://redirect.github.com/psf/black/issues/4024">#4024</a>)</li> <li>Keep requiring two empty lines between module-level docstring and first function or class definition (<a href="https://redirect.github.com/psf/black/issues/4028">#4028</a>)</li> <li>Add support for single-line format skip with other comments on the same line (<a href="https://redirect.github.com/psf/black/issues/3959">#3959</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Consistently apply force exclusion logic before resolving symlinks (<a href="https://redirect.github.com/psf/black/issues/4015">#4015</a>)</li> <li>Fix a bug in the matching of absolute path names in <code>--include</code> (<a href="https://redirect.github.com/psf/black/issues/3976">#3976</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix mypyc builds on arm64 on macOS (<a href="https://redirect.github.com/psf/black/issues/4017">#4017</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Black's pre-commit integration will now run only on git hooks appropriate for a code formatter (<a href="https://redirect.github.com/psf/black/issues/3940">#3940</a>)</li> </ul> <h2>23.10.1</h2> <h3>Highlights</h3> <ul> <li>Maintanence release to get a fix out for GitHub Action edge case (<a href="https://redirect.github.com/psf/black/issues/3957">#3957</a>)</li> </ul> <h3>Preview style</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>23.11.0</h2> <h3>Highlights</h3> <ul> <li>Support formatting ranges of lines with the new <code>--line-ranges</code> command-line option (<a href="https://redirect.github.com/psf/black/issues/4020">#4020</a>)</li> </ul> <h3>Stable style</h3> <ul> <li>Fix crash on formatting bytes strings that look like docstrings (<a href="https://redirect.github.com/psf/black/issues/4003">#4003</a>)</li> <li>Fix crash when whitespace followed a backslash before newline in a docstring (<a href="https://redirect.github.com/psf/black/issues/4008">#4008</a>)</li> <li>Fix standalone comments inside complex blocks crashing Black (<a href="https://redirect.github.com/psf/black/issues/4016">#4016</a>)</li> <li>Fix crash on formatting code like <code>await (a ** b)</code> (<a href="https://redirect.github.com/psf/black/issues/3994">#3994</a>)</li> <li>No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash (<a href="https://redirect.github.com/psf/black/issues/4019">#4019</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Multiline dicts and lists that are the sole argument to a function are now indented less (<a href="https://redirect.github.com/psf/black/issues/3964">#3964</a>)</li> <li>Multiline unpacked dicts and lists as the sole argument to a function are now also indented less (<a href="https://redirect.github.com/psf/black/issues/3992">#3992</a>)</li> <li>In f-string debug expressions, quote types that are visible in the final string are now preserved (<a href="https://redirect.github.com/psf/black/issues/4005">#4005</a>)</li> <li>Fix a bug where long <code>case</code> blocks were not split into multiple lines. Also enable general trailing comma rules on <code>case</code> blocks (<a href="https://redirect.github.com/psf/black/issues/4024">#4024</a>)</li> <li>Keep requiring two empty lines between module-level docstring and first function or class definition (<a href="https://redirect.github.com/psf/black/issues/4028">#4028</a>)</li> <li>Add support for single-line format skip with other comments on the same line (<a href="https://redirect.github.com/psf/black/issues/3959">#3959</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Consistently apply force exclusion logic before resolving symlinks (<a href="https://redirect.github.com/psf/black/issues/4015">#4015</a>)</li> <li>Fix a bug in the matching of absolute path names in <code>--include</code> (<a href="https://redirect.github.com/psf/black/issues/3976">#3976</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix mypyc builds on arm64 on macOS (<a href="https://redirect.github.com/psf/black/issues/4017">#4017</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Black's pre-commit integration will now run only on git hooks appropriate for a code formatter (<a href="https://redirect.github.com/psf/black/issues/3940">#3940</a>)</li> </ul> <h2>23.10.1</h2> <h3>Highlights</h3> <ul> <li>Maintenance release to get a fix out for GitHub Action edge case (<a href="https://redirect.github.com/psf/black/issues/3957">#3957</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/2a1c67e0b2f81df602ec1f6e7aeb030b9709dc7c"><code>2a1c67e</code></a> Prepare release 23.11.0 (<a href="https://redirect.github.com/psf/black/issues/4032">#4032</a>)</li> <li><a href="https://github.com/psf/black/commit/72e7a2e43eef2aa0c83652bb6725eb004a2a69f3"><code>72e7a2e</code></a> Remove redundant condition from <code>has_magic_trailing_comma</code> (<a href="https://redirect.github.com/psf/black/issues/4023">#4023</a>)</li> <li><a href="https://github.com/psf/black/commit/1a7d9c2f58de1ffcbbe6d133f60f283601ba3f54"><code>1a7d9c2</code></a> Preserve visible quote types for f-string debug expressions (<a href="https://redirect.github.com/psf/black/issues/4005">#4005</a>)</li> <li><a href="https://github.com/psf/black/commit/f4c7be5445c87d9af5eba3d12faea62d2635e3d8"><code>f4c7be5</code></a> docs: fix minor typo (<a href="https://redirect.github.com/psf/black/issues/4030">#4030</a>)</li> <li><a href="https://github.com/psf/black/commit/2e4fac9d87615e904a49e46a9cab2293e0b13126"><code>2e4fac9</code></a> Apply force exclude logic before symlink resolution (<a href="https://redirect.github.com/psf/black/issues/4015">#4015</a>)</li> <li><a href="https://github.com/psf/black/commit/66008fda5dc07f5626e5f5d0dcefc476a9c12ab8"><code>66008fd</code></a> [563] Fix standalone comments inside complex blocks crashing Black (<a href="https://redirect.github.com/psf/black/issues/4016">#4016</a>)</li> <li><a href="https://github.com/psf/black/commit/50ed6221d97b265025abaa66116a7b185f2df5e2"><code>50ed622</code></a> Fix long case blocks not split into multiple lines (<a href="https://redirect.github.com/psf/black/issues/4024">#4024</a>)</li> <li><a href="https://github.com/psf/black/commit/46be1f8e54ac9a7d67723c0fa28c7bec13a0a2bf"><code>46be1f8</code></a> Support formatting specified lines (<a href="https://redirect.github.com/psf/black/issues/4020">#4020</a>)</li> <li><a href="https://github.com/psf/black/commit/ecbd9e8cf71f13068c7e6803a534e00363114c91"><code>ecbd9e8</code></a> Fix crash with f-string docstrings (<a href="https://redirect.github.com/psf/black/issues/4019">#4019</a>)</li> <li><a href="https://github.com/psf/black/commit/e808e61db8c7a8f9c7fd4b2fff2281141f6b2517"><code>e808e61</code></a> Preview: Keep requiring two empty lines between module-level docstring and fi...</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/23.9.1...23.11.0">compare view</a></li> </ul> </details> <br /> Updates `hypothesis` from 6.87.4 to 6.88.3 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/a35c0cc89fb21b132993cdf56c2715966e572a90"><code>a35c0cc</code></a> Bump hypothesis-python version to 6.88.3 and update changelog</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/5afa50242628c4d62f8aed03ca9f85686856b50a"><code>5afa502</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/3785">#3785</a> from Zac-HD/tuples-cleanup</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/345207a808c8c2cfc5da7f28a2c811dd9eb5b0d3"><code>345207a</code></a> fix generic tuples on py38</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/a83681330e472f031c3777dfc053483619573f9a"><code>a836813</code></a> Allow registration of tuples</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/5401530075b680cbc8f9e92b83ab603003854063"><code>5401530</code></a> Bump hypothesis-python version to 6.88.2 and update changelog</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/a04236db36085e7ba5c2febde1c2982cf2f7463e"><code>a04236d</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/3776">#3776</a> from tybug/sys-monitoring</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/66af9e6e2d6e6f6d63872e45b8300f1f2028f989"><code>66af9e6</code></a> fix missing cross-reference</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/88ab8a934c0412f8d7b3878d10c9ced5fbdd5605"><code>88ab8a9</code></a> Get CI passing</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/892bf41d650d574c5320cb7b0c21e2a6d323424e"><code>892bf41</code></a> Remove explicit Python-version check</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/5438873e2960bdf6c9d2f52d1ed8390689bbda63"><code>5438873</code></a> Update pinned dependencies</li> <li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.87.4...hypothesis-python-6.88.3">compare view</a></li> </ul> </details> <br /> 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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details>
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 /> [](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [black](https://togithub.com/psf/black) ([changelog](https://togithub.com/psf/black/blob/main/CHANGES.md)) | `23.3.0` -> `23.11.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/) | | [flake8-bugbear](https://togithub.com/PyCQA/flake8-bugbear#change-log) ([changelog](https://togithub.com/PyCQA/flake8-bugbear#change-log)) | `23.3.12` -> `23.12.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [flake8-builtins](https://togithub.com/gforcada/flake8-builtins) ([changelog](https://togithub.com/gforcada/flake8-builtins/blob/main/CHANGES.rst)) | `2.1.0` -> `2.2.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/) | | [flake8-comprehensions](https://togithub.com/adamchainz/flake8-comprehensions) ([changelog](https://togithub.com/adamchainz/flake8-comprehensions/blob/main/CHANGELOG.rst)) | `3.13.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/) | | [flake8-pytest-style](https://pypi.org/project/flake8-pytest-style) ([source](https://togithub.com/m-burst/flake8-pytest-style)) | `1.6.0` -> `1.7.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [isort](https://pycqa.github.io/isort/) ([source](https://togithub.com/pycqa/isort), [changelog](https://togithub.com/pycqa/isort/blob/main/CHANGELOG.md)) | `5.11.5` -> `5.12.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/) | | [mypy](https://www.mypy-lang.org/) ([source](https://togithub.com/python/mypy), [changelog](https://mypy-lang.blogspot.com/)) | `1.4.1` -> `1.7.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pytest-icdiff](https://togithub.com/hjwp/pytest-icdiff) | `0.8` -> `0.9` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pytest-mock](https://togithub.com/pytest-dev/pytest-mock) ([changelog](https://pytest-mock.readthedocs.io/en/latest/changelog.html)) | `3.11.1` -> `3.12.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/) | | [responses](https://togithub.com/getsentry/responses) ([changelog](https://togithub.com/getsentry/responses/blob/master/CHANGES)) | `0.23.3` -> `0.24.1` | [](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>psf/black (black)</summary> ### [`v23.11.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23110) [Compare Source](https://togithub.com/psf/black/compare/23.10.1...23.11.0) ##### Highlights - Support formatting ranges of lines with the new `--line-ranges` command-line option ([#​4020](https://togithub.com/psf/black/issues/4020)) ##### Stable style - Fix crash on formatting bytes strings that look like docstrings ([#​4003](https://togithub.com/psf/black/issues/4003)) - Fix crash when whitespace followed a backslash before newline in a docstring ([#​4008](https://togithub.com/psf/black/issues/4008)) - Fix standalone comments inside complex blocks crashing Black ([#​4016](https://togithub.com/psf/black/issues/4016)) - Fix crash on formatting code like `await (a ** b)` ([#​3994](https://togithub.com/psf/black/issues/3994)) - No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash ([#​4019](https://togithub.com/psf/black/issues/4019)) ##### Preview style - Multiline dicts and lists that are the sole argument to a function are now indented less ([#​3964](https://togithub.com/psf/black/issues/3964)) - Multiline unpacked dicts and lists as the sole argument to a function are now also indented less ([#​3992](https://togithub.com/psf/black/issues/3992)) - In f-string debug expressions, quote types that are visible in the final string are now preserved ([#​4005](https://togithub.com/psf/black/issues/4005)) - Fix a bug where long `case` blocks were not split into multiple lines. Also enable general trailing comma rules on `case` blocks ([#​4024](https://togithub.com/psf/black/issues/4024)) - Keep requiring two empty lines between module-level docstring and first function or class definition ([#​4028](https://togithub.com/psf/black/issues/4028)) - Add support for single-line format skip with other comments on the same line ([#​3959](https://togithub.com/psf/black/issues/3959)) ##### Configuration - Consistently apply force exclusion logic before resolving symlinks ([#​4015](https://togithub.com/psf/black/issues/4015)) - Fix a bug in the matching of absolute path names in `--include` ([#​3976](https://togithub.com/psf/black/issues/3976)) ##### Performance - Fix mypyc builds on arm64 on macOS ([#​4017](https://togithub.com/psf/black/issues/4017)) ##### Integrations - Black's pre-commit integration will now run only on git hooks appropriate for a code formatter ([#​3940](https://togithub.com/psf/black/issues/3940)) ### [`v23.10.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23101) [Compare Source](https://togithub.com/psf/black/compare/23.10.0...23.10.1) ##### Highlights - Maintenance release to get a fix out for GitHub Action edge case ([#​3957](https://togithub.com/psf/black/issues/3957)) ##### Preview style - Fix merging implicit multiline strings that have inline comments ([#​3956](https://togithub.com/psf/black/issues/3956)) - Allow empty first line after block open before a comment or compound statement ([#​3967](https://togithub.com/psf/black/issues/3967)) ##### Packaging - Change Dockerfile to hatch + compile black ([#​3965](https://togithub.com/psf/black/issues/3965)) ##### Integrations - The summary output for GitHub workflows is now suppressible using the `summary` parameter. ([#​3958](https://togithub.com/psf/black/issues/3958)) - Fix the action failing when Black check doesn't pass ([#​3957](https://togithub.com/psf/black/issues/3957)) ##### Documentation - It is known Windows documentation CI is broken [https://github.com/psf/black/issues/3968](https://togithub.com/psf/black/issues/3968)3968 ### [`v23.10.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23100) [Compare Source](https://togithub.com/psf/black/compare/23.9.1...23.10.0) ##### Stable style - Fix comments getting removed from inside parenthesized strings ([#​3909](https://togithub.com/psf/black/issues/3909)) ##### Preview style - Fix long lines with power operators getting split before the line length ([#​3942](https://togithub.com/psf/black/issues/3942)) - Long type hints are now wrapped in parentheses and properly indented when split across multiple lines ([#​3899](https://togithub.com/psf/black/issues/3899)) - Magic trailing commas are now respected in return types. ([#​3916](https://togithub.com/psf/black/issues/3916)) - Require one empty line after module-level docstrings. ([#​3932](https://togithub.com/psf/black/issues/3932)) - Treat raw triple-quoted strings as docstrings ([#​3947](https://togithub.com/psf/black/issues/3947)) ##### Configuration - Fix cache versioning logic when `BLACK_CACHE_DIR` is set ([#​3937](https://togithub.com/psf/black/issues/3937)) ##### Parser - Fix bug where attributes named `type` were not acccepted inside `match` statements ([#​3950](https://togithub.com/psf/black/issues/3950)) - Add support for PEP 695 type aliases containing lambdas and other unusual expressions ([#​3949](https://togithub.com/psf/black/issues/3949)) ##### Output - Black no longer attempts to provide special errors for attempting to format Python 2 code ([#​3933](https://togithub.com/psf/black/issues/3933)) - Black will more consistently print stacktraces on internal errors in verbose mode ([#​3938](https://togithub.com/psf/black/issues/3938)) ##### Integrations - The action output displayed in the job summary is now wrapped in Markdown ([#​3914](https://togithub.com/psf/black/issues/3914)) ### [`v23.9.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2391) [Compare Source](https://togithub.com/psf/black/compare/23.9.0...23.9.1) Due to various issues, the previous release (23.9.0) did not include compiled mypyc wheels, which make Black significantly faster. These issues have now been fixed, and this release should come with compiled wheels once again. There will be no wheels for Python 3.12 due to a bug in mypyc. We will provide 3.12 wheels in a future release as soon as the mypyc bug is fixed. ##### Packaging - Upgrade to mypy 1.5.1 ([#​3864](https://togithub.com/psf/black/issues/3864)) ##### Performance - Store raw tuples instead of NamedTuples in Black's cache, improving performance and decreasing the size of the cache ([#​3877](https://togithub.com/psf/black/issues/3877)) ### [`v23.9.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2390) [Compare Source](https://togithub.com/psf/black/compare/23.7.0...23.9.0) ##### Preview style - More concise formatting for dummy implementations ([#​3796](https://togithub.com/psf/black/issues/3796)) - In stub files, add a blank line between a statement with a body (e.g an `if sys.version_info > (3, x):`) and a function definition on the same level ([#​3862](https://togithub.com/psf/black/issues/3862)) - Fix a bug whereby spaces were removed from walrus operators within subscript([#​3823](https://togithub.com/psf/black/issues/3823)) ##### Configuration - Black now applies exclusion and ignore logic before resolving symlinks ([#​3846](https://togithub.com/psf/black/issues/3846)) ##### Performance - Avoid importing `IPython` if notebook cells do not contain magics ([#​3782](https://togithub.com/psf/black/issues/3782)) - Improve caching by comparing file hashes as fallback for mtime and size ([#​3821](https://togithub.com/psf/black/issues/3821)) ##### *Blackd* - Fix an issue in `blackd` with single character input ([#​3558](https://togithub.com/psf/black/issues/3558)) ##### Integrations - Black now has an [official pre-commit mirror](https://togithub.com/psf/black-pre-commit-mirror). Swapping `https://github.com/psf/black` to `https://github.com/psf/black-pre-commit-mirror` in your `.pre-commit-config.yaml` will make Black about 2x faster ([#​3828](https://togithub.com/psf/black/issues/3828)) - The `.black.env` folder specified by `ENV_PATH` will now be removed on the completion of the GitHub Action ([#​3759](https://togithub.com/psf/black/issues/3759)) ### [`v23.7.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2370) [Compare Source](https://togithub.com/psf/black/compare/23.3.0...23.7.0) ##### Highlights - Runtime support for Python 3.7 has been removed. Formatting 3.7 code will still be supported until further notice ([#​3765](https://togithub.com/psf/black/issues/3765)) ##### Stable style - Fix a bug where an illegal trailing comma was added to return type annotations using PEP 604 unions ([#​3735](https://togithub.com/psf/black/issues/3735)) - Fix several bugs and crashes where comments in stub files were removed or mishandled under some circumstances ([#​3745](https://togithub.com/psf/black/issues/3745)) - Fix a crash with multi-line magic comments like `type: ignore` within parentheses ([#​3740](https://togithub.com/psf/black/issues/3740)) - Fix error in AST validation when *Black* removes trailing whitespace in a type comment ([#​3773](https://togithub.com/psf/black/issues/3773)) ##### Preview style - Implicitly concatenated strings used as function args are no longer wrapped inside parentheses ([#​3640](https://togithub.com/psf/black/issues/3640)) - Remove blank lines between a class definition and its docstring ([#​3692](https://togithub.com/psf/black/issues/3692)) ##### Configuration - The `--workers` argument to *Black* can now be specified via the `BLACK_NUM_WORKERS` environment variable ([#​3743](https://togithub.com/psf/black/issues/3743)) - `.pytest_cache`, `.ruff_cache` and `.vscode` are now excluded by default ([#​3691](https://togithub.com/psf/black/issues/3691)) - Fix *Black* not honouring `pyproject.toml` settings when running `--stdin-filename` and the `pyproject.toml` found isn't in the current working directory ([#​3719](https://togithub.com/psf/black/issues/3719)) - *Black* will now error if `exclude` and `extend-exclude` have invalid data types in `pyproject.toml`, instead of silently doing the wrong thing ([#​3764](https://togithub.com/psf/black/issues/3764)) ##### Packaging - Upgrade mypyc from 0.991 to 1.3 ([#​3697](https://togithub.com/psf/black/issues/3697)) - Remove patching of Click that mitigated errors on Python 3.6 with `LANG=C` ([#​3768](https://togithub.com/psf/black/issues/3768)) ##### Parser - Add support for the new PEP 695 syntax in Python 3.12 ([#​3703](https://togithub.com/psf/black/issues/3703)) ##### Performance - Speed up *Black* significantly when the cache is full ([#​3751](https://togithub.com/psf/black/issues/3751)) - Avoid importing `IPython` in a case where we wouldn't need it ([#​3748](https://togithub.com/psf/black/issues/3748)) ##### Output - Use aware UTC datetimes internally, avoids deprecation warning on Python 3.12 ([#​3728](https://togithub.com/psf/black/issues/3728)) - Change verbose logging to exactly mirror *Black*'s logic for source discovery ([#​3749](https://togithub.com/psf/black/issues/3749)) ##### *Blackd* - The `blackd` argument parser now shows the default values for options in their help text ([#​3712](https://togithub.com/psf/black/issues/3712)) ##### Integrations - Black is now tested with [`PYTHONWARNDEFAULTENCODING = 1`](https://docs.python.org/3/library/io.html#io-encoding-warning) ([#​3763](https://togithub.com/psf/black/issues/3763)) - Update GitHub Action to display black output in the job summary ([#​3688](https://togithub.com/psf/black/issues/3688)) ##### Documentation - Add a CITATION.cff file to the root of the repository, containing metadata on how to cite this software ([#​3723](https://togithub.com/psf/black/issues/3723)) - Update the *classes* and *exceptions* documentation in Developer reference to match the latest code base ([#​3755](https://togithub.com/psf/black/issues/3755)) </details> <details> <summary>PyCQA/flake8-bugbear (flake8-bugbear)</summary> ### [`v23.12.2`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.12.2) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.11.28...23.12.2) - B018: to detect useless-statements at all levels ([#​434](https://togithub.com/PyCQA/flake8-bugbear/issues/434)) - B018: Add classname to b018 useless-expression output ([#​433](https://togithub.com/PyCQA/flake8-bugbear/issues/433)) - B018: Include tuples in b018 useless-statement check ([#​432](https://togithub.com/PyCQA/flake8-bugbear/issues/432)) ### [`v23.11.28`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.11.28) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.11.26...23.11.28) - B035: Fix false positive when named expressions are used ([#​430](https://togithub.com/PyCQA/flake8-bugbear/issues/430)) ### [`v23.11.26`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.11.26) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.9.16...23.11.26) - B035: add check for static keys in dict-comprehension ([#​426](https://togithub.com/PyCQA/flake8-bugbear/issues/426)) - B902: Add exceptions for standard library metaclasses ([#​415](https://togithub.com/PyCQA/flake8-bugbear/issues/415)) - B017: Modify to no longer have a false negative when raises() is imported directly from pytest ([#​424](https://togithub.com/PyCQA/flake8-bugbear/issues/424)) - B026: Fix bug where the check was not triggered for calls where the caller is an attribute ([#​420](https://togithub.com/PyCQA/flake8-bugbear/issues/420)) ### [`v23.9.16`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.9.16) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.7.10...23.9.16) - add --classmethod-decorators ([#​405](https://togithub.com/PyCQA/flake8-bugbear/issues/405)) - fix name collision for node_stack on python 3.12 ([#​406](https://togithub.com/PyCQA/flake8-bugbear/issues/406)) - Use pypa/build to build the package ([#​404](https://togithub.com/PyCQA/flake8-bugbear/issues/404)) ### [`v23.7.10`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.7.10) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.6.5...23.7.10) - Add B034: re.sub/subn/split must pass flags/count/maxsplit as keyword arguments. - Fix a crash and several test failures on Python 3.12, all relating to the B907 check. - Declare support for Python 3.12. ### [`v23.6.5`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.6.5) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.5.9...23.6.5) - Include tox.ini in MANIFEST.in for sdist. ([#​389](https://togithub.com/PyCQA/flake8-bugbear/issues/389)) - Improve B033 (duplicate set items) ([#​385](https://togithub.com/PyCQA/flake8-bugbear/issues/385)) ### [`v23.5.9`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.5.9) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.3.23...23.5.9) - Add B033: Detect duplicate items in sets - Add B908: Detect assertRauses like contexts only has top level statements that could throw - Add B028: Allow stacklevel to be explicitly assigned as a positional argument - Remove more < 3.8 checks / assertions ### [`v23.3.23`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.3.23) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.3.12...23.3.23) - flake8-bugbear is now >= 3.8.1 project like flake8>=6.0.0 - This has allowed some more modern AST usage cleanup and less CI running etc. - B030: Fix crash on certain unusual except handlers (e.g. `except a[0].b:`) </details> <details> <summary>gforcada/flake8-builtins (flake8-builtins)</summary> ### [`v2.2.0`](https://togithub.com/gforcada/flake8-builtins/blob/HEAD/CHANGES.rst#220-2023-11-03) [Compare Source](https://togithub.com/gforcada/flake8-builtins/compare/2.1.0...2.2.0) - Use `tox` and `pre-commit` to ease project maintenance. \[gforcada] </details> <details> <summary>adamchainz/flake8-comprehensions (flake8-comprehensions)</summary> ### [`v3.14.0`](https://togithub.com/adamchainz/flake8-comprehensions/blob/HEAD/CHANGELOG.rst#3140-2023-07-10) [Compare Source](https://togithub.com/adamchainz/flake8-comprehensions/compare/3.13.0...3.14.0) - Drop Python 3.7 support. </details> <details> <summary>m-burst/flake8-pytest-style (flake8-pytest-style)</summary> ### [`v1.7.2`](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.1...v1.7.2) [Compare Source](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.1...v1.7.2) ### [`v1.7.1`](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.0...v1.7.1) [Compare Source](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.0...v1.7.1) ### [`v1.7.0`](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.6.0...v1.7.0) [Compare Source](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.6.0...v1.7.0) </details> <details> <summary>pycqa/isort (isort)</summary> ### [`v5.12.0`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5120-January-28-2023) [Compare Source](https://togithub.com/pycqa/isort/compare/5.11.5...5.12.0) - Removed support for Python 3.7 - Fixed incompatiblity with latest poetry version - Added support for directory limitations within built in git hook </details> <details> <summary>python/mypy (mypy)</summary> ### [`v1.7.1`](https://togithub.com/python/mypy/compare/v1.7.0...v1.7.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.7.0...v1.7.1) ### [`v1.7.0`](https://togithub.com/python/mypy/compare/v1.6.1...v1.7.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.6.1...v1.7.0) ### [`v1.6.1`](https://togithub.com/python/mypy/compare/v1.6.0...v1.6.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.6.0...v1.6.1) ### [`v1.6.0`](https://togithub.com/python/mypy/compare/v1.5.1...v1.6.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.5.1...v1.6.0) ### [`v1.5.1`](https://togithub.com/python/mypy/compare/v1.5.0...v1.5.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.5.0...v1.5.1) ### [`v1.5.0`](https://togithub.com/python/mypy/compare/v1.4.1...v1.5.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.4.1...v1.5.0) </details> <details> <summary>pytest-dev/pytest-mock (pytest-mock)</summary> ### [`v3.12.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3120-2023-10-19) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.11.1...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`\_). .. \_#390:[https://github.com/pytest-dev/pytest-mock/pull/390](https://togithub.com/pytest-dev/pytest-mock/pull/390)0 </details> <details> <summary>getsentry/responses (responses)</summary> ### [`v0.24.1`](https://togithub.com/getsentry/responses/blob/HEAD/CHANGES#0241) [Compare Source](https://togithub.com/getsentry/responses/compare/0.24.0...0.24.1) - Reverted overloads removal - Added typing to `Call` attributes. - Fix socket issues (see [#​693](https://togithub.com/getsentry/responses/issues/693)) ### [`v0.24.0`](https://togithub.com/getsentry/responses/blob/HEAD/CHANGES#0240) [Compare Source](https://togithub.com/getsentry/responses/compare/0.23.3...0.24.0) - Added `BaseResponse.calls` to access calls data of a separate mocked request. See [#​664](https://togithub.com/getsentry/responses/issues/664) - Added `real_adapter_send` parameter to `RequestsMock` that will allow users to set through which function they would like to send real requests - Added support for re.Pattern based header matching. - Added support for gzipped response bodies to `json_params_matcher`. - Fix `Content-Type` headers issue when the header was duplicated. See [#​644](https://togithub.com/getsentry/responses/issues/644) - Moved types-pyyaml dependency to `tests_requires` - Removed Python3.7 support </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/rpdelaney/downforeveryone). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
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>[#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 /> [](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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>[#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 /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR 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> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [black](https://togithub.com/psf/black) ([changelog](https://togithub.com/psf/black/blob/main/CHANGES.md)) | `23.3.0` -> `23.12.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [flake8-bugbear](https://togithub.com/PyCQA/flake8-bugbear#change-log) ([changelog](https://togithub.com/PyCQA/flake8-bugbear#change-log)) | `23.3.12` -> `23.12.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [flake8-builtins](https://togithub.com/gforcada/flake8-builtins) ([changelog](https://togithub.com/gforcada/flake8-builtins/blob/main/CHANGES.rst)) | `2.1.0` -> `2.2.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/) | | [flake8-comprehensions](https://togithub.com/adamchainz/flake8-comprehensions) ([changelog](https://togithub.com/adamchainz/flake8-comprehensions/blob/main/CHANGELOG.rst)) | `3.13.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/) | | [flake8-pytest-style](https://pypi.org/project/flake8-pytest-style) ([source](https://togithub.com/m-burst/flake8-pytest-style)) | `1.6.0` -> `1.7.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [isort](https://pycqa.github.io/isort/) ([source](https://togithub.com/pycqa/isort), [changelog](https://togithub.com/pycqa/isort/blob/main/CHANGELOG.md)) | `5.11.5` -> `5.13.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [mypy](https://www.mypy-lang.org/) ([source](https://togithub.com/python/mypy), [changelog](https://mypy-lang.blogspot.com/)) | `1.4.1` -> `1.8.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/) | | [pytest](https://docs.pytest.org/en/latest/) ([source](https://togithub.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | `7.4.3` -> `7.4.4` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [pytest-mock](https://togithub.com/pytest-dev/pytest-mock) ([changelog](https://pytest-mock.readthedocs.io/en/latest/changelog.html)) | `3.11.1` -> `3.12.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/) | | [responses](https://togithub.com/getsentry/responses) ([changelog](https://togithub.com/getsentry/responses/blob/master/CHANGES)) | `0.23.3` -> `0.24.1` | [](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>psf/black (black)</summary> ### [`v23.12.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23121) [Compare Source](https://togithub.com/psf/black/compare/23.12.0...23.12.1) ##### Packaging - Fixed a bug that included dependencies from the `d` extra by default ([#​4108](https://togithub.com/psf/black/issues/4108)) ### [`v23.12.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23120) [Compare Source](https://togithub.com/psf/black/compare/23.11.0...23.12.0) ##### Highlights It's almost 2024, which means it's time for a new edition of *Black*'s stable style! Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft 2024 stable style, which we'll finalize in the January release. Please try it out and [share your feedback](https://togithub.com/psf/black/issues/4042). This release (23.12.0) will still produce the 2023 style. Most but not all of the changes in `--preview` mode will be in the 2024 stable style. ##### Stable style - Fix bug where `# fmt: off` automatically dedents when used with the `--line-ranges` option, even when it is not within the specified line range. ([#​4084](https://togithub.com/psf/black/issues/4084)) - Fix feature detection for parenthesized context managers ([#​4104](https://togithub.com/psf/black/issues/4104)) ##### Preview style - Prefer more equal signs before a break when splitting chained assignments ([#​4010](https://togithub.com/psf/black/issues/4010)) - Standalone form feed characters at the module level are no longer removed ([#​4021](https://togithub.com/psf/black/issues/4021)) - Additional cases of immediately nested tuples, lists, and dictionaries are now indented less ([#​4012](https://togithub.com/psf/black/issues/4012)) - Allow empty lines at the beginning of all blocks, except immediately before a docstring ([#​4060](https://togithub.com/psf/black/issues/4060)) - Fix crash in preview mode when using a short `--line-length` ([#​4086](https://togithub.com/psf/black/issues/4086)) - Keep suites consisting of only an ellipsis on their own lines if they are not functions or class definitions ([#​4066](https://togithub.com/psf/black/issues/4066)) ([#​4103](https://togithub.com/psf/black/issues/4103)) ##### Configuration - `--line-ranges` now skips *Black*'s internal stability check in `--safe` mode. This avoids a crash on rare inputs that have many unformatted same-content lines. ([#​4034](https://togithub.com/psf/black/issues/4034)) ##### Packaging - Upgrade to mypy 1.7.1 ([#​4049](https://togithub.com/psf/black/issues/4049)) ([#​4069](https://togithub.com/psf/black/issues/4069)) - Faster compiled wheels are now available for CPython 3.12 ([#​4070](https://togithub.com/psf/black/issues/4070)) ##### Integrations - Enable 3.12 CI ([#​4035](https://togithub.com/psf/black/issues/4035)) - Build docker images in parallel ([#​4054](https://togithub.com/psf/black/issues/4054)) - Build docker images with 3.12 ([#​4055](https://togithub.com/psf/black/issues/4055)) ### [`v23.11.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23110) [Compare Source](https://togithub.com/psf/black/compare/23.10.1...23.11.0) ##### Highlights - Support formatting ranges of lines with the new `--line-ranges` command-line option ([#​4020](https://togithub.com/psf/black/issues/4020)) ##### Stable style - Fix crash on formatting bytes strings that look like docstrings ([#​4003](https://togithub.com/psf/black/issues/4003)) - Fix crash when whitespace followed a backslash before newline in a docstring ([#​4008](https://togithub.com/psf/black/issues/4008)) - Fix standalone comments inside complex blocks crashing Black ([#​4016](https://togithub.com/psf/black/issues/4016)) - Fix crash on formatting code like `await (a ** b)` ([#​3994](https://togithub.com/psf/black/issues/3994)) - No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash ([#​4019](https://togithub.com/psf/black/issues/4019)) ##### Preview style - Multiline dicts and lists that are the sole argument to a function are now indented less ([#​3964](https://togithub.com/psf/black/issues/3964)) - Multiline unpacked dicts and lists as the sole argument to a function are now also indented less ([#​3992](https://togithub.com/psf/black/issues/3992)) - In f-string debug expressions, quote types that are visible in the final string are now preserved ([#​4005](https://togithub.com/psf/black/issues/4005)) - Fix a bug where long `case` blocks were not split into multiple lines. Also enable general trailing comma rules on `case` blocks ([#​4024](https://togithub.com/psf/black/issues/4024)) - Keep requiring two empty lines between module-level docstring and first function or class definition ([#​4028](https://togithub.com/psf/black/issues/4028)) - Add support for single-line format skip with other comments on the same line ([#​3959](https://togithub.com/psf/black/issues/3959)) ##### Configuration - Consistently apply force exclusion logic before resolving symlinks ([#​4015](https://togithub.com/psf/black/issues/4015)) - Fix a bug in the matching of absolute path names in `--include` ([#​3976](https://togithub.com/psf/black/issues/3976)) ##### Performance - Fix mypyc builds on arm64 on macOS ([#​4017](https://togithub.com/psf/black/issues/4017)) ##### Integrations - Black's pre-commit integration will now run only on git hooks appropriate for a code formatter ([#​3940](https://togithub.com/psf/black/issues/3940)) ### [`v23.10.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23101) [Compare Source](https://togithub.com/psf/black/compare/23.10.0...23.10.1) ##### Highlights - Maintenance release to get a fix out for GitHub Action edge case ([#​3957](https://togithub.com/psf/black/issues/3957)) ##### Preview style - Fix merging implicit multiline strings that have inline comments ([#​3956](https://togithub.com/psf/black/issues/3956)) - Allow empty first line after block open before a comment or compound statement ([#​3967](https://togithub.com/psf/black/issues/3967)) ##### Packaging - Change Dockerfile to hatch + compile black ([#​3965](https://togithub.com/psf/black/issues/3965)) ##### Integrations - The summary output for GitHub workflows is now suppressible using the `summary` parameter. ([#​3958](https://togithub.com/psf/black/issues/3958)) - Fix the action failing when Black check doesn't pass ([#​3957](https://togithub.com/psf/black/issues/3957)) ##### Documentation - It is known Windows documentation CI is broken [https://github.com/psf/black/issues/3968](https://togithub.com/psf/black/issues/3968)3968 ### [`v23.10.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23100) [Compare Source](https://togithub.com/psf/black/compare/23.9.1...23.10.0) ##### Stable style - Fix comments getting removed from inside parenthesized strings ([#​3909](https://togithub.com/psf/black/issues/3909)) ##### Preview style - Fix long lines with power operators getting split before the line length ([#​3942](https://togithub.com/psf/black/issues/3942)) - Long type hints are now wrapped in parentheses and properly indented when split across multiple lines ([#​3899](https://togithub.com/psf/black/issues/3899)) - Magic trailing commas are now respected in return types. ([#​3916](https://togithub.com/psf/black/issues/3916)) - Require one empty line after module-level docstrings. ([#​3932](https://togithub.com/psf/black/issues/3932)) - Treat raw triple-quoted strings as docstrings ([#​3947](https://togithub.com/psf/black/issues/3947)) ##### Configuration - Fix cache versioning logic when `BLACK_CACHE_DIR` is set ([#​3937](https://togithub.com/psf/black/issues/3937)) ##### Parser - Fix bug where attributes named `type` were not acccepted inside `match` statements ([#​3950](https://togithub.com/psf/black/issues/3950)) - Add support for PEP 695 type aliases containing lambdas and other unusual expressions ([#​3949](https://togithub.com/psf/black/issues/3949)) ##### Output - Black no longer attempts to provide special errors for attempting to format Python 2 code ([#​3933](https://togithub.com/psf/black/issues/3933)) - Black will more consistently print stacktraces on internal errors in verbose mode ([#​3938](https://togithub.com/psf/black/issues/3938)) ##### Integrations - The action output displayed in the job summary is now wrapped in Markdown ([#​3914](https://togithub.com/psf/black/issues/3914)) ### [`v23.9.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2391) [Compare Source](https://togithub.com/psf/black/compare/23.9.0...23.9.1) Due to various issues, the previous release (23.9.0) did not include compiled mypyc wheels, which make Black significantly faster. These issues have now been fixed, and this release should come with compiled wheels once again. There will be no wheels for Python 3.12 due to a bug in mypyc. We will provide 3.12 wheels in a future release as soon as the mypyc bug is fixed. ##### Packaging - Upgrade to mypy 1.5.1 ([#​3864](https://togithub.com/psf/black/issues/3864)) ##### Performance - Store raw tuples instead of NamedTuples in Black's cache, improving performance and decreasing the size of the cache ([#​3877](https://togithub.com/psf/black/issues/3877)) ### [`v23.9.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2390) [Compare Source](https://togithub.com/psf/black/compare/23.7.0...23.9.0) ##### Preview style - More concise formatting for dummy implementations ([#​3796](https://togithub.com/psf/black/issues/3796)) - In stub files, add a blank line between a statement with a body (e.g an `if sys.version_info > (3, x):`) and a function definition on the same level ([#​3862](https://togithub.com/psf/black/issues/3862)) - Fix a bug whereby spaces were removed from walrus operators within subscript([#​3823](https://togithub.com/psf/black/issues/3823)) ##### Configuration - Black now applies exclusion and ignore logic before resolving symlinks ([#​3846](https://togithub.com/psf/black/issues/3846)) ##### Performance - Avoid importing `IPython` if notebook cells do not contain magics ([#​3782](https://togithub.com/psf/black/issues/3782)) - Improve caching by comparing file hashes as fallback for mtime and size ([#​3821](https://togithub.com/psf/black/issues/3821)) ##### *Blackd* - Fix an issue in `blackd` with single character input ([#​3558](https://togithub.com/psf/black/issues/3558)) ##### Integrations - Black now has an [official pre-commit mirror](https://togithub.com/psf/black-pre-commit-mirror). Swapping `https://github.com/psf/black` to `https://github.com/psf/black-pre-commit-mirror` in your `.pre-commit-config.yaml` will make Black about 2x faster ([#​3828](https://togithub.com/psf/black/issues/3828)) - The `.black.env` folder specified by `ENV_PATH` will now be removed on the completion of the GitHub Action ([#​3759](https://togithub.com/psf/black/issues/3759)) ### [`v23.7.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2370) [Compare Source](https://togithub.com/psf/black/compare/23.3.0...23.7.0) ##### Highlights - Runtime support for Python 3.7 has been removed. Formatting 3.7 code will still be supported until further notice ([#​3765](https://togithub.com/psf/black/issues/3765)) ##### Stable style - Fix a bug where an illegal trailing comma was added to return type annotations using PEP 604 unions ([#​3735](https://togithub.com/psf/black/issues/3735)) - Fix several bugs and crashes where comments in stub files were removed or mishandled under some circumstances ([#​3745](https://togithub.com/psf/black/issues/3745)) - Fix a crash with multi-line magic comments like `type: ignore` within parentheses ([#​3740](https://togithub.com/psf/black/issues/3740)) - Fix error in AST validation when *Black* removes trailing whitespace in a type comment ([#​3773](https://togithub.com/psf/black/issues/3773)) ##### Preview style - Implicitly concatenated strings used as function args are no longer wrapped inside parentheses ([#​3640](https://togithub.com/psf/black/issues/3640)) - Remove blank lines between a class definition and its docstring ([#​3692](https://togithub.com/psf/black/issues/3692)) ##### Configuration - The `--workers` argument to *Black* can now be specified via the `BLACK_NUM_WORKERS` environment variable ([#​3743](https://togithub.com/psf/black/issues/3743)) - `.pytest_cache`, `.ruff_cache` and `.vscode` are now excluded by default ([#​3691](https://togithub.com/psf/black/issues/3691)) - Fix *Black* not honouring `pyproject.toml` settings when running `--stdin-filename` and the `pyproject.toml` found isn't in the current working directory ([#​3719](https://togithub.com/psf/black/issues/3719)) - *Black* will now error if `exclude` and `extend-exclude` have invalid data types in `pyproject.toml`, instead of silently doing the wrong thing ([#​3764](https://togithub.com/psf/black/issues/3764)) ##### Packaging - Upgrade mypyc from 0.991 to 1.3 ([#​3697](https://togithub.com/psf/black/issues/3697)) - Remove patching of Click that mitigated errors on Python 3.6 with `LANG=C` ([#​3768](https://togithub.com/psf/black/issues/3768)) ##### Parser - Add support for the new PEP 695 syntax in Python 3.12 ([#​3703](https://togithub.com/psf/black/issues/3703)) ##### Performance - Speed up *Black* significantly when the cache is full ([#​3751](https://togithub.com/psf/black/issues/3751)) - Avoid importing `IPython` in a case where we wouldn't need it ([#​3748](https://togithub.com/psf/black/issues/3748)) ##### Output - Use aware UTC datetimes internally, avoids deprecation warning on Python 3.12 ([#​3728](https://togithub.com/psf/black/issues/3728)) - Change verbose logging to exactly mirror *Black*'s logic for source discovery ([#​3749](https://togithub.com/psf/black/issues/3749)) ##### *Blackd* - The `blackd` argument parser now shows the default values for options in their help text ([#​3712](https://togithub.com/psf/black/issues/3712)) ##### Integrations - Black is now tested with [`PYTHONWARNDEFAULTENCODING = 1`](https://docs.python.org/3/library/io.html#io-encoding-warning) ([#​3763](https://togithub.com/psf/black/issues/3763)) - Update GitHub Action to display black output in the job summary ([#​3688](https://togithub.com/psf/black/issues/3688)) ##### Documentation - Add a CITATION.cff file to the root of the repository, containing metadata on how to cite this software ([#​3723](https://togithub.com/psf/black/issues/3723)) - Update the *classes* and *exceptions* documentation in Developer reference to match the latest code base ([#​3755](https://togithub.com/psf/black/issues/3755)) </details> <details> <summary>PyCQA/flake8-bugbear (flake8-bugbear)</summary> ### [`v23.12.2`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.12.2) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.11.28...23.12.2) - B018: to detect useless-statements at all levels ([#​434](https://togithub.com/PyCQA/flake8-bugbear/issues/434)) - B018: Add classname to b018 useless-expression output ([#​433](https://togithub.com/PyCQA/flake8-bugbear/issues/433)) - B018: Include tuples in b018 useless-statement check ([#​432](https://togithub.com/PyCQA/flake8-bugbear/issues/432)) ### [`v23.11.28`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.11.28) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.11.26...23.11.28) - B035: Fix false positive when named expressions are used ([#​430](https://togithub.com/PyCQA/flake8-bugbear/issues/430)) ### [`v23.11.26`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.11.26) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.9.16...23.11.26) - B035: add check for static keys in dict-comprehension ([#​426](https://togithub.com/PyCQA/flake8-bugbear/issues/426)) - B902: Add exceptions for standard library metaclasses ([#​415](https://togithub.com/PyCQA/flake8-bugbear/issues/415)) - B017: Modify to no longer have a false negative when raises() is imported directly from pytest ([#​424](https://togithub.com/PyCQA/flake8-bugbear/issues/424)) - B026: Fix bug where the check was not triggered for calls where the caller is an attribute ([#​420](https://togithub.com/PyCQA/flake8-bugbear/issues/420)) ### [`v23.9.16`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.9.16) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.7.10...23.9.16) - add --classmethod-decorators ([#​405](https://togithub.com/PyCQA/flake8-bugbear/issues/405)) - fix name collision for node_stack on python 3.12 ([#​406](https://togithub.com/PyCQA/flake8-bugbear/issues/406)) - Use pypa/build to build the package ([#​404](https://togithub.com/PyCQA/flake8-bugbear/issues/404)) ### [`v23.7.10`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.7.10) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.6.5...23.7.10) - Add B034: re.sub/subn/split must pass flags/count/maxsplit as keyword arguments. - Fix a crash and several test failures on Python 3.12, all relating to the B907 check. - Declare support for Python 3.12. ### [`v23.6.5`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.6.5) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.5.9...23.6.5) - Include tox.ini in MANIFEST.in for sdist. ([#​389](https://togithub.com/PyCQA/flake8-bugbear/issues/389)) - Improve B033 (duplicate set items) ([#​385](https://togithub.com/PyCQA/flake8-bugbear/issues/385)) ### [`v23.5.9`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.5.9) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.3.23...23.5.9) - Add B033: Detect duplicate items in sets - Add B908: Detect assertRauses like contexts only has top level statements that could throw - Add B028: Allow stacklevel to be explicitly assigned as a positional argument - Remove more < 3.8 checks / assertions ### [`v23.3.23`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.3.23) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.3.12...23.3.23) - flake8-bugbear is now >= 3.8.1 project like flake8>=6.0.0 - This has allowed some more modern AST usage cleanup and less CI running etc. - B030: Fix crash on certain unusual except handlers (e.g. `except a[0].b:`) </details> <details> <summary>gforcada/flake8-builtins (flake8-builtins)</summary> ### [`v2.2.0`](https://togithub.com/gforcada/flake8-builtins/blob/HEAD/CHANGES.rst#220-2023-11-03) [Compare Source](https://togithub.com/gforcada/flake8-builtins/compare/2.1.0...2.2.0) - Use `tox` and `pre-commit` to ease project maintenance. \[gforcada] </details> <details> <summary>adamchainz/flake8-comprehensions (flake8-comprehensions)</summary> ### [`v3.14.0`](https://togithub.com/adamchainz/flake8-comprehensions/blob/HEAD/CHANGELOG.rst#3140-2023-07-10) [Compare Source](https://togithub.com/adamchainz/flake8-comprehensions/compare/3.13.0...3.14.0) - Drop Python 3.7 support. </details> <details> <summary>m-burst/flake8-pytest-style (flake8-pytest-style)</summary> ### [`v1.7.2`](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.1...v1.7.2) [Compare Source](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.1...v1.7.2) ### [`v1.7.1`](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.0...v1.7.1) [Compare Source](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.0...v1.7.1) ### [`v1.7.0`](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.6.0...v1.7.0) [Compare Source](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.6.0...v1.7.0) </details> <details> <summary>pycqa/isort (isort)</summary> ### [`v5.13.2`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5132-December-13-2023) [Compare Source](https://togithub.com/pycqa/isort/compare/5.13.1...5.13.2) - Apply the bracket fix from issue [#​471](https://togithub.com/pycqa/isort/issues/471) only for use_parentheses=True ([#​2184](https://togithub.com/pycqa/isort/issues/2184)) [@​bp72](https://togithub.com/bp72) - Confine pre-commit to stages ([#​2213](https://togithub.com/pycqa/isort/issues/2213)) [@​davidculley](https://togithub.com/davidculley) - Fixed colors extras ([#​2212](https://togithub.com/pycqa/isort/issues/2212)) [@​staticdev](https://togithub.com/staticdev) ### [`v5.13.1`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5131-December-11-2023) [Compare Source](https://togithub.com/pycqa/isort/compare/5.13.0...5.13.1) - Fixed integration tests ([#​2208](https://togithub.com/pycqa/isort/issues/2208)) [@​bp72](https://togithub.com/bp72) - Fixed normalizing imports from more than one level of parent modules (issue/2152) ([#​2191](https://togithub.com/pycqa/isort/issues/2191)) [@​bp72](https://togithub.com/bp72) - Remove optional dependencies without extras ([#​2207](https://togithub.com/pycqa/isort/issues/2207)) [@​staticdev](https://togithub.com/staticdev) ### [`v5.13.0`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5130-December-9-2023) [Compare Source](https://togithub.com/pycqa/isort/compare/5.12.0...5.13.0) - Cleanup deprecated extras ([#​2089](https://togithub.com/pycqa/isort/issues/2089)) [@​staticdev](https://togithub.com/staticdev) - Fixed [#​1989](https://togithub.com/pycqa/isort/issues/1989): settings lookup when working in stream based mode - Fixed 80 line length for wemake linter ([#​2183](https://togithub.com/pycqa/isort/issues/2183)) [@​skatromb](https://togithub.com/skatromb) - Add support for Python 3.12 ([#​2175](https://togithub.com/pycqa/isort/issues/2175)) [@​hugovk](https://togithub.com/hugovk) - Fixed: add newest version to pre-commit docs ([#​2190](https://togithub.com/pycqa/isort/issues/2190)) [@​AzulGarza](https://togithub.com/AzulGarza) - Fixed assertions in test_git_hook ([#​2196](https://togithub.com/pycqa/isort/issues/2196)) [@​mgorny](https://togithub.com/mgorny) - Removed check for include_trailing_comma for the Hanging Indent wrap mode ([#​2192](https://togithub.com/pycqa/isort/issues/2192)) [@​bp72](https://togithub.com/bp72) - Use the standard library tomllib on sufficiently new python ([#​2202](https://togithub.com/pycqa/isort/issues/2202)) [@​eli-schwartz](https://togithub.com/eli-schwartz) - Update pre-commit.md version number ([#​2197](https://togithub.com/pycqa/isort/issues/2197)) [@​nicobako](https://togithub.com/nicobako) - doc: Update black_compatibility.md ([#​2177](https://togithub.com/pycqa/isort/issues/2177)) [@​JSS95](https://togithub.com/JSS95) - Fixed safety sept 2023 ([#​2178](https://togithub.com/pycqa/isort/issues/2178)) [@​staticdev](https://togithub.com/staticdev) - docs: fix black profile documentation ([#​2163](https://togithub.com/pycqa/isort/issues/2163)) [@​nijel](https://togithub.com/nijel) - Fixed typo: indended -> indented ([#​2161](https://togithub.com/pycqa/isort/issues/2161)) [@​vadimkerr](https://togithub.com/vadimkerr) - Docs(configuration/options.md): fix missing trailing spaces for hard linebreak ([#​2157](https://togithub.com/pycqa/isort/issues/2157)) [@​JoeyTeng](https://togithub.com/JoeyTeng) - Update pre-commit.md ([#​2148](https://togithub.com/pycqa/isort/issues/2148)) [@​godiard](https://togithub.com/godiard) - chore: move configurations to pyproject.toml ([#​2115](https://togithub.com/pycqa/isort/issues/2115)) [@​SauravMaheshkar](https://togithub.com/SauravMaheshkar) - Fixed typo in README ([#​2112](https://togithub.com/pycqa/isort/issues/2112)) [@​stefmolin](https://togithub.com/stefmolin) - Update version in pre-commit setup to avoid installation issue with poetry ([#​2103](https://togithub.com/pycqa/isort/issues/2103)) [@​stefmolin](https://togithub.com/stefmolin) - Skip .pytype directory by default. ([#​2098](https://togithub.com/pycqa/isort/issues/2098)) [@​manueljacob](https://togithub.com/manueljacob) - Fixed a tip block styling in the Config Files section ([#​2097](https://togithub.com/pycqa/isort/issues/2097)) [@​Klavionik](https://togithub.com/Klavionik) - Do not cache configuration files ([#​1995](https://togithub.com/pycqa/isort/issues/1995)) [@​kaste](https://togithub.com/kaste) - Derive settings_path from --filename ([#​1992](https://togithub.com/pycqa/isort/issues/1992)) [@​kaste](https://togithub.com/kaste) - Fixed year of version 5.12.0 in CHANGELOG.md ([#​2082](https://togithub.com/pycqa/isort/issues/2082)) [@​DjLegolas](https://togithub.com/DjLegolas) ### [`v5.12.0`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5120-January-28-2023) [Compare Source](https://togithub.com/pycqa/isort/compare/5.11.5...5.12.0) - Removed support for Python 3.7 - Fixed incompatiblity with latest poetry version - Added support for directory limitations within built in git hook </details> <details> <summary>python/mypy (mypy)</summary> ### [`v1.8.0`](https://togithub.com/python/mypy/compare/v1.7.1...v1.8.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.7.1...v1.8.0) ### [`v1.7.1`](https://togithub.com/python/mypy/compare/v1.7.0...v1.7.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.7.0...v1.7.1) ### [`v1.7.0`](https://togithub.com/python/mypy/compare/v1.6.1...v1.7.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.6.1...v1.7.0) ### [`v1.6.1`](https://togithub.com/python/mypy/compare/v1.6.0...v1.6.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.6.0...v1.6.1) ### [`v1.6.0`](https://togithub.com/python/mypy/compare/v1.5.1...v1.6.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.5.1...v1.6.0) ### [`v1.5.1`](https://togithub.com/python/mypy/compare/v1.5.0...v1.5.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.5.0...v1.5.1) ### [`v1.5.0`](https://togithub.com/python/mypy/compare/v1.4.1...v1.5.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.4.1...v1.5.0) </details> <details> <summary>pytest-dev/pytest (pytest)</summary> ### [`v7.4.4`](https://togithub.com/pytest-dev/pytest/compare/7.4.3...7.4.4) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.4.3...7.4.4) </details> <details> <summary>pytest-dev/pytest-mock (pytest-mock)</summary> ### [`v3.12.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3120-2023-10-19) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.11.1...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`\_). .. \_#390:[https://github.com/pytest-dev/pytest-mock/pull/390](https://togithub.com/pytest-dev/pytest-mock/pull/390)0 </details> <details> <summary>getsentry/responses (responses)</summary> ### [`v0.24.1`](https://togithub.com/getsentry/responses/blob/HEAD/CHANGES#0241) [Compare Source](https://togithub.com/getsentry/responses/compare/0.24.0...0.24.1) - Reverted overloads removal - Added typing to `Call` attributes. - Fix socket issues (see [#​693](https://togithub.com/getsentry/responses/issues/693)) ### [`v0.24.0`](https://togithub.com/getsentry/responses/blob/HEAD/CHANGES#0240) [Compare Source](https://togithub.com/getsentry/responses/compare/0.23.3...0.24.0) - Added `BaseResponse.calls` to access calls data of a separate mocked request. See [#​664](https://togithub.com/getsentry/responses/issues/664) - Added `real_adapter_send` parameter to `RequestsMock` that will allow users to set through which function they would like to send real requests - Added support for re.Pattern based header matching. - Added support for gzipped response bodies to `json_params_matcher`. - Fix `Content-Type` headers issue when the header was duplicated. See [#​644](https://togithub.com/getsentry/responses/issues/644) - Moved types-pyyaml dependency to `tests_requires` - Removed Python3.7 support </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/rpdelaney/downforeveryone). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [black](https://togithub.com/psf/black) ([changelog](https://togithub.com/psf/black/blob/main/CHANGES.md)) | `23.3.0` -> `23.12.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [flake8-bugbear](https://togithub.com/PyCQA/flake8-bugbear#change-log) ([changelog](https://togithub.com/PyCQA/flake8-bugbear#change-log)) | `23.3.12` -> `23.12.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [flake8-builtins](https://togithub.com/gforcada/flake8-builtins) ([changelog](https://togithub.com/gforcada/flake8-builtins/blob/main/CHANGES.rst)) | `2.1.0` -> `2.2.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/) | | [flake8-comprehensions](https://togithub.com/adamchainz/flake8-comprehensions) ([changelog](https://togithub.com/adamchainz/flake8-comprehensions/blob/main/CHANGELOG.rst)) | `3.13.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/) | | [flake8-pytest-style](https://pypi.org/project/flake8-pytest-style) ([source](https://togithub.com/m-burst/flake8-pytest-style)) | `1.6.0` -> `1.7.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [isort](https://pycqa.github.io/isort/) ([source](https://togithub.com/pycqa/isort), [changelog](https://togithub.com/pycqa/isort/blob/main/CHANGELOG.md)) | `5.11.5` -> `5.13.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [mypy](https://www.mypy-lang.org/) ([source](https://togithub.com/python/mypy), [changelog](https://mypy-lang.blogspot.com/)) | `1.4.1` -> `1.8.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/) | | [pytest-mock](https://togithub.com/pytest-dev/pytest-mock) ([changelog](https://pytest-mock.readthedocs.io/en/latest/changelog.html)) | `3.11.1` -> `3.12.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/) | | [responses](https://togithub.com/getsentry/responses) ([changelog](https://togithub.com/getsentry/responses/blob/master/CHANGES)) | `0.23.3` -> `0.24.1` | [](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>psf/black (black)</summary> ### [`v23.12.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23121) [Compare Source](https://togithub.com/psf/black/compare/23.12.0...23.12.1) ##### Packaging - Fixed a bug that included dependencies from the `d` extra by default ([#​4108](https://togithub.com/psf/black/issues/4108)) ### [`v23.12.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23120) [Compare Source](https://togithub.com/psf/black/compare/23.11.0...23.12.0) ##### Highlights It's almost 2024, which means it's time for a new edition of *Black*'s stable style! Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft 2024 stable style, which we'll finalize in the January release. Please try it out and [share your feedback](https://togithub.com/psf/black/issues/4042). This release (23.12.0) will still produce the 2023 style. Most but not all of the changes in `--preview` mode will be in the 2024 stable style. ##### Stable style - Fix bug where `# fmt: off` automatically dedents when used with the `--line-ranges` option, even when it is not within the specified line range. ([#​4084](https://togithub.com/psf/black/issues/4084)) - Fix feature detection for parenthesized context managers ([#​4104](https://togithub.com/psf/black/issues/4104)) ##### Preview style - Prefer more equal signs before a break when splitting chained assignments ([#​4010](https://togithub.com/psf/black/issues/4010)) - Standalone form feed characters at the module level are no longer removed ([#​4021](https://togithub.com/psf/black/issues/4021)) - Additional cases of immediately nested tuples, lists, and dictionaries are now indented less ([#​4012](https://togithub.com/psf/black/issues/4012)) - Allow empty lines at the beginning of all blocks, except immediately before a docstring ([#​4060](https://togithub.com/psf/black/issues/4060)) - Fix crash in preview mode when using a short `--line-length` ([#​4086](https://togithub.com/psf/black/issues/4086)) - Keep suites consisting of only an ellipsis on their own lines if they are not functions or class definitions ([#​4066](https://togithub.com/psf/black/issues/4066)) ([#​4103](https://togithub.com/psf/black/issues/4103)) ##### Configuration - `--line-ranges` now skips *Black*'s internal stability check in `--safe` mode. This avoids a crash on rare inputs that have many unformatted same-content lines. ([#​4034](https://togithub.com/psf/black/issues/4034)) ##### Packaging - Upgrade to mypy 1.7.1 ([#​4049](https://togithub.com/psf/black/issues/4049)) ([#​4069](https://togithub.com/psf/black/issues/4069)) - Faster compiled wheels are now available for CPython 3.12 ([#​4070](https://togithub.com/psf/black/issues/4070)) ##### Integrations - Enable 3.12 CI ([#​4035](https://togithub.com/psf/black/issues/4035)) - Build docker images in parallel ([#​4054](https://togithub.com/psf/black/issues/4054)) - Build docker images with 3.12 ([#​4055](https://togithub.com/psf/black/issues/4055)) ### [`v23.11.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23110) [Compare Source](https://togithub.com/psf/black/compare/23.10.1...23.11.0) ##### Highlights - Support formatting ranges of lines with the new `--line-ranges` command-line option ([#​4020](https://togithub.com/psf/black/issues/4020)) ##### Stable style - Fix crash on formatting bytes strings that look like docstrings ([#​4003](https://togithub.com/psf/black/issues/4003)) - Fix crash when whitespace followed a backslash before newline in a docstring ([#​4008](https://togithub.com/psf/black/issues/4008)) - Fix standalone comments inside complex blocks crashing Black ([#​4016](https://togithub.com/psf/black/issues/4016)) - Fix crash on formatting code like `await (a ** b)` ([#​3994](https://togithub.com/psf/black/issues/3994)) - No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash ([#​4019](https://togithub.com/psf/black/issues/4019)) ##### Preview style - Multiline dicts and lists that are the sole argument to a function are now indented less ([#​3964](https://togithub.com/psf/black/issues/3964)) - Multiline unpacked dicts and lists as the sole argument to a function are now also indented less ([#​3992](https://togithub.com/psf/black/issues/3992)) - In f-string debug expressions, quote types that are visible in the final string are now preserved ([#​4005](https://togithub.com/psf/black/issues/4005)) - Fix a bug where long `case` blocks were not split into multiple lines. Also enable general trailing comma rules on `case` blocks ([#​4024](https://togithub.com/psf/black/issues/4024)) - Keep requiring two empty lines between module-level docstring and first function or class definition ([#​4028](https://togithub.com/psf/black/issues/4028)) - Add support for single-line format skip with other comments on the same line ([#​3959](https://togithub.com/psf/black/issues/3959)) ##### Configuration - Consistently apply force exclusion logic before resolving symlinks ([#​4015](https://togithub.com/psf/black/issues/4015)) - Fix a bug in the matching of absolute path names in `--include` ([#​3976](https://togithub.com/psf/black/issues/3976)) ##### Performance - Fix mypyc builds on arm64 on macOS ([#​4017](https://togithub.com/psf/black/issues/4017)) ##### Integrations - Black's pre-commit integration will now run only on git hooks appropriate for a code formatter ([#​3940](https://togithub.com/psf/black/issues/3940)) ### [`v23.10.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23101) [Compare Source](https://togithub.com/psf/black/compare/23.10.0...23.10.1) ##### Highlights - Maintenance release to get a fix out for GitHub Action edge case ([#​3957](https://togithub.com/psf/black/issues/3957)) ##### Preview style - Fix merging implicit multiline strings that have inline comments ([#​3956](https://togithub.com/psf/black/issues/3956)) - Allow empty first line after block open before a comment or compound statement ([#​3967](https://togithub.com/psf/black/issues/3967)) ##### Packaging - Change Dockerfile to hatch + compile black ([#​3965](https://togithub.com/psf/black/issues/3965)) ##### Integrations - The summary output for GitHub workflows is now suppressible using the `summary` parameter. ([#​3958](https://togithub.com/psf/black/issues/3958)) - Fix the action failing when Black check doesn't pass ([#​3957](https://togithub.com/psf/black/issues/3957)) ##### Documentation - It is known Windows documentation CI is broken [https://github.com/psf/black/issues/3968](https://togithub.com/psf/black/issues/3968)3968 ### [`v23.10.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23100) [Compare Source](https://togithub.com/psf/black/compare/23.9.1...23.10.0) ##### Stable style - Fix comments getting removed from inside parenthesized strings ([#​3909](https://togithub.com/psf/black/issues/3909)) ##### Preview style - Fix long lines with power operators getting split before the line length ([#​3942](https://togithub.com/psf/black/issues/3942)) - Long type hints are now wrapped in parentheses and properly indented when split across multiple lines ([#​3899](https://togithub.com/psf/black/issues/3899)) - Magic trailing commas are now respected in return types. ([#​3916](https://togithub.com/psf/black/issues/3916)) - Require one empty line after module-level docstrings. ([#​3932](https://togithub.com/psf/black/issues/3932)) - Treat raw triple-quoted strings as docstrings ([#​3947](https://togithub.com/psf/black/issues/3947)) ##### Configuration - Fix cache versioning logic when `BLACK_CACHE_DIR` is set ([#​3937](https://togithub.com/psf/black/issues/3937)) ##### Parser - Fix bug where attributes named `type` were not acccepted inside `match` statements ([#​3950](https://togithub.com/psf/black/issues/3950)) - Add support for PEP 695 type aliases containing lambdas and other unusual expressions ([#​3949](https://togithub.com/psf/black/issues/3949)) ##### Output - Black no longer attempts to provide special errors for attempting to format Python 2 code ([#​3933](https://togithub.com/psf/black/issues/3933)) - Black will more consistently print stacktraces on internal errors in verbose mode ([#​3938](https://togithub.com/psf/black/issues/3938)) ##### Integrations - The action output displayed in the job summary is now wrapped in Markdown ([#​3914](https://togithub.com/psf/black/issues/3914)) ### [`v23.9.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2391) [Compare Source](https://togithub.com/psf/black/compare/23.9.0...23.9.1) Due to various issues, the previous release (23.9.0) did not include compiled mypyc wheels, which make Black significantly faster. These issues have now been fixed, and this release should come with compiled wheels once again. There will be no wheels for Python 3.12 due to a bug in mypyc. We will provide 3.12 wheels in a future release as soon as the mypyc bug is fixed. ##### Packaging - Upgrade to mypy 1.5.1 ([#​3864](https://togithub.com/psf/black/issues/3864)) ##### Performance - Store raw tuples instead of NamedTuples in Black's cache, improving performance and decreasing the size of the cache ([#​3877](https://togithub.com/psf/black/issues/3877)) ### [`v23.9.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2390) [Compare Source](https://togithub.com/psf/black/compare/23.7.0...23.9.0) ##### Preview style - More concise formatting for dummy implementations ([#​3796](https://togithub.com/psf/black/issues/3796)) - In stub files, add a blank line between a statement with a body (e.g an `if sys.version_info > (3, x):`) and a function definition on the same level ([#​3862](https://togithub.com/psf/black/issues/3862)) - Fix a bug whereby spaces were removed from walrus operators within subscript([#​3823](https://togithub.com/psf/black/issues/3823)) ##### Configuration - Black now applies exclusion and ignore logic before resolving symlinks ([#​3846](https://togithub.com/psf/black/issues/3846)) ##### Performance - Avoid importing `IPython` if notebook cells do not contain magics ([#​3782](https://togithub.com/psf/black/issues/3782)) - Improve caching by comparing file hashes as fallback for mtime and size ([#​3821](https://togithub.com/psf/black/issues/3821)) ##### *Blackd* - Fix an issue in `blackd` with single character input ([#​3558](https://togithub.com/psf/black/issues/3558)) ##### Integrations - Black now has an [official pre-commit mirror](https://togithub.com/psf/black-pre-commit-mirror). Swapping `https://github.com/psf/black` to `https://github.com/psf/black-pre-commit-mirror` in your `.pre-commit-config.yaml` will make Black about 2x faster ([#​3828](https://togithub.com/psf/black/issues/3828)) - The `.black.env` folder specified by `ENV_PATH` will now be removed on the completion of the GitHub Action ([#​3759](https://togithub.com/psf/black/issues/3759)) ### [`v23.7.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2370) [Compare Source](https://togithub.com/psf/black/compare/23.3.0...23.7.0) ##### Highlights - Runtime support for Python 3.7 has been removed. Formatting 3.7 code will still be supported until further notice ([#​3765](https://togithub.com/psf/black/issues/3765)) ##### Stable style - Fix a bug where an illegal trailing comma was added to return type annotations using PEP 604 unions ([#​3735](https://togithub.com/psf/black/issues/3735)) - Fix several bugs and crashes where comments in stub files were removed or mishandled under some circumstances ([#​3745](https://togithub.com/psf/black/issues/3745)) - Fix a crash with multi-line magic comments like `type: ignore` within parentheses ([#​3740](https://togithub.com/psf/black/issues/3740)) - Fix error in AST validation when *Black* removes trailing whitespace in a type comment ([#​3773](https://togithub.com/psf/black/issues/3773)) ##### Preview style - Implicitly concatenated strings used as function args are no longer wrapped inside parentheses ([#​3640](https://togithub.com/psf/black/issues/3640)) - Remove blank lines between a class definition and its docstring ([#​3692](https://togithub.com/psf/black/issues/3692)) ##### Configuration - The `--workers` argument to *Black* can now be specified via the `BLACK_NUM_WORKERS` environment variable ([#​3743](https://togithub.com/psf/black/issues/3743)) - `.pytest_cache`, `.ruff_cache` and `.vscode` are now excluded by default ([#​3691](https://togithub.com/psf/black/issues/3691)) - Fix *Black* not honouring `pyproject.toml` settings when running `--stdin-filename` and the `pyproject.toml` found isn't in the current working directory ([#​3719](https://togithub.com/psf/black/issues/3719)) - *Black* will now error if `exclude` and `extend-exclude` have invalid data types in `pyproject.toml`, instead of silently doing the wrong thing ([#​3764](https://togithub.com/psf/black/issues/3764)) ##### Packaging - Upgrade mypyc from 0.991 to 1.3 ([#​3697](https://togithub.com/psf/black/issues/3697)) - Remove patching of Click that mitigated errors on Python 3.6 with `LANG=C` ([#​3768](https://togithub.com/psf/black/issues/3768)) ##### Parser - Add support for the new PEP 695 syntax in Python 3.12 ([#​3703](https://togithub.com/psf/black/issues/3703)) ##### Performance - Speed up *Black* significantly when the cache is full ([#​3751](https://togithub.com/psf/black/issues/3751)) - Avoid importing `IPython` in a case where we wouldn't need it ([#​3748](https://togithub.com/psf/black/issues/3748)) ##### Output - Use aware UTC datetimes internally, avoids deprecation warning on Python 3.12 ([#​3728](https://togithub.com/psf/black/issues/3728)) - Change verbose logging to exactly mirror *Black*'s logic for source discovery ([#​3749](https://togithub.com/psf/black/issues/3749)) ##### *Blackd* - The `blackd` argument parser now shows the default values for options in their help text ([#​3712](https://togithub.com/psf/black/issues/3712)) ##### Integrations - Black is now tested with [`PYTHONWARNDEFAULTENCODING = 1`](https://docs.python.org/3/library/io.html#io-encoding-warning) ([#​3763](https://togithub.com/psf/black/issues/3763)) - Update GitHub Action to display black output in the job summary ([#​3688](https://togithub.com/psf/black/issues/3688)) ##### Documentation - Add a CITATION.cff file to the root of the repository, containing metadata on how to cite this software ([#​3723](https://togithub.com/psf/black/issues/3723)) - Update the *classes* and *exceptions* documentation in Developer reference to match the latest code base ([#​3755](https://togithub.com/psf/black/issues/3755)) </details> <details> <summary>PyCQA/flake8-bugbear (flake8-bugbear)</summary> ### [`v23.12.2`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.12.2) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.11.28...23.12.2) - B018: to detect useless-statements at all levels ([#​434](https://togithub.com/PyCQA/flake8-bugbear/issues/434)) - B018: Add classname to b018 useless-expression output ([#​433](https://togithub.com/PyCQA/flake8-bugbear/issues/433)) - B018: Include tuples in b018 useless-statement check ([#​432](https://togithub.com/PyCQA/flake8-bugbear/issues/432)) ### [`v23.11.28`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.11.28) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.11.26...23.11.28) - B035: Fix false positive when named expressions are used ([#​430](https://togithub.com/PyCQA/flake8-bugbear/issues/430)) ### [`v23.11.26`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.11.26) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.9.16...23.11.26) - B035: add check for static keys in dict-comprehension ([#​426](https://togithub.com/PyCQA/flake8-bugbear/issues/426)) - B902: Add exceptions for standard library metaclasses ([#​415](https://togithub.com/PyCQA/flake8-bugbear/issues/415)) - B017: Modify to no longer have a false negative when raises() is imported directly from pytest ([#​424](https://togithub.com/PyCQA/flake8-bugbear/issues/424)) - B026: Fix bug where the check was not triggered for calls where the caller is an attribute ([#​420](https://togithub.com/PyCQA/flake8-bugbear/issues/420)) ### [`v23.9.16`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.9.16) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.7.10...23.9.16) - add --classmethod-decorators ([#​405](https://togithub.com/PyCQA/flake8-bugbear/issues/405)) - fix name collision for node_stack on python 3.12 ([#​406](https://togithub.com/PyCQA/flake8-bugbear/issues/406)) - Use pypa/build to build the package ([#​404](https://togithub.com/PyCQA/flake8-bugbear/issues/404)) ### [`v23.7.10`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.7.10) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.6.5...23.7.10) - Add B034: re.sub/subn/split must pass flags/count/maxsplit as keyword arguments. - Fix a crash and several test failures on Python 3.12, all relating to the B907 check. - Declare support for Python 3.12. ### [`v23.6.5`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.6.5) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.5.9...23.6.5) - Include tox.ini in MANIFEST.in for sdist. ([#​389](https://togithub.com/PyCQA/flake8-bugbear/issues/389)) - Improve B033 (duplicate set items) ([#​385](https://togithub.com/PyCQA/flake8-bugbear/issues/385)) ### [`v23.5.9`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.5.9) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.3.23...23.5.9) - Add B033: Detect duplicate items in sets - Add B908: Detect assertRauses like contexts only has top level statements that could throw - Add B028: Allow stacklevel to be explicitly assigned as a positional argument - Remove more < 3.8 checks / assertions ### [`v23.3.23`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.3.23) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.3.12...23.3.23) - flake8-bugbear is now >= 3.8.1 project like flake8>=6.0.0 - This has allowed some more modern AST usage cleanup and less CI running etc. - B030: Fix crash on certain unusual except handlers (e.g. `except a[0].b:`) </details> <details> <summary>gforcada/flake8-builtins (flake8-builtins)</summary> ### [`v2.2.0`](https://togithub.com/gforcada/flake8-builtins/blob/HEAD/CHANGES.rst#220-2023-11-03) [Compare Source](https://togithub.com/gforcada/flake8-builtins/compare/2.1.0...2.2.0) - Use `tox` and `pre-commit` to ease project maintenance. \[gforcada] </details> <details> <summary>adamchainz/flake8-comprehensions (flake8-comprehensions)</summary> ### [`v3.14.0`](https://togithub.com/adamchainz/flake8-comprehensions/blob/HEAD/CHANGELOG.rst#3140-2023-07-10) [Compare Source](https://togithub.com/adamchainz/flake8-comprehensions/compare/3.13.0...3.14.0) - Drop Python 3.7 support. </details> <details> <summary>m-burst/flake8-pytest-style (flake8-pytest-style)</summary> ### [`v1.7.2`](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.1...v1.7.2) [Compare Source](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.1...v1.7.2) ### [`v1.7.1`](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.0...v1.7.1) [Compare Source](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.0...v1.7.1) ### [`v1.7.0`](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.6.0...v1.7.0) [Compare Source](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.6.0...v1.7.0) </details> <details> <summary>pycqa/isort (isort)</summary> ### [`v5.13.2`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5132-December-13-2023) [Compare Source](https://togithub.com/pycqa/isort/compare/5.13.1...5.13.2) - Apply the bracket fix from issue [#​471](https://togithub.com/pycqa/isort/issues/471) only for use_parentheses=True ([#​2184](https://togithub.com/pycqa/isort/issues/2184)) [@​bp72](https://togithub.com/bp72) - Confine pre-commit to stages ([#​2213](https://togithub.com/pycqa/isort/issues/2213)) [@​davidculley](https://togithub.com/davidculley) - Fixed colors extras ([#​2212](https://togithub.com/pycqa/isort/issues/2212)) [@​staticdev](https://togithub.com/staticdev) ### [`v5.13.1`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5131-December-11-2023) [Compare Source](https://togithub.com/pycqa/isort/compare/5.13.0...5.13.1) - Fixed integration tests ([#​2208](https://togithub.com/pycqa/isort/issues/2208)) [@​bp72](https://togithub.com/bp72) - Fixed normalizing imports from more than one level of parent modules (issue/2152) ([#​2191](https://togithub.com/pycqa/isort/issues/2191)) [@​bp72](https://togithub.com/bp72) - Remove optional dependencies without extras ([#​2207](https://togithub.com/pycqa/isort/issues/2207)) [@​staticdev](https://togithub.com/staticdev) ### [`v5.13.0`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5130-December-9-2023) [Compare Source](https://togithub.com/pycqa/isort/compare/5.12.0...5.13.0) - Cleanup deprecated extras ([#​2089](https://togithub.com/pycqa/isort/issues/2089)) [@​staticdev](https://togithub.com/staticdev) - Fixed [#​1989](https://togithub.com/pycqa/isort/issues/1989): settings lookup when working in stream based mode - Fixed 80 line length for wemake linter ([#​2183](https://togithub.com/pycqa/isort/issues/2183)) [@​skatromb](https://togithub.com/skatromb) - Add support for Python 3.12 ([#​2175](https://togithub.com/pycqa/isort/issues/2175)) [@​hugovk](https://togithub.com/hugovk) - Fixed: add newest version to pre-commit docs ([#​2190](https://togithub.com/pycqa/isort/issues/2190)) [@​AzulGarza](https://togithub.com/AzulGarza) - Fixed assertions in test_git_hook ([#​2196](https://togithub.com/pycqa/isort/issues/2196)) [@​mgorny](https://togithub.com/mgorny) - Removed check for include_trailing_comma for the Hanging Indent wrap mode ([#​2192](https://togithub.com/pycqa/isort/issues/2192)) [@​bp72](https://togithub.com/bp72) - Use the standard library tomllib on sufficiently new python ([#​2202](https://togithub.com/pycqa/isort/issues/2202)) [@​eli-schwartz](https://togithub.com/eli-schwartz) - Update pre-commit.md version number ([#​2197](https://togithub.com/pycqa/isort/issues/2197)) [@​nicobako](https://togithub.com/nicobako) - doc: Update black_compatibility.md ([#​2177](https://togithub.com/pycqa/isort/issues/2177)) [@​JSS95](https://togithub.com/JSS95) - Fixed safety sept 2023 ([#​2178](https://togithub.com/pycqa/isort/issues/2178)) [@​staticdev](https://togithub.com/staticdev) - docs: fix black profile documentation ([#​2163](https://togithub.com/pycqa/isort/issues/2163)) [@​nijel](https://togithub.com/nijel) - Fixed typo: indended -> indented ([#​2161](https://togithub.com/pycqa/isort/issues/2161)) [@​vadimkerr](https://togithub.com/vadimkerr) - Docs(configuration/options.md): fix missing trailing spaces for hard linebreak ([#​2157](https://togithub.com/pycqa/isort/issues/2157)) [@​JoeyTeng](https://togithub.com/JoeyTeng) - Update pre-commit.md ([#​2148](https://togithub.com/pycqa/isort/issues/2148)) [@​godiard](https://togithub.com/godiard) - chore: move configurations to pyproject.toml ([#​2115](https://togithub.com/pycqa/isort/issues/2115)) [@​SauravMaheshkar](https://togithub.com/SauravMaheshkar) - Fixed typo in README ([#​2112](https://togithub.com/pycqa/isort/issues/2112)) [@​stefmolin](https://togithub.com/stefmolin) - Update version in pre-commit setup to avoid installation issue with poetry ([#​2103](https://togithub.com/pycqa/isort/issues/2103)) [@​stefmolin](https://togithub.com/stefmolin) - Skip .pytype directory by default. ([#​2098](https://togithub.com/pycqa/isort/issues/2098)) [@​manueljacob](https://togithub.com/manueljacob) - Fixed a tip block styling in the Config Files section ([#​2097](https://togithub.com/pycqa/isort/issues/2097)) [@​Klavionik](https://togithub.com/Klavionik) - Do not cache configuration files ([#​1995](https://togithub.com/pycqa/isort/issues/1995)) [@​kaste](https://togithub.com/kaste) - Derive settings_path from --filename ([#​1992](https://togithub.com/pycqa/isort/issues/1992)) [@​kaste](https://togithub.com/kaste) - Fixed year of version 5.12.0 in CHANGELOG.md ([#​2082](https://togithub.com/pycqa/isort/issues/2082)) [@​DjLegolas](https://togithub.com/DjLegolas) ### [`v5.12.0`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5120-January-28-2023) [Compare Source](https://togithub.com/pycqa/isort/compare/5.11.5...5.12.0) - Removed support for Python 3.7 - Fixed incompatiblity with latest poetry version - Added support for directory limitations within built in git hook </details> <details> <summary>python/mypy (mypy)</summary> ### [`v1.8.0`](https://togithub.com/python/mypy/compare/v1.7.1...v1.8.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.7.1...v1.8.0) ### [`v1.7.1`](https://togithub.com/python/mypy/compare/v1.7.0...v1.7.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.7.0...v1.7.1) ### [`v1.7.0`](https://togithub.com/python/mypy/compare/v1.6.1...v1.7.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.6.1...v1.7.0) ### [`v1.6.1`](https://togithub.com/python/mypy/compare/v1.6.0...v1.6.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.6.0...v1.6.1) ### [`v1.6.0`](https://togithub.com/python/mypy/compare/v1.5.1...v1.6.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.5.1...v1.6.0) ### [`v1.5.1`](https://togithub.com/python/mypy/compare/v1.5.0...v1.5.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.5.0...v1.5.1) ### [`v1.5.0`](https://togithub.com/python/mypy/compare/v1.4.1...v1.5.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.4.1...v1.5.0) </details> <details> <summary>pytest-dev/pytest-mock (pytest-mock)</summary> ### [`v3.12.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3120-2023-10-19) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.11.1...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`\_). .. \_#390:[https://github.com/pytest-dev/pytest-mock/pull/390](https://togithub.com/pytest-dev/pytest-mock/pull/390)0 </details> <details> <summary>getsentry/responses (responses)</summary> ### [`v0.24.1`](https://togithub.com/getsentry/responses/blob/HEAD/CHANGES#0241) [Compare Source](https://togithub.com/getsentry/responses/compare/0.24.0...0.24.1) - Reverted overloads removal - Added typing to `Call` attributes. - Fix socket issues (see [#​693](https://togithub.com/getsentry/responses/issues/693)) ### [`v0.24.0`](https://togithub.com/getsentry/responses/blob/HEAD/CHANGES#0240) [Compare Source](https://togithub.com/getsentry/responses/compare/0.23.3...0.24.0) - Added `BaseResponse.calls` to access calls data of a separate mocked request. See [#​664](https://togithub.com/getsentry/responses/issues/664) - Added `real_adapter_send` parameter to `RequestsMock` that will allow users to set through which function they would like to send real requests - Added support for re.Pattern based header matching. - Added support for gzipped response bodies to `json_params_matcher`. - Fix `Content-Type` headers issue when the header was duplicated. See [#​644](https://togithub.com/getsentry/responses/issues/644) - Moved types-pyyaml dependency to `tests_requires` - Removed Python3.7 support </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/rpdelaney/downforeveryone). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
[](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.11.0` -> `~3.12.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.12.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3120-2023-10-19) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.11.1...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`\_). .. \_#390:[https://github.com/pytest-dev/pytest-mock/pull/390](https://togithub.com/pytest-dev/pytest-mock/pull/390)0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/naa0yama/pythonboilerplate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](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.10.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. ### [`v3.12.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3120-2023-10-19) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.11.1...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`\_). .. \_#390:[https://github.com/pytest-dev/pytest-mock/pull/390](https://togithub.com/pytest-dev/pytest-mock/pull/390)0 ### [`v3.11.1`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3111-2023-06-15) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.11.0...v3.11.1) (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:[https://github.com/pytest-dev/pytest-mock/pull/365](https://togithub.com/pytest-dev/pytest-mock/pull/365)5 .. \_#364[https://github.com/pytest-dev/pytest-mock/pull/364](https://togithub.com/pytest-dev/pytest-mock/pull/364)64 ### [`v3.11.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3110-2023-06-15) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.10.0...v3.11.0) - Fixed introspection for failed `assert_has_calls` (`#365`\_). - Updated type annotations for `mocker.patch` and `mocker.spy` (`#364`\_). .. \_#365:[https://github.com/pytest-dev/pytest-mock/pull/365](https://togithub.com/pytest-dev/pytest-mock/pull/365)5 .. \_#364[https://github.com/pytest-dev/pytest-mock/pull/364](https://togithub.com/pytest-dev/pytest-mock/pull/364)64 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/BSStudio/bss-web-file-api). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.11.1 to 3.14.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.14.0</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/415">#415</a>: <code>MockType</code> and <code>AsyncMockType</code> can be imported from <code>pytest_mock</code> for type annotation purposes.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/420">#420</a>: Fixed a regression which would cause <code>mocker.patch.object</code> to not being properly cleared between tests.</li> </ul> <h2>v3.13.0</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/417">#417</a>: <code>spy</code> now has <code>spy_return_list</code>, which is a list containing all the values returned by the spied function.</li> <li><code>pytest-mock</code> now requires <code>pytest>=6.2.5</code>.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/410">#410</a>: pytest-mock's <code>setup.py</code> file is removed. If you relied on this file, e.g. to install pytest using <code>setup.py install</code>, please see <a href="https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary">Why you shouldn't invoke setup.py directly</a> for alternatives.</li> </ul> <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.14.0 (2024-03-21)</h2> <ul> <li> <p><code>[#415](pytest-dev/pytest-mock#415) <https://github.com/pytest-dev/pytest-mock/pull/415></code>_: <code>MockType</code> and <code>AsyncMockType</code> can be imported from <code>pytest_mock</code> for type annotation purposes.</p> </li> <li> <p><code>[#420](pytest-dev/pytest-mock#420) <https://github.com/pytest-dev/pytest-mock/issues/420></code>_: Fixed a regression which would cause <code>mocker.patch.object</code> to not being properly cleared between tests.</p> </li> </ul> <h2>3.13.0 (2024-03-21)</h2> <ul> <li><code>[#417](pytest-dev/pytest-mock#417) <https://github.com/pytest-dev/pytest-mock/pull/417></code>_: <code>spy</code> now has <code>spy_return_list</code>, which is a list containing all the values returned by the spied function.</li> <li><code>pytest-mock</code> now requires <code>pytest>=6.2.5</code>.</li> <li><code>[#410](pytest-dev/pytest-mock#410) <https://github.com/pytest-dev/pytest-mock/pull/410></code><em>: pytest-mock's <code>setup.py</code> file is removed. If you relied on this file, e.g. to install pytest using <code>setup.py install</code>, please see <code>Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary></code></em> for alternatives.</li> </ul> <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>[#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/8733134b6194395e9cd3c745adcc9a9c09b0279e"><code>8733134</code></a> Update CHANGELOG for 3.14.0</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/5257e3c0df0a18bca4028daa9e6d2d91870ff576"><code>5257e3c</code></a> Refactor MockCache to have a narrow interface</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/4faf92ae233afadac3831ab570531e540dc87830"><code>4faf92a</code></a> Fix regression with mocker.patch not being undone correctly</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/6bd8712a14a1a11d348354318fdbad3fd9bbdb78"><code>6bd8712</code></a> Drop pre-Python 3.8 support code</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/366966bff1e3ca2e1455d704dd59991da5593877"><code>366966b</code></a> Export <code>MockType</code>/<code>AsyncMockType</code> for type annotations (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/415">#415</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/852116b0af33db27fe595847c091631dcf059a1c"><code>852116b</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/418">#418</a> from pytest-dev/release-3.13.0</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/ef9461b8b5bdcdd416841b986cf4e1d336c84266"><code>ef9461b</code></a> Add instructions on how to start deploy from command-line</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/5b9d2858f507e04cc97a3c206f55d7d5505ae71c"><code>5b9d285</code></a> Release 3.13.0</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/6d5d6dc2274cea96b6919a4a2a6dc7a3394ef11d"><code>6d5d6dc</code></a> Implement <code>spy_return_list</code> (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/417">#417</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/dc28a0ec7b66372fbc6e0cf1bbe443ce7ca465cd"><code>dc28a0e</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/416">#416</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-mock/compare/v3.11.1...v3.14.0">compare view</a></li> </ul> </details> <br /> [](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Seumas Goddard <22810975+seumoose@users.noreply.github.com>
…67) [//]: # (dependabot-start)⚠️ **Dependabot is rebasing this PR**⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Updates the requirements on [pytest-mock](https://github.com/pytest-dev/pytest-mock) to permit the latest version. <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.14.0</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/415">#415</a>: <code>MockType</code> and <code>AsyncMockType</code> can be imported from <code>pytest_mock</code> for type annotation purposes.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/420">#420</a>: Fixed a regression which would cause <code>mocker.patch.object</code> to not being properly cleared between tests.</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.14.0 (2024-03-21)</h2> <ul> <li> <p><code>[#415](pytest-dev/pytest-mock#415) <https://github.com/pytest-dev/pytest-mock/pull/415></code>_: <code>MockType</code> and <code>AsyncMockType</code> can be imported from <code>pytest_mock</code> for type annotation purposes.</p> </li> <li> <p><code>[#420](pytest-dev/pytest-mock#420) <https://github.com/pytest-dev/pytest-mock/issues/420></code>_: Fixed a regression which would cause <code>mocker.patch.object</code> to not being properly cleared between tests.</p> </li> </ul> <h2>3.13.0 (2024-03-21)</h2> <ul> <li><code>[#417](pytest-dev/pytest-mock#417) <https://github.com/pytest-dev/pytest-mock/pull/417></code>_: <code>spy</code> now has <code>spy_return_list</code>, which is a list containing all the values returned by the spied function.</li> <li><code>pytest-mock</code> now requires <code>pytest>=6.2.5</code>.</li> <li><code>[#410](pytest-dev/pytest-mock#410) <https://github.com/pytest-dev/pytest-mock/pull/410></code><em>: pytest-mock's <code>setup.py</code> file is removed. If you relied on this file, e.g. to install pytest using <code>setup.py install</code>, please see <code>Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary></code></em> for alternatives.</li> </ul> <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>[#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> <h2>3.11.1 (2023-06-15)</h2> <p>(This release source code is identical to <code>3.11.0</code> except a small internal fix to deployment/CI)</p> <ul> <li> <p>Fixed introspection for failed <code>assert_has_calls</code> (<code>[#365](https://github.com/pytest-dev/pytest-mock/issues/365)</code>_).</p> </li> <li> <p>Updated type annotations for <code>mocker.patch</code> and <code>mocker.spy</code> (<code>[#364](https://github.com/pytest-dev/pytest-mock/issues/364)</code>_).</p> </li> </ul> <p>.. _<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/365">#365</a>: <a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/365">pytest-dev/pytest-mock#365</a> .. _<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/364">#364</a>: <a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/364">pytest-dev/pytest-mock#364</a></p> <h2>3.11.0 (2023-06-15)</h2> <ul> <li> <p>Fixed introspection for failed <code>assert_has_calls</code> (<code>[#365](https://github.com/pytest-dev/pytest-mock/issues/365)</code>_).</p> </li> <li> <p>Updated type annotations for <code>mocker.patch</code> and <code>mocker.spy</code> (<code>[#364](https://github.com/pytest-dev/pytest-mock/issues/364)</code>_).</p> </li> </ul> <p>.. _<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/365">#365</a>: <a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/365">pytest-dev/pytest-mock#365</a> .. _<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/364">#364</a>: <a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/364">pytest-dev/pytest-mock#364</a></p> <p>3.10.0 (2022-10-05)</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/8733134b6194395e9cd3c745adcc9a9c09b0279e"><code>8733134</code></a> Update CHANGELOG for 3.14.0</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/5257e3c0df0a18bca4028daa9e6d2d91870ff576"><code>5257e3c</code></a> Refactor MockCache to have a narrow interface</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/4faf92ae233afadac3831ab570531e540dc87830"><code>4faf92a</code></a> Fix regression with mocker.patch not being undone correctly</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/6bd8712a14a1a11d348354318fdbad3fd9bbdb78"><code>6bd8712</code></a> Drop pre-Python 3.8 support code</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/366966bff1e3ca2e1455d704dd59991da5593877"><code>366966b</code></a> Export <code>MockType</code>/<code>AsyncMockType</code> for type annotations (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/415">#415</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/852116b0af33db27fe595847c091631dcf059a1c"><code>852116b</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/418">#418</a> from pytest-dev/release-3.13.0</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/ef9461b8b5bdcdd416841b986cf4e1d336c84266"><code>ef9461b</code></a> Add instructions on how to start deploy from command-line</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/5b9d2858f507e04cc97a3c206f55d7d5505ae71c"><code>5b9d285</code></a> Release 3.13.0</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/6d5d6dc2274cea96b6919a4a2a6dc7a3394ef11d"><code>6d5d6dc</code></a> Implement <code>spy_return_list</code> (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/417">#417</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/dc28a0ec7b66372fbc6e0cf1bbe443ce7ca465cd"><code>dc28a0e</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/416">#416</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-mock/compare/v3.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> 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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [black](https://togithub.com/psf/black) ([changelog](https://togithub.com/psf/black/blob/main/CHANGES.md)) | `23.3.0` -> `23.12.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [flake8-bugbear](https://togithub.com/PyCQA/flake8-bugbear#change-log) ([changelog](https://togithub.com/PyCQA/flake8-bugbear#change-log)) | `23.3.12` -> `23.12.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [flake8-builtins](https://togithub.com/gforcada/flake8-builtins) ([changelog](https://togithub.com/gforcada/flake8-builtins/blob/main/CHANGES.rst)) | `2.1.0` -> `2.5.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/) | | [flake8-comprehensions](https://togithub.com/adamchainz/flake8-comprehensions) ([changelog](https://togithub.com/adamchainz/flake8-comprehensions/blob/main/CHANGELOG.rst)) | `3.13.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/) | | [flake8-pytest-style](https://pypi.org/project/flake8-pytest-style) ([source](https://togithub.com/m-burst/flake8-pytest-style)) | `1.6.0` -> `1.7.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [isort](https://pycqa.github.io/isort/) ([source](https://togithub.com/pycqa/isort), [changelog](https://togithub.com/pycqa/isort/blob/main/CHANGELOG.md)) | `5.11.5` -> `5.13.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [mypy](https://www.mypy-lang.org/) ([source](https://togithub.com/python/mypy), [changelog](https://mypy-lang.blogspot.com/)) | `1.4.1` -> `1.10.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/) | | [pytest-mock](https://togithub.com/pytest-dev/pytest-mock) ([changelog](https://pytest-mock.readthedocs.io/en/latest/changelog.html)) | `3.11.1` -> `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/) | | [responses](https://togithub.com/getsentry/responses) ([changelog](https://togithub.com/getsentry/responses/blob/master/CHANGES)) | `0.23.3` -> `0.25.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>psf/black (black)</summary> ### [`v23.12.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23121) [Compare Source](https://togithub.com/psf/black/compare/23.12.0...23.12.1) ##### Packaging - Fixed a bug that included dependencies from the `d` extra by default ([#​4108](https://togithub.com/psf/black/issues/4108)) ### [`v23.12.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23120) [Compare Source](https://togithub.com/psf/black/compare/23.11.0...23.12.0) ##### Highlights It's almost 2024, which means it's time for a new edition of *Black*'s stable style! Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft 2024 stable style, which we'll finalize in the January release. Please try it out and [share your feedback](https://togithub.com/psf/black/issues/4042). This release (23.12.0) will still produce the 2023 style. Most but not all of the changes in `--preview` mode will be in the 2024 stable style. ##### Stable style - Fix bug where `# fmt: off` automatically dedents when used with the `--line-ranges` option, even when it is not within the specified line range. ([#​4084](https://togithub.com/psf/black/issues/4084)) - Fix feature detection for parenthesized context managers ([#​4104](https://togithub.com/psf/black/issues/4104)) ##### Preview style - Prefer more equal signs before a break when splitting chained assignments ([#​4010](https://togithub.com/psf/black/issues/4010)) - Standalone form feed characters at the module level are no longer removed ([#​4021](https://togithub.com/psf/black/issues/4021)) - Additional cases of immediately nested tuples, lists, and dictionaries are now indented less ([#​4012](https://togithub.com/psf/black/issues/4012)) - Allow empty lines at the beginning of all blocks, except immediately before a docstring ([#​4060](https://togithub.com/psf/black/issues/4060)) - Fix crash in preview mode when using a short `--line-length` ([#​4086](https://togithub.com/psf/black/issues/4086)) - Keep suites consisting of only an ellipsis on their own lines if they are not functions or class definitions ([#​4066](https://togithub.com/psf/black/issues/4066)) ([#​4103](https://togithub.com/psf/black/issues/4103)) ##### Configuration - `--line-ranges` now skips *Black*'s internal stability check in `--safe` mode. This avoids a crash on rare inputs that have many unformatted same-content lines. ([#​4034](https://togithub.com/psf/black/issues/4034)) ##### Packaging - Upgrade to mypy 1.7.1 ([#​4049](https://togithub.com/psf/black/issues/4049)) ([#​4069](https://togithub.com/psf/black/issues/4069)) - Faster compiled wheels are now available for CPython 3.12 ([#​4070](https://togithub.com/psf/black/issues/4070)) ##### Integrations - Enable 3.12 CI ([#​4035](https://togithub.com/psf/black/issues/4035)) - Build docker images in parallel ([#​4054](https://togithub.com/psf/black/issues/4054)) - Build docker images with 3.12 ([#​4055](https://togithub.com/psf/black/issues/4055)) ### [`v23.11.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23110) [Compare Source](https://togithub.com/psf/black/compare/23.10.1...23.11.0) ##### Highlights - Support formatting ranges of lines with the new `--line-ranges` command-line option ([#​4020](https://togithub.com/psf/black/issues/4020)) ##### Stable style - Fix crash on formatting bytes strings that look like docstrings ([#​4003](https://togithub.com/psf/black/issues/4003)) - Fix crash when whitespace followed a backslash before newline in a docstring ([#​4008](https://togithub.com/psf/black/issues/4008)) - Fix standalone comments inside complex blocks crashing Black ([#​4016](https://togithub.com/psf/black/issues/4016)) - Fix crash on formatting code like `await (a ** b)` ([#​3994](https://togithub.com/psf/black/issues/3994)) - No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash ([#​4019](https://togithub.com/psf/black/issues/4019)) ##### Preview style - Multiline dicts and lists that are the sole argument to a function are now indented less ([#​3964](https://togithub.com/psf/black/issues/3964)) - Multiline unpacked dicts and lists as the sole argument to a function are now also indented less ([#​3992](https://togithub.com/psf/black/issues/3992)) - In f-string debug expressions, quote types that are visible in the final string are now preserved ([#​4005](https://togithub.com/psf/black/issues/4005)) - Fix a bug where long `case` blocks were not split into multiple lines. Also enable general trailing comma rules on `case` blocks ([#​4024](https://togithub.com/psf/black/issues/4024)) - Keep requiring two empty lines between module-level docstring and first function or class definition ([#​4028](https://togithub.com/psf/black/issues/4028)) - Add support for single-line format skip with other comments on the same line ([#​3959](https://togithub.com/psf/black/issues/3959)) ##### Configuration - Consistently apply force exclusion logic before resolving symlinks ([#​4015](https://togithub.com/psf/black/issues/4015)) - Fix a bug in the matching of absolute path names in `--include` ([#​3976](https://togithub.com/psf/black/issues/3976)) ##### Performance - Fix mypyc builds on arm64 on macOS ([#​4017](https://togithub.com/psf/black/issues/4017)) ##### Integrations - Black's pre-commit integration will now run only on git hooks appropriate for a code formatter ([#​3940](https://togithub.com/psf/black/issues/3940)) ### [`v23.10.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23101) [Compare Source](https://togithub.com/psf/black/compare/23.10.0...23.10.1) ##### Highlights - Maintenance release to get a fix out for GitHub Action edge case ([#​3957](https://togithub.com/psf/black/issues/3957)) ##### Preview style - Fix merging implicit multiline strings that have inline comments ([#​3956](https://togithub.com/psf/black/issues/3956)) - Allow empty first line after block open before a comment or compound statement ([#​3967](https://togithub.com/psf/black/issues/3967)) ##### Packaging - Change Dockerfile to hatch + compile black ([#​3965](https://togithub.com/psf/black/issues/3965)) ##### Integrations - The summary output for GitHub workflows is now suppressible using the `summary` parameter. ([#​3958](https://togithub.com/psf/black/issues/3958)) - Fix the action failing when Black check doesn't pass ([#​3957](https://togithub.com/psf/black/issues/3957)) ##### Documentation - It is known Windows documentation CI is broken [https://github.com/psf/black/issues/3968](https://togithub.com/psf/black/issues/3968)3968 ### [`v23.10.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23100) [Compare Source](https://togithub.com/psf/black/compare/23.9.1...23.10.0) ##### Stable style - Fix comments getting removed from inside parenthesized strings ([#​3909](https://togithub.com/psf/black/issues/3909)) ##### Preview style - Fix long lines with power operators getting split before the line length ([#​3942](https://togithub.com/psf/black/issues/3942)) - Long type hints are now wrapped in parentheses and properly indented when split across multiple lines ([#​3899](https://togithub.com/psf/black/issues/3899)) - Magic trailing commas are now respected in return types. ([#​3916](https://togithub.com/psf/black/issues/3916)) - Require one empty line after module-level docstrings. ([#​3932](https://togithub.com/psf/black/issues/3932)) - Treat raw triple-quoted strings as docstrings ([#​3947](https://togithub.com/psf/black/issues/3947)) ##### Configuration - Fix cache versioning logic when `BLACK_CACHE_DIR` is set ([#​3937](https://togithub.com/psf/black/issues/3937)) ##### Parser - Fix bug where attributes named `type` were not acccepted inside `match` statements ([#​3950](https://togithub.com/psf/black/issues/3950)) - Add support for PEP 695 type aliases containing lambdas and other unusual expressions ([#​3949](https://togithub.com/psf/black/issues/3949)) ##### Output - Black no longer attempts to provide special errors for attempting to format Python 2 code ([#​3933](https://togithub.com/psf/black/issues/3933)) - Black will more consistently print stacktraces on internal errors in verbose mode ([#​3938](https://togithub.com/psf/black/issues/3938)) ##### Integrations - The action output displayed in the job summary is now wrapped in Markdown ([#​3914](https://togithub.com/psf/black/issues/3914)) ### [`v23.9.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2391) [Compare Source](https://togithub.com/psf/black/compare/23.9.0...23.9.1) Due to various issues, the previous release (23.9.0) did not include compiled mypyc wheels, which make Black significantly faster. These issues have now been fixed, and this release should come with compiled wheels once again. There will be no wheels for Python 3.12 due to a bug in mypyc. We will provide 3.12 wheels in a future release as soon as the mypyc bug is fixed. ##### Packaging - Upgrade to mypy 1.5.1 ([#​3864](https://togithub.com/psf/black/issues/3864)) ##### Performance - Store raw tuples instead of NamedTuples in Black's cache, improving performance and decreasing the size of the cache ([#​3877](https://togithub.com/psf/black/issues/3877)) ### [`v23.9.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2390) [Compare Source](https://togithub.com/psf/black/compare/23.7.0...23.9.0) ##### Preview style - More concise formatting for dummy implementations ([#​3796](https://togithub.com/psf/black/issues/3796)) - In stub files, add a blank line between a statement with a body (e.g an `if sys.version_info > (3, x):`) and a function definition on the same level ([#​3862](https://togithub.com/psf/black/issues/3862)) - Fix a bug whereby spaces were removed from walrus operators within subscript([#​3823](https://togithub.com/psf/black/issues/3823)) ##### Configuration - Black now applies exclusion and ignore logic before resolving symlinks ([#​3846](https://togithub.com/psf/black/issues/3846)) ##### Performance - Avoid importing `IPython` if notebook cells do not contain magics ([#​3782](https://togithub.com/psf/black/issues/3782)) - Improve caching by comparing file hashes as fallback for mtime and size ([#​3821](https://togithub.com/psf/black/issues/3821)) ##### *Blackd* - Fix an issue in `blackd` with single character input ([#​3558](https://togithub.com/psf/black/issues/3558)) ##### Integrations - Black now has an [official pre-commit mirror](https://togithub.com/psf/black-pre-commit-mirror). Swapping `https://github.com/psf/black` to `https://github.com/psf/black-pre-commit-mirror` in your `.pre-commit-config.yaml` will make Black about 2x faster ([#​3828](https://togithub.com/psf/black/issues/3828)) - The `.black.env` folder specified by `ENV_PATH` will now be removed on the completion of the GitHub Action ([#​3759](https://togithub.com/psf/black/issues/3759)) ### [`v23.7.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2370) [Compare Source](https://togithub.com/psf/black/compare/23.3.0...23.7.0) ##### Highlights - Runtime support for Python 3.7 has been removed. Formatting 3.7 code will still be supported until further notice ([#​3765](https://togithub.com/psf/black/issues/3765)) ##### Stable style - Fix a bug where an illegal trailing comma was added to return type annotations using PEP 604 unions ([#​3735](https://togithub.com/psf/black/issues/3735)) - Fix several bugs and crashes where comments in stub files were removed or mishandled under some circumstances ([#​3745](https://togithub.com/psf/black/issues/3745)) - Fix a crash with multi-line magic comments like `type: ignore` within parentheses ([#​3740](https://togithub.com/psf/black/issues/3740)) - Fix error in AST validation when *Black* removes trailing whitespace in a type comment ([#​3773](https://togithub.com/psf/black/issues/3773)) ##### Preview style - Implicitly concatenated strings used as function args are no longer wrapped inside parentheses ([#​3640](https://togithub.com/psf/black/issues/3640)) - Remove blank lines between a class definition and its docstring ([#​3692](https://togithub.com/psf/black/issues/3692)) ##### Configuration - The `--workers` argument to *Black* can now be specified via the `BLACK_NUM_WORKERS` environment variable ([#​3743](https://togithub.com/psf/black/issues/3743)) - `.pytest_cache`, `.ruff_cache` and `.vscode` are now excluded by default ([#​3691](https://togithub.com/psf/black/issues/3691)) - Fix *Black* not honouring `pyproject.toml` settings when running `--stdin-filename` and the `pyproject.toml` found isn't in the current working directory ([#​3719](https://togithub.com/psf/black/issues/3719)) - *Black* will now error if `exclude` and `extend-exclude` have invalid data types in `pyproject.toml`, instead of silently doing the wrong thing ([#​3764](https://togithub.com/psf/black/issues/3764)) ##### Packaging - Upgrade mypyc from 0.991 to 1.3 ([#​3697](https://togithub.com/psf/black/issues/3697)) - Remove patching of Click that mitigated errors on Python 3.6 with `LANG=C` ([#​3768](https://togithub.com/psf/black/issues/3768)) ##### Parser - Add support for the new PEP 695 syntax in Python 3.12 ([#​3703](https://togithub.com/psf/black/issues/3703)) ##### Performance - Speed up *Black* significantly when the cache is full ([#​3751](https://togithub.com/psf/black/issues/3751)) - Avoid importing `IPython` in a case where we wouldn't need it ([#​3748](https://togithub.com/psf/black/issues/3748)) ##### Output - Use aware UTC datetimes internally, avoids deprecation warning on Python 3.12 ([#​3728](https://togithub.com/psf/black/issues/3728)) - Change verbose logging to exactly mirror *Black*'s logic for source discovery ([#​3749](https://togithub.com/psf/black/issues/3749)) ##### *Blackd* - The `blackd` argument parser now shows the default values for options in their help text ([#​3712](https://togithub.com/psf/black/issues/3712)) ##### Integrations - Black is now tested with [`PYTHONWARNDEFAULTENCODING = 1`](https://docs.python.org/3/library/io.html#io-encoding-warning) ([#​3763](https://togithub.com/psf/black/issues/3763)) - Update GitHub Action to display black output in the job summary ([#​3688](https://togithub.com/psf/black/issues/3688)) ##### Documentation - Add a CITATION.cff file to the root of the repository, containing metadata on how to cite this software ([#​3723](https://togithub.com/psf/black/issues/3723)) - Update the *classes* and *exceptions* documentation in Developer reference to match the latest code base ([#​3755](https://togithub.com/psf/black/issues/3755)) </details> <details> <summary>PyCQA/flake8-bugbear (flake8-bugbear)</summary> ### [`v23.12.2`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.12.2) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.11.28...23.12.2) - B018: to detect useless-statements at all levels ([#​434](https://togithub.com/PyCQA/flake8-bugbear/issues/434)) - B018: Add classname to b018 useless-expression output ([#​433](https://togithub.com/PyCQA/flake8-bugbear/issues/433)) - B018: Include tuples in b018 useless-statement check ([#​432](https://togithub.com/PyCQA/flake8-bugbear/issues/432)) ### [`v23.11.28`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.11.28) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.11.26...23.11.28) - B035: Fix false positive when named expressions are used ([#​430](https://togithub.com/PyCQA/flake8-bugbear/issues/430)) ### [`v23.11.26`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.11.26) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.9.16...23.11.26) - B035: add check for static keys in dict-comprehension ([#​426](https://togithub.com/PyCQA/flake8-bugbear/issues/426)) - B902: Add exceptions for standard library metaclasses ([#​415](https://togithub.com/PyCQA/flake8-bugbear/issues/415)) - B017: Modify to no longer have a false negative when raises() is imported directly from pytest ([#​424](https://togithub.com/PyCQA/flake8-bugbear/issues/424)) - B026: Fix bug where the check was not triggered for calls where the caller is an attribute ([#​420](https://togithub.com/PyCQA/flake8-bugbear/issues/420)) ### [`v23.9.16`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.9.16) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.7.10...23.9.16) - add --classmethod-decorators ([#​405](https://togithub.com/PyCQA/flake8-bugbear/issues/405)) - fix name collision for node_stack on python 3.12 ([#​406](https://togithub.com/PyCQA/flake8-bugbear/issues/406)) - Use pypa/build to build the package ([#​404](https://togithub.com/PyCQA/flake8-bugbear/issues/404)) ### [`v23.7.10`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.7.10) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.6.5...23.7.10) - Add B034: re.sub/subn/split must pass flags/count/maxsplit as keyword arguments. - Fix a crash and several test failures on Python 3.12, all relating to the B907 check. - Declare support for Python 3.12. ### [`v23.6.5`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.6.5) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.5.9...23.6.5) - Include tox.ini in MANIFEST.in for sdist. ([#​389](https://togithub.com/PyCQA/flake8-bugbear/issues/389)) - Improve B033 (duplicate set items) ([#​385](https://togithub.com/PyCQA/flake8-bugbear/issues/385)) ### [`v23.5.9`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.5.9) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.3.23...23.5.9) - Add B033: Detect duplicate items in sets - Add B908: Detect assertRauses like contexts only has top level statements that could throw - Add B028: Allow stacklevel to be explicitly assigned as a positional argument - Remove more < 3.8 checks / assertions ### [`v23.3.23`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.3.23) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.3.12...23.3.23) - flake8-bugbear is now >= 3.8.1 project like flake8>=6.0.0 - This has allowed some more modern AST usage cleanup and less CI running etc. - B030: Fix crash on certain unusual except handlers (e.g. `except a[0].b:`) </details> <details> <summary>gforcada/flake8-builtins (flake8-builtins)</summary> ### [`v2.5.0`](https://togithub.com/gforcada/flake8-builtins/blob/HEAD/CHANGES.rst#250-2024-04-09) [Compare Source](https://togithub.com/gforcada/flake8-builtins/compare/2.4.0...2.5.0) - Support detecting a shadowing folder as module name (as part of `A005`). \[asfaltboy] ### [`v2.4.0`](https://togithub.com/gforcada/flake8-builtins/blob/HEAD/CHANGES.rst#240-2024-04-01) [Compare Source](https://togithub.com/gforcada/flake8-builtins/compare/2.3.0...2.4.0) - Add rule for lambda argument shadowing (`A006`). \[cielavenir] ### [`v2.3.0`](https://togithub.com/gforcada/flake8-builtins/blob/HEAD/CHANGES.rst#230-2024-03-29) [Compare Source](https://togithub.com/gforcada/flake8-builtins/compare/2.2.0...2.3.0) - Add rule for builtin module name shadowing (`A005`). \[asfaltboy] ### [`v2.2.0`](https://togithub.com/gforcada/flake8-builtins/blob/HEAD/CHANGES.rst#220-2023-11-03) [Compare Source](https://togithub.com/gforcada/flake8-builtins/compare/2.1.0...2.2.0) - Use `tox` and `pre-commit` to ease project maintenance. \[gforcada] </details> <details> <summary>adamchainz/flake8-comprehensions (flake8-comprehensions)</summary> ### [`v3.14.0`](https://togithub.com/adamchainz/flake8-comprehensions/blob/HEAD/CHANGELOG.rst#3140-2023-07-10) [Compare Source](https://togithub.com/adamchainz/flake8-comprehensions/compare/3.13.0...3.14.0) - Drop Python 3.7 support. </details> <details> <summary>m-burst/flake8-pytest-style (flake8-pytest-style)</summary> ### [`v1.7.2`](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.1...v1.7.2) [Compare Source](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.1...v1.7.2) ### [`v1.7.1`](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.0...v1.7.1) [Compare Source](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.7.0...v1.7.1) ### [`v1.7.0`](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.6.0...v1.7.0) [Compare Source](https://togithub.com/m-burst/flake8-pytest-style/compare/v1.6.0...v1.7.0) </details> <details> <summary>pycqa/isort (isort)</summary> ### [`v5.13.2`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5132-December-13-2023) [Compare Source](https://togithub.com/pycqa/isort/compare/5.13.1...5.13.2) - Apply the bracket fix from issue [#​471](https://togithub.com/pycqa/isort/issues/471) only for use_parentheses=True ([#​2184](https://togithub.com/pycqa/isort/issues/2184)) [@​bp72](https://togithub.com/bp72) - Confine pre-commit to stages ([#​2213](https://togithub.com/pycqa/isort/issues/2213)) [@​davidculley](https://togithub.com/davidculley) - Fixed colors extras ([#​2212](https://togithub.com/pycqa/isort/issues/2212)) [@​staticdev](https://togithub.com/staticdev) ### [`v5.13.1`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5131-December-11-2023) [Compare Source](https://togithub.com/pycqa/isort/compare/5.13.0...5.13.1) - Fixed integration tests ([#​2208](https://togithub.com/pycqa/isort/issues/2208)) [@​bp72](https://togithub.com/bp72) - Fixed normalizing imports from more than one level of parent modules (issue/2152) ([#​2191](https://togithub.com/pycqa/isort/issues/2191)) [@​bp72](https://togithub.com/bp72) - Remove optional dependencies without extras ([#​2207](https://togithub.com/pycqa/isort/issues/2207)) [@​staticdev](https://togithub.com/staticdev) ### [`v5.13.0`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5130-December-9-2023) [Compare Source](https://togithub.com/pycqa/isort/compare/5.12.0...5.13.0) - Cleanup deprecated extras ([#​2089](https://togithub.com/pycqa/isort/issues/2089)) [@​staticdev](https://togithub.com/staticdev) - Fixed [#​1989](https://togithub.com/pycqa/isort/issues/1989): settings lookup when working in stream based mode - Fixed 80 line length for wemake linter ([#​2183](https://togithub.com/pycqa/isort/issues/2183)) [@​skatromb](https://togithub.com/skatromb) - Add support for Python 3.12 ([#​2175](https://togithub.com/pycqa/isort/issues/2175)) [@​hugovk](https://togithub.com/hugovk) - Fixed: add newest version to pre-commit docs ([#​2190](https://togithub.com/pycqa/isort/issues/2190)) [@​AzulGarza](https://togithub.com/AzulGarza) - Fixed assertions in test_git_hook ([#​2196](https://togithub.com/pycqa/isort/issues/2196)) [@​mgorny](https://togithub.com/mgorny) - Removed check for include_trailing_comma for the Hanging Indent wrap mode ([#​2192](https://togithub.com/pycqa/isort/issues/2192)) [@​bp72](https://togithub.com/bp72) - Use the standard library tomllib on sufficiently new python ([#​2202](https://togithub.com/pycqa/isort/issues/2202)) [@​eli-schwartz](https://togithub.com/eli-schwartz) - Update pre-commit.md version number ([#​2197](https://togithub.com/pycqa/isort/issues/2197)) [@​nicobako](https://togithub.com/nicobako) - doc: Update black_compatibility.md ([#​2177](https://togithub.com/pycqa/isort/issues/2177)) [@​JSS95](https://togithub.com/JSS95) - Fixed safety sept 2023 ([#​2178](https://togithub.com/pycqa/isort/issues/2178)) [@​staticdev](https://togithub.com/staticdev) - docs: fix black profile documentation ([#​2163](https://togithub.com/pycqa/isort/issues/2163)) [@​nijel](https://togithub.com/nijel) - Fixed typo: indended -> indented ([#​2161](https://togithub.com/pycqa/isort/issues/2161)) [@​vadimkerr](https://togithub.com/vadimkerr) - Docs(configuration/options.md): fix missing trailing spaces for hard linebreak ([#​2157](https://togithub.com/pycqa/isort/issues/2157)) [@​JoeyTeng](https://togithub.com/JoeyTeng) - Update pre-commit.md ([#​2148](https://togithub.com/pycqa/isort/issues/2148)) [@​godiard](https://togithub.com/godiard) - chore: move configurations to pyproject.toml ([#​2115](https://togithub.com/pycqa/isort/issues/2115)) [@​SauravMaheshkar](https://togithub.com/SauravMaheshkar) - Fixed typo in README ([#​2112](https://togithub.com/pycqa/isort/issues/2112)) [@​stefmolin](https://togithub.com/stefmolin) - Update version in pre-commit setup to avoid installation issue with poetry ([#​2103](https://togithub.com/pycqa/isort/issues/2103)) [@​stefmolin](https://togithub.com/stefmolin) - Skip .pytype directory by default. ([#​2098](https://togithub.com/pycqa/isort/issues/2098)) [@​manueljacob](https://togithub.com/manueljacob) - Fixed a tip block styling in the Config Files section ([#​2097](https://togithub.com/pycqa/isort/issues/2097)) [@​Klavionik](https://togithub.com/Klavionik) - Do not cache configuration files ([#​1995](https://togithub.com/pycqa/isort/issues/1995)) [@​kaste](https://togithub.com/kaste) - Derive settings_path from --filename ([#​1992](https://togithub.com/pycqa/isort/issues/1992)) [@​kaste](https://togithub.com/kaste) - Fixed year of version 5.12.0 in CHANGELOG.md ([#​2082](https://togithub.com/pycqa/isort/issues/2082)) [@​DjLegolas](https://togithub.com/DjLegolas) ### [`v5.12.0`](https://togithub.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5120-January-28-2023) [Compare Source](https://togithub.com/pycqa/isort/compare/5.11.5...5.12.0) - Removed support for Python 3.7 - Fixed incompatiblity with latest poetry version - Added support for directory limitations within built in git hook </details> <details> <summary>python/mypy (mypy)</summary> ### [`v1.10.0`](https://togithub.com/python/mypy/compare/1.9.0...v1.10.0) [Compare Source](https://togithub.com/python/mypy/compare/1.9.0...v1.10.0) ### [`v1.9.0`](https://togithub.com/python/mypy/compare/v1.8.0...1.9.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.8.0...1.9.0) ### [`v1.8.0`](https://togithub.com/python/mypy/compare/v1.7.1...v1.8.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.7.1...v1.8.0) ### [`v1.7.1`](https://togithub.com/python/mypy/compare/v1.7.0...v1.7.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.7.0...v1.7.1) ### [`v1.7.0`](https://togithub.com/python/mypy/compare/v1.6.1...v1.7.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.6.1...v1.7.0) ### [`v1.6.1`](https://togithub.com/python/mypy/compare/v1.6.0...v1.6.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.6.0...v1.6.1) ### [`v1.6.0`](https://togithub.com/python/mypy/compare/v1.5.1...v1.6.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.5.1...v1.6.0) ### [`v1.5.1`](https://togithub.com/python/mypy/compare/v1.5.0...v1.5.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.5.0...v1.5.1) ### [`v1.5.0`](https://togithub.com/python/mypy/compare/v1.4.1...v1.5.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.4.1...v1.5.0) </details> <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. ### [`v3.12.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3120-2023-10-19) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.11.1...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`\_). .. \_#390:[https://github.com/pytest-dev/pytest-mock/pull/390](https://togithub.com/pytest-dev/pytest-mock/pull/390)0 </details> <details> <summary>getsentry/responses (responses)</summary> ### [`v0.25.0`](https://togithub.com/getsentry/responses/blob/HEAD/CHANGES#0250) [Compare Source](https://togithub.com/getsentry/responses/compare/0.24.1...0.25.0) - Added support for Python 3.12 - Fixed `matchers.header_matcher` not failing when a matched header is missing from the request. See [#​702](https://togithub.com/getsentry/responses/issues/702) ### [`v0.24.1`](https://togithub.com/getsentry/responses/blob/HEAD/CHANGES#0241) [Compare Source](https://togithub.com/getsentry/responses/compare/0.24.0...0.24.1) - Reverted overloads removal - Added typing to `Call` attributes. - Fix socket issues (see [#​693](https://togithub.com/getsentry/responses/issues/693)) ### [`v0.24.0`](https://togithub.com/getsentry/responses/blob/HEAD/CHANGES#0240) [Compare Source](https://togithub.com/getsentry/responses/compare/0.23.3...0.24.0) - Added `BaseResponse.calls` to access calls data of a separate mocked request. See [#​664](https://togithub.com/getsentry/responses/issues/664) - Added `real_adapter_send` parameter to `RequestsMock` that will allow users to set through which function they would like to send real requests - Added support for re.Pattern based header matching. - Added support for gzipped response bodies to `json_params_matcher`. - Fix `Content-Type` headers issue when the header was duplicated. See [#​644](https://togithub.com/getsentry/responses/issues/644) - Moved types-pyyaml dependency to `tests_requires` - Removed Python3.7 support </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/rpdelaney/downforeveryone). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [mypy](https://www.mypy-lang.org/) ([source](https://togithub.com/python/mypy), [changelog](https://mypy-lang.blogspot.com/)) | `1.4.1` -> `1.10.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/) | | [pytest-mock](https://togithub.com/pytest-dev/pytest-mock) ([changelog](https://pytest-mock.readthedocs.io/en/latest/changelog.html)) | `3.11.1` -> `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/) | | [responses](https://togithub.com/getsentry/responses) ([changelog](https://togithub.com/getsentry/responses/blob/master/CHANGES)) | `0.23.3` -> `0.25.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>python/mypy (mypy)</summary> ### [`v1.10.0`](https://togithub.com/python/mypy/compare/1.9.0...v1.10.0) [Compare Source](https://togithub.com/python/mypy/compare/1.9.0...v1.10.0) ### [`v1.9.0`](https://togithub.com/python/mypy/compare/v1.8.0...1.9.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.8.0...1.9.0) ### [`v1.8.0`](https://togithub.com/python/mypy/compare/v1.7.1...v1.8.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.7.1...v1.8.0) ### [`v1.7.1`](https://togithub.com/python/mypy/compare/v1.7.0...v1.7.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.7.0...v1.7.1) ### [`v1.7.0`](https://togithub.com/python/mypy/compare/v1.6.1...v1.7.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.6.1...v1.7.0) ### [`v1.6.1`](https://togithub.com/python/mypy/compare/v1.6.0...v1.6.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.6.0...v1.6.1) ### [`v1.6.0`](https://togithub.com/python/mypy/compare/v1.5.1...v1.6.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.5.1...v1.6.0) ### [`v1.5.1`](https://togithub.com/python/mypy/compare/v1.5.0...v1.5.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.5.0...v1.5.1) ### [`v1.5.0`](https://togithub.com/python/mypy/compare/v1.4.1...v1.5.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.4.1...v1.5.0) </details> <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. ### [`v3.12.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3120-2023-10-19) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.11.1...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`\_). .. \_#390:[https://github.com/pytest-dev/pytest-mock/pull/390](https://togithub.com/pytest-dev/pytest-mock/pull/390)0 </details> <details> <summary>getsentry/responses (responses)</summary> ### [`v0.25.0`](https://togithub.com/getsentry/responses/blob/HEAD/CHANGES#0250) [Compare Source](https://togithub.com/getsentry/responses/compare/0.24.1...0.25.0) - Added support for Python 3.12 - Fixed `matchers.header_matcher` not failing when a matched header is missing from the request. See [#​702](https://togithub.com/getsentry/responses/issues/702) ### [`v0.24.1`](https://togithub.com/getsentry/responses/blob/HEAD/CHANGES#0241) [Compare Source](https://togithub.com/getsentry/responses/compare/0.24.0...0.24.1) - Reverted overloads removal - Added typing to `Call` attributes. - Fix socket issues (see [#​693](https://togithub.com/getsentry/responses/issues/693)) ### [`v0.24.0`](https://togithub.com/getsentry/responses/blob/HEAD/CHANGES#0240) [Compare Source](https://togithub.com/getsentry/responses/compare/0.23.3...0.24.0) - Added `BaseResponse.calls` to access calls data of a separate mocked request. See [#​664](https://togithub.com/getsentry/responses/issues/664) - Added `real_adapter_send` parameter to `RequestsMock` that will allow users to set through which function they would like to send real requests - Added support for re.Pattern based header matching. - Added support for gzipped response bodies to `json_params_matcher`. - Fix `Content-Type` headers issue when the header was duplicated. See [#​644](https://togithub.com/getsentry/responses/issues/644) - Moved types-pyyaml dependency to `tests_requires` - Removed Python3.7 support </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates 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/rpdelaney/downforeveryone). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
Bumps the required group with 7 updates: | Package | From | To | | --- | --- | --- | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.23` | `9.5.24` | | [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) | `0.24.2` | `0.25.1` | | [mkdocstrings-python](https://github.com/mkdocstrings/python) | `1.9.2` | `1.10.3` | | [pylint](https://github.com/pylint-dev/pylint) | `3.2.0` | `3.2.2` | | [pytest](https://github.com/pytest-dev/pytest) | `8.2.0` | `8.2.1` | | [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.11.1` | `3.14.0` | | [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) | `0.23.6` | `0.23.7` | Updates `mkdocs-material` from 9.5.23 to 9.5.24 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/releases">mkdocs-material's releases</a>.</em></p> <blockquote> <h2>mkdocs-material-9.5.24</h2> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7187">#7187</a>: Version selector title rendering issue</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG">mkdocs-material's changelog</a>.</em></p> <blockquote> <p>mkdocs-material-9.5.24+insiders-4.53.10 (2024-05-20)</p> <ul> <li>Fixed projects plugin crashing in serve mode when disabled</li> <li>Fixed projects plugin crashing when building nested projects</li> </ul> <p>mkdocs-material-9.5.24+insiders-4.53.9 (2024-05-20)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7191">#7191</a>: Tags listings not rendering when toc_depth is changed</li> </ul> <p>mkdocs-material-9.5.24 (2024-05-20)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7187">#7187</a>: Version selector title rendering issue</li> </ul> <p>mkdocs-material-9.5.23 (2024-05-15)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7183">#7183</a>: Edge case in anchor navigation when using instant navigation</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6436">#6436</a>: Version selector not showing version alias</li> </ul> <p>mkdocs-material-9.5.22 (2024-05-12)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7170">#7170</a>: Copy button adds empty lines for line spans (9.5.18 regression)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7160">#7160</a>: Version switching doesn't stay on page (9.5.5 regression)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/5619">#5619</a>: Links in Mermaid.js diagrams not discernible</li> </ul> <p>mkdocs-material-9.5.21 (2024-05-03)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7133">#7133</a>: Ensure latest version of Mermaid.js is used</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7125">#7125</a>: Added warning for dotfiles in info plugin</li> </ul> <p>mkdocs-material-9.5.20 (2024-04-29)</p> <ul> <li>Fixed deprecation warning in privacy plugin (9.5.19 regression)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7119">#7119</a>: Tags plugin emits deprecation warning (9.5.19 regression)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7118">#7118</a>: Social plugin crashes if fonts are disabled (9.5.19 regression)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7085">#7085</a>: Social plugin crashes on Windows when downloading fonts</li> </ul> <p>mkdocs-material-9.5.19+insiders-4.53.8 (2024-04-26)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7052">#7052</a>: Preview extension automatically including all pages</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7051">#7051</a>: Instant previews mounting on footnote references</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/5165">#5165</a>: Improved tooltips not mounting in sidebar for typeset plugin</li> </ul> <p>mkdocs-material-9.5.19+insiders-4.53.7 (2024-04-25)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7060">#7060</a>: Incorrect resolution of translation when using static-i18n</li> </ul> <p>mkdocs-material-9.5.19 (2024-04-25)</p> <ul> <li>Updated MkDocs to 1.6 and limited version to < 2</li> <li>Updated Docker image to latest Alpine Linux</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/a5cc0691df2d65285505ff4b932d6a3aa2522ca4"><code>a5cc069</code></a> Prepare 9.5.24 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/72caddf8e3269605e86ad84a30694021fec8dc43"><code>72caddf</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/407335d20b09cdb68c9efd1777c0e2efdb46e85b"><code>407335d</code></a> Fixed title rendering in version selector</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/f494840bd5199a9a758e996bf94cd1bcbc85570d"><code>f494840</code></a> Documented for scope setting</li> <li>See full diff in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.5.23...9.5.24">compare view</a></li> </ul> </details> <br /> Updates `mkdocstrings[python]` from 0.24.2 to 0.25.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mkdocstrings/mkdocstrings/releases">mkdocstrings[python]'s releases</a>.</em></p> <blockquote> <h2>0.25.1</h2> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.25.1">0.25.1</a> - 2024-05-05</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.25.0...0.25.1">Compare with 0.25.0</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Always descend into sub-headings when re-applying their label (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/cb86e08bbc5e8057393aa1cd7ca29bc2b40ab5eb">cb86e08</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/158">Issue-mkdocstrings/python-158</a></li> </ul> <h2>0.25.0</h2> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.25.0">0.25.0</a> - 2024-04-27</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.3...0.25.0">Compare with 0.24.3</a><!-- raw HTML omitted --></p> <h3>Features</h3> <ul> <li>Support <code>once</code> parameter in logging methods, allowing to log a message only once with a given logger (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/1532b59a6efd99fed846cf7edfd0b26525700d3f">1532b59</a> by Timothée Mazzucotelli).</li> <li>Support blank line between <code>::: path</code> and YAML options (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/d799d2f3903bce44fb751f8cf3fb8078d25549da">d799d2f</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/mkdocstrings/issues/450">Issue-450</a></li> </ul> <h3>Code Refactoring</h3> <ul> <li>Allow specifying name of template loggers (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/c5b5f697c83271d961c7ac795412d6b4964ba2b7">c5b5f69</a> by Timothée Mazzucotelli).</li> </ul> <h2>0.24.3</h2> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.24.3">0.24.3</a> - 2024-04-05</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.2...0.24.3">Compare with 0.24.2</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Support HTML toc labels with Python-Markdown 3.6+ (uncomment code...) (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/7fe3e5f28239c08094fb656728369998f52630ea">7fe3e5f</a> by Timothée Mazzucotelli).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md">mkdocstrings[python]'s changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.25.1">0.25.1</a> - 2024-05-05</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.25.0...0.25.1">Compare with 0.25.0</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Always descend into sub-headings when re-applying their label (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/cb86e08bbc5e8057393aa1cd7ca29bc2b40ab5eb">cb86e08</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/158">Issue-mkdocstrings/python-158</a></li> </ul> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.25.0">0.25.0</a> - 2024-04-27</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.3...0.25.0">Compare with 0.24.3</a><!-- raw HTML omitted --></p> <h3>Features</h3> <ul> <li>Support <code>once</code> parameter in logging methods, allowing to log a message only once with a given logger (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/1532b59a6efd99fed846cf7edfd0b26525700d3f">1532b59</a> by Timothée Mazzucotelli).</li> <li>Support blank line between <code>::: path</code> and YAML options (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/d799d2f3903bce44fb751f8cf3fb8078d25549da">d799d2f</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/mkdocstrings/issues/450">Issue-450</a></li> </ul> <h3>Code Refactoring</h3> <ul> <li>Allow specifying name of template loggers (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/c5b5f697c83271d961c7ac795412d6b4964ba2b7">c5b5f69</a> by Timothée Mazzucotelli).</li> </ul> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.24.3">0.24.3</a> - 2024-04-05</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.2...0.24.3">Compare with 0.24.2</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Support HTML toc labels with Python-Markdown 3.6+ (uncomment code...) (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/7fe3e5f28239c08094fb656728369998f52630ea">7fe3e5f</a> by Timothée Mazzucotelli).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/e135869681dc712a3721a7753c9825b8c040bb83"><code>e135869</code></a> chore: Prepare release 0.25.1</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/cb86e08bbc5e8057393aa1cd7ca29bc2b40ab5eb"><code>cb86e08</code></a> fix: Always descend into sub-headings when re-applying their label</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/a86ca7d24a57b1217ee9d21c96d133ef31dcbd62"><code>a86ca7d</code></a> docs: Customize parameters color in ToC</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/bc25b6a00cb1515f0dc8c433ae595092fcddfba8"><code>bc25b6a</code></a> docs: Remove requirements link in readme</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/87d82299773a0203329d9d45ce3e1210c3320375"><code>87d8229</code></a> chore: Prepare release 0.25.0</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/c5b5f697c83271d961c7ac795412d6b4964ba2b7"><code>c5b5f69</code></a> refactor: Allow specifying name of template loggers</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/7ff1681d417bd68b8a7ce6f9487638bda03e3710"><code>7ff1681</code></a> docs: Enable parameter headings</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/253d215426f28939d544502fb1032b2c796c34ee"><code>253d215</code></a> docs: Load inventories for MkDocs and Markdown</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/1532b59a6efd99fed846cf7edfd0b26525700d3f"><code>1532b59</code></a> feat: Support <code>once</code> parameter in logging methods, allowing to log a message ...</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/d799d2f3903bce44fb751f8cf3fb8078d25549da"><code>d799d2f</code></a> feat: Support blank line between <code>::: path</code> and YAML options</li> <li>Additional commits viewable in <a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.2...0.25.1">compare view</a></li> </ul> </details> <br /> Updates `mkdocstrings-python` from 1.9.2 to 1.10.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mkdocstrings/python/releases">mkdocstrings-python's releases</a>.</em></p> <blockquote> <h2>1.10.3</h2> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.10.3">1.10.3</a> - 2024-05-22</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.10.2...1.10.3">Compare with 1.10.2</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Don't crash when rendering the source of an object whose lineno is none (<a href="https://github.com/mkdocstrings/python/commit/64df00b9b757e9642d65cf425d32f5a2e0d75f38">64df00b</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/163">Issue-163</a></li> </ul> <h2>1.10.2</h2> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.10.2">1.10.2</a> - 2024-05-16</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.10.1...1.10.2">Compare with 1.10.1</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Actually make use of custom .html.jinja templates (<a href="https://github.com/mkdocstrings/python/commit/5668abba15b13b86fe67f70f6b4004b7b1feeb4f">5668abb</a> by Timothée Mazzucotelli).</li> </ul> <h2>1.10.1</h2> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.10.1">1.10.1</a> - 2024-05-14</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.10.0...1.10.1">Compare with 1.10.0</a><!-- raw HTML omitted --></p> <h3>Build</h3> <ul> <li>Depend on mkdocstrings 0.25 which adds support for parameter <code>once</code> when logging messages (<a href="https://github.com/mkdocstrings/python/commit/2bc156bd6f231ae13066651f4490d1e9c2ce3ca2">2bc156b</a> by Timothée Mazzucotelli).</li> </ul> <h3>Code Refactoring</h3> <ul> <li>Set handler's name (<a href="https://github.com/mkdocstrings/python/commit/a71ab12c8e52efe76e5c0a5e54065926a47cc0d2">a71ab12</a> by Timothée Mazzucotelli).</li> <li>Update <code>*.html</code> top-level templates to extend the <code>*.html.jinja</code> base templates (<a href="https://github.com/mkdocstrings/python/commit/a8c540e95693e8500da884c32ad159b3bbaaa7ba">a8c540e</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/151">Issue-151</a></li> <li>Update <code>*.html</code> base templates to extend their <code>*.html.jinja</code> counterpart, while overriding the <code>logs</code> block to issue a logging message (info) stating that extending <code>*.html</code> templates is deprecated (<a href="https://github.com/mkdocstrings/python/commit/e6f1b9caf13754eca9dbb2f112727bef50876ed7">e6f1b9c</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/151">Issue-151</a></li> <li>Add <code>*.html.jinja</code> top-level (overridable) templates, extending their base counterpart (<a href="https://github.com/mkdocstrings/python/commit/7c14924c406d7b5f4f1c22d03019d4c566018d2d">7c14924</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/151">Issue-151</a></li> <li>Add <code>*.html.jinja</code> base templates, which are copies of <code>*.html</code> templates, with an additional <code>logs</code> block, and using the updated <code>get_template</code> filter (<a href="https://github.com/mkdocstrings/python/commit/eced9a54fc8a559b686cb1b1180a0d2e04ba452d">eced9a5</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/151">Issue-151</a></li> <li>Update <code>get_template</code> filter to support both <code>*.html</code> and <code>*.html.jinja</code> templates, logging a message (info) when <code>*.html</code> templates are overridden by users (<a href="https://github.com/mkdocstrings/python/commit/3546fd70b2d4e45f77b166b2e67c333acc8af0d2">3546fd7</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/151">Issue-151</a></li> <li>Log a warning when base templates are overridden (<a href="https://github.com/mkdocstrings/python/commit/26e3d66f5334a5aaff75bda030afe6dfa1cc94d7">26e3d66</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/151">Issue-151</a></li> </ul> <h2>1.10.0</h2> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.10.0">1.10.0</a> - 2024-04-19</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.9.2...1.10.0">Compare with 1.9.2</a><!-- raw HTML omitted --></p> <h3>Features</h3> <ul> <li>Add CSS classes <code>doc-section-title</code> and <code>doc-section-item</code> in docstring sections (<a href="https://github.com/mkdocstrings/python/commit/d6e1d68c099e61c3bd6d93e583708335d84158f5">d6e1d68</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/17">Issue-17</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Render enumeration instance name instead of just "value", allowing proper cross-reference (<a href="https://github.com/mkdocstrings/python/commit/11d81d8e056b7c074eb3a1c47606867156a338fa">11d81d8</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/124">Issue-124</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mkdocstrings/python/blob/main/CHANGELOG.md">mkdocstrings-python's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.10.3">1.10.3</a> - 2024-05-22</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.10.2...1.10.3">Compare with 1.10.2</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Don't crash when rendering the source of an object whose lineno is none (<a href="https://github.com/mkdocstrings/python/commit/64df00b9b757e9642d65cf425d32f5a2e0d75f38">64df00b</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/163">Issue-163</a></li> </ul> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.10.2">1.10.2</a> - 2024-05-16</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.10.1...1.10.2">Compare with 1.10.1</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Actually make use of custom .html.jinja templates (<a href="https://github.com/mkdocstrings/python/commit/5668abba15b13b86fe67f70f6b4004b7b1feeb4f">5668abb</a> by Timothée Mazzucotelli).</li> </ul> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.10.1">1.10.1</a> - 2024-05-14</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.10.0...1.10.1">Compare with 1.10.0</a><!-- raw HTML omitted --></p> <h3>Build</h3> <ul> <li>Depend on mkdocstrings 0.25 which adds support for parameter <code>once</code> when logging messages (<a href="https://github.com/mkdocstrings/python/commit/2bc156bd6f231ae13066651f4490d1e9c2ce3ca2">2bc156b</a> by Timothée Mazzucotelli).</li> </ul> <h3>Code Refactoring</h3> <ul> <li>Set handler's name (<a href="https://github.com/mkdocstrings/python/commit/a71ab12c8e52efe76e5c0a5e54065926a47cc0d2">a71ab12</a> by Timothée Mazzucotelli).</li> <li>Update <code>*.html</code> top-level templates to extend the <code>*.html.jinja</code> base templates (<a href="https://github.com/mkdocstrings/python/commit/a8c540e95693e8500da884c32ad159b3bbaaa7ba">a8c540e</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/151">Issue-151</a></li> <li>Update <code>*.html</code> base templates to extend their <code>*.html.jinja</code> counterpart, while overriding the <code>logs</code> block to issue a logging message (info) stating that extending <code>*.html</code> templates is deprecated (<a href="https://github.com/mkdocstrings/python/commit/e6f1b9caf13754eca9dbb2f112727bef50876ed7">e6f1b9c</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/151">Issue-151</a></li> <li>Add <code>*.html.jinja</code> top-level (overridable) templates, extending their base counterpart (<a href="https://github.com/mkdocstrings/python/commit/7c14924c406d7b5f4f1c22d03019d4c566018d2d">7c14924</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/151">Issue-151</a></li> <li>Add <code>*.html.jinja</code> base templates, which are copies of <code>*.html</code> templates, with an additional <code>logs</code> block, and using the updated <code>get_template</code> filter (<a href="https://github.com/mkdocstrings/python/commit/eced9a54fc8a559b686cb1b1180a0d2e04ba452d">eced9a5</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/151">Issue-151</a></li> <li>Update <code>get_template</code> filter to support both <code>*.html</code> and <code>*.html.jinja</code> templates, logging a message (info) when <code>*.html</code> templates are overridden by users (<a href="https://github.com/mkdocstrings/python/commit/3546fd70b2d4e45f77b166b2e67c333acc8af0d2">3546fd7</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/151">Issue-151</a></li> <li>Log a warning when base templates are overridden (<a href="https://github.com/mkdocstrings/python/commit/26e3d66f5334a5aaff75bda030afe6dfa1cc94d7">26e3d66</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/151">Issue-151</a></li> </ul> <h2><a href="https://github.com/mkdocstrings/python/releases/tag/1.10.0">1.10.0</a> - 2024-04-19</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/python/compare/1.9.2...1.10.0">Compare with 1.9.2</a><!-- raw HTML omitted --></p> <h3>Features</h3> <ul> <li>Add CSS classes <code>doc-section-title</code> and <code>doc-section-item</code> in docstring sections (<a href="https://github.com/mkdocstrings/python/commit/d6e1d68c099e61c3bd6d93e583708335d84158f5">d6e1d68</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/17">Issue-17</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>Render enumeration instance name instead of just "value", allowing proper cross-reference (<a href="https://github.com/mkdocstrings/python/commit/11d81d8e056b7c074eb3a1c47606867156a338fa">11d81d8</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/124">Issue-124</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mkdocstrings/python/commit/9c7e30448a2dcd9678eaf934f4ae5b19889cf9fd"><code>9c7e304</code></a> chore: Prepare release 1.10.3</li> <li><a href="https://github.com/mkdocstrings/python/commit/64df00b9b757e9642d65cf425d32f5a2e0d75f38"><code>64df00b</code></a> fix: Don't crash when rendering the source of an object whose lineno is none</li> <li><a href="https://github.com/mkdocstrings/python/commit/0b8a3a99eaf60a0a44311b318b3de0ba2c5107df"><code>0b8a3a9</code></a> chore: Prepare release 1.10.2</li> <li><a href="https://github.com/mkdocstrings/python/commit/5668abba15b13b86fe67f70f6b4004b7b1feeb4f"><code>5668abb</code></a> fix: Actually make use of custom .html.jinja templates</li> <li><a href="https://github.com/mkdocstrings/python/commit/f7705ce95a15fe3ce6c2cecee5f5376d832867df"><code>f7705ce</code></a> chore: Prepare release 1.10.1</li> <li><a href="https://github.com/mkdocstrings/python/commit/6885009f92df78996be21803338dd811d68c108d"><code>6885009</code></a> ci: Remove unused type ignore comment</li> <li><a href="https://github.com/mkdocstrings/python/commit/525335821b8a266c7822b1c705bd0ae78d795c16"><code>5253358</code></a> docs: Correct <code>PrintOK</code> doctest examples</li> <li><a href="https://github.com/mkdocstrings/python/commit/583b8fefd987ccaa37a016121427e1141827ff71"><code>583b8fe</code></a> docs: Document Jinja templates</li> <li><a href="https://github.com/mkdocstrings/python/commit/e7f997b0452c9b4d5fe04df32f1319f8038d586b"><code>e7f997b</code></a> docs: Enable parameter headings</li> <li><a href="https://github.com/mkdocstrings/python/commit/cfdccd3c43bd5ebda1358279f77af59ab6132eb9"><code>cfdccd3</code></a> docs: Load Python-Markdown objects inventory</li> <li>Additional commits viewable in <a href="https://github.com/mkdocstrings/python/compare/1.9.2...1.10.3">compare view</a></li> </ul> </details> <br /> Updates `pylint` from 3.2.0 to 3.2.2 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pylint-dev/pylint/commit/769ffd20bbf321a6cf23f5e7221a0b8221f51482"><code>769ffd2</code></a> Bump pylint to 3.2.2, update changelog (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9658">#9658</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/98c5af9bdf31a4b5291c65d3b0d5cdbb19a7f082"><code>98c5af9</code></a> Fix false-positive with contextmanager missing cleanup (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9654">#9654</a>) (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9657">#9657</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/9a9db8fa78d9523cff0f6ff0769ed4f7a4a85701"><code>9a9db8f</code></a> Update astroid to 3.2.2 (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9655">#9655</a>) (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9656">#9656</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/9223172074c4ca2bb5bff3b2c5a40190cc527fcf"><code>9223172</code></a> Bump pylint to 3.2.1, update changelog</li> <li><a href="https://github.com/pylint-dev/pylint/commit/926547bbbfcedd77886ec1f73ae1463daac2fa7f"><code>926547b</code></a> [trailing-comma-tuple] Fix enabling with message control locally when disable...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/14986757c97862e59a43f787b72a1205d7f1dbf0"><code>1498675</code></a> Fix linterstats.get_module_message_count() (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9146">#9146</a>) (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9648">#9648</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/aed496ad99caf1a08dc32bd17eea0a7bac839a1b"><code>aed496a</code></a> Fix FP for <code>possibly-used-before-assignment</code> with <code>assert_never()</code> (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9645">#9645</a>) (#...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/9dae97544b1524c0a130435766b56c9bbd23ffe9"><code>9dae975</code></a> [Backport maintenance/3.2.x] Add <code>--prefer-stubs=y</code> option (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9646">#9646</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/a03ceae2745439bd0c907cd894dac973fbfb8efe"><code>a03ceae</code></a> Add <code>--prefer-stubs=y</code> option (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9632">#9632</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/b2ea3168a30fb269b6807fcd7d86f2ab0348f699"><code>b2ea316</code></a> [Backport maintenance/3.2.x] Don't emit incorrect-variance for type parameter...</li> <li>Additional commits viewable in <a href="https://github.com/pylint-dev/pylint/compare/v3.2.0...v3.2.2">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 8.2.0 to 8.2.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>8.2.1</h2> <h1>pytest 8.2.1 (2024-05-19)</h1> <h2>Improvements</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12334">#12334</a>: Support for Python 3.13 (beta1 at the time of writing).</li> </ul> <h2>Bug Fixes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12120">#12120</a>: Fix [PermissionError]{.title-ref} crashes arising from directories which are not selected on the command-line.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12191">#12191</a>: Keyboard interrupts and system exits are now properly handled during the test collection.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12300">#12300</a>: Fixed handling of 'Function not implemented' error under squashfuse_ll, which is a different way to say that the mountpoint is read-only.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12308">#12308</a>: Fix a regression in pytest 8.2.0 where the permissions of automatically-created <code>.pytest_cache</code> directories became <code>rwx------</code> instead of the expected <code>rwxr-xr-x</code>.</li> </ul> <h2>Trivial/Internal Changes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12333">#12333</a>: pytest releases are now attested using the recent <a href="https://github.blog/2024-05-02-introducing-artifact-attestations-now-in-public-beta/">Artifact Attestation</a> support from GitHub, allowing users to verify the provenance of pytest's sdist and wheel artifacts.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/66ff8dffdf9eee9b3dd6686de34542c49ff80dcd"><code>66ff8df</code></a> Prepare release version 8.2.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/3ffcfd122cf4674ac45f6233d9b50be6c49abeea"><code>3ffcfd1</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12340">#12340</a> from pytest-dev/backport-12334-to-8.2.x</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0b28313b46a04de08bddc18896b3e61312a0c5b3"><code>0b28313</code></a> [8.2.x] Add Python 3.13 (beta) support</li> <li><a href="https://github.com/pytest-dev/pytest/commit/f3dd93ad8d62eb0a260d3090f31be82aafbcff13"><code>f3dd93a</code></a> [8.2.x] Attest package provenance (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12335">#12335</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/bb5a1257b0aafe5932377fa8e9fd92ab39418ac7"><code>bb5a125</code></a> [8.2.x] Spelling (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12331">#12331</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/f179bf252fe2c1d0afce64b4b4bab4449e366e84"><code>f179bf2</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12327">#12327</a> from pytest-dev/backport-12325-to-8.2.x</li> <li><a href="https://github.com/pytest-dev/pytest/commit/2b671b5f9208650e8e42e07782d95477cc41f42a"><code>2b671b5</code></a> [8.2.x] cacheprovider: fix <code>.pytest_cache</code> not being world-readable</li> <li><a href="https://github.com/pytest-dev/pytest/commit/65ab7cb96c95f83e922f21bb4a8a44eda2b79707"><code>65ab7cb</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12324">#12324</a> from pytest-dev/backport-12320-to-8.2.x</li> <li><a href="https://github.com/pytest-dev/pytest/commit/4d5fb7d71ccc069e2f882bee0e4253eaf484d2a9"><code>4d5fb7d</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12319">#12319</a> from pytest-dev/backport-12311-to-8.2.x</li> <li><a href="https://github.com/pytest-dev/pytest/commit/cbe5996cc684b00397494d9590f3179de232c3ee"><code>cbe5996</code></a> [8.2.x] changelog: document unittest 8.2 change as breaking</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/8.2.0...8.2.1">compare view</a></li> </ul> </details> <br /> Updates `pytest-mock` from 3.11.1 to 3.14.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.14.0</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/415">#415</a>: <code>MockType</code> and <code>AsyncMockType</code> can be imported from <code>pytest_mock</code> for type annotation purposes.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/420">#420</a>: Fixed a regression which would cause <code>mocker.patch.object</code> to not being properly cleared between tests.</li> </ul> <h2>v3.13.0</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/417">#417</a>: <code>spy</code> now has <code>spy_return_list</code>, which is a list containing all the values returned by the spied function.</li> <li><code>pytest-mock</code> now requires <code>pytest>=6.2.5</code>.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/410">#410</a>: pytest-mock's <code>setup.py</code> file is removed. If you relied on this file, e.g. to install pytest using <code>setup.py install</code>, please see <a href="https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary">Why you shouldn't invoke setup.py directly</a> for alternatives.</li> </ul> <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.14.0 (2024-03-21)</h2> <ul> <li> <p><code>[#415](pytest-dev/pytest-mock#415) <https://github.com/pytest-dev/pytest-mock/pull/415></code>_: <code>MockType</code> and <code>AsyncMockType</code> can be imported from <code>pytest_mock</code> for type annotation purposes.</p> </li> <li> <p><code>[#420](pytest-dev/pytest-mock#420) <https://github.com/pytest-dev/pytest-mock/issues/420></code>_: Fixed a regression which would cause <code>mocker.patch.object</code> to not being properly cleared between tests.</p> </li> </ul> <h2>3.13.0 (2024-03-21)</h2> <ul> <li><code>[#417](pytest-dev/pytest-mock#417) <https://github.com/pytest-dev/pytest-mock/pull/417></code>_: <code>spy</code> now has <code>spy_return_list</code>, which is a list containing all the values returned by the spied function.</li> <li><code>pytest-mock</code> now requires <code>pytest>=6.2.5</code>.</li> <li><code>[#410](pytest-dev/pytest-mock#410) <https://github.com/pytest-dev/pytest-mock/pull/410></code><em>: pytest-mock's <code>setup.py</code> file is removed. If you relied on this file, e.g. to install pytest using <code>setup.py install</code>, please see <code>Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary></code></em> for alternatives.</li> </ul> <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>[#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/8733134b6194395e9cd3c745adcc9a9c09b0279e"><code>8733134</code></a> Update CHANGELOG for 3.14.0</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/5257e3c0df0a18bca4028daa9e6d2d91870ff576"><code>5257e3c</code></a> Refactor MockCache to have a narrow interface</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/4faf92ae233afadac3831ab570531e540dc87830"><code>4faf92a</code></a> Fix regression with mocker.patch not being undone correctly</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/6bd8712a14a1a11d348354318fdbad3fd9bbdb78"><code>6bd8712</code></a> Drop pre-Python 3.8 support code</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/366966bff1e3ca2e1455d704dd59991da5593877"><code>366966b</code></a> Export <code>MockType</code>/<code>AsyncMockType</code> for type annotations (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/415">#415</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/852116b0af33db27fe595847c091631dcf059a1c"><code>852116b</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/418">#418</a> from pytest-dev/release-3.13.0</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/ef9461b8b5bdcdd416841b986cf4e1d336c84266"><code>ef9461b</code></a> Add instructions on how to start deploy from command-line</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/5b9d2858f507e04cc97a3c206f55d7d5505ae71c"><code>5b9d285</code></a> Release 3.13.0</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/6d5d6dc2274cea96b6919a4a2a6dc7a3394ef11d"><code>6d5d6dc</code></a> Implement <code>spy_return_list</code> (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/417">#417</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/dc28a0ec7b66372fbc6e0cf1bbe443ce7ca465cd"><code>dc28a0e</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/416">#416</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-mock/compare/v3.11.1...v3.14.0">compare view</a></li> </ul> </details> <br /> Updates `pytest-asyncio` from 0.23.6 to 0.23.7 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-asyncio/releases">pytest-asyncio's releases</a>.</em></p> <blockquote> <h2>pytest-asyncio 0.23.7</h2> <h1>0.23.7 (2024-05-19)</h1> <ul> <li>Silence deprecation warnings about unclosed event loops that occurred with certain CPython patch releases <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/817">#817</a></li> </ul> <h2>Known issues</h2> <p>As of v0.23, pytest-asyncio attaches an asyncio event loop to each item of the test suite (i.e. session, packages, modules, classes, functions) and allows tests to be run in those loops when marked accordingly. Pytest-asyncio currently assumes that async fixture scope is correlated with the new event loop scope. This prevents fixtures from being evaluated independently from the event loop scope and breaks some existing test suites (see <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>). For example, a test suite may require all fixtures and tests to run in the same event loop, but have async fixtures that are set up and torn down for each module. If you're affected by this issue, please continue using the v0.21 release, until it is resolved.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/eb63d5ad0ca21041726ada3d5c00211d36418a9b"><code>eb63d5a</code></a> docs: Prepared for release of v0.23.7.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/da04a7a645bdd46d0533c727e85cf2c0e13c7def"><code>da04a7a</code></a> Build(deps): Bump exceptiongroup in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/00c667ad80571fc8e937f4422267b135f55ec6e6"><code>00c667a</code></a> Build(deps): Bump pytest from 8.1.1 to 8.2.0 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/3bd9cd885b5cc78ce4a73a03c878ac93e0a1840f"><code>3bd9cd8</code></a> [docs] Add changelog entry.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/15544f0ee29152086b14e63cb040836f33b0b416"><code>15544f0</code></a> Revert GitHub Actions and Tox changes.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/6316b285c1ee8f6d300916e531ff1d320bec8d6b"><code>6316b28</code></a> Deduplicate simplefilter snippet.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/3ffdfc5607a112a9a2cb933a6af044eaf47e0227"><code>3ffdfc5</code></a> asyncio.run(port_afinalizer())</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/0107fd7ae7e42d399b5be9af6f3ee4427e16ea7d"><code>0107fd7</code></a> Remove extra space.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/3bf700a80cb12354fbe0a9295be9fbd4317c8d8f"><code>3bf700a</code></a> Fix GH Action mapping.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/d15dc31f7459810af824b5e9e903f914140ceb2c"><code>d15dc31</code></a> Fix 3109/3108 typo.</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-asyncio/compare/v0.23.6...v0.23.7">compare view</a></li> </ul> </details> <br /> 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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details>
This PR adds support for
resetall
tocreate_autospec
to fix #389I have added a new
create_autospec
function to theMockerFixture
, that wraps originalcreate_autospec
and adds a reference to the_patches_and_mocks
list, so it could be reset byresetall
.stopall
had to be modified in order to ignoreNone
patcher, maybe there's a better way to do this instead.Added new test cases to
test_mocker_resetall
testtest_mocker_aliases
is failing - maybe we don't need to test it forcreate_autospec
anymore, since we have it tested intest_mocker_resetall
?