-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Export MockType
for type annotations
#415
Conversation
@@ -13,6 +14,7 @@ | |||
__all__ = [ | |||
"MockerFixture", | |||
"MockFixture", | |||
"MockType", |
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.
Also AsyncMockType
?
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.
Done
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.
🎉
I'm not a maintainer to pytest-mock
but it just so happened that I thought to check github issues for this & you had made an awesome change that solved issue.
Thank you!
Sorry @Kilo59 I've missed the notification for this PR, I will take a look in a few days. 👍 |
Actually found some time to review it and is pretty simple. Thanks! |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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.12.0` -> `3.14.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest-mock/3.12.0/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-mock/3.12.0/3.14.0?slim=true)](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. </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.12.0 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> </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> </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.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-mock&package-manager=pip&previous-version=3.12.0&new-version=3.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.12.0 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> </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> </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.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-mock&package-manager=pip&previous-version=3.12.0&new-version=3.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.12.0 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> </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> </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.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-mock&package-manager=pip&previous-version=3.12.0&new-version=3.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest-mock/3.10.0/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-mock/3.10.0/3.14.0?slim=true)](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>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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.12.0` -> `==3.14.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest-mock/3.12.0/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-mock/3.12.0/3.14.0?slim=true)](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. </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: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.12.0 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> </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> </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.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-mock&package-manager=pip&previous-version=3.12.0&new-version=3.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.12.0 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> </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> </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.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-mock&package-manager=pip&previous-version=3.12.0&new-version=3.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#10474) Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.12.0 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> </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> </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.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-mock&package-manager=pip&previous-version=3.12.0&new-version=3.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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.12.0` -> `==3.14.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest-mock/3.12.0/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-mock/3.12.0/3.14.0?slim=true)](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. </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "every weekend" in timezone Etc/UTC. 🚦 **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/canonical/snapcraft). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.12.0 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> </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> </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.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-mock&package-manager=pip&previous-version=3.12.0&new-version=3.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.12.0 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> </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> </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.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-mock&package-manager=pip&previous-version=3.12.0&new-version=3.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the optional group with 11 updates: | Package | From | To | | --- | --- | --- | | [black](https://github.com/psf/black) | `24.2.0` | `24.3.0` | | [markdown](https://github.com/Python-Markdown/markdown) | `3.5.2` | `3.6` | | [mkdocs-include-markdown-plugin](https://github.com/mondeja/mkdocs-include-markdown-plugin) | `6.0.4` | `6.0.5` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.12` | `9.5.16` | | [mypy](https://github.com/python/mypy) | `1.8.0` | `1.9.0` | | [types-markdown](https://github.com/python/typeshed) | `3.5.0.20240129` | `3.6.0.20240316` | | [async-solipsism](https://github.com/bmerry/async-solipsism) | `0.5` | `0.6` | | [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.98.17` | `6.100.0` | | [pytest](https://github.com/pytest-dev/pytest) | `8.1.0` | `8.1.1` | | [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) | `0.23.5` | `0.23.6` | | [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.12.0` | `3.14.0` | Updates `black` from 24.2.0 to 24.3.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>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </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>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/552baf822992936134cbd31a38f69c8cfe7c0f05"><code>552baf8</code></a> Prepare release 24.3.0 (<a href="https://redirect.github.com/psf/black/issues/4279">#4279</a>)</li> <li><a href="https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8"><code>f000936</code></a> Fix catastrophic performance in lines_with_leading_tabs_expanded() (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> <li><a href="https://github.com/psf/black/commit/7b5a657285f38126bf28483478bbd9ea928077ec"><code>7b5a657</code></a> Fix --line-ranges behavior when ranges are at EOF (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> <li><a href="https://github.com/psf/black/commit/1abcffc81816257985678f08c61584ed4287f22a"><code>1abcffc</code></a> Use regex where we ignore case on windows (<a href="https://redirect.github.com/psf/black/issues/4252">#4252</a>)</li> <li><a href="https://github.com/psf/black/commit/719e67462c80574c81a96faa144886de6da84489"><code>719e674</code></a> Fix 4227: Improve documentation for --quiet --check (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> <li><a href="https://github.com/psf/black/commit/e5510afc06cd238cd0cba4095283943a870a7e7b"><code>e5510af</code></a> update plugin url for Thonny (<a href="https://redirect.github.com/psf/black/issues/4259">#4259</a>)</li> <li><a href="https://github.com/psf/black/commit/6af7d1109693c4ad3af08ecbc34649c232b47a6d"><code>6af7d11</code></a> Fix AST safety check false negative (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li><a href="https://github.com/psf/black/commit/f03ee113c9f3dfeb477f2d4247bfb7de2e5f465c"><code>f03ee11</code></a> Ensure <code>blib2to3.pygram</code> is initialized before use (<a href="https://redirect.github.com/psf/black/issues/4224">#4224</a>)</li> <li><a href="https://github.com/psf/black/commit/e4bfedbec2e8b10cc6b7b31442478f05db0ce06d"><code>e4bfedb</code></a> fix: Don't move comments while splitting delimiters (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li><a href="https://github.com/psf/black/commit/d0287e1f7558d97e6c0ebd6dc5bcb5b970e2bf8c"><code>d0287e1</code></a> Make trailing comma logic more concise (<a href="https://redirect.github.com/psf/black/issues/4202">#4202</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/24.2.0...24.3.0">compare view</a></li> </ul> </details> <br /> Updates `markdown` from 3.5.2 to 3.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/releases">markdown's releases</a>.</em></p> <blockquote> <h2>Release 3.6</h2> <h3>Changed</h3> <h4>Refactor TOC Sanitation</h4> <ul> <li>All postprocessors are now run on heading content.</li> <li>Footnote references are now stripped from heading content. Fixes <a href="https://redirect.github.com/Python-Markdown/markdown/issues/660">#660</a>.</li> <li>A more robust <code>striptags</code> is provided to convert headings to plain text. Unlike, the <code>markupsafe</code> implementation, HTML entities are not unescaped.</li> <li>The plain text <code>name</code>, rich <code>html</code>, and unescaped raw <code>data-toc-label</code> are saved to <code>toc_tokens</code>, allowing users to access the full rich text content of the headings directly from <code>toc_tokens</code>.</li> <li>The value of <code>data-toc-label</code> is sanitized separate from heading content before being written to <code>name</code>. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from <code>token['data-toc-label']</code> directly.</li> <li>An <code>html.unescape</code> call is made just prior to calling <code>slugify</code> so that <code>slugify</code> only operates on Unicode characters. Note that <code>html.unescape</code> is not run on <code>name</code>, <code>html</code>, or <code>data-toc-label</code>.</li> <li>The functions <code>get_name</code> and <code>stashedHTML2text</code> defined in the <code>toc</code> extension are both <strong>deprecated</strong>. Instead, third party extensions should use some combination of the new functions <code>run_postprocessors</code>, <code>render_inner_html</code> and <code>striptags</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Include <code>scripts/*.py</code> in the generated source tarballs (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1430">#1430</a>).</li> <li>Ensure lines after heading in loose list are properly detabbed (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1443">#1443</a>).</li> <li>Give smarty tree processor higher priority than toc (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1440">#1440</a>).</li> <li>Permit carets (<code>^</code>) and square brackets (<code>]</code>) but explicitly exclude backslashes (<code>\</code>) from abbreviations (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1444">#1444</a>).</li> <li>In attribute lists (<code>attr_list</code>, <code>fenced_code</code>), quoted attribute values are now allowed to contain curly braces (<code>}</code>) (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1414">#1414</a>).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md">markdown's changelog</a>.</em></p> <blockquote> <h2>[3.6] -- 2024-03-14</h2> <h3>Changed</h3> <h4>Refactor TOC Sanitation</h4> <ul> <li>All postprocessors are now run on heading content.</li> <li>Footnote references are now stripped from heading content. Fixes <a href="https://redirect.github.com/Python-Markdown/markdown/issues/660">#660</a>.</li> <li>A more robust <code>striptags</code> is provided to convert headings to plain text. Unlike, the <code>markupsafe</code> implementation, HTML entities are not unescaped.</li> <li>The plain text <code>name</code>, rich <code>html</code>, and unescaped raw <code>data-toc-label</code> are saved to <code>toc_tokens</code>, allowing users to access the full rich text content of the headings directly from <code>toc_tokens</code>.</li> <li>The value of <code>data-toc-label</code> is sanitized separate from heading content before being written to <code>name</code>. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from <code>token['data-toc-label']</code> directly.</li> <li>An <code>html.unescape</code> call is made just prior to calling <code>slugify</code> so that <code>slugify</code> only operates on Unicode characters. Note that <code>html.unescape</code> is not run on <code>name</code>, <code>html</code>, or <code>data-toc-label</code>.</li> <li>The functions <code>get_name</code> and <code>stashedHTML2text</code> defined in the <code>toc</code> extension are both <strong>deprecated</strong>. Instead, third party extensions should use some combination of the new functions <code>run_postprocessors</code>, <code>render_inner_html</code> and <code>striptags</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Include <code>scripts/*.py</code> in the generated source tarballs (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1430">#1430</a>).</li> <li>Ensure lines after heading in loose list are properly detabbed (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1443">#1443</a>).</li> <li>Give smarty tree processor higher priority than toc (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1440">#1440</a>).</li> <li>Permit carets (<code>^</code>) and square brackets (<code>]</code>) but explicitly exclude backslashes (<code>\</code>) from abbreviations (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1444">#1444</a>).</li> <li>In attribute lists (<code>attr_list</code>, <code>fenced_code</code>), quoted attribute values are now allowed to contain curly braces (<code>}</code>) (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1414">#1414</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Python-Markdown/markdown/commit/e524b8fe938738cb4492411a34cce89051cb9695"><code>e524b8f</code></a> Bump version to 3.6</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/3d8afc6f89e169522f44c1bbec15f66dc359eccb"><code>3d8afc6</code></a> Allow attr_list quoted values to contain curly braces</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/9edba85fc14f034b7109534220702bf60178ff15"><code>9edba85</code></a> Refactor abbr escaping</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/e4ab4a610edc6332ce81a53aa4ae6f97516ce461"><code>e4ab4a6</code></a> Refactor TOC sanitation</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/a18765c25cccab23f400edeac94d20f4be00492b"><code>a18765c</code></a> Explicitly omit carot and backslash from abbr</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/421f1e88ff4661b4433b97ec57b040a2a74e5aed"><code>421f1e8</code></a> Give smarty tree processor higher priority than toc</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/c334a3e47e6565469344154f966cf0eb9aca0de3"><code>c334a3e</code></a> Ensure lines after heading in loose list are properly detabbed</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/ea92856855a6314488acb121f21f8fa02860e008"><code>ea92856</code></a> Update the license template so GitHub can detect it</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/a2effd6d5191808c8b2e347965f6fcf4aa709e78"><code>a2effd6</code></a> Disable mkdocstrings show_symbol_type_toc option to work around searching iss...</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/91f9a1205d32f3bc6a27ca5f993409c3b97c1931"><code>91f9a12</code></a> Restore Attribute symbol type in mkdocstrings template</li> <li>Additional commits viewable in <a href="https://github.com/Python-Markdown/markdown/compare/3.5.2...3.6">compare view</a></li> </ul> </details> <br /> Updates `mkdocs-include-markdown-plugin` from 6.0.4 to 6.0.5 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mondeja/mkdocs-include-markdown-plugin/releases">mkdocs-include-markdown-plugin's releases</a>.</em></p> <blockquote> <h2>v6.0.5</h2> <h2>Bug fixes</h2> <ul> <li>Fixed default setting <code>heading_offset</code> not being applied.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/4f55083d35974d619f590bc31d797fada8f5cbcc"><code>4f55083</code></a> Update CI actions</li> <li><a href="https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/801a18d27024eb7f821f3fba79a12c0bab310192"><code>801a18d</code></a> Fix default <code>heading_offset</code> setting not being applied (<a href="https://redirect.github.com/mondeja/mkdocs-include-markdown-plugin/issues/201">#201</a>)</li> <li><a href="https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/d5fb0bf705f7d98d708d3567ad92721ad19cb0ac"><code>d5fb0bf</code></a> Fix links in READMEs translations (<a href="https://redirect.github.com/mondeja/mkdocs-include-markdown-plugin/issues/197">#197</a>)</li> <li><a href="https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/db45558681e800f6d3d7f1663097931b42cb9b16"><code>db45558</code></a> Add example including table as list item (<a href="https://redirect.github.com/mondeja/mkdocs-include-markdown-plugin/issues/193">#193</a>)</li> <li><a href="https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/e87d4e9c50c123adea2309059824ebfae3710214"><code>e87d4e9</code></a> Upgrade pre-commit hooks (<a href="https://redirect.github.com/mondeja/mkdocs-include-markdown-plugin/issues/189">#189</a>)</li> <li><a href="https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/ec80f63e1dc82a5f7b8ae372341213ba8e755e70"><code>ec80f63</code></a> Update GitHub Action Versions (<a href="https://redirect.github.com/mondeja/mkdocs-include-markdown-plugin/issues/190">#190</a>)</li> <li><a href="https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/1b504ddd94342f953dfd235f9ccdc76bd1ed1f6e"><code>1b504dd</code></a> docs(license): update copyright year(s) (<a href="https://redirect.github.com/mondeja/mkdocs-include-markdown-plugin/issues/191">#191</a>)</li> <li><a href="https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/201726746ed49eb4242878bd9d56849ee212d954"><code>2017267</code></a> Documentation enhancements (<a href="https://redirect.github.com/mondeja/mkdocs-include-markdown-plugin/issues/188">#188</a>)</li> <li><a href="https://github.com/mondeja/mkdocs-include-markdown-plugin/commit/1aa2f9c26c15b483bf5e4b77ab63f7ff9a83df63"><code>1aa2f9c</code></a> Fix examples for paths relative to the project root (<a href="https://redirect.github.com/mondeja/mkdocs-include-markdown-plugin/issues/186">#186</a>)</li> <li>See full diff in <a href="https://github.com/mondeja/mkdocs-include-markdown-plugin/compare/v6.0.4...v6.0.5">compare view</a></li> </ul> </details> <br /> Updates `mkdocs-material` from 9.5.12 to 9.5.16 <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.16</h2> <ul> <li>Updated Russian translations</li> <li>Improved error handling and reporting in social plugin</li> <li>Improved error handling and reporting in privacy plugin</li> <li>Fixed blog plugin not allowing to use time in format strings</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6983">#6983</a>: Social plugin crashes because of Google Fonts API change</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a>, <a href="https://github.com/Guts"><code>@Guts</code></a>, <a href="https://github.com/szg-alex-payne"><code>@szg-alex-payne</code></a> and <a href="https://github.com/natakazakova"><code>@natakazakova</code></a> for their contributions</p> <h2>mkdocs-material-9.5.15</h2> <ul> <li>Reverted fix for transparent iframes (9.5.14)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6929">#6929</a>: Interference of social plugin and auto dark mode</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6938">#6938</a>: Giscus shows dark background in light mode (9.5.14 regression)</li> </ul> <h2>mkdocs-material-9.5.14</h2> <ul> <li>Added support for hiding versions from selector when using mike</li> <li>Added init system to improve signal handling in Docker image</li> <li>Fixed edge cases in exclusion logic of info plugin</li> <li>Fixed inability to reset pipeline in search plugin</li> <li>Fixed syntax error in Finnish translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6917">#6917</a>: UTF-8 encoding problems in blog plugin on Windows</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6889">#6889</a>: Transparent iframes get background color</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a>, <a href="https://github.com/yubiuser"><code>@yubiuser</code></a> and <a href="https://github.com/todeveni"><code>@todeveni</code></a> for their contributions</p> <h2>mkdocs-material-9.5.13</h2> <ul> <li>Updated Slovak translations</li> <li>Improved info plugin interop with projects plugin</li> <li>Improved info plugin inclusion/exclusion logic</li> <li>Fixed info plugin not gathering files recursively</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6750">#6750</a>: Ensure info plugin packs up all necessary files</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a> and <a href="https://github.com/scepka"><code>@scepka</code></a> for their contributions</p> </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.16+insiders-4.53.4 (2024-03-31)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6973">#6973</a>: Escaping issue in tags extra files deprecation helper</li> </ul> <p>mkdocs-material-9.5.16 (2024-03-31)</p> <ul> <li>Updated Russian translations</li> <li>Improved error handling and reporting in social plugin</li> <li>Improved error handling and reporting in privacy plugin</li> <li>Fixed blog plugin not allowing to use time in format strings</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6983">#6983</a>: Social plugin crashes because of Google Fonts API change</li> </ul> <p>mkdocs-material-9.5.15+insiders-4.53.3 (2024-03-23)</p> <ul> <li>Added support for font variants in social plugin</li> <li>Improved resilience of font resolution in social plugin</li> <li>Fixed tag listing sometimes not being auto-populated</li> <li>Fixed tag listing scope not being correctly resolved</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6941">#6941</a>: Meta plugin adding duplicate entries</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6928">#6928</a>: Social plugin crashes for some fonts</li> </ul> <p>mkdocs-material-9.5.15 (2024-03-23)</p> <ul> <li>Reverted fix for transparent iframes (9.5.14)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6929">#6929</a>: Interference of social plugin and auto dark mode</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6938">#6938</a>: Giscus shows dark background in light mode (9.5.14 regression)</li> </ul> <p>mkdocs-material-9.5.14+insiders-4.53.2 (2024-03-18)</p> <ul> <li>Fixed abort on first non-matching configuration in preview extension</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6914">#6914</a>: Meta files take precedence over front matter</li> </ul> <p>mkdocs-material-9.5.14 (2024-03-18)</p> <ul> <li>Added support for hiding versions from selector when using mike</li> <li>Added init system to improve signal handling in Docker image</li> <li>Fixed edge cases in exclusion logic of info plugin</li> <li>Fixed inability to reset pipeline in search plugin</li> <li>Fixed syntax error in Finnish translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6917">#6917</a>: UTF-8 encoding problems in blog plugin on Windows</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6889">#6889</a>: Transparent iframes get background color</li> </ul> <p>mkdocs-material-9.5.13+insiders-4.53.1 (2024-03-06)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6877">#6877</a>: Projects plugin computes incorrect path to assets</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6869">#6869</a>: Blog plugin should emit warning on invalid related link</li> </ul> <p>mkdocs-material-9.5.13 (2024-03-06)</p> <ul> <li>Updated Slovak translations</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/895652409795662dc809c6e020e082b2238fe0a3"><code>8956524</code></a> Updated Insiders changelog</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/0db4e667da098cede42f78fb3325b3f95c50bbfa"><code>0db4e66</code></a> Updated changelog</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/29cf44b71ca0e579c693c79d8e74c820a42b5910"><code>29cf44b</code></a> Improved resilience of privacy plugin</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/6c9ba875bfd5d93007b48debd3b4041773dd5eef"><code>6c9ba87</code></a> Prepare 9.5.16 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/f2bfab91fee62419d4719387c8b9924166f96d5e"><code>f2bfab9</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/9e40207bb6e1218948721de87591b38ce6c497cd"><code>9e40207</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/a2cb35d4c5da25a90cb746e6b06a0c5ee7096b4b"><code>a2cb35d</code></a> Improved error handling on social plugin (<a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6818">#6818</a>)</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/abfac1a93e4cfc13924c48837cfc45dc724551f6"><code>abfac1a</code></a> Switched to Babel's <code>format_datetime</code> to allow for time in formatted dates (#...</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/01b2dd17e3e8d86b70ef8b9ae94096c47034ecc8"><code>01b2dd1</code></a> Updated Russian translations</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/ad7233640f2c679b7f149def57c96e1ec12b9ad9"><code>ad72336</code></a> Fixed social plugin Google Fonts integration</li> <li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.5.12...9.5.16">compare view</a></li> </ul> </details> <br /> Updates `mypy` from 1.8.0 to 1.9.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's changelog</a>.</em></p> <blockquote> <h1>Mypy Release Notes</h1> <h2>Mypy 1.9</h2> <p>We’ve just uploaded mypy 1.9 to the Python Package Index (<a href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:</p> <pre><code>python3 -m pip install -U mypy </code></pre> <p>You can read the full documentation for this release on <a href="http://mypy.readthedocs.io">Read the Docs</a>.</p> <h4>Breaking Changes</h4> <p>Because the version of typeshed we use in mypy 1.9 doesn't support 3.7, neither does mypy 1.9. (Jared Hance, PR <a href="https://redirect.github.com/python/mypy/pull/16883">16883</a>)</p> <p>We are planning to enable <a href="https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-local-partial-types">local partial types</a> (enabled via the <code>--local-partial-types</code> flag) later this year by default. This change was announced years ago, but now it's finally happening. This is a major backward-incompatible change, so we'll probably include it as part of the upcoming mypy 2.0 release. This makes daemon and non-daemon mypy runs have the same behavior by default.</p> <p>Local partial types can also be enabled in the mypy config file:</p> <pre><code>local_partial_types = True </code></pre> <p>We are looking at providing a tool to make it easier to migrate projects to use <code>--local-partial-types</code>, but it's not yet clear whether this is practical. The migration usually involves adding some explicit type annotations to module-level and class-level variables.</p> <h4>Basic Support for Type Parameter Defaults (PEP 696)</h4> <p>This release contains new experimental support for type parameter defaults (<a href="https://peps.python.org/pep-0696">PEP 696</a>). Please try it out! This feature was contributed by Marc Mueller.</p> <p>Since this feature will be officially introduced in the next Python feature release (3.13), you will need to import <code>TypeVar</code>, <code>ParamSpec</code> or <code>TypeVarTuple</code> from <code>typing_extensions</code> to use defaults for now.</p> <p>This example adapted from the PEP defines a default for <code>BotT</code>:</p> <pre lang="python"><code>from typing import Generic from typing_extensions import TypeVar <p>class Bot: ...</p> <p>BotT = TypeVar("BotT", bound=Bot, default=Bot) </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/5ff46f8b3706d005fabab2227ec84476d605bfd4"><code>5ff46f8</code></a> Remove +dev.</li> <li><a href="https://github.com/python/mypy/commit/155909ad1bde747d89fcd091621d7cd9b1e15818"><code>155909a</code></a> [Release 1.9] Unsupport targetting 3.7. (<a href="https://redirect.github.com/python/mypy/issues/16883">#16883</a>) (<a href="https://redirect.github.com/python/mypy/issues/16900">#16900</a>)</li> <li><a href="https://github.com/python/mypy/commit/6615cabe57c661114d0ed44784f67301619faadf"><code>6615cab</code></a> [Release 1.9] Stubtest: ignore a new protocol dunder (<a href="https://redirect.github.com/python/mypy/issues/16895">#16895</a>) (<a href="https://redirect.github.com/python/mypy/issues/16899">#16899</a>)</li> <li><a href="https://github.com/python/mypy/commit/b956e6a57c4dd36d670097a3eccf7dc092348fec"><code>b956e6a</code></a> stubtest: Private parameters can be omitted (<a href="https://redirect.github.com/python/mypy/issues/16507">#16507</a>)</li> <li><a href="https://github.com/python/mypy/commit/ede0b200a10186a095378516d840389f8da4edd4"><code>ede0b20</code></a> Bump ruff to 0.2.0 (<a href="https://redirect.github.com/python/mypy/issues/16870">#16870</a>)</li> <li><a href="https://github.com/python/mypy/commit/7bdd61f2d89ecd2cee4ebe6eb2375a72b29f0b10"><code>7bdd61f</code></a> stubgen: Fix crash on star unpack of TypeVarTuple (<a href="https://redirect.github.com/python/mypy/issues/16869">#16869</a>)</li> <li><a href="https://github.com/python/mypy/commit/8c2ef9dde8aa803e04038427ad84f09664d9d93f"><code>8c2ef9d</code></a> Update hashes in sync-typeshed.py following recent typeshed sync</li> <li><a href="https://github.com/python/mypy/commit/0dd4b6f7576be3d3857fecefb298decdf0711ac7"><code>0dd4b6f</code></a> Revert use of <code>ParamSpec</code> for <code>functools.wraps</code></li> <li><a href="https://github.com/python/mypy/commit/dd12a2d810f2bbe7a8686674397043b18575480f"><code>dd12a2d</code></a> Revert typeshed ctypes change</li> <li><a href="https://github.com/python/mypy/commit/d132999ba631b332d0684173897e5947591f4acc"><code>d132999</code></a> Revert sum literal integer change (<a href="https://redirect.github.com/python/mypy/issues/13961">#13961</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.8.0...1.9.0">compare view</a></li> </ul> </details> <br /> Updates `types-markdown` from 3.5.0.20240129 to 3.6.0.20240316 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/python/typeshed/commits">compare view</a></li> </ul> </details> <br /> Updates `async-solipsism` from 0.5 to 0.6 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/bmerry/async-solipsism/commit/462ababa1b52a56756ec166c6bbf26cfb5f17f13"><code>462abab</code></a> Fix content-type for README</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/3e011a72465b85808a752be03af49ab4468e1d33"><code>3e011a7</code></a> Add dist directory to .gitignore</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/639881846b3ce7c1c047c0036e31ce7e1bf483c8"><code>6398818</code></a> Update README for 0.6 release</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/bec1263f337e7c138e16363dabc903c3644b9c9b"><code>bec1263</code></a> Bump version to 0.6</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/7ce816c158eb1b8e30af302ebf634d1d0b64600b"><code>7ce816c</code></a> Move package config into pyproject.toml</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/2b5b16371facc8e0647652bae1b7bc74fe2938fd"><code>2b5b163</code></a> Run GHA on pull request too</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/d47ed8cb18871d8c9bc2087ad73b70c5a41e64ec"><code>d47ed8c</code></a> Fix GHA (hopefully)</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/a1495c3fa7927f7ba19e954d51528495bbe58b25"><code>a1495c3</code></a> Generate requirements.txt with pip-compile</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/448a20327fad131e580396e3e65ff97051642fa5"><code>448a203</code></a> Improve compatibility with pytest-asyncio 0.23</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/393e7b52829efd0e06d816b98e2abef4c8201663"><code>393e7b5</code></a> Drop support for end-of-life Python versions</li> <li>Additional commits viewable in <a href="https://github.com/bmerry/async-solipsism/compare/0.5...0.6">compare view</a></li> </ul> </details> <br /> Updates `hypothesis` from 6.98.17 to 6.100.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/6867da71beae0e4ed004b54b92ef7c74d0722815"><code>6867da7</code></a> Bump hypothesis-python version to 6.100.0 and update changelog</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/77914f8b1403201e3a3f6cda871272640505fcd9"><code>77914f8</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/3946">#3946</a> from Zac-HD/numpy-nat</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/e6567e5b48c9dddb538ab3eb83c7862028c4de8d"><code>e6567e5</code></a> some updates</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/7295c14ec9d0e26025ffa37ebaedd47953168528"><code>7295c14</code></a> Allow excluding NaT</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/15ae3c2f132a00ae95c7302f664a4aa40fd25f94"><code>15ae3c2</code></a> Bump hypothesis-python version to 6.99.13 and update changelog</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/95fde9c6d7456392b6fccd802ee36209d562157f"><code>95fde9c</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/3935">#3935</a> from Zac-HD/faster-coverage</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/17296f06946b659ea310282f94da7ff3368acda2"><code>17296f0</code></a> Another workaround for black</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/067fc761d1caaba1fbc7c673c6efab17452a0ddb"><code>067fc76</code></a> Observe clearer status_reason</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/2fda65f12b72e17e3b44685d39497a724628f84c"><code>2fda65f</code></a> Test CrossHair backend in the CI</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/9a8422c3752ddc3c059904160867399bacdcd8cb"><code>9a8422c</code></a> Observe backend in how_generated</li> <li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.98.17...hypothesis-python-6.100.0">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 8.1.0 to 8.1.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.1.1</h2> <h1>pytest 8.1.1 (2024-03-08)</h1> <p>::: {.note} ::: {.title} Note :::</p> <p>This release is not a usual bug fix release -- it contains features and improvements, being a follow up to <code>8.1.0</code>, which has been yanked from PyPI. :::</p> <h2>Features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: Added the new <code>consider_namespace_packages</code>{.interpreted-text role="confval"} configuration option, defaulting to <code>False</code>.</p> <p>If set to <code>True</code>, pytest will attempt to identify modules that are part of <a href="https://packaging.python.org/en/latest/guides/packaging-namespace-packages">namespace packages</a> when importing modules.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11653">#11653</a>: Added the new <code>verbosity_test_cases</code>{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity. See <code>Fine-grained verbosity <pytest.fine_grained_verbosity></code>{.interpreted-text role="ref"} for more details.</p> </li> </ul> <h2>Improvements</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10865">#10865</a>: <code>pytest.warns</code>{.interpreted-text role="func"} now validates that <code>warnings.warn</code>{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}. Currently in Python it is possible to use other types, however this causes an exception when <code>warnings.filterwarnings</code>{.interpreted-text role="func"} is used to filter those warnings (see [CPython <a href="https://redirect.github.com/pytest-dev/pytest/issues/103577">#103577</a>](<a href="https://redirect.github.com/python/cpython/issues/103577">python/cpython#103577</a>) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11311">#11311</a>: When using <code>--override-ini</code> for paths in invocations without a configuration file defined, the current working directory is used as the relative directory.</p> <p>Previoulsy this would raise an <code>AssertionError</code>{.interpreted-text role="class"}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: <code>--import-mode=importlib <import-mode-importlib></code>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :py<code>sys.path</code>{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.</p> <p>This means that installed packages will be imported under their canonical name if possible first, for example <code>app.core.models</code>, instead of having the module name always be derived from their path (for example <code>.env310.lib.site_packages.app.core.models</code>).</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11801">#11801</a>: Added the <code>iter_parents() <_pytest.nodes.Node.iter_parents></code>{.interpreted-text role="func"} helper method on nodes. It is similar to <code>listchain <_pytest.nodes.Node.listchain></code>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11850">#11850</a>: Added support for <code>sys.last_exc</code>{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11962">#11962</a>: In case no other suitable candidates for configuration file are found, a <code>pyproject.toml</code> (even without a <code>[tool.pytest.ini_options]</code> table) will be considered as the configuration file and define the <code>rootdir</code>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11978">#11978</a>: Add <code>--log-file-mode</code> option to the logging plugin, enabling appending to log-files. This option accepts either <code>"w"</code> or <code>"a"</code> and defaults to <code>"w"</code>.</p> <p>Previously, the mode was hard-coded to be <code>"w"</code> which truncates the file before logging.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/81653ee385f4c62ee7e64502a7b7530096553115"><code>81653ee</code></a> Adjust changelog manually for 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e60b4b9ed80f761e3a51868a01338911a567b093"><code>e60b4b9</code></a> Prepare release version 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/15fbe57c44fed6737f5c6dad99cf4437b6755a6c"><code>15fbe57</code></a> [8.1.x] Revert legacy path removals (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12093">#12093</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/86c3aab005a98de7e12ee5e37782837f5db70ac3"><code>86c3aab</code></a> [8.1.x] Do not import duplicated modules with --importmode=importlib (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12077">#12077</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/5b82b0cd20c3adcc21f34ae30c595c7355a87e23"><code>5b82b0c</code></a> [8.1.x] Yank version 8.1.0 (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12076">#12076</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0a536810dc5f51dac99bdb90dde06704b5aa034e"><code>0a53681</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12054">#12054</a> from pytest-dev/release-8.1.0</li> <li>See full diff in <a href="https://github.com/pytest-dev/pytest/compare/8.1.0...8.1.1">compare view</a></li> </ul> </details> <br /> Updates `pytest-asyncio` from 0.23.5 to 0.23.6 <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.6</h2> <h1>0.23.6 (2024-03-19)</h1> <ul> <li>Fix compatibility with pytest 8.2 <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/800">#800</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> <h2>pytest-asyncio 0.23.5.post1</h2> <h1>0.23.5 (2024-02-09)</h1> <ul> <li>Declare compatibility with pytest 8 <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/737">#737</a></li> <li>Fix typing errors with recent versions of mypy <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/769">#769</a></li> <li>Prevent DeprecationWarning about internal use of <code>asyncio.get_event_loop()</code> from affecting test cases <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/757">#757</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/c34da04b82153ce052109bad31ccdbc0be7938e1"><code>c34da04</code></a> [docs] Mentioned pytest 8.2 compatibility fix in changelog.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/143f745d279afc070cf5cf6144fbf34d960fae72"><code>143f745</code></a> Fix compatibility with pytest 8.2 FixtureDef.unittest removal</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/13d4b79f7ff0d9d0ea70880b3276f85dea7f1f15"><code>13d4b79</code></a> Remove unused function <code>_removesuffix</code></li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/cdd2c4906835b6f627d681fbee5d487554884e5f"><code>cdd2c49</code></a> Use <code>FixtureRequest</code> instead of <code>SubRequest</code></li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/c3429fa4d72239be9b428342f0f1407e0840b9ec"><code>c3429fa</code></a> Build(deps): Bump packaging from 23.2 to 24.0 in /dependencies/docs</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/5f2338dfc9f9b5ac2c27d3bef490fa3e2cd7c156"><code>5f2338d</code></a> Build(deps): Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/726c6e0f3c185f10d8a842bcd1d781de32a3b2f5"><code>726c6e0</code></a> Build(deps): Bump coverage from 7.4.3 to 7.4.4 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/8bd8288709717165b352c7f2f207c8e4ef624a01"><code>8bd8288</code></a> Build(deps): Bump pytest from 8.0.2 to 8.1.1 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/ef3b3477070d6a270e1bb2c1d438c64dba42724c"><code>ef3b347</code></a> Build(deps): Bump packaging from 23.2 to 24.0 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/b22d84e1f0d53920352be4c66d1b6c7f7a9ce005"><code>b22d84e</code></a> [docs] Fixes the example showing how to run all tests in a session-scoped loop.</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-asyncio/compare/v0.23.5...v0.23.6">compare view</a></li> </ul> </details> <br /> Updates `pytest-mock` from 3.12.0 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> </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](https://github.com/pytest-dev/pytest-mock/issues/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](https://github.com/pytest-dev/pytest-mock/issues/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](https://github.com/pytest-dev/pytest-mock/issues/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](https://github.com/pytest-dev/pytest-mock/issues/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> </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.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 <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 the optional group with 9 updates: | Package | From | To | | --- | --- | --- | | [black](https://github.com/psf/black) | `24.2.0` | `24.3.0` | | [markdown](https://github.com/Python-Markdown/markdown) | `3.5.2` | `3.6` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.12` | `9.5.16` | | [mypy](https://github.com/python/mypy) | `1.8.0` | `1.9.0` | | [types-markdown](https://github.com/python/typeshed) | `3.5.0.20240129` | `3.6.0.20240316` | | [pytest](https://github.com/pytest-dev/pytest) | `8.1.0` | `8.1.1` | | [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.12.0` | `3.14.0` | | [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) | `0.23.5` | `0.23.6` | | [async-solipsism](https://github.com/bmerry/async-solipsism) | `0.5` | `0.6` | Updates `black` from 24.2.0 to 24.3.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>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </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>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/552baf822992936134cbd31a38f69c8cfe7c0f05"><code>552baf8</code></a> Prepare release 24.3.0 (<a href="https://redirect.github.com/psf/black/issues/4279">#4279</a>)</li> <li><a href="https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8"><code>f000936</code></a> Fix catastrophic performance in lines_with_leading_tabs_expanded() (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> <li><a href="https://github.com/psf/black/commit/7b5a657285f38126bf28483478bbd9ea928077ec"><code>7b5a657</code></a> Fix --line-ranges behavior when ranges are at EOF (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> <li><a href="https://github.com/psf/black/commit/1abcffc81816257985678f08c61584ed4287f22a"><code>1abcffc</code></a> Use regex where we ignore case on windows (<a href="https://redirect.github.com/psf/black/issues/4252">#4252</a>)</li> <li><a href="https://github.com/psf/black/commit/719e67462c80574c81a96faa144886de6da84489"><code>719e674</code></a> Fix 4227: Improve documentation for --quiet --check (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> <li><a href="https://github.com/psf/black/commit/e5510afc06cd238cd0cba4095283943a870a7e7b"><code>e5510af</code></a> update plugin url for Thonny (<a href="https://redirect.github.com/psf/black/issues/4259">#4259</a>)</li> <li><a href="https://github.com/psf/black/commit/6af7d1109693c4ad3af08ecbc34649c232b47a6d"><code>6af7d11</code></a> Fix AST safety check false negative (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li><a href="https://github.com/psf/black/commit/f03ee113c9f3dfeb477f2d4247bfb7de2e5f465c"><code>f03ee11</code></a> Ensure <code>blib2to3.pygram</code> is initialized before use (<a href="https://redirect.github.com/psf/black/issues/4224">#4224</a>)</li> <li><a href="https://github.com/psf/black/commit/e4bfedbec2e8b10cc6b7b31442478f05db0ce06d"><code>e4bfedb</code></a> fix: Don't move comments while splitting delimiters (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li><a href="https://github.com/psf/black/commit/d0287e1f7558d97e6c0ebd6dc5bcb5b970e2bf8c"><code>d0287e1</code></a> Make trailing comma logic more concise (<a href="https://redirect.github.com/psf/black/issues/4202">#4202</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/24.2.0...24.3.0">compare view</a></li> </ul> </details> <br /> Updates `markdown` from 3.5.2 to 3.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/releases">markdown's releases</a>.</em></p> <blockquote> <h2>Release 3.6</h2> <h3>Changed</h3> <h4>Refactor TOC Sanitation</h4> <ul> <li>All postprocessors are now run on heading content.</li> <li>Footnote references are now stripped from heading content. Fixes <a href="https://redirect.github.com/Python-Markdown/markdown/issues/660">#660</a>.</li> <li>A more robust <code>striptags</code> is provided to convert headings to plain text. Unlike, the <code>markupsafe</code> implementation, HTML entities are not unescaped.</li> <li>The plain text <code>name</code>, rich <code>html</code>, and unescaped raw <code>data-toc-label</code> are saved to <code>toc_tokens</code>, allowing users to access the full rich text content of the headings directly from <code>toc_tokens</code>.</li> <li>The value of <code>data-toc-label</code> is sanitized separate from heading content before being written to <code>name</code>. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from <code>token['data-toc-label']</code> directly.</li> <li>An <code>html.unescape</code> call is made just prior to calling <code>slugify</code> so that <code>slugify</code> only operates on Unicode characters. Note that <code>html.unescape</code> is not run on <code>name</code>, <code>html</code>, or <code>data-toc-label</code>.</li> <li>The functions <code>get_name</code> and <code>stashedHTML2text</code> defined in the <code>toc</code> extension are both <strong>deprecated</strong>. Instead, third party extensions should use some combination of the new functions <code>run_postprocessors</code>, <code>render_inner_html</code> and <code>striptags</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Include <code>scripts/*.py</code> in the generated source tarballs (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1430">#1430</a>).</li> <li>Ensure lines after heading in loose list are properly detabbed (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1443">#1443</a>).</li> <li>Give smarty tree processor higher priority than toc (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1440">#1440</a>).</li> <li>Permit carets (<code>^</code>) and square brackets (<code>]</code>) but explicitly exclude backslashes (<code>\</code>) from abbreviations (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1444">#1444</a>).</li> <li>In attribute lists (<code>attr_list</code>, <code>fenced_code</code>), quoted attribute values are now allowed to contain curly braces (<code>}</code>) (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1414">#1414</a>).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md">markdown's changelog</a>.</em></p> <blockquote> <h2>[3.6] -- 2024-03-14</h2> <h3>Changed</h3> <h4>Refactor TOC Sanitation</h4> <ul> <li>All postprocessors are now run on heading content.</li> <li>Footnote references are now stripped from heading content. Fixes <a href="https://redirect.github.com/Python-Markdown/markdown/issues/660">#660</a>.</li> <li>A more robust <code>striptags</code> is provided to convert headings to plain text. Unlike, the <code>markupsafe</code> implementation, HTML entities are not unescaped.</li> <li>The plain text <code>name</code>, rich <code>html</code>, and unescaped raw <code>data-toc-label</code> are saved to <code>toc_tokens</code>, allowing users to access the full rich text content of the headings directly from <code>toc_tokens</code>.</li> <li>The value of <code>data-toc-label</code> is sanitized separate from heading content before being written to <code>name</code>. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from <code>token['data-toc-label']</code> directly.</li> <li>An <code>html.unescape</code> call is made just prior to calling <code>slugify</code> so that <code>slugify</code> only operates on Unicode characters. Note that <code>html.unescape</code> is not run on <code>name</code>, <code>html</code>, or <code>data-toc-label</code>.</li> <li>The functions <code>get_name</code> and <code>stashedHTML2text</code> defined in the <code>toc</code> extension are both <strong>deprecated</strong>. Instead, third party extensions should use some combination of the new functions <code>run_postprocessors</code>, <code>render_inner_html</code> and <code>striptags</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Include <code>scripts/*.py</code> in the generated source tarballs (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1430">#1430</a>).</li> <li>Ensure lines after heading in loose list are properly detabbed (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1443">#1443</a>).</li> <li>Give smarty tree processor higher priority than toc (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1440">#1440</a>).</li> <li>Permit carets (<code>^</code>) and square brackets (<code>]</code>) but explicitly exclude backslashes (<code>\</code>) from abbreviations (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1444">#1444</a>).</li> <li>In attribute lists (<code>attr_list</code>, <code>fenced_code</code>), quoted attribute values are now allowed to contain curly braces (<code>}</code>) (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1414">#1414</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Python-Markdown/markdown/commit/e524b8fe938738cb4492411a34cce89051cb9695"><code>e524b8f</code></a> Bump version to 3.6</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/3d8afc6f89e169522f44c1bbec15f66dc359eccb"><code>3d8afc6</code></a> Allow attr_list quoted values to contain curly braces</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/9edba85fc14f034b7109534220702bf60178ff15"><code>9edba85</code></a> Refactor abbr escaping</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/e4ab4a610edc6332ce81a53aa4ae6f97516ce461"><code>e4ab4a6</code></a> Refactor TOC sanitation</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/a18765c25cccab23f400edeac94d20f4be00492b"><code>a18765c</code></a> Explicitly omit carot and backslash from abbr</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/421f1e88ff4661b4433b97ec57b040a2a74e5aed"><code>421f1e8</code></a> Give smarty tree processor higher priority than toc</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/c334a3e47e6565469344154f966cf0eb9aca0de3"><code>c334a3e</code></a> Ensure lines after heading in loose list are properly detabbed</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/ea92856855a6314488acb121f21f8fa02860e008"><code>ea92856</code></a> Update the license template so GitHub can detect it</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/a2effd6d5191808c8b2e347965f6fcf4aa709e78"><code>a2effd6</code></a> Disable mkdocstrings show_symbol_type_toc option to work around searching iss...</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/91f9a1205d32f3bc6a27ca5f993409c3b97c1931"><code>91f9a12</code></a> Restore Attribute symbol type in mkdocstrings template</li> <li>Additional commits viewable in <a href="https://github.com/Python-Markdown/markdown/compare/3.5.2...3.6">compare view</a></li> </ul> </details> <br /> Updates `mkdocs-material` from 9.5.12 to 9.5.16 <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.16</h2> <ul> <li>Updated Russian translations</li> <li>Improved error handling and reporting in social plugin</li> <li>Improved error handling and reporting in privacy plugin</li> <li>Fixed blog plugin not allowing to use time in format strings</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6983">#6983</a>: Social plugin crashes because of Google Fonts API change</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a>, <a href="https://github.com/Guts"><code>@Guts</code></a>, <a href="https://github.com/szg-alex-payne"><code>@szg-alex-payne</code></a> and <a href="https://github.com/natakazakova"><code>@natakazakova</code></a> for their contributions</p> <h2>mkdocs-material-9.5.15</h2> <ul> <li>Reverted fix for transparent iframes (9.5.14)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6929">#6929</a>: Interference of social plugin and auto dark mode</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6938">#6938</a>: Giscus shows dark background in light mode (9.5.14 regression)</li> </ul> <h2>mkdocs-material-9.5.14</h2> <ul> <li>Added support for hiding versions from selector when using mike</li> <li>Added init system to improve signal handling in Docker image</li> <li>Fixed edge cases in exclusion logic of info plugin</li> <li>Fixed inability to reset pipeline in search plugin</li> <li>Fixed syntax error in Finnish translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6917">#6917</a>: UTF-8 encoding problems in blog plugin on Windows</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6889">#6889</a>: Transparent iframes get background color</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a>, <a href="https://github.com/yubiuser"><code>@yubiuser</code></a> and <a href="https://github.com/todeveni"><code>@todeveni</code></a> for their contributions</p> <h2>mkdocs-material-9.5.13</h2> <ul> <li>Updated Slovak translations</li> <li>Improved info plugin interop with projects plugin</li> <li>Improved info plugin inclusion/exclusion logic</li> <li>Fixed info plugin not gathering files recursively</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6750">#6750</a>: Ensure info plugin packs up all necessary files</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a> and <a href="https://github.com/scepka"><code>@scepka</code></a> for their contributions</p> </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.16+insiders-4.53.4 (2024-03-31)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6973">#6973</a>: Escaping issue in tags extra files deprecation helper</li> </ul> <p>mkdocs-material-9.5.16 (2024-03-31)</p> <ul> <li>Updated Russian translations</li> <li>Improved error handling and reporting in social plugin</li> <li>Improved error handling and reporting in privacy plugin</li> <li>Fixed blog plugin not allowing to use time in format strings</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6983">#6983</a>: Social plugin crashes because of Google Fonts API change</li> </ul> <p>mkdocs-material-9.5.15+insiders-4.53.3 (2024-03-23)</p> <ul> <li>Added support for font variants in social plugin</li> <li>Improved resilience of font resolution in social plugin</li> <li>Fixed tag listing sometimes not being auto-populated</li> <li>Fixed tag listing scope not being correctly resolved</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6941">#6941</a>: Meta plugin adding duplicate entries</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6928">#6928</a>: Social plugin crashes for some fonts</li> </ul> <p>mkdocs-material-9.5.15 (2024-03-23)</p> <ul> <li>Reverted fix for transparent iframes (9.5.14)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6929">#6929</a>: Interference of social plugin and auto dark mode</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6938">#6938</a>: Giscus shows dark background in light mode (9.5.14 regression)</li> </ul> <p>mkdocs-material-9.5.14+insiders-4.53.2 (2024-03-18)</p> <ul> <li>Fixed abort on first non-matching configuration in preview extension</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6914">#6914</a>: Meta files take precedence over front matter</li> </ul> <p>mkdocs-material-9.5.14 (2024-03-18)</p> <ul> <li>Added support for hiding versions from selector when using mike</li> <li>Added init system to improve signal handling in Docker image</li> <li>Fixed edge cases in exclusion logic of info plugin</li> <li>Fixed inability to reset pipeline in search plugin</li> <li>Fixed syntax error in Finnish translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6917">#6917</a>: UTF-8 encoding problems in blog plugin on Windows</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6889">#6889</a>: Transparent iframes get background color</li> </ul> <p>mkdocs-material-9.5.13+insiders-4.53.1 (2024-03-06)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6877">#6877</a>: Projects plugin computes incorrect path to assets</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6869">#6869</a>: Blog plugin should emit warning on invalid related link</li> </ul> <p>mkdocs-material-9.5.13 (2024-03-06)</p> <ul> <li>Updated Slovak translations</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/895652409795662dc809c6e020e082b2238fe0a3"><code>8956524</code></a> Updated Insiders changelog</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/0db4e667da098cede42f78fb3325b3f95c50bbfa"><code>0db4e66</code></a> Updated changelog</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/29cf44b71ca0e579c693c79d8e74c820a42b5910"><code>29cf44b</code></a> Improved resilience of privacy plugin</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/6c9ba875bfd5d93007b48debd3b4041773dd5eef"><code>6c9ba87</code></a> Prepare 9.5.16 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/f2bfab91fee62419d4719387c8b9924166f96d5e"><code>f2bfab9</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/9e40207bb6e1218948721de87591b38ce6c497cd"><code>9e40207</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/a2cb35d4c5da25a90cb746e6b06a0c5ee7096b4b"><code>a2cb35d</code></a> Improved error handling on social plugin (<a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6818">#6818</a>)</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/abfac1a93e4cfc13924c48837cfc45dc724551f6"><code>abfac1a</code></a> Switched to Babel's <code>format_datetime</code> to allow for time in formatted dates (#...</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/01b2dd17e3e8d86b70ef8b9ae94096c47034ecc8"><code>01b2dd1</code></a> Updated Russian translations</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/ad7233640f2c679b7f149def57c96e1ec12b9ad9"><code>ad72336</code></a> Fixed social plugin Google Fonts integration</li> <li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.5.12...9.5.16">compare view</a></li> </ul> </details> <br /> Updates `mypy` from 1.8.0 to 1.9.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's changelog</a>.</em></p> <blockquote> <h1>Mypy Release Notes</h1> <h2>Mypy 1.9</h2> <p>We’ve just uploaded mypy 1.9 to the Python Package Index (<a href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:</p> <pre><code>python3 -m pip install -U mypy </code></pre> <p>You can read the full documentation for this release on <a href="http://mypy.readthedocs.io">Read the Docs</a>.</p> <h4>Breaking Changes</h4> <p>Because the version of typeshed we use in mypy 1.9 doesn't support 3.7, neither does mypy 1.9. (Jared Hance, PR <a href="https://redirect.github.com/python/mypy/pull/16883">16883</a>)</p> <p>We are planning to enable <a href="https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-local-partial-types">local partial types</a> (enabled via the <code>--local-partial-types</code> flag) later this year by default. This change was announced years ago, but now it's finally happening. This is a major backward-incompatible change, so we'll probably include it as part of the upcoming mypy 2.0 release. This makes daemon and non-daemon mypy runs have the same behavior by default.</p> <p>Local partial types can also be enabled in the mypy config file:</p> <pre><code>local_partial_types = True </code></pre> <p>We are looking at providing a tool to make it easier to migrate projects to use <code>--local-partial-types</code>, but it's not yet clear whether this is practical. The migration usually involves adding some explicit type annotations to module-level and class-level variables.</p> <h4>Basic Support for Type Parameter Defaults (PEP 696)</h4> <p>This release contains new experimental support for type parameter defaults (<a href="https://peps.python.org/pep-0696">PEP 696</a>). Please try it out! This feature was contributed by Marc Mueller.</p> <p>Since this feature will be officially introduced in the next Python feature release (3.13), you will need to import <code>TypeVar</code>, <code>ParamSpec</code> or <code>TypeVarTuple</code> from <code>typing_extensions</code> to use defaults for now.</p> <p>This example adapted from the PEP defines a default for <code>BotT</code>:</p> <pre lang="python"><code>from typing import Generic from typing_extensions import TypeVar <p>class Bot: ...</p> <p>BotT = TypeVar("BotT", bound=Bot, default=Bot) </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/5ff46f8b3706d005fabab2227ec84476d605bfd4"><code>5ff46f8</code></a> Remove +dev.</li> <li><a href="https://github.com/python/mypy/commit/155909ad1bde747d89fcd091621d7cd9b1e15818"><code>155909a</code></a> [Release 1.9] Unsupport targetting 3.7. (<a href="https://redirect.github.com/python/mypy/issues/16883">#16883</a>) (<a href="https://redirect.github.com/python/mypy/issues/16900">#16900</a>)</li> <li><a href="https://github.com/python/mypy/commit/6615cabe57c661114d0ed44784f67301619faadf"><code>6615cab</code></a> [Release 1.9] Stubtest: ignore a new protocol dunder (<a href="https://redirect.github.com/python/mypy/issues/16895">#16895</a>) (<a href="https://redirect.github.com/python/mypy/issues/16899">#16899</a>)</li> <li><a href="https://github.com/python/mypy/commit/b956e6a57c4dd36d670097a3eccf7dc092348fec"><code>b956e6a</code></a> stubtest: Private parameters can be omitted (<a href="https://redirect.github.com/python/mypy/issues/16507">#16507</a>)</li> <li><a href="https://github.com/python/mypy/commit/ede0b200a10186a095378516d840389f8da4edd4"><code>ede0b20</code></a> Bump ruff to 0.2.0 (<a href="https://redirect.github.com/python/mypy/issues/16870">#16870</a>)</li> <li><a href="https://github.com/python/mypy/commit/7bdd61f2d89ecd2cee4ebe6eb2375a72b29f0b10"><code>7bdd61f</code></a> stubgen: Fix crash on star unpack of TypeVarTuple (<a href="https://redirect.github.com/python/mypy/issues/16869">#16869</a>)</li> <li><a href="https://github.com/python/mypy/commit/8c2ef9dde8aa803e04038427ad84f09664d9d93f"><code>8c2ef9d</code></a> Update hashes in sync-typeshed.py following recent typeshed sync</li> <li><a href="https://github.com/python/mypy/commit/0dd4b6f7576be3d3857fecefb298decdf0711ac7"><code>0dd4b6f</code></a> Revert use of <code>ParamSpec</code> for <code>functools.wraps</code></li> <li><a href="https://github.com/python/mypy/commit/dd12a2d810f2bbe7a8686674397043b18575480f"><code>dd12a2d</code></a> Revert typeshed ctypes change</li> <li><a href="https://github.com/python/mypy/commit/d132999ba631b332d0684173897e5947591f4acc"><code>d132999</code></a> Revert sum literal integer change (<a href="https://redirect.github.com/python/mypy/issues/13961">#13961</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.8.0...1.9.0">compare view</a></li> </ul> </details> <br /> Updates `types-markdown` from 3.5.0.20240129 to 3.6.0.20240316 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/python/typeshed/commits">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 8.1.0 to 8.1.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.1.1</h2> <h1>pytest 8.1.1 (2024-03-08)</h1> <p>::: {.note} ::: {.title} Note :::</p> <p>This release is not a usual bug fix release -- it contains features and improvements, being a follow up to <code>8.1.0</code>, which has been yanked from PyPI. :::</p> <h2>Features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: Added the new <code>consider_namespace_packages</code>{.interpreted-text role="confval"} configuration option, defaulting to <code>False</code>.</p> <p>If set to <code>True</code>, pytest will attempt to identify modules that are part of <a href="https://packaging.python.org/en/latest/guides/packaging-namespace-packages">namespace packages</a> when importing modules.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11653">#11653</a>: Added the new <code>verbosity_test_cases</code>{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity. See <code>Fine-grained verbosity <pytest.fine_grained_verbosity></code>{.interpreted-text role="ref"} for more details.</p> </li> </ul> <h2>Improvements</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10865">#10865</a>: <code>pytest.warns</code>{.interpreted-text role="func"} now validates that <code>warnings.warn</code>{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}. Currently in Python it is possible to use other types, however this causes an exception when <code>warnings.filterwarnings</code>{.interpreted-text role="func"} is used to filter those warnings (see [CPython <a href="https://redirect.github.com/pytest-dev/pytest/issues/103577">#103577</a>](<a href="https://redirect.github.com/python/cpython/issues/103577">python/cpython#103577</a>) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11311">#11311</a>: When using <code>--override-ini</code> for paths in invocations without a configuration file defined, the current working directory is used as the relative directory.</p> <p>Previoulsy this would raise an <code>AssertionError</code>{.interpreted-text role="class"}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: <code>--import-mode=importlib <import-mode-importlib></code>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :py<code>sys.path</code>{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.</p> <p>This means that installed packages will be imported under their canonical name if possible first, for example <code>app.core.models</code>, instead of having the module name always be derived from their path (for example <code>.env310.lib.site_packages.app.core.models</code>).</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11801">#11801</a>: Added the <code>iter_parents() <_pytest.nodes.Node.iter_parents></code>{.interpreted-text role="func"} helper method on nodes. It is similar to <code>listchain <_pytest.nodes.Node.listchain></code>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11850">#11850</a>: Added support for <code>sys.last_exc</code>{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11962">#11962</a>: In case no other suitable candidates for configuration file are found, a <code>pyproject.toml</code> (even without a <code>[tool.pytest.ini_options]</code> table) will be considered as the configuration file and define the <code>rootdir</code>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11978">#11978</a>: Add <code>--log-file-mode</code> option to the logging plugin, enabling appending to log-files. This option accepts either <code>"w"</code> or <code>"a"</code> and defaults to <code>"w"</code>.</p> <p>Previously, the mode was hard-coded to be <code>"w"</code> which truncates the file before logging.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/81653ee385f4c62ee7e64502a7b7530096553115"><code>81653ee</code></a> Adjust changelog manually for 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e60b4b9ed80f761e3a51868a01338911a567b093"><code>e60b4b9</code></a> Prepare release version 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/15fbe57c44fed6737f5c6dad99cf4437b6755a6c"><code>15fbe57</code></a> [8.1.x] Revert legacy path removals (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12093">#12093</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/86c3aab005a98de7e12ee5e37782837f5db70ac3"><code>86c3aab</code></a> [8.1.x] Do not import duplicated modules with --importmode=importlib (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12077">#12077</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/5b82b0cd20c3adcc21f34ae30c595c7355a87e23"><code>5b82b0c</code></a> [8.1.x] Yank version 8.1.0 (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12076">#12076</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0a536810dc5f51dac99bdb90dde06704b5aa034e"><code>0a53681</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12054">#12054</a> from pytest-dev/release-8.1.0</li> <li>See full diff in <a href="https://github.com/pytest-dev/pytest/compare/8.1.0...8.1.1">compare view</a></li> </ul> </details> <br /> Updates `pytest-mock` from 3.12.0 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> </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> </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.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> Updates `pytest-asyncio` from 0.23.5 to 0.23.6 <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.6</h2> <h1>0.23.6 (2024-03-19)</h1> <ul> <li>Fix compatibility with pytest 8.2 <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/800">#800</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> <h2>pytest-asyncio 0.23.5.post1</h2> <h1>0.23.5 (2024-02-09)</h1> <ul> <li>Declare compatibility with pytest 8 <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/737">#737</a></li> <li>Fix typing errors with recent versions of mypy <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/769">#769</a></li> <li>Prevent DeprecationWarning about internal use of <code>asyncio.get_event_loop()</code> from affecting test cases <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/757">#757</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/c34da04b82153ce052109bad31ccdbc0be7938e1"><code>c34da04</code></a> [docs] Mentioned pytest 8.2 compatibility fix in changelog.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/143f745d279afc070cf5cf6144fbf34d960fae72"><code>143f745</code></a> Fix compatibility with pytest 8.2 FixtureDef.unittest removal</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/13d4b79f7ff0d9d0ea70880b3276f85dea7f1f15"><code>13d4b79</code></a> Remove unused function <code>_removesuffix</code></li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/cdd2c4906835b6f627d681fbee5d487554884e5f"><code>cdd2c49</code></a> Use <code>FixtureRequest</code> instead of <code>SubRequest</code></li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/c3429fa4d72239be9b428342f0f1407e0840b9ec"><code>c3429fa</code></a> Build(deps): Bump packaging from 23.2 to 24.0 in /dependencies/docs</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/5f2338dfc9f9b5ac2c27d3bef490fa3e2cd7c156"><code>5f2338d</code></a> Build(deps): Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/726c6e0f3c185f10d8a842bcd1d781de32a3b2f5"><code>726c6e0</code></a> Build(deps): Bump coverage from 7.4.3 to 7.4.4 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/8bd8288709717165b352c7f2f207c8e4ef624a01"><code>8bd8288</code></a> Build(deps): Bump pytest from 8.0.2 to 8.1.1 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/ef3b3477070d6a270e1bb2c1d438c64dba42724c"><code>ef3b347</code></a> Build(deps): Bump packaging from 23.2 to 24.0 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/b22d84e1f0d53920352be4c66d1b6c7f7a9ce005"><code>b22d84e</code></a> [docs] Fixes the example showing how to run all tests in a session-scoped loop.</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-asyncio/compare/v0.23.5...v0.23.6">compare view</a></li> </ul> </details> <br /> Updates `async-solipsism` from 0.5 to 0.6 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/bmerry/async-solipsism/commit/462ababa1b52a56756ec166c6bbf26cfb5f17f13"><code>462abab</code></a> Fix content-type for README</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/3e011a72465b85808a752be03af49ab4468e1d33"><code>3e011a7</code></a> Add dist directory to .gitignore</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/639881846b3ce7c1c047c0036e31ce7e1bf483c8"><code>6398818</code></a> Update README for 0.6 release</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/bec1263f337e7c138e16363dabc903c3644b9c9b"><code>bec1263</code></a> Bump version to 0.6</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/7ce816c158eb1b8e30af302ebf634d1d0b64600b"><code>7ce816c</code></a> Move package config into pyproject.toml</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/2b5b16371facc8e0647652bae1b7bc74fe2938fd"><code>2b5b163</code></a> Run GHA on pull request too</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/d47ed8cb18871d8c9bc2087ad73b70c5a41e64ec"><code>d47ed8c</code></a> Fix GHA (hopefully)</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/a1495c3fa7927f7ba19e954d51528495bbe58b25"><code>a1495c3</code></a> Generate requirements.txt with pip-compile</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/448a20327fad131e580396e3e65ff97051642fa5"><code>448a203</code></a> Improve compatibility with pytest-asyncio 0.23</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/393e7b52829efd0e06d816b98e2abef4c8201663"><code>393e7b5</code></a> Drop support for end-of-life Python versions</li> <li>Additional commits viewable in <a href="https://github.com/bmerry/async-solipsism/compare/0.5...0.6">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>
[//]: # (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 the optional group with 9 updates: | Package | From | To | | --- | --- | --- | | [black](https://github.com/psf/black) | `24.2.0` | `24.3.0` | | [markdown](https://github.com/Python-Markdown/markdown) | `3.5.2` | `3.6` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.12` | `9.5.16` | | [mypy](https://github.com/python/mypy) | `1.8.0` | `1.9.0` | | [types-markdown](https://github.com/python/typeshed) | `3.5.0.20240129` | `3.6.0.20240316` | | [pytest](https://github.com/pytest-dev/pytest) | `8.1.0` | `8.1.1` | | [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.12.0` | `3.14.0` | | [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) | `0.23.5` | `0.23.6` | | [async-solipsism](https://github.com/bmerry/async-solipsism) | `0.5` | `0.6` | Updates `black` from 24.2.0 to 24.3.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>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </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>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/552baf822992936134cbd31a38f69c8cfe7c0f05"><code>552baf8</code></a> Prepare release 24.3.0 (<a href="https://redirect.github.com/psf/black/issues/4279">#4279</a>)</li> <li><a href="https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8"><code>f000936</code></a> Fix catastrophic performance in lines_with_leading_tabs_expanded() (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> <li><a href="https://github.com/psf/black/commit/7b5a657285f38126bf28483478bbd9ea928077ec"><code>7b5a657</code></a> Fix --line-ranges behavior when ranges are at EOF (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> <li><a href="https://github.com/psf/black/commit/1abcffc81816257985678f08c61584ed4287f22a"><code>1abcffc</code></a> Use regex where we ignore case on windows (<a href="https://redirect.github.com/psf/black/issues/4252">#4252</a>)</li> <li><a href="https://github.com/psf/black/commit/719e67462c80574c81a96faa144886de6da84489"><code>719e674</code></a> Fix 4227: Improve documentation for --quiet --check (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> <li><a href="https://github.com/psf/black/commit/e5510afc06cd238cd0cba4095283943a870a7e7b"><code>e5510af</code></a> update plugin url for Thonny (<a href="https://redirect.github.com/psf/black/issues/4259">#4259</a>)</li> <li><a href="https://github.com/psf/black/commit/6af7d1109693c4ad3af08ecbc34649c232b47a6d"><code>6af7d11</code></a> Fix AST safety check false negative (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li><a href="https://github.com/psf/black/commit/f03ee113c9f3dfeb477f2d4247bfb7de2e5f465c"><code>f03ee11</code></a> Ensure <code>blib2to3.pygram</code> is initialized before use (<a href="https://redirect.github.com/psf/black/issues/4224">#4224</a>)</li> <li><a href="https://github.com/psf/black/commit/e4bfedbec2e8b10cc6b7b31442478f05db0ce06d"><code>e4bfedb</code></a> fix: Don't move comments while splitting delimiters (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li><a href="https://github.com/psf/black/commit/d0287e1f7558d97e6c0ebd6dc5bcb5b970e2bf8c"><code>d0287e1</code></a> Make trailing comma logic more concise (<a href="https://redirect.github.com/psf/black/issues/4202">#4202</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/24.2.0...24.3.0">compare view</a></li> </ul> </details> <br /> Updates `markdown` from 3.5.2 to 3.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/releases">markdown's releases</a>.</em></p> <blockquote> <h2>Release 3.6</h2> <h3>Changed</h3> <h4>Refactor TOC Sanitation</h4> <ul> <li>All postprocessors are now run on heading content.</li> <li>Footnote references are now stripped from heading content. Fixes <a href="https://redirect.github.com/Python-Markdown/markdown/issues/660">#660</a>.</li> <li>A more robust <code>striptags</code> is provided to convert headings to plain text. Unlike, the <code>markupsafe</code> implementation, HTML entities are not unescaped.</li> <li>The plain text <code>name</code>, rich <code>html</code>, and unescaped raw <code>data-toc-label</code> are saved to <code>toc_tokens</code>, allowing users to access the full rich text content of the headings directly from <code>toc_tokens</code>.</li> <li>The value of <code>data-toc-label</code> is sanitized separate from heading content before being written to <code>name</code>. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from <code>token['data-toc-label']</code> directly.</li> <li>An <code>html.unescape</code> call is made just prior to calling <code>slugify</code> so that <code>slugify</code> only operates on Unicode characters. Note that <code>html.unescape</code> is not run on <code>name</code>, <code>html</code>, or <code>data-toc-label</code>.</li> <li>The functions <code>get_name</code> and <code>stashedHTML2text</code> defined in the <code>toc</code> extension are both <strong>deprecated</strong>. Instead, third party extensions should use some combination of the new functions <code>run_postprocessors</code>, <code>render_inner_html</code> and <code>striptags</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Include <code>scripts/*.py</code> in the generated source tarballs (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1430">#1430</a>).</li> <li>Ensure lines after heading in loose list are properly detabbed (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1443">#1443</a>).</li> <li>Give smarty tree processor higher priority than toc (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1440">#1440</a>).</li> <li>Permit carets (<code>^</code>) and square brackets (<code>]</code>) but explicitly exclude backslashes (<code>\</code>) from abbreviations (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1444">#1444</a>).</li> <li>In attribute lists (<code>attr_list</code>, <code>fenced_code</code>), quoted attribute values are now allowed to contain curly braces (<code>}</code>) (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1414">#1414</a>).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md">markdown's changelog</a>.</em></p> <blockquote> <h2>[3.6] -- 2024-03-14</h2> <h3>Changed</h3> <h4>Refactor TOC Sanitation</h4> <ul> <li>All postprocessors are now run on heading content.</li> <li>Footnote references are now stripped from heading content. Fixes <a href="https://redirect.github.com/Python-Markdown/markdown/issues/660">#660</a>.</li> <li>A more robust <code>striptags</code> is provided to convert headings to plain text. Unlike, the <code>markupsafe</code> implementation, HTML entities are not unescaped.</li> <li>The plain text <code>name</code>, rich <code>html</code>, and unescaped raw <code>data-toc-label</code> are saved to <code>toc_tokens</code>, allowing users to access the full rich text content of the headings directly from <code>toc_tokens</code>.</li> <li>The value of <code>data-toc-label</code> is sanitized separate from heading content before being written to <code>name</code>. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from <code>token['data-toc-label']</code> directly.</li> <li>An <code>html.unescape</code> call is made just prior to calling <code>slugify</code> so that <code>slugify</code> only operates on Unicode characters. Note that <code>html.unescape</code> is not run on <code>name</code>, <code>html</code>, or <code>data-toc-label</code>.</li> <li>The functions <code>get_name</code> and <code>stashedHTML2text</code> defined in the <code>toc</code> extension are both <strong>deprecated</strong>. Instead, third party extensions should use some combination of the new functions <code>run_postprocessors</code>, <code>render_inner_html</code> and <code>striptags</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Include <code>scripts/*.py</code> in the generated source tarballs (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1430">#1430</a>).</li> <li>Ensure lines after heading in loose list are properly detabbed (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1443">#1443</a>).</li> <li>Give smarty tree processor higher priority than toc (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1440">#1440</a>).</li> <li>Permit carets (<code>^</code>) and square brackets (<code>]</code>) but explicitly exclude backslashes (<code>\</code>) from abbreviations (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1444">#1444</a>).</li> <li>In attribute lists (<code>attr_list</code>, <code>fenced_code</code>), quoted attribute values are now allowed to contain curly braces (<code>}</code>) (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1414">#1414</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Python-Markdown/markdown/commit/e524b8fe938738cb4492411a34cce89051cb9695"><code>e524b8f</code></a> Bump version to 3.6</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/3d8afc6f89e169522f44c1bbec15f66dc359eccb"><code>3d8afc6</code></a> Allow attr_list quoted values to contain curly braces</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/9edba85fc14f034b7109534220702bf60178ff15"><code>9edba85</code></a> Refactor abbr escaping</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/e4ab4a610edc6332ce81a53aa4ae6f97516ce461"><code>e4ab4a6</code></a> Refactor TOC sanitation</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/a18765c25cccab23f400edeac94d20f4be00492b"><code>a18765c</code></a> Explicitly omit carot and backslash from abbr</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/421f1e88ff4661b4433b97ec57b040a2a74e5aed"><code>421f1e8</code></a> Give smarty tree processor higher priority than toc</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/c334a3e47e6565469344154f966cf0eb9aca0de3"><code>c334a3e</code></a> Ensure lines after heading in loose list are properly detabbed</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/ea92856855a6314488acb121f21f8fa02860e008"><code>ea92856</code></a> Update the license template so GitHub can detect it</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/a2effd6d5191808c8b2e347965f6fcf4aa709e78"><code>a2effd6</code></a> Disable mkdocstrings show_symbol_type_toc option to work around searching iss...</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/91f9a1205d32f3bc6a27ca5f993409c3b97c1931"><code>91f9a12</code></a> Restore Attribute symbol type in mkdocstrings template</li> <li>Additional commits viewable in <a href="https://github.com/Python-Markdown/markdown/compare/3.5.2...3.6">compare view</a></li> </ul> </details> <br /> Updates `mkdocs-material` from 9.5.12 to 9.5.16 <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.16</h2> <ul> <li>Updated Russian translations</li> <li>Improved error handling and reporting in social plugin</li> <li>Improved error handling and reporting in privacy plugin</li> <li>Fixed blog plugin not allowing to use time in format strings</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6983">#6983</a>: Social plugin crashes because of Google Fonts API change</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a>, <a href="https://github.com/Guts"><code>@Guts</code></a>, <a href="https://github.com/szg-alex-payne"><code>@szg-alex-payne</code></a> and <a href="https://github.com/natakazakova"><code>@natakazakova</code></a> for their contributions</p> <h2>mkdocs-material-9.5.15</h2> <ul> <li>Reverted fix for transparent iframes (9.5.14)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6929">#6929</a>: Interference of social plugin and auto dark mode</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6938">#6938</a>: Giscus shows dark background in light mode (9.5.14 regression)</li> </ul> <h2>mkdocs-material-9.5.14</h2> <ul> <li>Added support for hiding versions from selector when using mike</li> <li>Added init system to improve signal handling in Docker image</li> <li>Fixed edge cases in exclusion logic of info plugin</li> <li>Fixed inability to reset pipeline in search plugin</li> <li>Fixed syntax error in Finnish translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6917">#6917</a>: UTF-8 encoding problems in blog plugin on Windows</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6889">#6889</a>: Transparent iframes get background color</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a>, <a href="https://github.com/yubiuser"><code>@yubiuser</code></a> and <a href="https://github.com/todeveni"><code>@todeveni</code></a> for their contributions</p> <h2>mkdocs-material-9.5.13</h2> <ul> <li>Updated Slovak translations</li> <li>Improved info plugin interop with projects plugin</li> <li>Improved info plugin inclusion/exclusion logic</li> <li>Fixed info plugin not gathering files recursively</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6750">#6750</a>: Ensure info plugin packs up all necessary files</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a> and <a href="https://github.com/scepka"><code>@scepka</code></a> for their contributions</p> </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.16+insiders-4.53.4 (2024-03-31)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6973">#6973</a>: Escaping issue in tags extra files deprecation helper</li> </ul> <p>mkdocs-material-9.5.16 (2024-03-31)</p> <ul> <li>Updated Russian translations</li> <li>Improved error handling and reporting in social plugin</li> <li>Improved error handling and reporting in privacy plugin</li> <li>Fixed blog plugin not allowing to use time in format strings</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6983">#6983</a>: Social plugin crashes because of Google Fonts API change</li> </ul> <p>mkdocs-material-9.5.15+insiders-4.53.3 (2024-03-23)</p> <ul> <li>Added support for font variants in social plugin</li> <li>Improved resilience of font resolution in social plugin</li> <li>Fixed tag listing sometimes not being auto-populated</li> <li>Fixed tag listing scope not being correctly resolved</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6941">#6941</a>: Meta plugin adding duplicate entries</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6928">#6928</a>: Social plugin crashes for some fonts</li> </ul> <p>mkdocs-material-9.5.15 (2024-03-23)</p> <ul> <li>Reverted fix for transparent iframes (9.5.14)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6929">#6929</a>: Interference of social plugin and auto dark mode</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6938">#6938</a>: Giscus shows dark background in light mode (9.5.14 regression)</li> </ul> <p>mkdocs-material-9.5.14+insiders-4.53.2 (2024-03-18)</p> <ul> <li>Fixed abort on first non-matching configuration in preview extension</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6914">#6914</a>: Meta files take precedence over front matter</li> </ul> <p>mkdocs-material-9.5.14 (2024-03-18)</p> <ul> <li>Added support for hiding versions from selector when using mike</li> <li>Added init system to improve signal handling in Docker image</li> <li>Fixed edge cases in exclusion logic of info plugin</li> <li>Fixed inability to reset pipeline in search plugin</li> <li>Fixed syntax error in Finnish translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6917">#6917</a>: UTF-8 encoding problems in blog plugin on Windows</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6889">#6889</a>: Transparent iframes get background color</li> </ul> <p>mkdocs-material-9.5.13+insiders-4.53.1 (2024-03-06)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6877">#6877</a>: Projects plugin computes incorrect path to assets</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6869">#6869</a>: Blog plugin should emit warning on invalid related link</li> </ul> <p>mkdocs-material-9.5.13 (2024-03-06)</p> <ul> <li>Updated Slovak translations</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/895652409795662dc809c6e020e082b2238fe0a3"><code>8956524</code></a> Updated Insiders changelog</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/0db4e667da098cede42f78fb3325b3f95c50bbfa"><code>0db4e66</code></a> Updated changelog</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/29cf44b71ca0e579c693c79d8e74c820a42b5910"><code>29cf44b</code></a> Improved resilience of privacy plugin</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/6c9ba875bfd5d93007b48debd3b4041773dd5eef"><code>6c9ba87</code></a> Prepare 9.5.16 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/f2bfab91fee62419d4719387c8b9924166f96d5e"><code>f2bfab9</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/9e40207bb6e1218948721de87591b38ce6c497cd"><code>9e40207</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/a2cb35d4c5da25a90cb746e6b06a0c5ee7096b4b"><code>a2cb35d</code></a> Improved error handling on social plugin (<a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6818">#6818</a>)</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/abfac1a93e4cfc13924c48837cfc45dc724551f6"><code>abfac1a</code></a> Switched to Babel's <code>format_datetime</code> to allow for time in formatted dates (#...</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/01b2dd17e3e8d86b70ef8b9ae94096c47034ecc8"><code>01b2dd1</code></a> Updated Russian translations</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/ad7233640f2c679b7f149def57c96e1ec12b9ad9"><code>ad72336</code></a> Fixed social plugin Google Fonts integration</li> <li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.5.12...9.5.16">compare view</a></li> </ul> </details> <br /> Updates `mypy` from 1.8.0 to 1.9.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's changelog</a>.</em></p> <blockquote> <h1>Mypy Release Notes</h1> <h2>Mypy 1.9</h2> <p>We’ve just uploaded mypy 1.9 to the Python Package Index (<a href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:</p> <pre><code>python3 -m pip install -U mypy </code></pre> <p>You can read the full documentation for this release on <a href="http://mypy.readthedocs.io">Read the Docs</a>.</p> <h4>Breaking Changes</h4> <p>Because the version of typeshed we use in mypy 1.9 doesn't support 3.7, neither does mypy 1.9. (Jared Hance, PR <a href="https://redirect.github.com/python/mypy/pull/16883">16883</a>)</p> <p>We are planning to enable <a href="https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-local-partial-types">local partial types</a> (enabled via the <code>--local-partial-types</code> flag) later this year by default. This change was announced years ago, but now it's finally happening. This is a major backward-incompatible change, so we'll probably include it as part of the upcoming mypy 2.0 release. This makes daemon and non-daemon mypy runs have the same behavior by default.</p> <p>Local partial types can also be enabled in the mypy config file:</p> <pre><code>local_partial_types = True </code></pre> <p>We are looking at providing a tool to make it easier to migrate projects to use <code>--local-partial-types</code>, but it's not yet clear whether this is practical. The migration usually involves adding some explicit type annotations to module-level and class-level variables.</p> <h4>Basic Support for Type Parameter Defaults (PEP 696)</h4> <p>This release contains new experimental support for type parameter defaults (<a href="https://peps.python.org/pep-0696">PEP 696</a>). Please try it out! This feature was contributed by Marc Mueller.</p> <p>Since this feature will be officially introduced in the next Python feature release (3.13), you will need to import <code>TypeVar</code>, <code>ParamSpec</code> or <code>TypeVarTuple</code> from <code>typing_extensions</code> to use defaults for now.</p> <p>This example adapted from the PEP defines a default for <code>BotT</code>:</p> <pre lang="python"><code>from typing import Generic from typing_extensions import TypeVar <p>class Bot: ...</p> <p>BotT = TypeVar("BotT", bound=Bot, default=Bot) </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/5ff46f8b3706d005fabab2227ec84476d605bfd4"><code>5ff46f8</code></a> Remove +dev.</li> <li><a href="https://github.com/python/mypy/commit/155909ad1bde747d89fcd091621d7cd9b1e15818"><code>155909a</code></a> [Release 1.9] Unsupport targetting 3.7. (<a href="https://redirect.github.com/python/mypy/issues/16883">#16883</a>) (<a href="https://redirect.github.com/python/mypy/issues/16900">#16900</a>)</li> <li><a href="https://github.com/python/mypy/commit/6615cabe57c661114d0ed44784f67301619faadf"><code>6615cab</code></a> [Release 1.9] Stubtest: ignore a new protocol dunder (<a href="https://redirect.github.com/python/mypy/issues/16895">#16895</a>) (<a href="https://redirect.github.com/python/mypy/issues/16899">#16899</a>)</li> <li><a href="https://github.com/python/mypy/commit/b956e6a57c4dd36d670097a3eccf7dc092348fec"><code>b956e6a</code></a> stubtest: Private parameters can be omitted (<a href="https://redirect.github.com/python/mypy/issues/16507">#16507</a>)</li> <li><a href="https://github.com/python/mypy/commit/ede0b200a10186a095378516d840389f8da4edd4"><code>ede0b20</code></a> Bump ruff to 0.2.0 (<a href="https://redirect.github.com/python/mypy/issues/16870">#16870</a>)</li> <li><a href="https://github.com/python/mypy/commit/7bdd61f2d89ecd2cee4ebe6eb2375a72b29f0b10"><code>7bdd61f</code></a> stubgen: Fix crash on star unpack of TypeVarTuple (<a href="https://redirect.github.com/python/mypy/issues/16869">#16869</a>)</li> <li><a href="https://github.com/python/mypy/commit/8c2ef9dde8aa803e04038427ad84f09664d9d93f"><code>8c2ef9d</code></a> Update hashes in sync-typeshed.py following recent typeshed sync</li> <li><a href="https://github.com/python/mypy/commit/0dd4b6f7576be3d3857fecefb298decdf0711ac7"><code>0dd4b6f</code></a> Revert use of <code>ParamSpec</code> for <code>functools.wraps</code></li> <li><a href="https://github.com/python/mypy/commit/dd12a2d810f2bbe7a8686674397043b18575480f"><code>dd12a2d</code></a> Revert typeshed ctypes change</li> <li><a href="https://github.com/python/mypy/commit/d132999ba631b332d0684173897e5947591f4acc"><code>d132999</code></a> Revert sum literal integer change (<a href="https://redirect.github.com/python/mypy/issues/13961">#13961</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.8.0...1.9.0">compare view</a></li> </ul> </details> <br /> Updates `types-markdown` from 3.5.0.20240129 to 3.6.0.20240316 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/python/typeshed/commits">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 8.1.0 to 8.1.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.1.1</h2> <h1>pytest 8.1.1 (2024-03-08)</h1> <p>::: {.note} ::: {.title} Note :::</p> <p>This release is not a usual bug fix release -- it contains features and improvements, being a follow up to <code>8.1.0</code>, which has been yanked from PyPI. :::</p> <h2>Features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: Added the new <code>consider_namespace_packages</code>{.interpreted-text role="confval"} configuration option, defaulting to <code>False</code>.</p> <p>If set to <code>True</code>, pytest will attempt to identify modules that are part of <a href="https://packaging.python.org/en/latest/guides/packaging-namespace-packages">namespace packages</a> when importing modules.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11653">#11653</a>: Added the new <code>verbosity_test_cases</code>{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity. See <code>Fine-grained verbosity <pytest.fine_grained_verbosity></code>{.interpreted-text role="ref"} for more details.</p> </li> </ul> <h2>Improvements</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10865">#10865</a>: <code>pytest.warns</code>{.interpreted-text role="func"} now validates that <code>warnings.warn</code>{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}. Currently in Python it is possible to use other types, however this causes an exception when <code>warnings.filterwarnings</code>{.interpreted-text role="func"} is used to filter those warnings (see [CPython <a href="https://redirect.github.com/pytest-dev/pytest/issues/103577">#103577</a>](<a href="https://redirect.github.com/python/cpython/issues/103577">python/cpython#103577</a>) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11311">#11311</a>: When using <code>--override-ini</code> for paths in invocations without a configuration file defined, the current working directory is used as the relative directory.</p> <p>Previoulsy this would raise an <code>AssertionError</code>{.interpreted-text role="class"}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: <code>--import-mode=importlib <import-mode-importlib></code>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :py<code>sys.path</code>{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.</p> <p>This means that installed packages will be imported under their canonical name if possible first, for example <code>app.core.models</code>, instead of having the module name always be derived from their path (for example <code>.env310.lib.site_packages.app.core.models</code>).</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11801">#11801</a>: Added the <code>iter_parents() <_pytest.nodes.Node.iter_parents></code>{.interpreted-text role="func"} helper method on nodes. It is similar to <code>listchain <_pytest.nodes.Node.listchain></code>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11850">#11850</a>: Added support for <code>sys.last_exc</code>{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11962">#11962</a>: In case no other suitable candidates for configuration file are found, a <code>pyproject.toml</code> (even without a <code>[tool.pytest.ini_options]</code> table) will be considered as the configuration file and define the <code>rootdir</code>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11978">#11978</a>: Add <code>--log-file-mode</code> option to the logging plugin, enabling appending to log-files. This option accepts either <code>"w"</code> or <code>"a"</code> and defaults to <code>"w"</code>.</p> <p>Previously, the mode was hard-coded to be <code>"w"</code> which truncates the file before logging.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/81653ee385f4c62ee7e64502a7b7530096553115"><code>81653ee</code></a> Adjust changelog manually for 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e60b4b9ed80f761e3a51868a01338911a567b093"><code>e60b4b9</code></a> Prepare release version 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/15fbe57c44fed6737f5c6dad99cf4437b6755a6c"><code>15fbe57</code></a> [8.1.x] Revert legacy path removals (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12093">#12093</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/86c3aab005a98de7e12ee5e37782837f5db70ac3"><code>86c3aab</code></a> [8.1.x] Do not import duplicated modules with --importmode=importlib (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12077">#12077</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/5b82b0cd20c3adcc21f34ae30c595c7355a87e23"><code>5b82b0c</code></a> [8.1.x] Yank version 8.1.0 (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12076">#12076</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0a536810dc5f51dac99bdb90dde06704b5aa034e"><code>0a53681</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12054">#12054</a> from pytest-dev/release-8.1.0</li> <li>See full diff in <a href="https://github.com/pytest-dev/pytest/compare/8.1.0...8.1.1">compare view</a></li> </ul> </details> <br /> Updates `pytest-mock` from 3.12.0 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> </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> </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.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> Updates `pytest-asyncio` from 0.23.5 to 0.23.6 <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.6</h2> <h1>0.23.6 (2024-03-19)</h1> <ul> <li>Fix compatibility with pytest 8.2 <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/800">#800</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> <h2>pytest-asyncio 0.23.5.post1</h2> <h1>0.23.5 (2024-02-09)</h1> <ul> <li>Declare compatibility with pytest 8 <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/737">#737</a></li> <li>Fix typing errors with recent versions of mypy <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/769">#769</a></li> <li>Prevent DeprecationWarning about internal use of <code>asyncio.get_event_loop()</code> from affecting test cases <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/757">#757</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/c34da04b82153ce052109bad31ccdbc0be7938e1"><code>c34da04</code></a> [docs] Mentioned pytest 8.2 compatibility fix in changelog.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/143f745d279afc070cf5cf6144fbf34d960fae72"><code>143f745</code></a> Fix compatibility with pytest 8.2 FixtureDef.unittest removal</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/13d4b79f7ff0d9d0ea70880b3276f85dea7f1f15"><code>13d4b79</code></a> Remove unused function <code>_removesuffix</code></li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/cdd2c4906835b6f627d681fbee5d487554884e5f"><code>cdd2c49</code></a> Use <code>FixtureRequest</code> instead of <code>SubRequest</code></li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/c3429fa4d72239be9b428342f0f1407e0840b9ec"><code>c3429fa</code></a> Build(deps): Bump packaging from 23.2 to 24.0 in /dependencies/docs</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/5f2338dfc9f9b5ac2c27d3bef490fa3e2cd7c156"><code>5f2338d</code></a> Build(deps): Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/726c6e0f3c185f10d8a842bcd1d781de32a3b2f5"><code>726c6e0</code></a> Build(deps): Bump coverage from 7.4.3 to 7.4.4 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/8bd8288709717165b352c7f2f207c8e4ef624a01"><code>8bd8288</code></a> Build(deps): Bump pytest from 8.0.2 to 8.1.1 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/ef3b3477070d6a270e1bb2c1d438c64dba42724c"><code>ef3b347</code></a> Build(deps): Bump packaging from 23.2 to 24.0 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/b22d84e1f0d53920352be4c66d1b6c7f7a9ce005"><code>b22d84e</code></a> [docs] Fixes the example showing how to run all tests in a session-scoped loop.</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-asyncio/compare/v0.23.5...v0.23.6">compare view</a></li> </ul> </details> <br /> Updates `async-solipsism` from 0.5 to 0.6 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/bmerry/async-solipsism/commit/462ababa1b52a56756ec166c6bbf26cfb5f17f13"><code>462abab</code></a> Fix content-type for README</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/3e011a72465b85808a752be03af49ab4468e1d33"><code>3e011a7</code></a> Add dist directory to .gitignore</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/639881846b3ce7c1c047c0036e31ce7e1bf483c8"><code>6398818</code></a> Update README for 0.6 release</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/bec1263f337e7c138e16363dabc903c3644b9c9b"><code>bec1263</code></a> Bump version to 0.6</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/7ce816c158eb1b8e30af302ebf634d1d0b64600b"><code>7ce816c</code></a> Move package config into pyproject.toml</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/2b5b16371facc8e0647652bae1b7bc74fe2938fd"><code>2b5b163</code></a> Run GHA on pull request too</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/d47ed8cb18871d8c9bc2087ad73b70c5a41e64ec"><code>d47ed8c</code></a> Fix GHA (hopefully)</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/a1495c3fa7927f7ba19e954d51528495bbe58b25"><code>a1495c3</code></a> Generate requirements.txt with pip-compile</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/448a20327fad131e580396e3e65ff97051642fa5"><code>448a203</code></a> Improve compatibility with pytest-asyncio 0.23</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/393e7b52829efd0e06d816b98e2abef4c8201663"><code>393e7b5</code></a> Drop support for end-of-life Python versions</li> <li>Additional commits viewable in <a href="https://github.com/bmerry/async-solipsism/compare/0.5...0.6">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 the optional group with 10 updates: | Package | From | To | | --- | --- | --- | | [black](https://github.com/psf/black) | `24.2.0` | `24.3.0` | | [markdown](https://github.com/Python-Markdown/markdown) | `3.5.2` | `3.6` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.12` | `9.5.17` | | [mypy](https://github.com/python/mypy) | `1.8.0` | `1.9.0` | | [types-markdown](https://github.com/python/typeshed) | `3.5.0.20240129` | `3.6.0.20240316` | | [pytest](https://github.com/pytest-dev/pytest) | `8.0.2` | `8.1.1` | | [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.12.0` | `3.14.0` | | [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) | `0.23.5` | `0.23.6` | | [async-solipsism](https://github.com/bmerry/async-solipsism) | `0.5` | `0.6` | | [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.98.15` | `6.100.0` | Updates `black` from 24.2.0 to 24.3.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>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </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>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/552baf822992936134cbd31a38f69c8cfe7c0f05"><code>552baf8</code></a> Prepare release 24.3.0 (<a href="https://redirect.github.com/psf/black/issues/4279">#4279</a>)</li> <li><a href="https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8"><code>f000936</code></a> Fix catastrophic performance in lines_with_leading_tabs_expanded() (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> <li><a href="https://github.com/psf/black/commit/7b5a657285f38126bf28483478bbd9ea928077ec"><code>7b5a657</code></a> Fix --line-ranges behavior when ranges are at EOF (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> <li><a href="https://github.com/psf/black/commit/1abcffc81816257985678f08c61584ed4287f22a"><code>1abcffc</code></a> Use regex where we ignore case on windows (<a href="https://redirect.github.com/psf/black/issues/4252">#4252</a>)</li> <li><a href="https://github.com/psf/black/commit/719e67462c80574c81a96faa144886de6da84489"><code>719e674</code></a> Fix 4227: Improve documentation for --quiet --check (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> <li><a href="https://github.com/psf/black/commit/e5510afc06cd238cd0cba4095283943a870a7e7b"><code>e5510af</code></a> update plugin url for Thonny (<a href="https://redirect.github.com/psf/black/issues/4259">#4259</a>)</li> <li><a href="https://github.com/psf/black/commit/6af7d1109693c4ad3af08ecbc34649c232b47a6d"><code>6af7d11</code></a> Fix AST safety check false negative (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li><a href="https://github.com/psf/black/commit/f03ee113c9f3dfeb477f2d4247bfb7de2e5f465c"><code>f03ee11</code></a> Ensure <code>blib2to3.pygram</code> is initialized before use (<a href="https://redirect.github.com/psf/black/issues/4224">#4224</a>)</li> <li><a href="https://github.com/psf/black/commit/e4bfedbec2e8b10cc6b7b31442478f05db0ce06d"><code>e4bfedb</code></a> fix: Don't move comments while splitting delimiters (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li><a href="https://github.com/psf/black/commit/d0287e1f7558d97e6c0ebd6dc5bcb5b970e2bf8c"><code>d0287e1</code></a> Make trailing comma logic more concise (<a href="https://redirect.github.com/psf/black/issues/4202">#4202</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/24.2.0...24.3.0">compare view</a></li> </ul> </details> <br /> Updates `markdown` from 3.5.2 to 3.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/releases">markdown's releases</a>.</em></p> <blockquote> <h2>Release 3.6</h2> <h3>Changed</h3> <h4>Refactor TOC Sanitation</h4> <ul> <li>All postprocessors are now run on heading content.</li> <li>Footnote references are now stripped from heading content. Fixes <a href="https://redirect.github.com/Python-Markdown/markdown/issues/660">#660</a>.</li> <li>A more robust <code>striptags</code> is provided to convert headings to plain text. Unlike, the <code>markupsafe</code> implementation, HTML entities are not unescaped.</li> <li>The plain text <code>name</code>, rich <code>html</code>, and unescaped raw <code>data-toc-label</code> are saved to <code>toc_tokens</code>, allowing users to access the full rich text content of the headings directly from <code>toc_tokens</code>.</li> <li>The value of <code>data-toc-label</code> is sanitized separate from heading content before being written to <code>name</code>. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from <code>token['data-toc-label']</code> directly.</li> <li>An <code>html.unescape</code> call is made just prior to calling <code>slugify</code> so that <code>slugify</code> only operates on Unicode characters. Note that <code>html.unescape</code> is not run on <code>name</code>, <code>html</code>, or <code>data-toc-label</code>.</li> <li>The functions <code>get_name</code> and <code>stashedHTML2text</code> defined in the <code>toc</code> extension are both <strong>deprecated</strong>. Instead, third party extensions should use some combination of the new functions <code>run_postprocessors</code>, <code>render_inner_html</code> and <code>striptags</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Include <code>scripts/*.py</code> in the generated source tarballs (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1430">#1430</a>).</li> <li>Ensure lines after heading in loose list are properly detabbed (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1443">#1443</a>).</li> <li>Give smarty tree processor higher priority than toc (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1440">#1440</a>).</li> <li>Permit carets (<code>^</code>) and square brackets (<code>]</code>) but explicitly exclude backslashes (<code>\</code>) from abbreviations (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1444">#1444</a>).</li> <li>In attribute lists (<code>attr_list</code>, <code>fenced_code</code>), quoted attribute values are now allowed to contain curly braces (<code>}</code>) (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1414">#1414</a>).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md">markdown's changelog</a>.</em></p> <blockquote> <h2>[3.6] -- 2024-03-14</h2> <h3>Changed</h3> <h4>Refactor TOC Sanitation</h4> <ul> <li>All postprocessors are now run on heading content.</li> <li>Footnote references are now stripped from heading content. Fixes <a href="https://redirect.github.com/Python-Markdown/markdown/issues/660">#660</a>.</li> <li>A more robust <code>striptags</code> is provided to convert headings to plain text. Unlike, the <code>markupsafe</code> implementation, HTML entities are not unescaped.</li> <li>The plain text <code>name</code>, rich <code>html</code>, and unescaped raw <code>data-toc-label</code> are saved to <code>toc_tokens</code>, allowing users to access the full rich text content of the headings directly from <code>toc_tokens</code>.</li> <li>The value of <code>data-toc-label</code> is sanitized separate from heading content before being written to <code>name</code>. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from <code>token['data-toc-label']</code> directly.</li> <li>An <code>html.unescape</code> call is made just prior to calling <code>slugify</code> so that <code>slugify</code> only operates on Unicode characters. Note that <code>html.unescape</code> is not run on <code>name</code>, <code>html</code>, or <code>data-toc-label</code>.</li> <li>The functions <code>get_name</code> and <code>stashedHTML2text</code> defined in the <code>toc</code> extension are both <strong>deprecated</strong>. Instead, third party extensions should use some combination of the new functions <code>run_postprocessors</code>, <code>render_inner_html</code> and <code>striptags</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Include <code>scripts/*.py</code> in the generated source tarballs (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1430">#1430</a>).</li> <li>Ensure lines after heading in loose list are properly detabbed (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1443">#1443</a>).</li> <li>Give smarty tree processor higher priority than toc (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1440">#1440</a>).</li> <li>Permit carets (<code>^</code>) and square brackets (<code>]</code>) but explicitly exclude backslashes (<code>\</code>) from abbreviations (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1444">#1444</a>).</li> <li>In attribute lists (<code>attr_list</code>, <code>fenced_code</code>), quoted attribute values are now allowed to contain curly braces (<code>}</code>) (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1414">#1414</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Python-Markdown/markdown/commit/e524b8fe938738cb4492411a34cce89051cb9695"><code>e524b8f</code></a> Bump version to 3.6</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/3d8afc6f89e169522f44c1bbec15f66dc359eccb"><code>3d8afc6</code></a> Allow attr_list quoted values to contain curly braces</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/9edba85fc14f034b7109534220702bf60178ff15"><code>9edba85</code></a> Refactor abbr escaping</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/e4ab4a610edc6332ce81a53aa4ae6f97516ce461"><code>e4ab4a6</code></a> Refactor TOC sanitation</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/a18765c25cccab23f400edeac94d20f4be00492b"><code>a18765c</code></a> Explicitly omit carot and backslash from abbr</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/421f1e88ff4661b4433b97ec57b040a2a74e5aed"><code>421f1e8</code></a> Give smarty tree processor higher priority than toc</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/c334a3e47e6565469344154f966cf0eb9aca0de3"><code>c334a3e</code></a> Ensure lines after heading in loose list are properly detabbed</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/ea92856855a6314488acb121f21f8fa02860e008"><code>ea92856</code></a> Update the license template so GitHub can detect it</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/a2effd6d5191808c8b2e347965f6fcf4aa709e78"><code>a2effd6</code></a> Disable mkdocstrings show_symbol_type_toc option to work around searching iss...</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/91f9a1205d32f3bc6a27ca5f993409c3b97c1931"><code>91f9a12</code></a> Restore Attribute symbol type in mkdocstrings template</li> <li>Additional commits viewable in <a href="https://github.com/Python-Markdown/markdown/compare/3.5.2...3.6">compare view</a></li> </ul> </details> <br /> Updates `mkdocs-material` from 9.5.12 to 9.5.17 <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.17</h2> <ul> <li>Updated Serbian translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7003">#7003</a>: Confusing keyboard interaction for palette toggle</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7001">#7001</a>: Blog posts now show time by default (9.5.16 regression)</li> <li>Fixed edge case in backport of social plugin font loading logic</li> </ul> <h2>mkdocs-material-9.5.16</h2> <ul> <li>Updated Russian translations</li> <li>Improved error handling and reporting in social plugin</li> <li>Improved error handling and reporting in privacy plugin</li> <li>Fixed blog plugin not allowing to use time in format strings</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6983">#6983</a>: Social plugin crashes because of Google Fonts API change</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a>, <a href="https://github.com/Guts"><code>@Guts</code></a>, <a href="https://github.com/szg-alex-payne"><code>@szg-alex-payne</code></a> and <a href="https://github.com/natakazakova"><code>@natakazakova</code></a> for their contributions</p> <h2>mkdocs-material-9.5.15</h2> <ul> <li>Reverted fix for transparent iframes (9.5.14)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6929">#6929</a>: Interference of social plugin and auto dark mode</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6938">#6938</a>: Giscus shows dark background in light mode (9.5.14 regression)</li> </ul> <h2>mkdocs-material-9.5.14</h2> <ul> <li>Added support for hiding versions from selector when using mike</li> <li>Added init system to improve signal handling in Docker image</li> <li>Fixed edge cases in exclusion logic of info plugin</li> <li>Fixed inability to reset pipeline in search plugin</li> <li>Fixed syntax error in Finnish translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6917">#6917</a>: UTF-8 encoding problems in blog plugin on Windows</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6889">#6889</a>: Transparent iframes get background color</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a>, <a href="https://github.com/yubiuser"><code>@yubiuser</code></a> and <a href="https://github.com/todeveni"><code>@todeveni</code></a> for their contributions</p> <h2>mkdocs-material-9.5.13</h2> <ul> <li>Updated Slovak translations</li> <li>Improved info plugin interop with projects plugin</li> <li>Improved info plugin inclusion/exclusion logic</li> <li>Fixed info plugin not gathering files recursively</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6750">#6750</a>: Ensure info plugin packs up all necessary files</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a> and <a href="https://github.com/scepka"><code>@scepka</code></a> for their contributions</p> </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.17+insiders-4.53.5 (2024-04-02)</p> <ul> <li>Fixed social plugin crashing when no colors are specified in palettes</li> </ul> <p>mkdocs-material-9.5.17 (2024-04-02)</p> <ul> <li>Updated Serbian translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7003">#7003</a>: Confusing keyboard interaction for palette toggle</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7001">#7001</a>: Blog posts now show time by default (9.5.16 regression)</li> <li>Fixed edge case in backport of social plugin font loading logic</li> </ul> <p>mkdocs-material-9.5.16+insiders-4.53.4 (2024-03-31)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6973">#6973</a>: Escaping issue in tags extra files deprecation helper</li> </ul> <p>mkdocs-material-9.5.16 (2024-03-31)</p> <ul> <li>Updated Russian translations</li> <li>Improved error handling and reporting in social plugin</li> <li>Improved error handling and reporting in privacy plugin</li> <li>Fixed blog plugin not allowing to use time in format strings</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6983">#6983</a>: Social plugin crashes because of Google Fonts API change</li> </ul> <p>mkdocs-material-9.5.15+insiders-4.53.3 (2024-03-23)</p> <ul> <li>Added support for font variants in social plugin</li> <li>Improved resilience of font resolution in social plugin</li> <li>Fixed tag listing sometimes not being auto-populated</li> <li>Fixed tag listing scope not being correctly resolved</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6941">#6941</a>: Meta plugin adding duplicate entries</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6928">#6928</a>: Social plugin crashes for some fonts</li> </ul> <p>mkdocs-material-9.5.15 (2024-03-23)</p> <ul> <li>Reverted fix for transparent iframes (9.5.14)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6929">#6929</a>: Interference of social plugin and auto dark mode</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6938">#6938</a>: Giscus shows dark background in light mode (9.5.14 regression)</li> </ul> <p>mkdocs-material-9.5.14+insiders-4.53.2 (2024-03-18)</p> <ul> <li>Fixed abort on first non-matching configuration in preview extension</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6914">#6914</a>: Meta files take precedence over front matter</li> </ul> <p>mkdocs-material-9.5.14 (2024-03-18)</p> <ul> <li>Added support for hiding versions from selector when using mike</li> <li>Added init system to improve signal handling in Docker image</li> <li>Fixed edge cases in exclusion logic of info plugin</li> <li>Fixed inability to reset pipeline in search plugin</li> <li>Fixed syntax error in Finnish translations</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/570161ab3f0f7928c6d528e9a9bfcce2bef71fa5"><code>570161a</code></a> Prepare 9.5.17 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/78e93ac0af382bbbbb11d70ba91ed9b491455ffb"><code>78e93ac</code></a> Improved keyboard interactions for palette toggle</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/a3655e8307a12afc83a89432e3b4355fb805db4e"><code>a3655e8</code></a> Updated Serbian translations</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/1041766d81ccdd53200f206860d17e6a64d4e65b"><code>1041766</code></a> Fixed time sneaking into default post format string</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/e741f80fbea58155b63048931b0fdb0ce65c5732"><code>e741f80</code></a> Documentation</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/7e13ae602f76635e9374ee645b146f41e85cb1d5"><code>7e13ae6</code></a> Fix typos</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/7d6d8d7a7c006642b3d6ccc8359e3ab291992b55"><code>7d6d8d7</code></a> Updated slugify documentation</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/e71f00b4c9bc483d5ce60e91e5fd461305e389eb"><code>e71f00b</code></a> Fixed backporting of social plugin font loading logic</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/895652409795662dc809c6e020e082b2238fe0a3"><code>8956524</code></a> Updated Insiders changelog</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/0db4e667da098cede42f78fb3325b3f95c50bbfa"><code>0db4e66</code></a> Updated changelog</li> <li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.5.12...9.5.17">compare view</a></li> </ul> </details> <br /> Updates `mypy` from 1.8.0 to 1.9.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's changelog</a>.</em></p> <blockquote> <h1>Mypy Release Notes</h1> <h2>Mypy 1.9</h2> <p>We’ve just uploaded mypy 1.9 to the Python Package Index (<a href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:</p> <pre><code>python3 -m pip install -U mypy </code></pre> <p>You can read the full documentation for this release on <a href="http://mypy.readthedocs.io">Read the Docs</a>.</p> <h4>Breaking Changes</h4> <p>Because the version of typeshed we use in mypy 1.9 doesn't support 3.7, neither does mypy 1.9. (Jared Hance, PR <a href="https://redirect.github.com/python/mypy/pull/16883">16883</a>)</p> <p>We are planning to enable <a href="https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-local-partial-types">local partial types</a> (enabled via the <code>--local-partial-types</code> flag) later this year by default. This change was announced years ago, but now it's finally happening. This is a major backward-incompatible change, so we'll probably include it as part of the upcoming mypy 2.0 release. This makes daemon and non-daemon mypy runs have the same behavior by default.</p> <p>Local partial types can also be enabled in the mypy config file:</p> <pre><code>local_partial_types = True </code></pre> <p>We are looking at providing a tool to make it easier to migrate projects to use <code>--local-partial-types</code>, but it's not yet clear whether this is practical. The migration usually involves adding some explicit type annotations to module-level and class-level variables.</p> <h4>Basic Support for Type Parameter Defaults (PEP 696)</h4> <p>This release contains new experimental support for type parameter defaults (<a href="https://peps.python.org/pep-0696">PEP 696</a>). Please try it out! This feature was contributed by Marc Mueller.</p> <p>Since this feature will be officially introduced in the next Python feature release (3.13), you will need to import <code>TypeVar</code>, <code>ParamSpec</code> or <code>TypeVarTuple</code> from <code>typing_extensions</code> to use defaults for now.</p> <p>This example adapted from the PEP defines a default for <code>BotT</code>:</p> <pre lang="python"><code>from typing import Generic from typing_extensions import TypeVar <p>class Bot: ...</p> <p>BotT = TypeVar("BotT", bound=Bot, default=Bot) </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/5ff46f8b3706d005fabab2227ec84476d605bfd4"><code>5ff46f8</code></a> Remove +dev.</li> <li><a href="https://github.com/python/mypy/commit/155909ad1bde747d89fcd091621d7cd9b1e15818"><code>155909a</code></a> [Release 1.9] Unsupport targetting 3.7. (<a href="https://redirect.github.com/python/mypy/issues/16883">#16883</a>) (<a href="https://redirect.github.com/python/mypy/issues/16900">#16900</a>)</li> <li><a href="https://github.com/python/mypy/commit/6615cabe57c661114d0ed44784f67301619faadf"><code>6615cab</code></a> [Release 1.9] Stubtest: ignore a new protocol dunder (<a href="https://redirect.github.com/python/mypy/issues/16895">#16895</a>) (<a href="https://redirect.github.com/python/mypy/issues/16899">#16899</a>)</li> <li><a href="https://github.com/python/mypy/commit/b956e6a57c4dd36d670097a3eccf7dc092348fec"><code>b956e6a</code></a> stubtest: Private parameters can be omitted (<a href="https://redirect.github.com/python/mypy/issues/16507">#16507</a>)</li> <li><a href="https://github.com/python/mypy/commit/ede0b200a10186a095378516d840389f8da4edd4"><code>ede0b20</code></a> Bump ruff to 0.2.0 (<a href="https://redirect.github.com/python/mypy/issues/16870">#16870</a>)</li> <li><a href="https://github.com/python/mypy/commit/7bdd61f2d89ecd2cee4ebe6eb2375a72b29f0b10"><code>7bdd61f</code></a> stubgen: Fix crash on star unpack of TypeVarTuple (<a href="https://redirect.github.com/python/mypy/issues/16869">#16869</a>)</li> <li><a href="https://github.com/python/mypy/commit/8c2ef9dde8aa803e04038427ad84f09664d9d93f"><code>8c2ef9d</code></a> Update hashes in sync-typeshed.py following recent typeshed sync</li> <li><a href="https://github.com/python/mypy/commit/0dd4b6f7576be3d3857fecefb298decdf0711ac7"><code>0dd4b6f</code></a> Revert use of <code>ParamSpec</code> for <code>functools.wraps</code></li> <li><a href="https://github.com/python/mypy/commit/dd12a2d810f2bbe7a8686674397043b18575480f"><code>dd12a2d</code></a> Revert typeshed ctypes change</li> <li><a href="https://github.com/python/mypy/commit/d132999ba631b332d0684173897e5947591f4acc"><code>d132999</code></a> Revert sum literal integer change (<a href="https://redirect.github.com/python/mypy/issues/13961">#13961</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.8.0...1.9.0">compare view</a></li> </ul> </details> <br /> Updates `types-markdown` from 3.5.0.20240129 to 3.6.0.20240316 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/python/typeshed/commits">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 8.0.2 to 8.1.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.1.1</h2> <h1>pytest 8.1.1 (2024-03-08)</h1> <p>::: {.note} ::: {.title} Note :::</p> <p>This release is not a usual bug fix release -- it contains features and improvements, being a follow up to <code>8.1.0</code>, which has been yanked from PyPI. :::</p> <h2>Features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: Added the new <code>consider_namespace_packages</code>{.interpreted-text role="confval"} configuration option, defaulting to <code>False</code>.</p> <p>If set to <code>True</code>, pytest will attempt to identify modules that are part of <a href="https://packaging.python.org/en/latest/guides/packaging-namespace-packages">namespace packages</a> when importing modules.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11653">#11653</a>: Added the new <code>verbosity_test_cases</code>{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity. See <code>Fine-grained verbosity <pytest.fine_grained_verbosity></code>{.interpreted-text role="ref"} for more details.</p> </li> </ul> <h2>Improvements</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10865">#10865</a>: <code>pytest.warns</code>{.interpreted-text role="func"} now validates that <code>warnings.warn</code>{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}. Currently in Python it is possible to use other types, however this causes an exception when <code>warnings.filterwarnings</code>{.interpreted-text role="func"} is used to filter those warnings (see [CPython <a href="https://redirect.github.com/pytest-dev/pytest/issues/103577">#103577</a>](<a href="https://redirect.github.com/python/cpython/issues/103577">python/cpython#103577</a>) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11311">#11311</a>: When using <code>--override-ini</code> for paths in invocations without a configuration file defined, the current working directory is used as the relative directory.</p> <p>Previoulsy this would raise an <code>AssertionError</code>{.interpreted-text role="class"}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: <code>--import-mode=importlib <import-mode-importlib></code>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :py<code>sys.path</code>{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.</p> <p>This means that installed packages will be imported under their canonical name if possible first, for example <code>app.core.models</code>, instead of having the module name always be derived from their path (for example <code>.env310.lib.site_packages.app.core.models</code>).</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11801">#11801</a>: Added the <code>iter_parents() <_pytest.nodes.Node.iter_parents></code>{.interpreted-text role="func"} helper method on nodes. It is similar to <code>listchain <_pytest.nodes.Node.listchain></code>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11850">#11850</a>: Added support for <code>sys.last_exc</code>{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11962">#11962</a>: In case no other suitable candidates for configuration file are found, a <code>pyproject.toml</code> (even without a <code>[tool.pytest.ini_options]</code> table) will be considered as the configuration file and define the <code>rootdir</code>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11978">#11978</a>: Add <code>--log-file-mode</code> option to the logging plugin, enabling appending to log-files. This option accepts either <code>"w"</code> or <code>"a"</code> and defaults to <code>"w"</code>.</p> <p>Previously, the mode was hard-coded to be <code>"w"</code> which truncates the file before logging.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/81653ee385f4c62ee7e64502a7b7530096553115"><code>81653ee</code></a> Adjust changelog manually for 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e60b4b9ed80f761e3a51868a01338911a567b093"><code>e60b4b9</code></a> Prepare release version 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/15fbe57c44fed6737f5c6dad99cf4437b6755a6c"><code>15fbe57</code></a> [8.1.x] Revert legacy path removals (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12093">#12093</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/86c3aab005a98de7e12ee5e37782837f5db70ac3"><code>86c3aab</code></a> [8.1.x] Do not import duplicated modules with --importmode=importlib (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12077">#12077</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/5b82b0cd20c3adcc21f34ae30c595c7355a87e23"><code>5b82b0c</code></a> [8.1.x] Yank version 8.1.0 (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12076">#12076</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0a536810dc5f51dac99bdb90dde06704b5aa034e"><code>0a53681</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12054">#12054</a> from pytest-dev/release-8.1.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/b9a167f9bbbd6eda4f0360c5bf5b7f5af50f2bc4"><code>b9a167f</code></a> Prepare release version 8.1.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/00043f7f1047b29fdaeb18e169fe9d6146988cb8"><code>00043f7</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12038">#12038</a> from bluetech/fixtures-rm-arg2index</li> <li><a href="https://github.com/pytest-dev/pytest/commit/f4e10251a4a003495b5228cea421d4de5fa0ce89"><code>f4e1025</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12048">#12048</a> from bluetech/fixture-teardown-excgroup</li> <li><a href="https://github.com/pytest-dev/pytest/commit/43492f5707b38dab9b62dfb829bb41a13579629f"><code>43492f5</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12051">#12051</a> from jakkdl/test_debugging_pythonbreakpoint</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/8.0.2...8.1.1">compare view</a></li> </ul> </details> <br /> Updates `pytest-mock` from 3.12.0 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> </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](https://github.com/pytest-dev/pytest-mock/issues/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](https://github.com/pytest-dev/pytest-mock/issues/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](https://github.com/pytest-dev/pytest-mock/issues/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](https://github.com/pytest-dev/pytest-mock/issues/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> </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.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> Updates `pytest-asyncio` from 0.23.5 to 0.23.6 <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.6</h2> <h1>0.23.6 (2024-03-19)</h1> <ul> <li>Fix compatibility with pytest 8.2 <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/800">#800</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> <h2>pytest-asyncio 0.23.5.post1</h2> <h1>0.23.5 (2024-02-09)</h1> <ul> <li>Declare compatibility with pytest 8 <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/737">#737</a></li> <li>Fix typing errors with recent versions of mypy <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/769">#769</a></li> <li>Prevent DeprecationWarning about internal use of <code>asyncio.get_event_loop()</code> from affecting test cases <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/757">#757</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/c34da04b82153ce052109bad31ccdbc0be7938e1"><code>c34da04</code></a> [docs] Mentioned pytest 8.2 compatibility fix in changelog.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/143f745d279afc070cf5cf6144fbf34d960fae72"><code>143f745</code></a> Fix compatibility with pytest 8.2 FixtureDef.unittest removal</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/13d4b79f7ff0d9d0ea70880b3276f85dea7f1f15"><code>13d4b79</code></a> Remove unused function <code>_removesuffix</code></li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/cdd2c4906835b6f627d681fbee5d487554884e5f"><code>cdd2c49</code></a> Use <code>FixtureRequest</code> instead of <code>SubRequest</code></li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/c3429fa4d72239be9b428342f0f1407e0840b9ec"><code>c3429fa</code></a> Build(deps): Bump packaging from 23.2 to 24.0 in /dependencies/docs</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/5f2338dfc9f9b5ac2c27d3bef490fa3e2cd7c156"><code>5f2338d</code></a> Build(deps): Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/726c6e0f3c185f10d8a842bcd1d781de32a3b2f5"><code>726c6e0</code></a> Build(deps): Bump coverage from 7.4.3 to 7.4.4 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/8bd8288709717165b352c7f2f207c8e4ef624a01"><code>8bd8288</code></a> Build(deps): Bump pytest from 8.0.2 to 8.1.1 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/ef3b3477070d6a270e1bb2c1d438c64dba42724c"><code>ef3b347</code></a> Build(deps): Bump packaging from 23.2 to 24.0 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/b22d84e1f0d53920352be4c66d1b6c7f7a9ce005"><code>b22d84e</code></a> [docs] Fixes the example showing how to run all tests in a session-scoped loop.</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-asyncio/compare/v0.23.5...v0.23.6">compare view</a></li> </ul> </details> <br /> Updates `async-solipsism` from 0.5 to 0.6 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/bmerry/async-solipsism/commit/462ababa1b52a56756ec166c6bbf26cfb5f17f13"><code>462abab</code></a> Fix content-type for README</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/3e011a72465b85808a752be03af49ab4468e1d33"><code>3e011a7</code></a> Add dist directory to .gitignore</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/639881846b3ce7c1c047c0036e31ce7e1bf483c8"><code>6398818</code></a> Update README for 0.6 release</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/bec1263f337e7c138e16363dabc903c3644b9c9b"><code>bec1263</code></a> Bump version to 0.6</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/7ce816c158eb1b8e30af302ebf634d1d0b64600b"><code>7ce816c</code></a> Move package config into pyproject.toml</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/2b5b16371facc8e0647652bae1b7bc74fe2938fd"><code>2b5b163</code></a> Run GHA on pull request too</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/d47ed8cb18871d8c9bc2087ad73b70c5a41e64ec"><code>d47ed8c</code></a> Fix GHA (hopefully)</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/a1495c3fa7927f7ba19e954d51528495bbe58b25"><code>a1495c3</code></a> Generate requirements.txt with pip-compile</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/448a20327fad131e580396e3e65ff97051642fa5"><code>448a203</code></a> Improve compatibility with pytest-asyncio 0.23</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/393e7b52829efd0e06d816b98e2abef4c8201663"><code>393e7b5</code></a> Drop support for end-of-life Python versions</li> <li>Additional commits viewable in <a href="https://github.com/bmerry/async-solipsism/compare/0.5...0.6">compare view</a></li> </ul> </details> <br /> Updates `hypothesis` from 6.98.15 to 6.100.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/6867da71beae0e4ed004b54b92ef7c74d0722815"><code>6867da7</code></a> Bump hypothesis-python version to 6.100.0 and update changelog</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/77914f8b1403201e3a3f6cda871272640505fcd9"><code>77914f8</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/3946">#3946</a> from Zac-HD/numpy-nat</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/e6567e5b48c9dddb538ab3eb83c7862028c4de8d"><code>e6567e5</code></a> some updates</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/7295c14ec9d0e26025ffa37ebaedd47953168528"><code>7295c14</code></a> Allow excluding NaT</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/15ae3c2f132a00ae95c7302f664a4aa40fd25f94"><code>15ae3c2</code></a> Bump hypothesis-python version to 6.99.13 and update changelog</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/95fde9c6d7456392b6fccd802ee36209d562157f"><code>95fde9c</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/3935">#3935</a> from Zac-HD/faster-coverage</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/17296f06946b659ea310282f94da7ff3368acda2"><code>17296f0</code></a> Another workaround for black</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/067fc761d1caaba1fbc7c673c6efab17452a0ddb"><code>067fc76</code></a> Observe clearer status_reason</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/2fda65f12b72e17e3b44685d39497a724628f84c"><code>2fda65f</code></a> Test CrossHair backend in the CI</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/9a8422c3752ddc3c059904160867399bacdcd8cb"><code>9a8422c</code></a> Observe backend in how_generated</li> <li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.98.15...hypothesis-python-6.100.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 <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 the optional group with 9 updates: | Package | From | To | | --- | --- | --- | | [markdown](https://github.com/Python-Markdown/markdown) | `3.5.2` | `3.6` | | [black](https://github.com/psf/black) | `24.2.0` | `24.3.0` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.12` | `9.5.16` | | [mypy](https://github.com/python/mypy) | `1.8.0` | `1.9.0` | | [types-markdown](https://github.com/python/typeshed) | `3.5.0.20240129` | `3.6.0.20240316` | | [pytest](https://github.com/pytest-dev/pytest) | `8.0.2` | `8.1.1` | | [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.12.0` | `3.14.0` | | [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) | `0.23.5` | `0.23.6` | | [async-solipsism](https://github.com/bmerry/async-solipsism) | `0.5` | `0.6` | Updates `markdown` from 3.5.2 to 3.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/releases">markdown's releases</a>.</em></p> <blockquote> <h2>Release 3.6</h2> <h3>Changed</h3> <h4>Refactor TOC Sanitation</h4> <ul> <li>All postprocessors are now run on heading content.</li> <li>Footnote references are now stripped from heading content. Fixes <a href="https://redirect.github.com/Python-Markdown/markdown/issues/660">#660</a>.</li> <li>A more robust <code>striptags</code> is provided to convert headings to plain text. Unlike, the <code>markupsafe</code> implementation, HTML entities are not unescaped.</li> <li>The plain text <code>name</code>, rich <code>html</code>, and unescaped raw <code>data-toc-label</code> are saved to <code>toc_tokens</code>, allowing users to access the full rich text content of the headings directly from <code>toc_tokens</code>.</li> <li>The value of <code>data-toc-label</code> is sanitized separate from heading content before being written to <code>name</code>. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from <code>token['data-toc-label']</code> directly.</li> <li>An <code>html.unescape</code> call is made just prior to calling <code>slugify</code> so that <code>slugify</code> only operates on Unicode characters. Note that <code>html.unescape</code> is not run on <code>name</code>, <code>html</code>, or <code>data-toc-label</code>.</li> <li>The functions <code>get_name</code> and <code>stashedHTML2text</code> defined in the <code>toc</code> extension are both <strong>deprecated</strong>. Instead, third party extensions should use some combination of the new functions <code>run_postprocessors</code>, <code>render_inner_html</code> and <code>striptags</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Include <code>scripts/*.py</code> in the generated source tarballs (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1430">#1430</a>).</li> <li>Ensure lines after heading in loose list are properly detabbed (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1443">#1443</a>).</li> <li>Give smarty tree processor higher priority than toc (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1440">#1440</a>).</li> <li>Permit carets (<code>^</code>) and square brackets (<code>]</code>) but explicitly exclude backslashes (<code>\</code>) from abbreviations (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1444">#1444</a>).</li> <li>In attribute lists (<code>attr_list</code>, <code>fenced_code</code>), quoted attribute values are now allowed to contain curly braces (<code>}</code>) (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1414">#1414</a>).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md">markdown's changelog</a>.</em></p> <blockquote> <h2>[3.6] -- 2024-03-14</h2> <h3>Changed</h3> <h4>Refactor TOC Sanitation</h4> <ul> <li>All postprocessors are now run on heading content.</li> <li>Footnote references are now stripped from heading content. Fixes <a href="https://redirect.github.com/Python-Markdown/markdown/issues/660">#660</a>.</li> <li>A more robust <code>striptags</code> is provided to convert headings to plain text. Unlike, the <code>markupsafe</code> implementation, HTML entities are not unescaped.</li> <li>The plain text <code>name</code>, rich <code>html</code>, and unescaped raw <code>data-toc-label</code> are saved to <code>toc_tokens</code>, allowing users to access the full rich text content of the headings directly from <code>toc_tokens</code>.</li> <li>The value of <code>data-toc-label</code> is sanitized separate from heading content before being written to <code>name</code>. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from <code>token['data-toc-label']</code> directly.</li> <li>An <code>html.unescape</code> call is made just prior to calling <code>slugify</code> so that <code>slugify</code> only operates on Unicode characters. Note that <code>html.unescape</code> is not run on <code>name</code>, <code>html</code>, or <code>data-toc-label</code>.</li> <li>The functions <code>get_name</code> and <code>stashedHTML2text</code> defined in the <code>toc</code> extension are both <strong>deprecated</strong>. Instead, third party extensions should use some combination of the new functions <code>run_postprocessors</code>, <code>render_inner_html</code> and <code>striptags</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Include <code>scripts/*.py</code> in the generated source tarballs (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1430">#1430</a>).</li> <li>Ensure lines after heading in loose list are properly detabbed (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1443">#1443</a>).</li> <li>Give smarty tree processor higher priority than toc (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1440">#1440</a>).</li> <li>Permit carets (<code>^</code>) and square brackets (<code>]</code>) but explicitly exclude backslashes (<code>\</code>) from abbreviations (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1444">#1444</a>).</li> <li>In attribute lists (<code>attr_list</code>, <code>fenced_code</code>), quoted attribute values are now allowed to contain curly braces (<code>}</code>) (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1414">#1414</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Python-Markdown/markdown/commit/e524b8fe938738cb4492411a34cce89051cb9695"><code>e524b8f</code></a> Bump version to 3.6</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/3d8afc6f89e169522f44c1bbec15f66dc359eccb"><code>3d8afc6</code></a> Allow attr_list quoted values to contain curly braces</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/9edba85fc14f034b7109534220702bf60178ff15"><code>9edba85</code></a> Refactor abbr escaping</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/e4ab4a610edc6332ce81a53aa4ae6f97516ce461"><code>e4ab4a6</code></a> Refactor TOC sanitation</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/a18765c25cccab23f400edeac94d20f4be00492b"><code>a18765c</code></a> Explicitly omit carot and backslash from abbr</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/421f1e88ff4661b4433b97ec57b040a2a74e5aed"><code>421f1e8</code></a> Give smarty tree processor higher priority than toc</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/c334a3e47e6565469344154f966cf0eb9aca0de3"><code>c334a3e</code></a> Ensure lines after heading in loose list are properly detabbed</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/ea92856855a6314488acb121f21f8fa02860e008"><code>ea92856</code></a> Update the license template so GitHub can detect it</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/a2effd6d5191808c8b2e347965f6fcf4aa709e78"><code>a2effd6</code></a> Disable mkdocstrings show_symbol_type_toc option to work around searching iss...</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/91f9a1205d32f3bc6a27ca5f993409c3b97c1931"><code>91f9a12</code></a> Restore Attribute symbol type in mkdocstrings template</li> <li>Additional commits viewable in <a href="https://github.com/Python-Markdown/markdown/compare/3.5.2...3.6">compare view</a></li> </ul> </details> <br /> Updates `black` from 24.2.0 to 24.3.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>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </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>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/552baf822992936134cbd31a38f69c8cfe7c0f05"><code>552baf8</code></a> Prepare release 24.3.0 (<a href="https://redirect.github.com/psf/black/issues/4279">#4279</a>)</li> <li><a href="https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8"><code>f000936</code></a> Fix catastrophic performance in lines_with_leading_tabs_expanded() (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> <li><a href="https://github.com/psf/black/commit/7b5a657285f38126bf28483478bbd9ea928077ec"><code>7b5a657</code></a> Fix --line-ranges behavior when ranges are at EOF (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> <li><a href="https://github.com/psf/black/commit/1abcffc81816257985678f08c61584ed4287f22a"><code>1abcffc</code></a> Use regex where we ignore case on windows (<a href="https://redirect.github.com/psf/black/issues/4252">#4252</a>)</li> <li><a href="https://github.com/psf/black/commit/719e67462c80574c81a96faa144886de6da84489"><code>719e674</code></a> Fix 4227: Improve documentation for --quiet --check (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> <li><a href="https://github.com/psf/black/commit/e5510afc06cd238cd0cba4095283943a870a7e7b"><code>e5510af</code></a> update plugin url for Thonny (<a href="https://redirect.github.com/psf/black/issues/4259">#4259</a>)</li> <li><a href="https://github.com/psf/black/commit/6af7d1109693c4ad3af08ecbc34649c232b47a6d"><code>6af7d11</code></a> Fix AST safety check false negative (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li><a href="https://github.com/psf/black/commit/f03ee113c9f3dfeb477f2d4247bfb7de2e5f465c"><code>f03ee11</code></a> Ensure <code>blib2to3.pygram</code> is initialized before use (<a href="https://redirect.github.com/psf/black/issues/4224">#4224</a>)</li> <li><a href="https://github.com/psf/black/commit/e4bfedbec2e8b10cc6b7b31442478f05db0ce06d"><code>e4bfedb</code></a> fix: Don't move comments while splitting delimiters (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li><a href="https://github.com/psf/black/commit/d0287e1f7558d97e6c0ebd6dc5bcb5b970e2bf8c"><code>d0287e1</code></a> Make trailing comma logic more concise (<a href="https://redirect.github.com/psf/black/issues/4202">#4202</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/24.2.0...24.3.0">compare view</a></li> </ul> </details> <br /> Updates `mkdocs-material` from 9.5.12 to 9.5.16 <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.16</h2> <ul> <li>Updated Russian translations</li> <li>Improved error handling and reporting in social plugin</li> <li>Improved error handling and reporting in privacy plugin</li> <li>Fixed blog plugin not allowing to use time in format strings</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6983">#6983</a>: Social plugin crashes because of Google Fonts API change</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a>, <a href="https://github.com/Guts"><code>@Guts</code></a>, <a href="https://github.com/szg-alex-payne"><code>@szg-alex-payne</code></a> and <a href="https://github.com/natakazakova"><code>@natakazakova</code></a> for their contributions</p> <h2>mkdocs-material-9.5.15</h2> <ul> <li>Reverted fix for transparent iframes (9.5.14)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6929">#6929</a>: Interference of social plugin and auto dark mode</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6938">#6938</a>: Giscus shows dark background in light mode (9.5.14 regression)</li> </ul> <h2>mkdocs-material-9.5.14</h2> <ul> <li>Added support for hiding versions from selector when using mike</li> <li>Added init system to improve signal handling in Docker image</li> <li>Fixed edge cases in exclusion logic of info plugin</li> <li>Fixed inability to reset pipeline in search plugin</li> <li>Fixed syntax error in Finnish translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6917">#6917</a>: UTF-8 encoding problems in blog plugin on Windows</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6889">#6889</a>: Transparent iframes get background color</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a>, <a href="https://github.com/yubiuser"><code>@yubiuser</code></a> and <a href="https://github.com/todeveni"><code>@todeveni</code></a> for their contributions</p> <h2>mkdocs-material-9.5.13</h2> <ul> <li>Updated Slovak translations</li> <li>Improved info plugin interop with projects plugin</li> <li>Improved info plugin inclusion/exclusion logic</li> <li>Fixed info plugin not gathering files recursively</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6750">#6750</a>: Ensure info plugin packs up all necessary files</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a> and <a href="https://github.com/scepka"><code>@scepka</code></a> for their contributions</p> </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.16+insiders-4.53.4 (2024-03-31)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6973">#6973</a>: Escaping issue in tags extra files deprecation helper</li> </ul> <p>mkdocs-material-9.5.16 (2024-03-31)</p> <ul> <li>Updated Russian translations</li> <li>Improved error handling and reporting in social plugin</li> <li>Improved error handling and reporting in privacy plugin</li> <li>Fixed blog plugin not allowing to use time in format strings</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6983">#6983</a>: Social plugin crashes because of Google Fonts API change</li> </ul> <p>mkdocs-material-9.5.15+insiders-4.53.3 (2024-03-23)</p> <ul> <li>Added support for font variants in social plugin</li> <li>Improved resilience of font resolution in social plugin</li> <li>Fixed tag listing sometimes not being auto-populated</li> <li>Fixed tag listing scope not being correctly resolved</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6941">#6941</a>: Meta plugin adding duplicate entries</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6928">#6928</a>: Social plugin crashes for some fonts</li> </ul> <p>mkdocs-material-9.5.15 (2024-03-23)</p> <ul> <li>Reverted fix for transparent iframes (9.5.14)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6929">#6929</a>: Interference of social plugin and auto dark mode</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6938">#6938</a>: Giscus shows dark background in light mode (9.5.14 regression)</li> </ul> <p>mkdocs-material-9.5.14+insiders-4.53.2 (2024-03-18)</p> <ul> <li>Fixed abort on first non-matching configuration in preview extension</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6914">#6914</a>: Meta files take precedence over front matter</li> </ul> <p>mkdocs-material-9.5.14 (2024-03-18)</p> <ul> <li>Added support for hiding versions from selector when using mike</li> <li>Added init system to improve signal handling in Docker image</li> <li>Fixed edge cases in exclusion logic of info plugin</li> <li>Fixed inability to reset pipeline in search plugin</li> <li>Fixed syntax error in Finnish translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6917">#6917</a>: UTF-8 encoding problems in blog plugin on Windows</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6889">#6889</a>: Transparent iframes get background color</li> </ul> <p>mkdocs-material-9.5.13+insiders-4.53.1 (2024-03-06)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6877">#6877</a>: Projects plugin computes incorrect path to assets</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6869">#6869</a>: Blog plugin should emit warning on invalid related link</li> </ul> <p>mkdocs-material-9.5.13 (2024-03-06)</p> <ul> <li>Updated Slovak translations</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/895652409795662dc809c6e020e082b2238fe0a3"><code>8956524</code></a> Updated Insiders changelog</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/0db4e667da098cede42f78fb3325b3f95c50bbfa"><code>0db4e66</code></a> Updated changelog</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/29cf44b71ca0e579c693c79d8e74c820a42b5910"><code>29cf44b</code></a> Improved resilience of privacy plugin</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/6c9ba875bfd5d93007b48debd3b4041773dd5eef"><code>6c9ba87</code></a> Prepare 9.5.16 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/f2bfab91fee62419d4719387c8b9924166f96d5e"><code>f2bfab9</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/9e40207bb6e1218948721de87591b38ce6c497cd"><code>9e40207</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/a2cb35d4c5da25a90cb746e6b06a0c5ee7096b4b"><code>a2cb35d</code></a> Improved error handling on social plugin (<a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6818">#6818</a>)</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/abfac1a93e4cfc13924c48837cfc45dc724551f6"><code>abfac1a</code></a> Switched to Babel's <code>format_datetime</code> to allow for time in formatted dates (#...</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/01b2dd17e3e8d86b70ef8b9ae94096c47034ecc8"><code>01b2dd1</code></a> Updated Russian translations</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/ad7233640f2c679b7f149def57c96e1ec12b9ad9"><code>ad72336</code></a> Fixed social plugin Google Fonts integration</li> <li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.5.12...9.5.16">compare view</a></li> </ul> </details> <br /> Updates `mypy` from 1.8.0 to 1.9.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's changelog</a>.</em></p> <blockquote> <h1>Mypy Release Notes</h1> <h2>Mypy 1.9</h2> <p>We’ve just uploaded mypy 1.9 to the Python Package Index (<a href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:</p> <pre><code>python3 -m pip install -U mypy </code></pre> <p>You can read the full documentation for this release on <a href="http://mypy.readthedocs.io">Read the Docs</a>.</p> <h4>Breaking Changes</h4> <p>Because the version of typeshed we use in mypy 1.9 doesn't support 3.7, neither does mypy 1.9. (Jared Hance, PR <a href="https://redirect.github.com/python/mypy/pull/16883">16883</a>)</p> <p>We are planning to enable <a href="https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-local-partial-types">local partial types</a> (enabled via the <code>--local-partial-types</code> flag) later this year by default. This change was announced years ago, but now it's finally happening. This is a major backward-incompatible change, so we'll probably include it as part of the upcoming mypy 2.0 release. This makes daemon and non-daemon mypy runs have the same behavior by default.</p> <p>Local partial types can also be enabled in the mypy config file:</p> <pre><code>local_partial_types = True </code></pre> <p>We are looking at providing a tool to make it easier to migrate projects to use <code>--local-partial-types</code>, but it's not yet clear whether this is practical. The migration usually involves adding some explicit type annotations to module-level and class-level variables.</p> <h4>Basic Support for Type Parameter Defaults (PEP 696)</h4> <p>This release contains new experimental support for type parameter defaults (<a href="https://peps.python.org/pep-0696">PEP 696</a>). Please try it out! This feature was contributed by Marc Mueller.</p> <p>Since this feature will be officially introduced in the next Python feature release (3.13), you will need to import <code>TypeVar</code>, <code>ParamSpec</code> or <code>TypeVarTuple</code> from <code>typing_extensions</code> to use defaults for now.</p> <p>This example adapted from the PEP defines a default for <code>BotT</code>:</p> <pre lang="python"><code>from typing import Generic from typing_extensions import TypeVar <p>class Bot: ...</p> <p>BotT = TypeVar("BotT", bound=Bot, default=Bot) </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/5ff46f8b3706d005fabab2227ec84476d605bfd4"><code>5ff46f8</code></a> Remove +dev.</li> <li><a href="https://github.com/python/mypy/commit/155909ad1bde747d89fcd091621d7cd9b1e15818"><code>155909a</code></a> [Release 1.9] Unsupport targetting 3.7. (<a href="https://redirect.github.com/python/mypy/issues/16883">#16883</a>) (<a href="https://redirect.github.com/python/mypy/issues/16900">#16900</a>)</li> <li><a href="https://github.com/python/mypy/commit/6615cabe57c661114d0ed44784f67301619faadf"><code>6615cab</code></a> [Release 1.9] Stubtest: ignore a new protocol dunder (<a href="https://redirect.github.com/python/mypy/issues/16895">#16895</a>) (<a href="https://redirect.github.com/python/mypy/issues/16899">#16899</a>)</li> <li><a href="https://github.com/python/mypy/commit/b956e6a57c4dd36d670097a3eccf7dc092348fec"><code>b956e6a</code></a> stubtest: Private parameters can be omitted (<a href="https://redirect.github.com/python/mypy/issues/16507">#16507</a>)</li> <li><a href="https://github.com/python/mypy/commit/ede0b200a10186a095378516d840389f8da4edd4"><code>ede0b20</code></a> Bump ruff to 0.2.0 (<a href="https://redirect.github.com/python/mypy/issues/16870">#16870</a>)</li> <li><a href="https://github.com/python/mypy/commit/7bdd61f2d89ecd2cee4ebe6eb2375a72b29f0b10"><code>7bdd61f</code></a> stubgen: Fix crash on star unpack of TypeVarTuple (<a href="https://redirect.github.com/python/mypy/issues/16869">#16869</a>)</li> <li><a href="https://github.com/python/mypy/commit/8c2ef9dde8aa803e04038427ad84f09664d9d93f"><code>8c2ef9d</code></a> Update hashes in sync-typeshed.py following recent typeshed sync</li> <li><a href="https://github.com/python/mypy/commit/0dd4b6f7576be3d3857fecefb298decdf0711ac7"><code>0dd4b6f</code></a> Revert use of <code>ParamSpec</code> for <code>functools.wraps</code></li> <li><a href="https://github.com/python/mypy/commit/dd12a2d810f2bbe7a8686674397043b18575480f"><code>dd12a2d</code></a> Revert typeshed ctypes change</li> <li><a href="https://github.com/python/mypy/commit/d132999ba631b332d0684173897e5947591f4acc"><code>d132999</code></a> Revert sum literal integer change (<a href="https://redirect.github.com/python/mypy/issues/13961">#13961</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.8.0...1.9.0">compare view</a></li> </ul> </details> <br /> Updates `types-markdown` from 3.5.0.20240129 to 3.6.0.20240316 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/python/typeshed/commits">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 8.0.2 to 8.1.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.1.1</h2> <h1>pytest 8.1.1 (2024-03-08)</h1> <p>::: {.note} ::: {.title} Note :::</p> <p>This release is not a usual bug fix release -- it contains features and improvements, being a follow up to <code>8.1.0</code>, which has been yanked from PyPI. :::</p> <h2>Features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: Added the new <code>consider_namespace_packages</code>{.interpreted-text role="confval"} configuration option, defaulting to <code>False</code>.</p> <p>If set to <code>True</code>, pytest will attempt to identify modules that are part of <a href="https://packaging.python.org/en/latest/guides/packaging-namespace-packages">namespace packages</a> when importing modules.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11653">#11653</a>: Added the new <code>verbosity_test_cases</code>{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity. See <code>Fine-grained verbosity <pytest.fine_grained_verbosity></code>{.interpreted-text role="ref"} for more details.</p> </li> </ul> <h2>Improvements</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10865">#10865</a>: <code>pytest.warns</code>{.interpreted-text role="func"} now validates that <code>warnings.warn</code>{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}. Currently in Python it is possible to use other types, however this causes an exception when <code>warnings.filterwarnings</code>{.interpreted-text role="func"} is used to filter those warnings (see [CPython <a href="https://redirect.github.com/pytest-dev/pytest/issues/103577">#103577</a>](<a href="https://redirect.github.com/python/cpython/issues/103577">python/cpython#103577</a>) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11311">#11311</a>: When using <code>--override-ini</code> for paths in invocations without a configuration file defined, the current working directory is used as the relative directory.</p> <p>Previoulsy this would raise an <code>AssertionError</code>{.interpreted-text role="class"}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: <code>--import-mode=importlib <import-mode-importlib></code>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :py<code>sys.path</code>{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.</p> <p>This means that installed packages will be imported under their canonical name if possible first, for example <code>app.core.models</code>, instead of having the module name always be derived from their path (for example <code>.env310.lib.site_packages.app.core.models</code>).</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11801">#11801</a>: Added the <code>iter_parents() <_pytest.nodes.Node.iter_parents></code>{.interpreted-text role="func"} helper method on nodes. It is similar to <code>listchain <_pytest.nodes.Node.listchain></code>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11850">#11850</a>: Added support for <code>sys.last_exc</code>{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11962">#11962</a>: In case no other suitable candidates for configuration file are found, a <code>pyproject.toml</code> (even without a <code>[tool.pytest.ini_options]</code> table) will be considered as the configuration file and define the <code>rootdir</code>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11978">#11978</a>: Add <code>--log-file-mode</code> option to the logging plugin, enabling appending to log-files. This option accepts either <code>"w"</code> or <code>"a"</code> and defaults to <code>"w"</code>.</p> <p>Previously, the mode was hard-coded to be <code>"w"</code> which truncates the file before logging.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/81653ee385f4c62ee7e64502a7b7530096553115"><code>81653ee</code></a> Adjust changelog manually for 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e60b4b9ed80f761e3a51868a01338911a567b093"><code>e60b4b9</code></a> Prepare release version 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/15fbe57c44fed6737f5c6dad99cf4437b6755a6c"><code>15fbe57</code></a> [8.1.x] Revert legacy path removals (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12093">#12093</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/86c3aab005a98de7e12ee5e37782837f5db70ac3"><code>86c3aab</code></a> [8.1.x] Do not import duplicated modules with --importmode=importlib (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12077">#12077</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/5b82b0cd20c3adcc21f34ae30c595c7355a87e23"><code>5b82b0c</code></a> [8.1.x] Yank version 8.1.0 (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12076">#12076</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0a536810dc5f51dac99bdb90dde06704b5aa034e"><code>0a53681</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12054">#12054</a> from pytest-dev/release-8.1.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/b9a167f9bbbd6eda4f0360c5bf5b7f5af50f2bc4"><code>b9a167f</code></a> Prepare release version 8.1.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/00043f7f1047b29fdaeb18e169fe9d6146988cb8"><code>00043f7</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12038">#12038</a> from bluetech/fixtures-rm-arg2index</li> <li><a href="https://github.com/pytest-dev/pytest/commit/f4e10251a4a003495b5228cea421d4de5fa0ce89"><code>f4e1025</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12048">#12048</a> from bluetech/fixture-teardown-excgroup</li> <li><a href="https://github.com/pytest-dev/pytest/commit/43492f5707b38dab9b62dfb829bb41a13579629f"><code>43492f5</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12051">#12051</a> from jakkdl/test_debugging_pythonbreakpoint</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/8.0.2...8.1.1">compare view</a></li> </ul> </details> <br /> Updates `pytest-mock` from 3.12.0 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> </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> </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.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> Updates `pytest-asyncio` from 0.23.5 to 0.23.6 <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.6</h2> <h1>0.23.6 (2024-03-19)</h1> <ul> <li>Fix compatibility with pytest 8.2 <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/800">#800</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> <h2>pytest-asyncio 0.23.5.post1</h2> <h1>0.23.5 (2024-02-09)</h1> <ul> <li>Declare compatibility with pytest 8 <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/737">#737</a></li> <li>Fix typing errors with recent versions of mypy <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/769">#769</a></li> <li>Prevent DeprecationWarning about internal use of <code>asyncio.get_event_loop()</code> from affecting test cases <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/757">#757</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/c34da04b82153ce052109bad31ccdbc0be7938e1"><code>c34da04</code></a> [docs] Mentioned pytest 8.2 compatibility fix in changelog.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/143f745d279afc070cf5cf6144fbf34d960fae72"><code>143f745</code></a> Fix compatibility with pytest 8.2 FixtureDef.unittest removal</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/13d4b79f7ff0d9d0ea70880b3276f85dea7f1f15"><code>13d4b79</code></a> Remove unused function <code>_removesuffix</code></li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/cdd2c4906835b6f627d681fbee5d487554884e5f"><code>cdd2c49</code></a> Use <code>FixtureRequest</code> instead of <code>SubRequest</code></li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/c3429fa4d72239be9b428342f0f1407e0840b9ec"><code>c3429fa</code></a> Build(deps): Bump packaging from 23.2 to 24.0 in /dependencies/docs</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/5f2338dfc9f9b5ac2c27d3bef490fa3e2cd7c156"><code>5f2338d</code></a> Build(deps): Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/726c6e0f3c185f10d8a842bcd1d781de32a3b2f5"><code>726c6e0</code></a> Build(deps): Bump coverage from 7.4.3 to 7.4.4 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/8bd8288709717165b352c7f2f207c8e4ef624a01"><code>8bd8288</code></a> Build(deps): Bump pytest from 8.0.2 to 8.1.1 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/ef3b3477070d6a270e1bb2c1d438c64dba42724c"><code>ef3b347</code></a> Build(deps): Bump packaging from 23.2 to 24.0 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/b22d84e1f0d53920352be4c66d1b6c7f7a9ce005"><code>b22d84e</code></a> [docs] Fixes the example showing how to run all tests in a session-scoped loop.</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-asyncio/compare/v0.23.5...v0.23.6">compare view</a></li> </ul> </details> <br /> Updates `async-solipsism` from 0.5 to 0.6 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/bmerry/async-solipsism/commit/462ababa1b52a56756ec166c6bbf26cfb5f17f13"><code>462abab</code></a> Fix content-type for README</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/3e011a72465b85808a752be03af49ab4468e1d33"><code>3e011a7</code></a> Add dist directory to .gitignore</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/639881846b3ce7c1c047c0036e31ce7e1bf483c8"><code>6398818</code></a> Update README for 0.6 release</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/bec1263f337e7c138e16363dabc903c3644b9c9b"><code>bec1263</code></a> Bump version to 0.6</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/7ce816c158eb1b8e30af302ebf634d1d0b64600b"><code>7ce816c</code></a> Move package config into pyproject.toml</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/2b5b16371facc8e0647652bae1b7bc74fe2938fd"><code>2b5b163</code></a> Run GHA on pull request too</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/d47ed8cb18871d8c9bc2087ad73b70c5a41e64ec"><code>d47ed8c</code></a> Fix GHA (hopefully)</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/a1495c3fa7927f7ba19e954d51528495bbe58b25"><code>a1495c3</code></a> Generate requirements.txt with pip-compile</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/448a20327fad131e580396e3e65ff97051642fa5"><code>448a203</code></a> Improve compatibility with pytest-asyncio 0.23</li> <li><a href="https://github.com/bmerry/async-solipsism/commit/393e7b52829efd0e06d816b98e2abef4c8201663"><code>393e7b5</code></a> Drop support for end-of-life Python versions</li> <li>Additional commits viewable in <a href="https://github.com/bmerry/async-solipsism/compare/0.5...0.6">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>
Updates the requirements on [frequenz-client-base](https://github.com/frequenz-floss/frequenz-client-base-python), [black](https://github.com/psf/black), [markdown](https://github.com/Python-Markdown/markdown), [mkdocs-material](https://github.com/squidfunk/mkdocs-material), [mypy](https://github.com/python/mypy), [types-markdown](https://github.com/python/typeshed), [types-python-dateutil](https://github.com/python/typeshed), [uv](https://github.com/astral-sh/uv), [pytest](https://github.com/pytest-dev/pytest), [pytest-mock](https://github.com/pytest-dev/pytest-mock), [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) and [time-machine](https://github.com/adamchainz/time-machine) to permit the latest version. Updates `frequenz-client-base` to 0.3.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/frequenz-floss/frequenz-client-base-python/releases">frequenz-client-base's releases</a>.</em></p> <blockquote> <h2>v0.3.0</h2> <h1>Frequenz Client Base Library Release Notes</h1> <h2>Summary</h2> <p>This release updates the minimum required <code>frequenz-channels</code> version is updated to v1.0.0-rc1. This is a breaking change, because the channels API has changed.</p> <h2>Upgrading</h2> <p>Follow the upgrading instructions from the new channel release: <a href="https://github.com/frequenz-floss/frequenz-channels-python/releases/tag/v1.0.0-rc.1">v1.0.0-rc1</a>.</p> <h2>What's Changed</h2> <ul> <li>Don't create nox sessions twice in cross-arch tests by <a href="https://github.com/llucax"><code>@llucax</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/pull/34">frequenz-floss/frequenz-client-base-python#34</a></li> <li>Clear release notes by <a href="https://github.com/llucax"><code>@llucax</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/pull/33">frequenz-floss/frequenz-client-base-python#33</a></li> <li>Update minimum <code>frequenz-channels</code> version to <code>v1.0.0-rc1</code> by <a href="https://github.com/shsms"><code>@shsms</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/pull/35">frequenz-floss/frequenz-client-base-python#35</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/frequenz-floss/frequenz-client-base-python/compare/v0.2.1...v0.3.0">https://github.com/frequenz-floss/frequenz-client-base-python/compare/v0.2.1...v0.3.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/6230161c22c0ccb3fb61522e6b5b3df9cdca2eaf"><code>6230161</code></a> Update minimum <code>frequenz-channels</code> version to <code>v1.0.0-rc1</code> (<a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/issues/35">#35</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/e21cc53f5ed3219cd171450dedc5179af6fa5d88"><code>e21cc53</code></a> Update RELEASE_NOTES.md and prepare for release v0.3.0</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/31de004f9bfe54519f07ae2baa2d9659c78a1f30"><code>31de004</code></a> Update minimum <code>frequenz-channels</code> version to v1.0.0-rc1</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/97196bde8dbaac648bef3acba5268a05d9f90cdb"><code>97196bd</code></a> Clear release notes (<a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/issues/33">#33</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/1c8d44746c9f341cf12ab99f30286e3f235182f0"><code>1c8d447</code></a> Don't create nox sessions twice in cross-arch tests (<a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/issues/34">#34</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/43584c489bb8bc44068b3a3fef19e6142b3b2fb2"><code>43584c4</code></a> Don't create nox sessions twice in cross-arch tests</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/56954296b4a01aa44fbf856041f12c2f8aa156fa"><code>5695429</code></a> Clear release notes</li> <li>See full diff in <a href="https://github.com/frequenz-floss/frequenz-client-base-python/compare/v0.2.1...v0.3.0">compare view</a></li> </ul> </details> <br /> Updates `black` from 24.2.0 to 24.3.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>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </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>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/552baf822992936134cbd31a38f69c8cfe7c0f05"><code>552baf8</code></a> Prepare release 24.3.0 (<a href="https://redirect.github.com/psf/black/issues/4279">#4279</a>)</li> <li><a href="https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8"><code>f000936</code></a> Fix catastrophic performance in lines_with_leading_tabs_expanded() (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> <li><a href="https://github.com/psf/black/commit/7b5a657285f38126bf28483478bbd9ea928077ec"><code>7b5a657</code></a> Fix --line-ranges behavior when ranges are at EOF (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> <li><a href="https://github.com/psf/black/commit/1abcffc81816257985678f08c61584ed4287f22a"><code>1abcffc</code></a> Use regex where we ignore case on windows (<a href="https://redirect.github.com/psf/black/issues/4252">#4252</a>)</li> <li><a href="https://github.com/psf/black/commit/719e67462c80574c81a96faa144886de6da84489"><code>719e674</code></a> Fix 4227: Improve documentation for --quiet --check (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> <li><a href="https://github.com/psf/black/commit/e5510afc06cd238cd0cba4095283943a870a7e7b"><code>e5510af</code></a> update plugin url for Thonny (<a href="https://redirect.github.com/psf/black/issues/4259">#4259</a>)</li> <li><a href="https://github.com/psf/black/commit/6af7d1109693c4ad3af08ecbc34649c232b47a6d"><code>6af7d11</code></a> Fix AST safety check false negative (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li><a href="https://github.com/psf/black/commit/f03ee113c9f3dfeb477f2d4247bfb7de2e5f465c"><code>f03ee11</code></a> Ensure <code>blib2to3.pygram</code> is initialized before use (<a href="https://redirect.github.com/psf/black/issues/4224">#4224</a>)</li> <li><a href="https://github.com/psf/black/commit/e4bfedbec2e8b10cc6b7b31442478f05db0ce06d"><code>e4bfedb</code></a> fix: Don't move comments while splitting delimiters (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li><a href="https://github.com/psf/black/commit/d0287e1f7558d97e6c0ebd6dc5bcb5b970e2bf8c"><code>d0287e1</code></a> Make trailing comma logic more concise (<a href="https://redirect.github.com/psf/black/issues/4202">#4202</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/24.2.0...24.3.0">compare view</a></li> </ul> </details> <br /> Updates `markdown` from 3.5.2 to 3.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/releases">markdown's releases</a>.</em></p> <blockquote> <h2>Release 3.6</h2> <h3>Changed</h3> <h4>Refactor TOC Sanitation</h4> <ul> <li>All postprocessors are now run on heading content.</li> <li>Footnote references are now stripped from heading content. Fixes <a href="https://redirect.github.com/Python-Markdown/markdown/issues/660">#660</a>.</li> <li>A more robust <code>striptags</code> is provided to convert headings to plain text. Unlike, the <code>markupsafe</code> implementation, HTML entities are not unescaped.</li> <li>The plain text <code>name</code>, rich <code>html</code>, and unescaped raw <code>data-toc-label</code> are saved to <code>toc_tokens</code>, allowing users to access the full rich text content of the headings directly from <code>toc_tokens</code>.</li> <li>The value of <code>data-toc-label</code> is sanitized separate from heading content before being written to <code>name</code>. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from <code>token['data-toc-label']</code> directly.</li> <li>An <code>html.unescape</code> call is made just prior to calling <code>slugify</code> so that <code>slugify</code> only operates on Unicode characters. Note that <code>html.unescape</code> is not run on <code>name</code>, <code>html</code>, or <code>data-toc-label</code>.</li> <li>The functions <code>get_name</code> and <code>stashedHTML2text</code> defined in the <code>toc</code> extension are both <strong>deprecated</strong>. Instead, third party extensions should use some combination of the new functions <code>run_postprocessors</code>, <code>render_inner_html</code> and <code>striptags</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Include <code>scripts/*.py</code> in the generated source tarballs (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1430">#1430</a>).</li> <li>Ensure lines after heading in loose list are properly detabbed (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1443">#1443</a>).</li> <li>Give smarty tree processor higher priority than toc (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1440">#1440</a>).</li> <li>Permit carets (<code>^</code>) and square brackets (<code>]</code>) but explicitly exclude backslashes (<code>\</code>) from abbreviations (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1444">#1444</a>).</li> <li>In attribute lists (<code>attr_list</code>, <code>fenced_code</code>), quoted attribute values are now allowed to contain curly braces (<code>}</code>) (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1414">#1414</a>).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md">markdown's changelog</a>.</em></p> <blockquote> <h2>[3.6] -- 2024-03-14</h2> <h3>Changed</h3> <h4>Refactor TOC Sanitation</h4> <ul> <li>All postprocessors are now run on heading content.</li> <li>Footnote references are now stripped from heading content. Fixes <a href="https://redirect.github.com/Python-Markdown/markdown/issues/660">#660</a>.</li> <li>A more robust <code>striptags</code> is provided to convert headings to plain text. Unlike, the <code>markupsafe</code> implementation, HTML entities are not unescaped.</li> <li>The plain text <code>name</code>, rich <code>html</code>, and unescaped raw <code>data-toc-label</code> are saved to <code>toc_tokens</code>, allowing users to access the full rich text content of the headings directly from <code>toc_tokens</code>.</li> <li>The value of <code>data-toc-label</code> is sanitized separate from heading content before being written to <code>name</code>. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from <code>token['data-toc-label']</code> directly.</li> <li>An <code>html.unescape</code> call is made just prior to calling <code>slugify</code> so that <code>slugify</code> only operates on Unicode characters. Note that <code>html.unescape</code> is not run on <code>name</code>, <code>html</code>, or <code>data-toc-label</code>.</li> <li>The functions <code>get_name</code> and <code>stashedHTML2text</code> defined in the <code>toc</code> extension are both <strong>deprecated</strong>. Instead, third party extensions should use some combination of the new functions <code>run_postprocessors</code>, <code>render_inner_html</code> and <code>striptags</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Include <code>scripts/*.py</code> in the generated source tarballs (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1430">#1430</a>).</li> <li>Ensure lines after heading in loose list are properly detabbed (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1443">#1443</a>).</li> <li>Give smarty tree processor higher priority than toc (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1440">#1440</a>).</li> <li>Permit carets (<code>^</code>) and square brackets (<code>]</code>) but explicitly exclude backslashes (<code>\</code>) from abbreviations (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1444">#1444</a>).</li> <li>In attribute lists (<code>attr_list</code>, <code>fenced_code</code>), quoted attribute values are now allowed to contain curly braces (<code>}</code>) (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1414">#1414</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Python-Markdown/markdown/commit/e524b8fe938738cb4492411a34cce89051cb9695"><code>e524b8f</code></a> Bump version to 3.6</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/3d8afc6f89e169522f44c1bbec15f66dc359eccb"><code>3d8afc6</code></a> Allow attr_list quoted values to contain curly braces</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/9edba85fc14f034b7109534220702bf60178ff15"><code>9edba85</code></a> Refactor abbr escaping</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/e4ab4a610edc6332ce81a53aa4ae6f97516ce461"><code>e4ab4a6</code></a> Refactor TOC sanitation</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/a18765c25cccab23f400edeac94d20f4be00492b"><code>a18765c</code></a> Explicitly omit carot and backslash from abbr</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/421f1e88ff4661b4433b97ec57b040a2a74e5aed"><code>421f1e8</code></a> Give smarty tree processor higher priority than toc</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/c334a3e47e6565469344154f966cf0eb9aca0de3"><code>c334a3e</code></a> Ensure lines after heading in loose list are properly detabbed</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/ea92856855a6314488acb121f21f8fa02860e008"><code>ea92856</code></a> Update the license template so GitHub can detect it</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/a2effd6d5191808c8b2e347965f6fcf4aa709e78"><code>a2effd6</code></a> Disable mkdocstrings show_symbol_type_toc option to work around searching iss...</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/91f9a1205d32f3bc6a27ca5f993409c3b97c1931"><code>91f9a12</code></a> Restore Attribute symbol type in mkdocstrings template</li> <li>Additional commits viewable in <a href="https://github.com/Python-Markdown/markdown/compare/3.5.2...3.6">compare view</a></li> </ul> </details> <br /> Updates `mkdocs-material` from 9.5.12 to 9.5.16 <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.16</h2> <ul> <li>Updated Russian translations</li> <li>Improved error handling and reporting in social plugin</li> <li>Improved error handling and reporting in privacy plugin</li> <li>Fixed blog plugin not allowing to use time in format strings</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6983">#6983</a>: Social plugin crashes because of Google Fonts API change</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a>, <a href="https://github.com/Guts"><code>@Guts</code></a>, <a href="https://github.com/szg-alex-payne"><code>@szg-alex-payne</code></a> and <a href="https://github.com/natakazakova"><code>@natakazakova</code></a> for their contributions</p> <h2>mkdocs-material-9.5.15</h2> <ul> <li>Reverted fix for transparent iframes (9.5.14)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6929">#6929</a>: Interference of social plugin and auto dark mode</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6938">#6938</a>: Giscus shows dark background in light mode (9.5.14 regression)</li> </ul> <h2>mkdocs-material-9.5.14</h2> <ul> <li>Added support for hiding versions from selector when using mike</li> <li>Added init system to improve signal handling in Docker image</li> <li>Fixed edge cases in exclusion logic of info plugin</li> <li>Fixed inability to reset pipeline in search plugin</li> <li>Fixed syntax error in Finnish translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6917">#6917</a>: UTF-8 encoding problems in blog plugin on Windows</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6889">#6889</a>: Transparent iframes get background color</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a>, <a href="https://github.com/yubiuser"><code>@yubiuser</code></a> and <a href="https://github.com/todeveni"><code>@todeveni</code></a> for their contributions</p> <h2>mkdocs-material-9.5.13</h2> <ul> <li>Updated Slovak translations</li> <li>Improved info plugin interop with projects plugin</li> <li>Improved info plugin inclusion/exclusion logic</li> <li>Fixed info plugin not gathering files recursively</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6750">#6750</a>: Ensure info plugin packs up all necessary files</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a> and <a href="https://github.com/scepka"><code>@scepka</code></a> for their contributions</p> </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.16+insiders-4.53.4 (2024-03-31)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6973">#6973</a>: Escaping issue in tags extra files deprecation helper</li> </ul> <p>mkdocs-material-9.5.16 (2024-03-31)</p> <ul> <li>Updated Russian translations</li> <li>Improved error handling and reporting in social plugin</li> <li>Improved error handling and reporting in privacy plugin</li> <li>Fixed blog plugin not allowing to use time in format strings</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6983">#6983</a>: Social plugin crashes because of Google Fonts API change</li> </ul> <p>mkdocs-material-9.5.15+insiders-4.53.3 (2024-03-23)</p> <ul> <li>Added support for font variants in social plugin</li> <li>Improved resilience of font resolution in social plugin</li> <li>Fixed tag listing sometimes not being auto-populated</li> <li>Fixed tag listing scope not being correctly resolved</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6941">#6941</a>: Meta plugin adding duplicate entries</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6928">#6928</a>: Social plugin crashes for some fonts</li> </ul> <p>mkdocs-material-9.5.15 (2024-03-23)</p> <ul> <li>Reverted fix for transparent iframes (9.5.14)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6929">#6929</a>: Interference of social plugin and auto dark mode</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6938">#6938</a>: Giscus shows dark background in light mode (9.5.14 regression)</li> </ul> <p>mkdocs-material-9.5.14+insiders-4.53.2 (2024-03-18)</p> <ul> <li>Fixed abort on first non-matching configuration in preview extension</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6914">#6914</a>: Meta files take precedence over front matter</li> </ul> <p>mkdocs-material-9.5.14 (2024-03-18)</p> <ul> <li>Added support for hiding versions from selector when using mike</li> <li>Added init system to improve signal handling in Docker image</li> <li>Fixed edge cases in exclusion logic of info plugin</li> <li>Fixed inability to reset pipeline in search plugin</li> <li>Fixed syntax error in Finnish translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6917">#6917</a>: UTF-8 encoding problems in blog plugin on Windows</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6889">#6889</a>: Transparent iframes get background color</li> </ul> <p>mkdocs-material-9.5.13+insiders-4.53.1 (2024-03-06)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6877">#6877</a>: Projects plugin computes incorrect path to assets</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6869">#6869</a>: Blog plugin should emit warning on invalid related link</li> </ul> <p>mkdocs-material-9.5.13 (2024-03-06)</p> <ul> <li>Updated Slovak translations</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/895652409795662dc809c6e020e082b2238fe0a3"><code>8956524</code></a> Updated Insiders changelog</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/0db4e667da098cede42f78fb3325b3f95c50bbfa"><code>0db4e66</code></a> Updated changelog</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/29cf44b71ca0e579c693c79d8e74c820a42b5910"><code>29cf44b</code></a> Improved resilience of privacy plugin</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/6c9ba875bfd5d93007b48debd3b4041773dd5eef"><code>6c9ba87</code></a> Prepare 9.5.16 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/f2bfab91fee62419d4719387c8b9924166f96d5e"><code>f2bfab9</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/9e40207bb6e1218948721de87591b38ce6c497cd"><code>9e40207</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/a2cb35d4c5da25a90cb746e6b06a0c5ee7096b4b"><code>a2cb35d</code></a> Improved error handling on social plugin (<a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6818">#6818</a>)</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/abfac1a93e4cfc13924c48837cfc45dc724551f6"><code>abfac1a</code></a> Switched to Babel's <code>format_datetime</code> to allow for time in formatted dates (#...</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/01b2dd17e3e8d86b70ef8b9ae94096c47034ecc8"><code>01b2dd1</code></a> Updated Russian translations</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/ad7233640f2c679b7f149def57c96e1ec12b9ad9"><code>ad72336</code></a> Fixed social plugin Google Fonts integration</li> <li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.5.12...9.5.16">compare view</a></li> </ul> </details> <br /> Updates `mypy` from 1.8.0 to 1.9.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's changelog</a>.</em></p> <blockquote> <h1>Mypy Release Notes</h1> <h2>Mypy 1.9</h2> <p>We’ve just uploaded mypy 1.9 to the Python Package Index (<a href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:</p> <pre><code>python3 -m pip install -U mypy </code></pre> <p>You can read the full documentation for this release on <a href="http://mypy.readthedocs.io">Read the Docs</a>.</p> <h4>Breaking Changes</h4> <p>Because the version of typeshed we use in mypy 1.9 doesn't support 3.7, neither does mypy 1.9. (Jared Hance, PR <a href="https://redirect.github.com/python/mypy/pull/16883">16883</a>)</p> <p>We are planning to enable <a href="https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-local-partial-types">local partial types</a> (enabled via the <code>--local-partial-types</code> flag) later this year by default. This change was announced years ago, but now it's finally happening. This is a major backward-incompatible change, so we'll probably include it as part of the upcoming mypy 2.0 release. This makes daemon and non-daemon mypy runs have the same behavior by default.</p> <p>Local partial types can also be enabled in the mypy config file:</p> <pre><code>local_partial_types = True </code></pre> <p>We are looking at providing a tool to make it easier to migrate projects to use <code>--local-partial-types</code>, but it's not yet clear whether this is practical. The migration usually involves adding some explicit type annotations to module-level and class-level variables.</p> <h4>Basic Support for Type Parameter Defaults (PEP 696)</h4> <p>This release contains new experimental support for type parameter defaults (<a href="https://peps.python.org/pep-0696">PEP 696</a>). Please try it out! This feature was contributed by Marc Mueller.</p> <p>Since this feature will be officially introduced in the next Python feature release (3.13), you will need to import <code>TypeVar</code>, <code>ParamSpec</code> or <code>TypeVarTuple</code> from <code>typing_extensions</code> to use defaults for now.</p> <p>This example adapted from the PEP defines a default for <code>BotT</code>:</p> <pre lang="python"><code>from typing import Generic from typing_extensions import TypeVar <p>class Bot: ...</p> <p>BotT = TypeVar("BotT", bound=Bot, default=Bot) </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/5ff46f8b3706d005fabab2227ec84476d605bfd4"><code>5ff46f8</code></a> Remove +dev.</li> <li><a href="https://github.com/python/mypy/commit/155909ad1bde747d89fcd091621d7cd9b1e15818"><code>155909a</code></a> [Release 1.9] Unsupport targetting 3.7. (<a href="https://redirect.github.com/python/mypy/issues/16883">#16883</a>) (<a href="https://redirect.github.com/python/mypy/issues/16900">#16900</a>)</li> <li><a href="https://github.com/python/mypy/commit/6615cabe57c661114d0ed44784f67301619faadf"><code>6615cab</code></a> [Release 1.9] Stubtest: ignore a new protocol dunder (<a href="https://redirect.github.com/python/mypy/issues/16895">#16895</a>) (<a href="https://redirect.github.com/python/mypy/issues/16899">#16899</a>)</li> <li><a href="https://github.com/python/mypy/commit/b956e6a57c4dd36d670097a3eccf7dc092348fec"><code>b956e6a</code></a> stubtest: Private parameters can be omitted (<a href="https://redirect.github.com/python/mypy/issues/16507">#16507</a>)</li> <li><a href="https://github.com/python/mypy/commit/ede0b200a10186a095378516d840389f8da4edd4"><code>ede0b20</code></a> Bump ruff to 0.2.0 (<a href="https://redirect.github.com/python/mypy/issues/16870">#16870</a>)</li> <li><a href="https://github.com/python/mypy/commit/7bdd61f2d89ecd2cee4ebe6eb2375a72b29f0b10"><code>7bdd61f</code></a> stubgen: Fix crash on star unpack of TypeVarTuple (<a href="https://redirect.github.com/python/mypy/issues/16869">#16869</a>)</li> <li><a href="https://github.com/python/mypy/commit/8c2ef9dde8aa803e04038427ad84f09664d9d93f"><code>8c2ef9d</code></a> Update hashes in sync-typeshed.py following recent typeshed sync</li> <li><a href="https://github.com/python/mypy/commit/0dd4b6f7576be3d3857fecefb298decdf0711ac7"><code>0dd4b6f</code></a> Revert use of <code>ParamSpec</code> for <code>functools.wraps</code></li> <li><a href="https://github.com/python/mypy/commit/dd12a2d810f2bbe7a8686674397043b18575480f"><code>dd12a2d</code></a> Revert typeshed ctypes change</li> <li><a href="https://github.com/python/mypy/commit/d132999ba631b332d0684173897e5947591f4acc"><code>d132999</code></a> Revert sum literal integer change (<a href="https://redirect.github.com/python/mypy/issues/13961">#13961</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.8.0...1.9.0">compare view</a></li> </ul> </details> <br /> Updates `types-markdown` from 3.5.0.20240129 to 3.6.0.20240316 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/python/typeshed/commits">compare view</a></li> </ul> </details> <br /> Updates `types-python-dateutil` from 2.8.19.20240311 to 2.9.0.20240316 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/python/typeshed/commits">compare view</a></li> </ul> </details> <br /> Updates `uv` from 0.1.14 to 0.1.26 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/uv/releases">uv's releases</a>.</em></p> <blockquote> <h2>0.1.26</h2> <h2>Release Notes</h2> <h3>Bug fixes</h3> <ul> <li>Bump simple cache version (<a href="https://redirect.github.com/astral-sh/uv/pull/2712">#2712</a>)</li> </ul> <h2>Install uv 0.1.26</h2> <h3>Install prebuilt binaries via shell script</h3> <pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.1.26/uv-installer.sh | sh </code></pre> <h3>Install prebuilt binaries via powershell script</h3> <pre lang="sh"><code>powershell -c "irm https://github.com/astral-sh/uv/releases/download/0.1.26/uv-installer.ps1 | iex" </code></pre> <h2>Download uv 0.1.26</h2> <table> <thead> <tr> <th>File</th> <th>Platform</th> <th>Checksum</th> </tr> </thead> <tbody> <tr> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-aarch64-apple-darwin.tar.gz">uv-aarch64-apple-darwin.tar.gz</a></td> <td>Apple Silicon macOS</td> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-aarch64-apple-darwin.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-x86_64-apple-darwin.tar.gz">uv-x86_64-apple-darwin.tar.gz</a></td> <td>Intel macOS</td> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-x86_64-apple-darwin.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-i686-pc-windows-msvc.zip">uv-i686-pc-windows-msvc.zip</a></td> <td>x86 Windows</td> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-i686-pc-windows-msvc.zip.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-x86_64-pc-windows-msvc.zip">uv-x86_64-pc-windows-msvc.zip</a></td> <td>x64 Windows</td> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-x86_64-pc-windows-msvc.zip.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-aarch64-unknown-linux-gnu.tar.gz">uv-aarch64-unknown-linux-gnu.tar.gz</a></td> <td>ARM64 Linux</td> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-aarch64-unknown-linux-gnu.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-i686-unknown-linux-gnu.tar.gz">uv-i686-unknown-linux-gnu.tar.gz</a></td> <td>x86 Linux</td> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-i686-unknown-linux-gnu.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-powerpc64-unknown-linux-gnu.tar.gz">uv-powerpc64-unknown-linux-gnu.tar.gz</a></td> <td>PPC64 Linux</td> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-powerpc64-unknown-linux-gnu.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-powerpc64le-unknown-linux-gnu.tar.gz">uv-powerpc64le-unknown-linux-gnu.tar.gz</a></td> <td>PPC64LE Linux</td> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-powerpc64le-unknown-linux-gnu.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-s390x-unknown-linux-gnu.tar.gz">uv-s390x-unknown-linux-gnu.tar.gz</a></td> <td>S390x Linux</td> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-s390x-unknown-linux-gnu.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-x86_64-unknown-linux-gnu.tar.gz">uv-x86_64-unknown-linux-gnu.tar.gz</a></td> <td>x64 Linux</td> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-x86_64-unknown-linux-gnu.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-armv7-unknown-linux-gnueabihf.tar.gz">uv-armv7-unknown-linux-gnueabihf.tar.gz</a></td> <td>ARMv7 Linux</td> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-armv7-unknown-linux-gnueabihf.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-aarch64-unknown-linux-musl.tar.gz">uv-aarch64-unknown-linux-musl.tar.gz</a></td> <td>ARM64 MUSL Linux</td> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-aarch64-unknown-linux-musl.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-i686-unknown-linux-musl.tar.gz">uv-i686-unknown-linux-musl.tar.gz</a></td> <td>x86 MUSL Linux</td> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-i686-unknown-linux-musl.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-x86_64-unknown-linux-musl.tar.gz">uv-x86_64-unknown-linux-musl.tar.gz</a></td> <td>x64 MUSL Linux</td> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-x86_64-unknown-linux-musl.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-arm-unknown-linux-musleabihf.tar.gz">uv-arm-unknown-linux-musleabihf.tar.gz</a></td> <td>ARMv6 MUSL Linux (Hardfloat)</td> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-arm-unknown-linux-musleabihf.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-armv7-unknown-linux-musleabihf.tar.gz">uv-armv7-unknown-linux-musleabihf.tar.gz</a></td> <td>ARMv7 MUSL Linux</td> <td><a href="https://github.com/astral-sh/uv/releases/download/0.1.26/uv-armv7-unknown-linux-musleabihf.tar.gz.sha256">checksum</a></td> </tr> </tbody> </table> <h2>0.1.25</h2> <h2>Release Notes</h2> <h3>Breaking changes</h3> <ul> <li>Limit overrides and constraints to <code>requirements.txt</code> format (<a href="https://redirect.github.com/astral-sh/uv/pull/2632">#2632</a>)</li> </ul> <h3>Enhancements</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/uv/blob/main/CHANGELOG.md">uv's changelog</a>.</em></p> <blockquote> <h2>0.1.26</h2> <h3>Bug fixes</h3> <ul> <li>Bump simple cache version (<a href="https://redirect.github.com/astral-sh/uv/pull/2712">#2712</a>)</li> </ul> <h2>0.1.25</h2> <h3>Breaking changes</h3> <ul> <li>Limit overrides and constraints to <code>requirements.txt</code> format (<a href="https://redirect.github.com/astral-sh/uv/pull/2632">#2632</a>)</li> </ul> <h3>Enhancements</h3> <ul> <li>Accept <code>setup.py</code> and <code>setup.cfg</code> files in compile (<a href="https://redirect.github.com/astral-sh/uv/pull/2634">#2634</a>)</li> <li>Add <code>--no-binary</code> and <code>--only-binary</code> support to <code>requirements.txt</code> (<a href="https://redirect.github.com/astral-sh/uv/pull/2680">#2680</a>)</li> <li>Allow prereleases, locals, and URLs in non-editable path requirements (<a href="https://redirect.github.com/astral-sh/uv/pull/2671">#2671</a>)</li> <li>Use PEP 517 to extract dynamic <code>pyproject.toml</code> metadata (<a href="https://redirect.github.com/astral-sh/uv/pull/2633">#2633</a>)</li> <li>Add <code>Editable project location</code> and <code>Required-by</code> to <code>pip show</code> (<a href="https://redirect.github.com/astral-sh/uv/pull/2589">#2589</a>)</li> <li>Avoid <code>prepare_metadata_for_build_wheel</code> calls for Hatch packages with dynamic dependencies (<a href="https://redirect.github.com/astral-sh/uv/pull/2645">#2645</a>)</li> <li>Fall back to PEP 517 hooks for non-compliant PEP 621 metadata (<a href="https://redirect.github.com/astral-sh/uv/pull/2662">#2662</a>)</li> <li>Support <code>file://localhost/</code> schemes (<a href="https://redirect.github.com/astral-sh/uv/pull/2657">#2657</a>)</li> <li>Use normal resolver in <code>pip sync</code> (<a href="https://redirect.github.com/astral-sh/uv/pull/2696">#2696</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Disallow <code>pyproject.toml</code> from <code>pip uninstall -r</code> (<a href="https://redirect.github.com/astral-sh/uv/pull/2663">#2663</a>)</li> <li>Unhide <code>--emit-index-url</code> and <code>--emit-find-links</code> (<a href="https://redirect.github.com/astral-sh/uv/pull/2691">#2691</a>)</li> <li>Use dense formatting for requirement version specifiers in diagnostics (<a href="https://redirect.github.com/astral-sh/uv/pull/2601">#2601</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Add an in-memory cache for Git references (<a href="https://redirect.github.com/astral-sh/uv/pull/2682">#2682</a>)</li> <li>Do not force-recompile <code>.pyc</code> files (<a href="https://redirect.github.com/astral-sh/uv/pull/2642">#2642</a>)</li> <li>Read package metadata from <code>pyproject.toml</code> when it is statically defined (<a href="https://redirect.github.com/astral-sh/uv/pull/2676">#2676</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Don't error on multiple matching index URLs (<a href="https://redirect.github.com/astral-sh/uv/pull/2627">#2627</a>)</li> <li>Extract local versions from direct URL requirements (<a href="https://redirect.github.com/astral-sh/uv/pull/2624">#2624</a>)</li> <li>Respect <code>--no-index</code> with <code>--find-links</code> in <code>pip sync</code> (<a href="https://redirect.github.com/astral-sh/uv/pull/2692">#2692</a>)</li> <li>Use <code>Scripts</code> folder for virtualenv activation prompt (<a href="https://redirect.github.com/astral-sh/uv/pull/2690">#2690</a>)</li> </ul> <h2>0.1.24</h2> <h3>Breaking changes</h3> <ul> <li><code>uv pip uninstall</code> no longer supports specifying targets with the <code>-e</code> / <code>--editable</code> flag (<a href="https://redirect.github.com/astral-sh/uv/pull/2577">#2577</a>)</li> </ul> <h3>Enhancements</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/uv/commit/7b685a8158f0e444526732d25667aa6a7bc418cf"><code>7b685a8</code></a> uv-cache: bump built-wheels cache version (<a href="https://redirect.github.com/astral-sh/uv/issues/2715">#2715</a>)</li> <li><a href="https://github.com/astral-sh/uv/commit/ffa1b0117690190ec18c8c3301b6af2d3f1882d5"><code>ffa1b01</code></a> Bump version to 0.1.26 (<a href="https://redirect.github.com/astral-sh/uv/issues/2713">#2713</a>)</li> <li><a href="https://github.com/astral-sh/uv/commit/c72d3d73d5649d96fd5d8ca47e38c11219756fe7"><code>c72d3d7</code></a> uv-cache: bump simple cache version (<a href="https://redirect.github.com/astral-sh/uv/issues/2712">#2712</a>)</li> <li><a href="https://github.com/astral-sh/uv/commit/4e59bfd16e8a0465fd25fab7d0553e2da05f5fda"><code>4e59bfd</code></a> Bump version to 0.1.25 (<a href="https://redirect.github.com/astral-sh/uv/issues/2709">#2709</a>)</li> <li><a href="https://github.com/astral-sh/uv/commit/f8f7f848f5d9e6a89fce79559f52880b9c7a212f"><code>f8f7f84</code></a> Remove <code>Tags</code> from <code>tracing</code> (<a href="https://redirect.github.com/astral-sh/uv/issues/2704">#2704</a>)</li> <li><a href="https://github.com/astral-sh/uv/commit/4cc91cc6bb4ed158048d3dcdc0ac5a10c5b22a6b"><code>4cc91cc</code></a> Add convenience methods to <code>Manifest</code> to iterate over requirements (<a href="https://redirect.github.com/astral-sh/uv/issues/2701">#2701</a>)</li> <li><a href="https://github.com/astral-sh/uv/commit/b6ab919945bea94210d07de92bcb17c3fd344523"><code>b6ab919</code></a> Make tags non-required for fetching wheel metadata (<a href="https://redirect.github.com/astral-sh/uv/issues/2700">#2700</a>)</li> <li><a href="https://github.com/astral-sh/uv/commit/cf3093283100ef7ff916ce2b7e9cc0061adb2886"><code>cf30932</code></a> Allow prereleases, locals, and URLs in non-editable path requirements (<a href="https://redirect.github.com/astral-sh/uv/issues/2671">#2671</a>)</li> <li><a href="https://github.com/astral-sh/uv/commit/4b69ad428125208aedfd27630f559b24c65e7e5b"><code>4b69ad4</code></a> Remove some unused dependencies (<a href="https://redirect.github.com/astral-sh/uv/issues/2698">#2698</a>)</li> <li><a href="https://github.com/astral-sh/uv/commit/f8fa887c0b65ec437051b6f2f574272132af6139"><code>f8fa887</code></a> Use <code>Resolver</code> in <code>pip sync</code> (<a href="https://redirect.github.com/astral-sh/uv/issues/2696">#2696</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/uv/compare/0.1.14...0.1.26">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 8.0.2 to 8.1.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.1.1</h2> <h1>pytest 8.1.1 (2024-03-08)</h1> <p>::: {.note} ::: {.title} Note :::</p> <p>This release is not a usual bug fix release -- it contains features and improvements, being a follow up to <code>8.1.0</code>, which has been yanked from PyPI. :::</p> <h2>Features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: Added the new <code>consider_namespace_packages</code>{.interpreted-text role="confval"} configuration option, defaulting to <code>False</code>.</p> <p>If set to <code>True</code>, pytest will attempt to identify modules that are part of <a href="https://packaging.python.org/en/latest/guides/packaging-namespace-packages">namespace packages</a> when importing modules.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11653">#11653</a>: Added the new <code>verbosity_test_cases</code>{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity. See <code>Fine-grained verbosity <pytest.fine_grained_verbosity></code>{.interpreted-text role="ref"} for more details.</p> </li> </ul> <h2>Improvements</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10865">#10865</a>: <code>pytest.warns</code>{.interpreted-text role="func"} now validates that <code>warnings.warn</code>{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}. Currently in Python it is possible to use other types, however this causes an exception when <code>warnings.filterwarnings</code>{.interpreted-text role="func"} is used to filter those warnings (see [CPython <a href="https://redirect.github.com/pytest-dev/pytest/issues/103577">#103577</a>](<a href="https://redirect.github.com/python/cpython/issues/103577">python/cpython#103577</a>) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11311">#11311</a>: When using <code>--override-ini</code> for paths in invocations without a configuration file defined, the current working directory is used as the relative directory.</p> <p>Previoulsy this would raise an <code>AssertionError</code>{.interpreted-text role="class"}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: <code>--import-mode=importlib <import-mode-importlib></code>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :py<code>sys.path</code>{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.</p> <p>This means that installed packages will be imported under their canonical name if possible first, for example <code>app.core.models</code>, instead of having the module name always be derived from their path (for example <code>.env310.lib.site_packages.app.core.models</code>).</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11801">#11801</a>: Added the <code>iter_parents() <_pytest.nodes.Node.iter_parents></code>{.interpreted-text role="func"} helper method on nodes. It is similar to <code>listchain <_pytest.nodes.Node.listchain></code>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11850">#11850</a>: Added support for <code>sys.last_exc</code>{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11962">#11962</a>: In case no other suitable candidates for configuration file are found, a <code>pyproject.toml</code> (even without a <code>[tool.pytest.ini_options]</code> table) will be considered as the configuration file and define the <code>rootdir</code>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11978">#11978</a>: Add <code>--log-file-mode</code> option to the logging plugin, enabling appending to log-files. This option accepts either <code>"w"</code> or <code>"a"</code> and defaults to <code>"w"</code>.</p> <p>Previously, the mode was hard-coded to be <code>"w"</code> which truncates the file before logging.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/81653ee385f4c62ee7e64502a7b7530096553115"><code>81653ee</code></a> Adjust changelog manually for 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e60b4b9ed80f761e3a51868a01338911a567b093"><code>e60b4b9</code></a> Prepare release version 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/15fbe57c44fed6737f5c6dad99cf4437b6755a6c"><code>15fbe57</code></a> [8.1.x] Revert legacy path removals (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12093">#12093</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/86c3aab005a98de7e12ee5e37782837f5db70ac3"><code>86c3aab</code></a> [8.1.x] Do not import duplicated modules with --importmode=importlib (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12077">#12077</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/5b82b0cd20c3adcc21f34ae30c595c7355a87e23"><code>5b82b0c</code></a> [8.1.x] Yank version 8.1.0 (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12076">#12076</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0a536810dc5f51dac99bdb90dde06704b5aa034e"><code>0a53681</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12054">#12054</a> from pytest-dev/release-8.1.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/b9a167f9bbbd6eda4f0360c5bf5b7f5af50f2bc4"><code>b9a167f</code></a> Prepare release version 8.1.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/00043f7f1047b29fdaeb18e169fe9d6146988cb8"><code>00043f7</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12038">#12038</a> from bluetech/fixtures-rm-arg2index</li> <li><a href="https://github.com/pytest-dev/pytest/commit/f4e10251a4a003495b5228cea421d4de5fa0ce89"><code>f4e1025</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12048">#12048</a> from bluetech/fixture-teardown-excgroup</li> <li><a href="https://github.com/pytest-dev/pytest/commit/43492f5707b38dab9b62dfb829bb41a13579629f"><code>43492f5</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12051">#12051</a> from jakkdl/test_debugging_pythonbreakpoint</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/8.0.2...8.1.1">compare view</a></li> </ul> </details> <br /> Updates `pytest-mock` from 3.12.0 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> </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](https://github.com/pytest-dev/pytest-mock/issues/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](https://github.com/pytest-dev/pytest-mock/issues/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](https://github.com/pytest-dev/pytest-mock/issues/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](https://github.com/pytest-dev/pytest-mock/issues/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> </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.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> Updates `pytest-asyncio` from 0.23.5 to 0.23.6 <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.6</h2> <h1>0.23.6 (2024-03-19)</h1> <ul> <li>Fix compatibility with pytest 8.2 <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/800">#800</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> <h2>pytest-asyncio 0.23.5.post1</h2> <h1>0.23.5 (2024-02-09)</h1> <ul> <li>Declare compatibility with pytest 8 <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/737">#737</a></li> <li>Fix typing errors with recent versions of mypy <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/769">#769</a></li> <li>Prevent DeprecationWarning about internal use of <code>asyncio.get_event_loop()</code> from affecting test cases <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/757">#757</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/c34da04b82153ce052109bad31ccdbc0be7938e1"><code>c34da04</code></a> [docs] Mentioned pytest 8.2 compatibility fix in changelog.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/143f745d279afc070cf5cf6144fbf34d960fae72"><code>143f745</code></a> Fix compatibility with pytest 8.2 FixtureDef.unittest removal</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/13d4b79f7ff0d9d0ea70880b3276f85dea7f1f15"><code>13d4b79</code></a> Remove unused function <code>_removesuffix</code></li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/cdd2c4906835b6f627d681fbee5d487554884e5f"><code>cdd2c49</code></a> Use <code>FixtureRequest</code> instead of <code>SubRequest</code></li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/c3429fa4d72239be9b428342f0f1407e0840b9ec"><code>c3429fa</code></a> Build(deps): Bump packaging from 23.2 to 24.0 in /dependencies/docs</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/5f2338dfc9f9b5ac2c27d3bef490fa3e2cd7c156"><code>5f2338d</code></a> Build(deps): Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/726c6e0f3c185f10d8a842bcd1d781de32a3b2f5"><code>726c6e0</code></a> Build(deps): Bump coverage from 7.4.3 to 7.4.4 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/8bd8288709717165b352c7f2f207c8e4ef624a01"><code>8bd8288</code></a> Build(deps): Bump pytest from 8.0.2 to 8.1.1 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/ef3b3477070d6a270e1bb2c1d438c64dba42724c"><code>ef3b347</code></a> Build(deps): Bump packaging from 23.2 to 24.0 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/b22d84e1f0d53920352be4c66d1b6c7f7a9ce005"><code>b22d84e</code></a> [docs] Fixes the example showing how to run all tests in a session-scoped loop.</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-asyncio/compare/v0.23.5...v0.23.6">compare view</a></li> </ul> </details> <br /> Updates `time-machine` from 2.14.0 to 2.14.1 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/adamchainz/time-machine/blob/main/CHANGELOG.rst">time-machine's changelog</a>.</em></p> <blockquote> <h2>2.14.1 (2024-03-22)</h2> <ul> <li> <p>Fix segmentation fault when the first <code>travel()</code> call in a process uses a <code>timedelta</code>.</p> <p>Thanks to Marcin Sulikowski for the report in <code>Issue [#431](https://github.com/adamchainz/time-machine/issues/431) <https://github.com/adamchainz/time-machine/issues/431></code>__.</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/adamchainz/time-machine/commit/cc1716c669a6eba84f639a1c8653e58bc07374ee"><code>cc1716c</code></a> Version 2.14.1</li> <li><a href="https://github.com/adamchainz/time-machine/commit/ee93b04d17c8b21ba78ac67c928e1efa07183282"><code>ee93b04</code></a> Fix timedelta segmentation fault (<a href="https://redirect.github.com/adamchainz/time-machine/issues/433">#433</a>)</li> <li><a href="https://github.com/adamchainz/time-machine/commit/8e28b9e74c3d6a50b7d6ec09a9e50903d4dc8bdd"><code>8e28b9e</code></a> Add flake8-logging to Flake8 setup</li> <li><a href="https://github.com/adamchainz/time-machine/commit/825c7f1ec15f8ca57e378489f463e33d329a22ef"><code>825c7f1</code></a> Drop Black target version</li> <li><a href="https://github.com/adamchainz/time-machine/commit/f151428adfe767aefa1194ea31d6244de7ee0316"><code>f151428</code></a> GitHub Actions coverage summary</li> <li><a href="https://github.com/adamchainz/time-machine/commit/2bf3160377dc23f4aa5d5b385deb2a2705c03f4a"><code>2bf3160</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/adamchainz/time-machine/issues/430">#430</a>)</li> <li><a href="https://github.com/adamchainz/time-machine/commit/e03c83f66442e34049798d23cee1ec7a06aac55b"><code>e03c83f</code></a> Upgrade requirements (<a href="https://redirect.github.com/adamchainz/time-machine/issues/429">#429</a>)</li> <li><a href="https://github.com/adamchainz/time-machine/commit/627907904a8f4b797077e3f02a4a010e98fe41e4"><code>6279079</code></a> [pre-commit.ci] pre-commit autoupdate (<a href=…
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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.8.0` -> `1.9.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/mypy/1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/mypy/1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/mypy/1.8.0/1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/mypy/1.8.0/1.9.0?slim=true)](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.12.0` -> `3.14.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest-mock/3.12.0/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-mock/3.12.0/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [tox](https://togithub.com/tox-dev/tox) ([changelog](https://tox.wiki/en/latest/changelog.html)) | `4.13.0` -> `4.14.2` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/tox/4.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/tox/4.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/tox/4.13.0/4.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/tox/4.13.0/4.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>python/mypy (mypy)</summary> ### [`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) </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. </details> <details> <summary>tox-dev/tox (tox)</summary> ### [`v4.14.2`](https://togithub.com/tox-dev/tox/releases/tag/4.14.2) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.14.1...4.14.2) <!-- Release notes generated using configuration in .github/release.yml at 4.14.2 --> #### What's Changed - Removed unneeded line by [@​reinout](https://togithub.com/reinout) in [https://github.com/tox-dev/tox/pull/3241](https://togithub.com/tox-dev/tox/pull/3241) - Add missing space by [@​droctothorpe](https://togithub.com/droctothorpe) in [https://github.com/tox-dev/tox/pull/3243](https://togithub.com/tox-dev/tox/pull/3243) - Add Provision Arguments to ToxParser by [@​seyidaniels](https://togithub.com/seyidaniels) in [https://github.com/tox-dev/tox/pull/3246](https://togithub.com/tox-dev/tox/pull/3246) #### New Contributors - [@​reinout](https://togithub.com/reinout) made their first contribution in [https://github.com/tox-dev/tox/pull/3241](https://togithub.com/tox-dev/tox/pull/3241) - [@​droctothorpe](https://togithub.com/droctothorpe) made their first contribution in [https://github.com/tox-dev/tox/pull/3243](https://togithub.com/tox-dev/tox/pull/3243) - [@​seyidaniels](https://togithub.com/seyidaniels) made their first contribution in [https://github.com/tox-dev/tox/pull/3246](https://togithub.com/tox-dev/tox/pull/3246) **Full Changelog**: tox-dev/tox@4.14.1...4.14.2 ### [`v4.14.1`](https://togithub.com/tox-dev/tox/releases/tag/4.14.1) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.14.0...4.14.1) <!-- Release notes generated using configuration in .github/release.yml at 4.14.1 --> #### What's Changed - Fix fresh subprocesses and allow duplicate register config calls for the core set only by [@​gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/3237](https://togithub.com/tox-dev/tox/pull/3237) **Full Changelog**: tox-dev/tox@4.14.0...4.14.1 ### [`v4.14.0`](https://togithub.com/tox-dev/tox/releases/tag/4.14.0) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.13.0...4.14.0) <!-- Release notes generated using configuration in .github/release.yml at 4.14.0 --> #### What's Changed - Fix issue/PR number in 4.13.0 changelog by [@​hroncok](https://togithub.com/hroncok) in [https://github.com/tox-dev/tox/pull/3223](https://togithub.com/tox-dev/tox/pull/3223) - Fix linkcheck failing by [@​gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/3229](https://togithub.com/tox-dev/tox/pull/3229) - Support fresh subprocess for build backends by [@​gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/3233](https://togithub.com/tox-dev/tox/pull/3233) - Allow plugins to attach data to --version by [@​gaborbernat](https://togithub.com/gaborbernat) in [https://github.com/tox-dev/tox/pull/3234](https://togithub.com/tox-dev/tox/pull/3234) **Full Changelog**: tox-dev/tox@4.13.0...4.14.0 </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Bumps the pip group with 12 updates: | Package | From | To | | --- | --- | --- | | [fastapi](https://github.com/tiangolo/fastapi) | `0.110.0` | `0.110.1` | | [uvicorn](https://github.com/encode/uvicorn) | `0.27.1` | `0.29.0` | | [sentry-sdk](https://github.com/getsentry/sentry-python) | `1.40.6` | `1.44.1` | | [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) | `2.0.28` | `2.0.29` | | [typing-extensions](https://github.com/python/typing_extensions) | `4.10.0` | `4.11.0` | | [pytest](https://github.com/pytest-dev/pytest) | `8.0.2` | `8.1.1` | | [pytest-cov](https://github.com/pytest-dev/pytest-cov) | `4.1.0` | `5.0.0` | | [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.12.0` | `3.14.0` | | [black](https://github.com/psf/black) | `24.2.0` | `24.3.0` | | [pre-commit](https://github.com/pre-commit/pre-commit) | `3.6.2` | `3.7.0` | | [respx](https://github.com/lundberg/respx) | `0.20.2` | `0.21.1` | | [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) | `0.23.5` | `0.23.6` | Updates `fastapi` from 0.110.0 to 0.110.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tiangolo/fastapi/releases">fastapi's releases</a>.</em></p> <blockquote> <h2>0.110.1</h2> <h3>Fixes</h3> <ul> <li>🐛 Fix parameterless <code>Depends()</code> with generics. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/9479">#9479</a> by <a href="https://github.com/nzig"><code>@nzig</code></a>.</li> </ul> <h3>Refactors</h3> <ul> <li>♻️ Update mypy. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11049">#11049</a> by <a href="https://github.com/k0t3n"><code>@k0t3n</code></a>.</li> <li>♻️ Simplify string format with f-strings in <code>fastapi/applications.py</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11335">#11335</a> by <a href="https://github.com/igeni"><code>@igeni</code></a>.</li> </ul> <h3>Upgrades</h3> <ul> <li>⬆️ Upgrade Starlette to >=0.37.2,<0.38.0, remove Starlette filterwarning for internal tests. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11266">#11266</a> by <a href="https://github.com/nothielf"><code>@nothielf</code></a>.</li> </ul> <h3>Docs</h3> <ul> <li>📝 Tweak docs and translations links and remove old docs translations. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11381">#11381</a> by <a href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li> <li>✏️ Fix typo in <code>fastapi/security/oauth2.py</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11368">#11368</a> by <a href="https://github.com/shandongbinzhou"><code>@shandongbinzhou</code></a>.</li> <li>📝 Update links to Pydantic docs to point to new website. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11328">#11328</a> by <a href="https://github.com/alejsdev"><code>@alejsdev</code></a>.</li> <li>✏️ Fix typo in <code>docs/en/docs/tutorial/extra-models.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11329">#11329</a> by <a href="https://github.com/alejsdev"><code>@alejsdev</code></a>.</li> <li>📝 Update <code>project-generation.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11326">#11326</a> by <a href="https://github.com/alejsdev"><code>@alejsdev</code></a>.</li> <li>📝 Update External Links. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11327">#11327</a> by <a href="https://github.com/alejsdev"><code>@alejsdev</code></a>.</li> <li>🔥 Remove link to Pydantic's benchmark, on other i18n pages.. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11224">#11224</a> by <a href="https://github.com/hirotoKirimaru"><code>@hirotoKirimaru</code></a>.</li> <li>✏️ Fix typos in docstrings. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11295">#11295</a> by <a href="https://github.com/davidhuser"><code>@davidhuser</code></a>.</li> <li>🛠️ Improve Node.js script in docs to generate TypeScript clients. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11293">#11293</a> by <a href="https://github.com/alejsdev"><code>@alejsdev</code></a>.</li> <li>📝 Update examples for tests to replace "inexistent" for "nonexistent". PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11220">#11220</a> by <a href="https://github.com/Homesteady"><code>@Homesteady</code></a>.</li> <li>📝 Update <code>python-multipart</code> GitHub link in all docs from <code>https://andrew-d.github.io/python-multipart/</code> to <code>https://github.com/Kludex/python-multipart</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11239">#11239</a> by <a href="https://github.com/joshjhans"><code>@joshjhans</code></a>.</li> </ul> <h3>Translations</h3> <ul> <li>🌐 Add German translation for <code>docs/de/docs/tutorial/response-status-code.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/10357">#10357</a> by <a href="https://github.com/nilslindemann"><code>@nilslindemann</code></a>.</li> <li>🌐 Update Chinese translation for <code>docs/zh/docs/tutorial/query-params.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3480">#3480</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Update Chinese translation for <code>docs/zh/docs/tutorial/body.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3481">#3481</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Update Chinese translation for <code>docs/zh/docs/tutorial/path-params.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3479">#3479</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Update Chinese translation for <code>docs/tutorial/body-fields.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3496">#3496</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Update Chinese translation for <code>docs/tutorial/extra-models.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3497">#3497</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Japanese translation for <code>docs/ja/docs/tutorial/metadata.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/2667">#2667</a> by <a href="https://github.com/tokusumi"><code>@tokusumi</code></a>.</li> <li>🌐 Add German translation for <code>docs/de/docs/contributing.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/10487">#10487</a> by <a href="https://github.com/nilslindemann"><code>@nilslindemann</code></a>.</li> <li>🌐 Update Japanese translation of <code>docs/ja/docs/tutorial/query-params.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/10808">#10808</a> by <a href="https://github.com/urushio"><code>@urushio</code></a>.</li> <li>🌐 Update Chinese translation for <code>docs/zh/docs/tutorial/security/get-current-user.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3842">#3842</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/openapi-callbacks.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3825">#3825</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/extending-openapi.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3823">#3823</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/testing-dependencies.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3819">#3819</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/custom-request-and-route.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3816">#3816</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/external-links.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3833">#3833</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/templates.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3812">#3812</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/sub-applications.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3811">#3811</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/async-sql-databases.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3805">#3805</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/middleware.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3804">#3804</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/dataclasses.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3803">#3803</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tiangolo/fastapi/commit/50a880b39f09217ccb9b4144f9f5c8439af54cfd"><code>50a880b</code></a> 🔖 Release version 0.110.1</li> <li><a href="https://github.com/tiangolo/fastapi/commit/5f96d7ea8ab53575600e54a99d1ab27a41801fd4"><code>5f96d7e</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/fastapi/commit/d3d9f60a1eb0de1c50692515ca21db0c48bd367b"><code>d3d9f60</code></a> ⬆ Bump actions/cache from 3 to 4 (<a href="https://redirect.github.com/tiangolo/fastapi/issues/10988">#10988</a>)</li> <li><a href="https://github.com/tiangolo/fastapi/commit/2016de07e0c9cbb5591d16eea43d76fca745e378"><code>2016de0</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/fastapi/commit/c27439d0b4253339bd1b28aceec2cc7cf8f446aa"><code>c27439d</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/fastapi/commit/597741771d99bae6526e9c31789a385e6de4f5e5"><code>5977417</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/fastapi/commit/eec612ca8d79a6144d773af2229ef046c7a29138"><code>eec612c</code></a> 🐛 Fix parameterless <code>Depends()</code> with generics (<a href="https://redirect.github.com/tiangolo/fastapi/issues/9479">#9479</a>)</li> <li><a href="https://github.com/tiangolo/fastapi/commit/3c39b1cc0bb1f3620178db887eecabfa57b8dc09"><code>3c39b1c</code></a> ⬆ Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.14 (<a href="https://redirect.github.com/tiangolo/fastapi/issues/11318">#11318</a>)</li> <li><a href="https://github.com/tiangolo/fastapi/commit/dce7c6627517fbed4591c193b5529e0373b08d10"><code>dce7c66</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/fastapi/commit/7fb46eab0762034f9cc44693e7e1ee35e69015a9"><code>7fb46ea</code></a> ⬆ Bump pillow from 10.1.0 to 10.2.0 (<a href="https://redirect.github.com/tiangolo/fastapi/issues/11011">#11011</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tiangolo/fastapi/compare/0.110.0...0.110.1">compare view</a></li> </ul> </details> <br /> Updates `uvicorn` from 0.27.1 to 0.29.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/encode/uvicorn/releases">uvicorn's releases</a>.</em></p> <blockquote> <h2>Version 0.29.0</h2> <h2>Added</h2> <ul> <li>Cooperative signal handling by <a href="https://github.com/maxfischer2781"><code>@maxfischer2781</code></a> in <a href="https://redirect.github.com/encode/uvicorn/pull/1600">encode/uvicorn#1600</a></li> </ul> <hr /> <p><strong>Full Changelog</strong>: <a href="https://github.com/encode/uvicorn/compare/0.28.1...0.29.0">https://github.com/encode/uvicorn/compare/0.28.1...0.29.0</a></p> <h2>Version 0.28.1</h2> <h2>Fixed</h2> <ul> <li>Revert raise <code>ClientDisconnected</code> on HTTP (<a href="https://redirect.github.com/encode/uvicorn/issues/2276">#2276</a>)</li> </ul> <hr /> <p><strong>Full Changelog</strong>: <a href="https://github.com/encode/uvicorn/compare/0.28.0...0.28.1">https://github.com/encode/uvicorn/compare/0.28.0...0.28.1</a></p> <h2>Version 0.28.0</h2> <h2>Added</h2> <ul> <li>Raise <code>ClientDisconnected</code> on <code>send()</code> when client disconnected (<a href="https://redirect.github.com/encode/uvicorn/issues/2220">#2220</a>) 12/02/24</li> </ul> <h2>Fixed</h2> <ul> <li>Except <code>AttributeError</code> on <code>sys.stdin.fileno()</code> for Windows IIS10 (<a href="https://redirect.github.com/encode/uvicorn/issues/1947">#1947</a>) 29/02/24</li> <li>Use <code>X-Forwarded-Proto</code> for WebSockets scheme when the proxy provides it (<a href="https://redirect.github.com/encode/uvicorn/issues/2258">#2258</a>) 01/03/24</li> </ul> <hr /> <p><strong>Full Changelog</strong>: <a href="https://github.com/encode/uvicorn/compare/0.27.1...0.28.0">https://github.com/encode/uvicorn/compare/0.27.1...0.28.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/encode/uvicorn/blob/master/CHANGELOG.md">uvicorn's changelog</a>.</em></p> <blockquote> <h2>0.29.0 - 2024-03-19</h2> <h3>Added</h3> <ul> <li>Cooperative signal handling (<a href="https://redirect.github.com/encode/uvicorn/issues/1600">#1600</a>) 19/03/24</li> </ul> <h2>0.28.1 - 2024-03-19</h2> <h3>Fixed</h3> <ul> <li>Revert raise <code>ClientDisconnected</code> on HTTP (<a href="https://redirect.github.com/encode/uvicorn/issues/2276">#2276</a>) 19/03/24</li> </ul> <h2>0.28.0 - 2024-03-09</h2> <h3>Added</h3> <ul> <li>Raise <code>ClientDisconnected</code> on <code>send()</code> when client disconnected (<a href="https://redirect.github.com/encode/uvicorn/issues/2220">#2220</a>) 12/02/24</li> </ul> <h3>Fixed</h3> <ul> <li>Except <code>AttributeError</code> on <code>sys.stdin.fileno()</code> for Windows IIS10 (<a href="https://redirect.github.com/encode/uvicorn/issues/1947">#1947</a>) 29/02/24</li> <li>Use <code>X-Forwarded-Proto</code> for WebSockets scheme when the proxy provides it (<a href="https://redirect.github.com/encode/uvicorn/issues/2258">#2258</a>) 01/03/24</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/encode/uvicorn/commit/fe85206c5c79be52910ff1b7049591adbab72e4d"><code>fe85206</code></a> Version 0.29.0 (<a href="https://redirect.github.com/encode/uvicorn/issues/2279">#2279</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/9e32e8ebade4cf8253c224628fae9adb895ce2a7"><code>9e32e8e</code></a> Cooperative signal handling (<a href="https://redirect.github.com/encode/uvicorn/issues/1600">#1600</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/f73b8beeb1499ca5fcec3067cf89dad5326a0984"><code>f73b8be</code></a> Version 0.28.1 (<a href="https://redirect.github.com/encode/uvicorn/issues/2277">#2277</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/76a3812ad5df9b6d30b548a6f759b18af9eebf24"><code>76a3812</code></a> Revert raise <code>ClientDisconnected</code> on HTTP (<a href="https://redirect.github.com/encode/uvicorn/issues/2276">#2276</a>) (<a href="https://redirect.github.com/encode/uvicorn/issues/2276">#2276</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/a05ae6426cc8f224f4f1a995f46a901ab0f5644b"><code>a05ae64</code></a> Version 0.28.0 (<a href="https://redirect.github.com/encode/uvicorn/issues/2269">#2269</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/4a503d84fa8703d7534d810bb10b3a0b0e6e1a39"><code>4a503d8</code></a> Change ruff rules (<a href="https://redirect.github.com/encode/uvicorn/issues/2251">#2251</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/0d4747e6021d690908deb0c81a62a02652800ee3"><code>0d4747e</code></a> Use <code>X-Forwarded-Proto</code> for WebSockets scheme when the proxy provides it (<a href="https://redirect.github.com/encode/uvicorn/issues/2258">#2258</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/93897b511854bd8aa70b8096126623d0aad8069c"><code>93897b5</code></a> Except <code>AttributeError</code> on <code>sys.stdin.fileno()</code> for Windows IIS10 (<a href="https://redirect.github.com/encode/uvicorn/issues/1947">#1947</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/ed2d655902cb547fc1c3843cbce1faeacbaf974c"><code>ed2d655</code></a> Bump cryptography from 42.0.2 to 42.0.4 (<a href="https://redirect.github.com/encode/uvicorn/issues/2253">#2253</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/1e5f1be767918f7dfd39ac5eeb23081768a88d09"><code>1e5f1be</code></a> Raise <code>ClientDisconnected</code> on <code>send()</code> when client disconnected (<a href="https://redirect.github.com/encode/uvicorn/issues/2220">#2220</a>)</li> <li>See full diff in <a href="https://github.com/encode/uvicorn/compare/0.27.1...0.29.0">compare view</a></li> </ul> </details> <br /> Updates `sentry-sdk` from 1.40.6 to 1.44.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-python/releases">sentry-sdk's releases</a>.</em></p> <blockquote> <h2>1.44.1</h2> <h3>Various fixes & improvements</h3> <ul> <li> <p>Make <code>monitor</code> async friendly (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2912">#2912</a>) by <a href="https://github.com/sentrivana"><code>@sentrivana</code></a></p> <p>You can now decorate your async functions with the <code>monitor</code> decorator and they will correctly report their duration and completion status.</p> </li> <li> <p>Fixed <code>Event | None</code> runtime <code>TypeError</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2928">#2928</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></p> </li> </ul> <h2>1.44.0</h2> <h3>Various fixes & improvements</h3> <ul> <li>ref: Define types at runtime (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2914">#2914</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></li> <li>Explicit reexport of types (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2866">#2866</a>) (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2913">#2913</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></li> <li>feat(profiling): Add thread data to spans (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2843">#2843</a>) by <a href="https://github.com/Zylphrex"><code>@Zylphrex</code></a></li> </ul> <h2>1.43.0</h2> <h3>Various fixes & improvements</h3> <ul> <li> <p>Add optional <code>keep_alive</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2842">#2842</a>) by <a href="https://github.com/sentrivana"><code>@sentrivana</code></a></p> <p>If you're experiencing frequent network issues between the SDK and Sentry, you can try turning on TCP keep-alive:</p> <pre lang="python"><code>import sentry_sdk <p>sentry_sdk.init( # ...your usual settings... keep_alive=True, ) </code></pre></p> </li> <li> <p>Add support for Celery Redbeat cron tasks (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2643">#2643</a>) by <a href="https://github.com/kwigley"><code>@kwigley</code></a></p> <p>The SDK now supports the Redbeat scheduler in addition to the default Celery Beat scheduler for auto instrumenting crons. See <a href="https://docs.sentry.io/platforms/python/integrations/celery/crons/">the docs</a> for more information about how to set this up.</p> </li> <li> <p><code>aws_event</code> can be an empty list (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2849">#2849</a>) by <a href="https://github.com/sentrivana"><code>@sentrivana</code></a></p> </li> <li> <p>Re-export <code>Event</code> in <code>types.py</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2829">#2829</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></p> </li> <li> <p>Small API docs improvement (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2828">#2828</a>) by <a href="https://github.com/antonpirker"><code>@antonpirker</code></a></p> </li> <li> <p>Fixed OpenAI tests (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2834">#2834</a>) by <a href="https://github.com/antonpirker"><code>@antonpirker</code></a></p> </li> <li> <p>Bump <code>checkouts/data-schemas</code> from <code>ed078ed</code> to <code>8232f17</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2832">#2832</a>) by <a href="https://github.com/dependabot"><code>@dependabot</code></a></p> </li> </ul> <h2>1.42.0</h2> <h3>Various fixes & improvements</h3> <ul> <li> <p><strong>New integration:</strong> <a href="https://docs.sentry.io/platforms/python/integrations/openai/">OpenAI integration</a> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2791">#2791</a>) by <a href="https://github.com/colin-sentry"><code>@colin-sentry</code></a></p> <p>We added an integration for OpenAI to capture errors and also performance data when using the OpenAI Python SDK.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md">sentry-sdk's changelog</a>.</em></p> <blockquote> <h2>1.44.1</h2> <h3>Various fixes & improvements</h3> <ul> <li> <p>Make <code>monitor</code> async friendly (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2912">#2912</a>) by <a href="https://github.com/sentrivana"><code>@sentrivana</code></a></p> <p>You can now decorate your async functions with the <code>monitor</code> decorator and they will correctly report their duration and completion status.</p> </li> <li> <p>Fixed <code>Event | None</code> runtime <code>TypeError</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2928">#2928</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></p> </li> </ul> <h2>1.44.0</h2> <h3>Various fixes & improvements</h3> <ul> <li>ref: Define types at runtime (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2914">#2914</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></li> <li>Explicit reexport of types (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2866">#2866</a>) (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2913">#2913</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></li> <li>feat(profiling): Add thread data to spans (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2843">#2843</a>) by <a href="https://github.com/Zylphrex"><code>@Zylphrex</code></a></li> </ul> <h2>1.43.0</h2> <h3>Various fixes & improvements</h3> <ul> <li> <p>Add optional <code>keep_alive</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2842">#2842</a>) by <a href="https://github.com/sentrivana"><code>@sentrivana</code></a></p> <p>If you're experiencing frequent network issues between the SDK and Sentry, you can try turning on TCP keep-alive:</p> <pre lang="python"><code>import sentry_sdk <p>sentry_sdk.init( # ...your usual settings... keep_alive=True, ) </code></pre></p> </li> <li> <p>Add support for Celery Redbeat cron tasks (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2643">#2643</a>) by <a href="https://github.com/kwigley"><code>@kwigley</code></a></p> <p>The SDK now supports the Redbeat scheduler in addition to the default Celery Beat scheduler for auto instrumenting crons. See <a href="https://docs.sentry.io/platforms/python/integrations/celery/crons/">the docs</a> for more information about how to set this up.</p> </li> <li> <p><code>aws_event</code> can be an empty list (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2849">#2849</a>) by <a href="https://github.com/sentrivana"><code>@sentrivana</code></a></p> </li> <li> <p>Re-export <code>Event</code> in <code>types.py</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2829">#2829</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></p> </li> <li> <p>Small API docs improvement (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2828">#2828</a>) by <a href="https://github.com/antonpirker"><code>@antonpirker</code></a></p> </li> <li> <p>Fixed OpenAI tests (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2834">#2834</a>) by <a href="https://github.com/antonpirker"><code>@antonpirker</code></a></p> </li> <li> <p>Bump <code>checkouts/data-schemas</code> from <code>ed078ed</code> to <code>8232f17</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2832">#2832</a>) by <a href="https://github.com/dependabot"><code>@dependabot</code></a></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/getsentry/sentry-python/commit/f015268e0101c1eedeb00d2471ce86b29bdd8b70"><code>f015268</code></a> Update CHANGELOG.md</li> <li><a href="https://github.com/getsentry/sentry-python/commit/be0e19637fbcfb312bedd8982835d1c787011166"><code>be0e196</code></a> release: 1.44.1</li> <li><a href="https://github.com/getsentry/sentry-python/commit/336f7d5645f6868567fa66832475294b7e099e8d"><code>336f7d5</code></a> fix(types): Fixed <code>Event | None</code> runtime <code>TypeError</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2928">#2928</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/fd8a9b207d87c1671c29cc2d30301ae1fa621df7"><code>fd8a9b2</code></a> Merge branch 'release/1.44.0'</li> <li><a href="https://github.com/getsentry/sentry-python/commit/b742c45ce893d96864ec9d907141223a0ea728f1"><code>b742c45</code></a> feat(crons): Make <code>monitor</code> async friendly (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2912">#2912</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/4d8db7187cce5e7516228bec93e6e71811463230"><code>4d8db71</code></a> Update CHANGELOG.md</li> <li><a href="https://github.com/getsentry/sentry-python/commit/a4e44fa6a2085a2fbccae46edcf6da67052cc6db"><code>a4e44fa</code></a> release: 1.44.0</li> <li><a href="https://github.com/getsentry/sentry-python/commit/6c2eb539f7b8ebb0f2fa9ed05cce4f862843eb9d"><code>6c2eb53</code></a> ref: Define types at runtime (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2914">#2914</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/790ee6a819b1441b1273d962bf0cfa345f004a27"><code>790ee6a</code></a> Explicit reexport of types (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2866">#2866</a>) (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2913">#2913</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/05d1e5ca94cc4fffcd01c46ceda6713459308404"><code>05d1e5c</code></a> build(deps): bump checkouts/data-schemas from <code>8232f17</code> to <code>1e17eb5</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2901">#2901</a>)</li> <li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-python/compare/1.40.6...1.44.1">compare view</a></li> </ul> </details> <br /> Updates `sqlalchemy` from 2.0.28 to 2.0.29 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sqlalchemy/sqlalchemy/releases">sqlalchemy's releases</a>.</em></p> <blockquote> <h1>2.0.29</h1> <p>Released: March 23, 2024</p> <h2>orm</h2> <ul> <li> <p><strong>[orm] [usecase]</strong> Added support for the <a href="https://peps.python.org/pep-0695">PEP 695</a> <code>TypeAliasType</code> construct as well as the python 3.12 native <code>type</code> keyword to work with ORM Annotated Declarative form when using these constructs to link to a <a href="https://peps.python.org/pep-0593">PEP 593</a> <code>Annotated</code> container, allowing the resolution of the <code>Annotated</code> to proceed when these constructs are used in a <code>_orm.Mapped</code> typing container.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/11130">#11130</a></p> </li> <li> <p><strong>[orm] [bug]</strong> Fixed Declarative issue where typing a relationship using <code>_orm.Relationship</code> rather than <code>_orm.Mapped</code> would inadvertently pull in the "dynamic" relationship loader strategy for that attribute.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/10611">#10611</a></p> </li> <li> <p><strong>[orm] [bug]</strong> Fixed issue in ORM annotated declarative where using <code>_orm.mapped_column()</code> with an <code>_orm.mapped_column.index</code> or <code>_orm.mapped_column.unique</code> setting of False would be overridden by an incoming <code>Annotated</code> element that featured that parameter set to <code>True</code>, even though the immediate <code>_orm.mapped_column()</code> element is more specific and should take precedence. The logic to reconcile the booleans has been enhanced to accommodate a local value of <code>False</code> as still taking precedence over an incoming <code>True</code> value from the annotated element.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/11091">#11091</a></p> </li> <li> <p><strong>[orm] [bug] [regression]</strong> Fixed regression from version 2.0.28 caused by the fix for <a href="https://www.sqlalchemy.org/trac/ticket/11085">#11085</a> where the newer method of adjusting post-cache bound parameter values would interefere with the implementation for the <code>_orm.subqueryload()</code> loader option, which has some more legacy patterns in use internally, when the additional loader criteria feature were used with this loader option.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/11173">#11173</a></p> </li> </ul> <h2>engine</h2> <ul> <li><strong>[engine] [bug]</strong> Fixed issue in <code>engine_insertmanyvalues</code> feature where using a primary key column with an "inline execute" default generator such as an explicit <code>Sequence</code> with an explcit schema name, while at the same time using the <code>_engine.Connection.execution_options.schema_translate_map</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/sqlalchemy/sqlalchemy/commits">compare view</a></li> </ul> </details> <br /> Updates `typing-extensions` from 4.10.0 to 4.11.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/python/typing_extensions/releases">typing-extensions's releases</a>.</em></p> <blockquote> <h2>4.11.0</h2> <h1>Release 4.11.0 (April 5, 2024)</h1> <p>This feature release provides improvements to various recently added features, most importantly type parameter defaults (PEP 696).</p> <p>There are no changes since 4.11.0rc1.</p> <p>Changes since 4.10.0:</p> <ul> <li>Fix tests on Python 3.13.0a5. Patch by Jelle Zijlstra.</li> <li>Fix the runtime behavior of type parameters with defaults (PEP 696). Patch by Nadir Chowdhury.</li> <li>Fix minor discrepancy between error messages produced by <code>typing</code> and <code>typing_extensions</code> on Python 3.10. Patch by Jelle Zijlstra.</li> <li>When <code>include_extra=False</code>, <code>get_type_hints()</code> now strips <code>ReadOnly</code> from the annotation.</li> </ul> <h2>4.11.0rc1</h2> <ul> <li>Fix tests on Python 3.13.0a5. Patch by Jelle Zijlstra.</li> <li>Fix the runtime behavior of type parameters with defaults (PEP 696). Patch by Nadir Chowdhury.</li> <li>Fix minor discrepancy between error messages produced by <code>typing</code> and <code>typing_extensions</code> on Python 3.10. Patch by Jelle Zijlstra.</li> <li>When <code>include_extra=False</code>, <code>get_type_hints()</code> now strips <code>ReadOnly</code> from the annotation.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/typing_extensions/blob/main/CHANGELOG.md">typing-extensions's changelog</a>.</em></p> <blockquote> <h1>Release 4.11.0 (April 5, 2024)</h1> <p>This feature release provides improvements to various recently added features, most importantly type parameter defaults (PEP 696).</p> <p>There are no changes since 4.11.0rc1.</p> <h1>Release 4.11.0rc1 (March 24, 2024)</h1> <ul> <li>Fix tests on Python 3.13.0a5. Patch by Jelle Zijlstra.</li> <li>Fix the runtime behavior of type parameters with defaults (PEP 696). Patch by Nadir Chowdhury.</li> <li>Fix minor discrepancy between error messages produced by <code>typing</code> and <code>typing_extensions</code> on Python 3.10. Patch by Jelle Zijlstra.</li> <li>When <code>include_extra=False</code>, <code>get_type_hints()</code> now strips <code>ReadOnly</code> from the annotation.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/typing_extensions/commit/d4d929d44bd984350e2d17726362295f588eaace"><code>d4d929d</code></a> Prepare release 4.11.0 (<a href="https://redirect.github.com/python/typing_extensions/issues/363">#363</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/94bec447d6f7b9d3625ef0e688a0b0f9e487e951"><code>94bec44</code></a> Prepare release 4.11.0rc1 (<a href="https://redirect.github.com/python/typing_extensions/issues/362">#362</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/10648b6149e3b98cfb7d842684859318f01e940d"><code>10648b6</code></a> Fix tests on 3.13.0a5 (<a href="https://redirect.github.com/python/typing_extensions/issues/358">#358</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/8170fc7744ca1c2ca4911ce22095c907f7f58f8b"><code>8170fc7</code></a> Fix runtime behaviour of PEP 696 (<a href="https://redirect.github.com/python/typing_extensions/issues/293">#293</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/d34c389d3d1f8cce006dfd1200e203551c16418c"><code>d34c389</code></a> Try to fix GH actions syntax (<a href="https://redirect.github.com/python/typing_extensions/issues/355">#355</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/d409ec98e3889462e59c85a4b34f9f83ce40bf2c"><code>d409ec9</code></a> Run CPython test suite in our CI (<a href="https://redirect.github.com/python/typing_extensions/issues/353">#353</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/9d1689ede041302d85f41292bf25a9d13bf16a7b"><code>9d1689e</code></a> Fix indentation in TypedDict docs (<a href="https://redirect.github.com/python/typing_extensions/issues/352">#352</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/4fdc09ddb54be26580f68e26443a422c6024364c"><code>4fdc09d</code></a> Third-party tests: don't run pydantic tests on pypy (<a href="https://redirect.github.com/python/typing_extensions/issues/351">#351</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/3304a5f0045fc81ccc10c9c9fd238d378d020d94"><code>3304a5f</code></a> Stabilise third party tests (<a href="https://redirect.github.com/python/typing_extensions/issues/348">#348</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/c3dc681a298fae6f2aa3e937e20a32a446ecb58c"><code>c3dc681</code></a> Make sure that <code>ReadOnly</code> is removed when using `get_type_hints(include_extra...</li> <li>Additional commits viewable in <a href="https://github.com/python/typing_extensions/compare/4.10.0...4.11.0">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 8.0.2 to 8.1.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.1.1</h2> <h1>pytest 8.1.1 (2024-03-08)</h1> <p>::: {.note} ::: {.title} Note :::</p> <p>This release is not a usual bug fix release -- it contains features and improvements, being a follow up to <code>8.1.0</code>, which has been yanked from PyPI. :::</p> <h2>Features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: Added the new <code>consider_namespace_packages</code>{.interpreted-text role="confval"} configuration option, defaulting to <code>False</code>.</p> <p>If set to <code>True</code>, pytest will attempt to identify modules that are part of <a href="https://packaging.python.org/en/latest/guides/packaging-namespace-packages">namespace packages</a> when importing modules.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11653">#11653</a>: Added the new <code>verbosity_test_cases</code>{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity. See <code>Fine-grained verbosity <pytest.fine_grained_verbosity></code>{.interpreted-text role="ref"} for more details.</p> </li> </ul> <h2>Improvements</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10865">#10865</a>: <code>pytest.warns</code>{.interpreted-text role="func"} now validates that <code>warnings.warn</code>{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}. Currently in Python it is possible to use other types, however this causes an exception when <code>warnings.filterwarnings</code>{.interpreted-text role="func"} is used to filter those warnings (see [CPython <a href="https://redirect.github.com/pytest-dev/pytest/issues/103577">#103577</a>](<a href="https://redirect.github.com/python/cpython/issues/103577">python/cpython#103577</a>) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11311">#11311</a>: When using <code>--override-ini</code> for paths in invocations without a configuration file defined, the current working directory is used as the relative directory.</p> <p>Previoulsy this would raise an <code>AssertionError</code>{.interpreted-text role="class"}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: <code>--import-mode=importlib <import-mode-importlib></code>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :py<code>sys.path</code>{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.</p> <p>This means that installed packages will be imported under their canonical name if possible first, for example <code>app.core.models</code>, instead of having the module name always be derived from their path (for example <code>.env310.lib.site_packages.app.core.models</code>).</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11801">#11801</a>: Added the <code>iter_parents() <_pytest.nodes.Node.iter_parents></code>{.interpreted-text role="func"} helper method on nodes. It is similar to <code>listchain <_pytest.nodes.Node.listchain></code>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11850">#11850</a>: Added support for <code>sys.last_exc</code>{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11962">#11962</a>: In case no other suitable candidates for configuration file are found, a <code>pyproject.toml</code> (even without a <code>[tool.pytest.ini_options]</code> table) will be considered as the configuration file and define the <code>rootdir</code>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11978">#11978</a>: Add <code>--log-file-mode</code> option to the logging plugin, enabling appending to log-files. This option accepts either <code>"w"</code> or <code>"a"</code> and defaults to <code>"w"</code>.</p> <p>Previously, the mode was hard-coded to be <code>"w"</code> which truncates the file before logging.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/81653ee385f4c62ee7e64502a7b7530096553115"><code>81653ee</code></a> Adjust changelog manually for 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e60b4b9ed80f761e3a51868a01338911a567b093"><code>e60b4b9</code></a> Prepare release version 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/15fbe57c44fed6737f5c6dad99cf4437b6755a6c"><code>15fbe57</code></a> [8.1.x] Revert legacy path removals (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12093">#12093</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/86c3aab005a98de7e12ee5e37782837f5db70ac3"><code>86c3aab</code></a> [8.1.x] Do not import duplicated modules with --importmode=importlib (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12077">#12077</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/5b82b0cd20c3adcc21f34ae30c595c7355a87e23"><code>5b82b0c</code></a> [8.1.x] Yank version 8.1.0 (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12076">#12076</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0a536810dc5f51dac99bdb90dde06704b5aa034e"><code>0a53681</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12054">#12054</a> from pytest-dev/release-8.1.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/b9a167f9bbbd6eda4f0360c5bf5b7f5af50f2bc4"><code>b9a167f</code></a> Prepare release version 8.1.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/00043f7f1047b29fdaeb18e169fe9d6146988cb8"><code>00043f7</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12038">#12038</a> from bluetech/fixtures-rm-arg2index</li> <li><a href="https://github.com/pytest-dev/pytest/commit/f4e10251a4a003495b5228cea421d4de5fa0ce89"><code>f4e1025</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12048">#12048</a> from bluetech/fixture-teardown-excgroup</li> <li><a href="https://github.com/pytest-dev/pytest/commit/43492f5707b38dab9b62dfb829bb41a13579629f"><code>43492f5</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12051">#12051</a> from jakkdl/test_debugging_pythonbreakpoint</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/8.0.2...8.1.1">compare view</a></li> </ul> </details> <br /> Updates `pytest-cov` from 4.1.0 to 5.0.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst">pytest-cov's changelog</a>.</em></p> <blockquote> <h2>5.0.0 (2024-03-24)</h2> <ul> <li>Removed support for xdist rsync (now deprecated). Contributed by Matthias Reichenbach in <code>[#623](https://github.com/pytest-dev/pytest-cov/issues/623) <https://github.com/pytest-dev/pytest-cov/pull/623></code>_.</li> <li>Switched docs theme to Furo.</li> <li>Various legacy Python cleanup and CI improvements. Contributed by Christian Clauss and Hugo van Kemenade in <code>[#630](https://github.com/pytest-dev/pytest-cov/issues/630) <https://github.com/pytest-dev/pytest-cov/pull/630></code><em>, <code>[#631](https://github.com/pytest-dev/pytest-cov/issues/631) <https://github.com/pytest-dev/pytest-cov/pull/631></code></em>, <code>[#632](https://github.com/pytest-dev/pytest-cov/issues/632) <https://github.com/pytest-dev/pytest-cov/pull/632></code>_ and <code>[#633](https://github.com/pytest-dev/pytest-cov/issues/633) <https://github.com/pytest-dev/pytest-cov/pull/633></code>_.</li> <li>Added a <code>pyproject.toml</code> example in the docs. Contributed by Dawn James in <code>[#626](https://github.com/pytest-dev/pytest-cov/issues/626) <https://github.com/pytest-dev/pytest-cov/pull/626></code>_.</li> <li>Modernized project's pre-commit hooks to use ruff. Initial POC contributed by Christian Clauss in <code>[#584](https://github.com/pytest-dev/pytest-cov/issues/584) <https://github.com/pytest-dev/pytest-cov/pull/584></code>_.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/5295ce01c84262cec88f31255e9ac538718f3047"><code>5295ce0</code></a> Bump version: 4.1.0 → 5.0.0</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/1181b067972bf94569f8011f3b18f271690f9ab1"><code>1181b06</code></a> Update changelog.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/9757222e2e044361e70125ebdd96e5eb87395983"><code>9757222</code></a> Fix a minor grammar error (<a href="https://redirect.github.com/pytest-dev/pytest-cov/issues/636">#636</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/9f5cd81a0dbe3fe41681efdbef516c08988fe8ff"><code>9f5cd81</code></a> Cleanup releasing instructions. Closes <a href="https://redirect.github.com/pytest-dev/pytest-cov/issues/616">#616</a>.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/93b5047ec5050d63c10a6fe16a09b671a7a03df8"><code>93b5047</code></a> Add test for pyproject.toml loading without explicit --cov-config. Ref <a href="https://redirect.github.com/pytest-dev/pytest-cov/issues/508">#508</a>.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/ff50860d7c67b920503745d92a3f0944cf41f982"><code>ff50860</code></a> docs: add config instructions for pyproject.toml.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/4a5a4b5fa4b1c63ddcab5cbc1813798c9b6f1d36"><code>4a5a4b5</code></a> Keep GitHub Actions up to date with GitHub's Dependabot</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/1d7f55963d5138f41c452a946f7cca7e0b6ee8b2"><code>1d7f559</code></a> Fix or remove URLs that are causing docs tests to fail</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/6a5af8e85b8242ac815f33e26adf9068f5f0ebc3"><code>6a5af8e</code></a> Update changelog.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/d9fe8dfed15023d3410dd299c5092e755b8981c2"><code>d9fe8df</code></a> Switch to furo. Closes <a href="https://redirect.github.com/pytest-dev/pytest-cov/issues/618">#618</a>.</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-cov/compare/v4.1.0...v5.0.0">compare view</a></li> </ul> </details> <br /> Updates `pytest-mock` from 3.12.0 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> </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](https://github.com/pytest-dev/pytest-mock/issues/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](https://github.com/pytest-dev/pytest-mock/issues/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](https://github.com/pytest-dev/pytest-mock/issues/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](https://github.com/pytest-dev/pytest-mock/issues/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> </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.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> Updates `black` from 24.2.0 to 24.3.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>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </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>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/552baf822992936134cbd31a38f69c8cfe7c0f05"><code>552baf8</code></a> Prepare release 24.3.0 (<a href="https://redirect.github.com/psf/black/issues/4279">#4279</a>)</li> <li><a href="https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8"><code>f000936</code></a> Fix catastrophic performance in lines_with_leading_tabs_expanded() (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> <li><a href="https://github.com/psf/black/commit/7b5a657285f38126bf28483478bbd9ea928077ec"><code>7b5a657</code></a> Fix --line-ranges behavior when ranges are at EOF (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> <li><a href="https://github.com/psf/black/commit/1abcffc81816257985678f08c61584ed4287f22a"><code>1abcffc</code></a> Use regex where we ignore case on windows (<a href="https://redirect.github.com/psf/black/issues/4252">#4252</a>)</li> <li><a href="https://github.com/psf/black/commit/719e67462c80574c81a96faa144886de6da84489"><code>719e674</code></a> Fix 4227: Improve documentation for --quiet --check (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> <li><a href="https://github.com/psf/black/commit/e5510afc06cd238cd0cba4095283943a870a7e7b"><code>e5510af</code></a> update plugin url for Thonny (<a href="https://redirect.github.com/psf/black/issues/4259">#4259</a>)</li> <li><a href="https://github.com/psf/black/commit/6af7d1109693c4ad3af08ecbc34649c232b47a6d"><code>6af7d11</code></a> Fix AST safety check false negative (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li><a href="https://github.com/psf/black/commit/f03ee113c9f3dfeb477f2d4247bfb7de2e5f465c"><code>f03ee11</code></a> Ensure <code>blib2to3.pygram</code> is initialized before use (<a href="https://redirect.github.com/psf/black/issues/4224">#4224</a>)</li> <li><a href="https://github.com/psf/black/commit/e4bfedbec2e8b10cc6b7b31442478f05db0ce06d"><code>e4bfedb</code></a> fix: Don't move comments while splitting delimiters (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li><a href="https://github.com/psf/black/commit/d0287e1f7558d97e6c0ebd6dc5bcb5b970e2bf8c"><code>d0287e1</code></a> Make trailing comma logic more concise (<a href="https://redirect.github.com/psf/black/issues/4202">#4202</a>)</li> <li>Additional commits viewable in <a href="https://github.com/psf/black/compare/24.2.0...24.3.0">compare view</a></li> </ul> </details> <br /> Updates `pre-commit` from 3.6.2 to 3.7.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pre-commit/pre-commit/releases">pre-commit's releases</a>.</em></p> <blockquote> <h2>pre-commit v3.7.0</h2> <h3>Features</h3> <ul> <li>Use a tty for <code>docker</code> and <code>docker_image</code> hooks when <code>--color</code> is specified. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3122">#3122</a> PR by <a href="https://github.com/glehmann"><code>@glehmann</code></a>.</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li>Fix <code>fail_fast</code> for individual hooks stopping when previous hooks had failed. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3167">#3167</a> issue by <a href="https://github.com/tp832944"><code>@tp832944</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3168">#3168</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> </ul> <h3>Updating</h3> <ul> <li>The per-hook behaviour of <code>fail_fast</code> was fixed. If you want the pre-3.7.0 behaviour, add <code>fail_fast: true</code> to all hooks before the last <code>fail_fast</code> hook.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md">pre-commit's changelog</a>.</em></p> <blockquote> <h1>3.7.0 - 2024-03-24</h1> <h3>Features</h3> <ul> <li>Use a tty for <code>docker</code> and <code>docker_image</code> hooks when <code>--color</code> is specified. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3122">#3122</a> PR by <a href="https://github.com/glehmann"><code>@glehmann</code></a>.</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li>Fix <code>fail_fast</code> for individual hooks stopping when previous hooks had failed. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3167">#3167</a> issue by <a href="https://github.com/tp832944"><code>@tp832944</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3168">#3168</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> </ul> <h3>Updating</h3> <ul> <li>The per-hook behaviour of <code>fail_fast</code> was fixed. If you want the pre-3.7.0 behaviour, add <code>fail_fast: true</code> to all hooks before the last <code>fail_fast</code> hook.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pre-commit/pre-commit/commit/7b4667e9e6e05e31707c404c95115b151745866c"><code>7b4667e</code></a> v3.7.0</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/d46c8fc051f89f0eda3456c8c9c52e129d6acd75"><code>d46c8fc</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3168">#3168</a> from pre-commit/fix-fail-fast</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/fc622159a6c5cd31919ed2a22fa1c11d8ca56dbf"><code>fc62215</code></a> fix per-hook fail_fast to not fail on previous failures</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/716da1e49c36b8ae46d1dd0ef5aabdb475ee4388"><code>716da1e</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3155">#3155</a> from pre-commit/pre-commit-ci-update-config</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/0939c11b4f0488ae3bff9b67aed67ea744189412"><code>0939c11</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/3bdf9fb91bd661c667131dd3f73581a4ce9368c3"><code>3bdf9fb</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3150">#3150</a> from…
Updates the requirements on [frequenz-api-common](https://github.com/frequenz-floss/frequenz-api-common), [frequenz-client-base](https://github.com/frequenz-floss/frequenz-client-base-python), [pydoclint](https://github.com/jsh9/pydoclint), [markdown](https://github.com/Python-Markdown/markdown), [mkdocs-material](https://github.com/squidfunk/mkdocs-material), [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings), [mypy](https://github.com/python/mypy), [types-markdown](https://github.com/python/typeshed), [pylint](https://github.com/pylint-dev/pylint), [pytest](https://github.com/pytest-dev/pytest), [pytest-mock](https://github.com/pytest-dev/pytest-mock), [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) and [async-solipsism](https://github.com/bmerry/async-solipsism) to permit the latest version. Updates `frequenz-api-common` to 0.6.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/frequenz-floss/frequenz-api-common/releases">frequenz-api-common's releases</a>.</em></p> <blockquote> <h2>v0.6.0</h2> <h1>Frequenz Common API Release Notes</h1> <h2>Summary</h2> <ul> <li>Removed dependency on <code>googleapis-common-protos</code> in favor of internal <code>frequenz.api.common.v1.types.Decimal</code>, advising updates to dependencies for users previously relying on Google's types.</li> <li>Renamed voltage and current metrics for clarity and introduced new metrics, including line-to-line voltages and Total Harmonic Distortion (THD) metrics, with updated naming conventions for simplicity and precision.</li> </ul> <h2>Upgrading</h2> <ul> <li> <p>The dependency on <code>googleapis-common-protos</code> / <code>googleapis/googleapis</code> was removed, now the built-in <code>frequenz.api.common.v1.types.Decimal</code> is used internally instead. This is compatible with Google's type, but if you depended indirectly on Google's submodule or python packages, you may need to update your dependencies.</p> <p>Nevertheless it is strongly recommended to remove the dependency on Google repos and use the built-in <code>frequenz.api.common.v1.types.Decimal</code> instead if your project only uses the <code>Decimal</code> type from it too.</p> </li> <li> <p>Voltage metrics have been renamed from <code>METRIC_VOLTAGE_PHASE_[1|2|3]</code> to <code>METRIC_VOLTAGE_PHASE_[1|2|3]_N</code>.</p> </li> <li> <p>The variants in the enum <code>Metric</code> have been renumberd due to the addition of line-to-line voltages.</p> </li> <li> <p>Current metrics have been renamed: <code>METRIC_AC_APPARENT_CURRENT</code> -> <code>METRIC_AC_CURRENT</code> <code>METRIC_AC_APPARENT_CURRENT_PHASE_[1|2|3]</code> -> <code>METRIC_AC_CURRENT_PHASE_[1|2|3]</code></p> </li> <li> <p>Metrics for Total Harmonic Distortion have been un-abbreviated: <code>METRIC_AC_THD_CURRENT</code> -> <code>METRIC_AC_TOTAL_HARMONIC_DISTORTION_CURRENT</code> <code>METRIC_AC_THD_CURRENT_PHASE_[1|2|3]</code> -> <code>METRIC_AC_TOTAL_HARMONIC_DISTORTION_CURRENT_PHASE_[1|2|3]</code></p> </li> <li> <p>Renamed <code>SimpleMetricSample</code> to <code>SimpleMetricValue</code>, because it does not contain a timestamp, so it does not represent a sample but a value.</p> </li> <li> <p>Renamed <code>AggregatedMetricSample</code> to <code>AggregatedMetricValue</code>, because it does not contain a timestamp, so it does not represent a sample but a value.</p> </li> <li> <p>Renamed <code>MetricSampleVariant</code> to <code>MetricValueVariant</code>.</p> </li> <li> <p>Rename <code>MetricSample.sample</code> to <code>MetricSample.value</code>.</p> </li> <li> <p>Rename <code>SensorMetricSample.sample</code> to <code>SensorMetricSample.value</code>.</p> </li> </ul> <h2>New Features</h2> <ul> <li> <p>Added a <code>Frequenz.api.common.v1.types.Decimal</code> type, compatible with <code>google.type.Decimal</code>.</p> </li> <li> <p>The following new metrics have been added:</p> <ul> <li><code>METRIC_VOLTAGE_PHASE_1_PHASE_2</code></li> <li><code>METRIC_VOLTAGE_PHASE_2_PHASE_3</code></li> <li><code>METRIC_VOLTAGE_PHASE_3_PHASE_1</code></li> </ul> </li> </ul> <h2>What's Changed</h2> <ul> <li>Clear release notes by <a href="https://github.com/tiyash-basu-frequenz"><code>@tiyash-basu-frequenz</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/192">frequenz-floss/frequenz-api-common#192</a></li> <li>Remove dependency on <code>googleapis</code> by <a href="https://github.com/llucax"><code>@llucax</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/187">frequenz-floss/frequenz-api-common#187</a></li> <li>Bump the optional group with 3 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/pull/194">frequenz-floss/frequenz-api-common#194</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/08538ce91ebec107668628c14498fa0ae00253ad"><code>08538ce</code></a> Cleanup release notes for release v0.6.0 (<a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/issues/212">#212</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/497893186322abcd64d0f42cff337a36a367ace9"><code>4978931</code></a> Cleanup release notes for release v0.6.0</li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/af97c706663634f8691575a6ff8555094cc6bea8"><code>af97c70</code></a> Rename <code>[Simple|Aggregated]MetricSample</code> to <code>[Simple|Aggregated]MetricValue</code> ...</li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/9ccb5b631e45df213c61d64baa9dea2a6de2be80"><code>9ccb5b6</code></a> Rename <code>SensorMetricSample.sample</code> to <code>SensorMetricSample.value</code></li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/5c0214db24e69aa7d8daac4ff8408cbcddb3c013"><code>5c0214d</code></a> Rename <code>MetricSample.sample</code> to <code>MetricSample.value</code></li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/fbcc68bb12f3a75737c3691760e3c7d11da0b76f"><code>fbcc68b</code></a> Rename <code>MetricSampleVariant</code> to <code>MetricValueVariant</code></li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/cb6cc7503612689f13323bfe76863681a89fe8d2"><code>cb6cc75</code></a> Rename <code>AggregatedMetricSample</code> to <code>AggregatedMetricValue</code></li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/56ed2312c7beb05235d9ef0b0b14cf3eb1857fe7"><code>56ed231</code></a> Rename <code>SimpleMetricSample</code> to <code>SimpleMetricValue</code></li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/3a396c0523988eb4252481444dead7c69cd629b0"><code>3a396c0</code></a> Unabbreviate <code>THD</code> in the Metric enum (<a href="https://redirect.github.com/frequenz-floss/frequenz-api-common/issues/209">#209</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-api-common/commit/8f06c7bb2b949338f1185013315f5147b631668f"><code>8f06c7b</code></a> Unabbreviate <code>THD</code> in the Metric enum</li> <li>Additional commits viewable in <a href="https://github.com/frequenz-floss/frequenz-api-common/compare/v0.5.3...v0.6.0">compare view</a></li> </ul> </details> <br /> Updates `frequenz-client-base` to 0.3.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/frequenz-floss/frequenz-client-base-python/releases">frequenz-client-base's releases</a>.</em></p> <blockquote> <h2>v0.3.0</h2> <h1>Frequenz Client Base Library Release Notes</h1> <h2>Summary</h2> <p>This release updates the minimum required <code>frequenz-channels</code> version is updated to v1.0.0-rc1. This is a breaking change, because the channels API has changed.</p> <h2>Upgrading</h2> <p>Follow the upgrading instructions from the new channel release: <a href="https://github.com/frequenz-floss/frequenz-channels-python/releases/tag/v1.0.0-rc.1">v1.0.0-rc1</a>.</p> <h2>What's Changed</h2> <ul> <li>Don't create nox sessions twice in cross-arch tests by <a href="https://github.com/llucax"><code>@llucax</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/pull/34">frequenz-floss/frequenz-client-base-python#34</a></li> <li>Clear release notes by <a href="https://github.com/llucax"><code>@llucax</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/pull/33">frequenz-floss/frequenz-client-base-python#33</a></li> <li>Update minimum <code>frequenz-channels</code> version to <code>v1.0.0-rc1</code> by <a href="https://github.com/shsms"><code>@shsms</code></a> in <a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/pull/35">frequenz-floss/frequenz-client-base-python#35</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/frequenz-floss/frequenz-client-base-python/compare/v0.2.1...v0.3.0">https://github.com/frequenz-floss/frequenz-client-base-python/compare/v0.2.1...v0.3.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/6230161c22c0ccb3fb61522e6b5b3df9cdca2eaf"><code>6230161</code></a> Update minimum <code>frequenz-channels</code> version to <code>v1.0.0-rc1</code> (<a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/issues/35">#35</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/e21cc53f5ed3219cd171450dedc5179af6fa5d88"><code>e21cc53</code></a> Update RELEASE_NOTES.md and prepare for release v0.3.0</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/31de004f9bfe54519f07ae2baa2d9659c78a1f30"><code>31de004</code></a> Update minimum <code>frequenz-channels</code> version to v1.0.0-rc1</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/97196bde8dbaac648bef3acba5268a05d9f90cdb"><code>97196bd</code></a> Clear release notes (<a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/issues/33">#33</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/1c8d44746c9f341cf12ab99f30286e3f235182f0"><code>1c8d447</code></a> Don't create nox sessions twice in cross-arch tests (<a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/issues/34">#34</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/43584c489bb8bc44068b3a3fef19e6142b3b2fb2"><code>43584c4</code></a> Don't create nox sessions twice in cross-arch tests</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/56954296b4a01aa44fbf856041f12c2f8aa156fa"><code>5695429</code></a> Clear release notes</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/59c03307ce4eacf6214fbd37e7d2c2acdf314b19"><code>59c0330</code></a> Prepare release notes for v0.2.1 (<a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/issues/32">#32</a>)</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/ba211b86e9e6644f0051a0e08e76141efdc82768"><code>ba211b8</code></a> Prepare release notes for v0.2.1</li> <li><a href="https://github.com/frequenz-floss/frequenz-client-base-python/commit/d8c8aa6b3b84eeceaa40894ed38a874bbc9fd7a5"><code>d8c8aa6</code></a> Improve generated docs (<a href="https://redirect.github.com/frequenz-floss/frequenz-client-base-python/issues/31">#31</a>)</li> <li>Additional commits viewable in <a href="https://github.com/frequenz-floss/frequenz-client-base-python/compare/v0.1.0...v0.3.0">compare view</a></li> </ul> </details> <br /> Updates `pydoclint` from 0.3.8 to 0.4.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jsh9/pydoclint/releases">pydoclint's releases</a>.</em></p> <blockquote> <h2>0.4.1</h2> <h2>What's Changed</h2> <ul> <li>Fix double quotes in Literal type hint by <a href="https://github.com/jsh9"><code>@jsh9</code></a> in <a href="https://redirect.github.com/jsh9/pydoclint/pull/123">jsh9/pydoclint#123</a></li> <li>Remove useless argument <code>--src</code> by <a href="https://github.com/jsh9"><code>@jsh9</code></a> in <a href="https://redirect.github.com/jsh9/pydoclint/pull/124">jsh9/pydoclint#124</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jsh9/pydoclint/compare/0.4.0...0.4.1">https://github.com/jsh9/pydoclint/compare/0.4.0...0.4.1</a></p> <h2>0.4.0</h2> <h2>What's Changed</h2> <ul> <li>Include args with different type hints in DOC105 msg by <a href="https://github.com/jsh9"><code>@jsh9</code></a> in <a href="https://redirect.github.com/jsh9/pydoclint/pull/120">jsh9/pydoclint#120</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jsh9/pydoclint/compare/0.3.10...0.4.0">https://github.com/jsh9/pydoclint/compare/0.3.10...0.4.0</a></p> <h2>0.3.10</h2> <h2>What's Changed</h2> <ul> <li>Documenting tool integration by <a href="https://github.com/jamesbraza"><code>@jamesbraza</code></a> in <a href="https://redirect.github.com/jsh9/pydoclint/pull/104">jsh9/pydoclint#104</a></li> <li>Exclude venv folders in flake8 by <a href="https://github.com/jamesbraza"><code>@jamesbraza</code></a> in <a href="https://redirect.github.com/jsh9/pydoclint/pull/116">jsh9/pydoclint#116</a></li> <li>Add option to show filename for each violation msg by <a href="https://github.com/jsh9"><code>@jsh9</code></a> in <a href="https://redirect.github.com/jsh9/pydoclint/pull/119">jsh9/pydoclint#119</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/jamesbraza"><code>@jamesbraza</code></a> made their first contribution in <a href="https://redirect.github.com/jsh9/pydoclint/pull/104">jsh9/pydoclint#104</a></li> <li><a href="https://github.com/gigi-minds-ai"><code>@gigi-minds-ai</code></a> made their first contribution in <a href="https://redirect.github.com/jsh9/pydoclint/pull/118">jsh9/pydoclint#118</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jsh9/pydoclint/compare/0.3.9...0.3.10">https://github.com/jsh9/pydoclint/compare/0.3.9...0.3.10</a></p> <h2>0.3.9</h2> <h2>What's Changed</h2> <ul> <li>Fix false positive DOC203 in property methods by <a href="https://github.com/jsh9"><code>@jsh9</code></a> in <a href="https://redirect.github.com/jsh9/pydoclint/pull/115">jsh9/pydoclint#115</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jsh9/pydoclint/compare/0.3.8...0.3.9">https://github.com/jsh9/pydoclint/compare/0.3.8...0.3.9</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jsh9/pydoclint/blob/main/CHANGELOG.md">pydoclint's changelog</a>.</em></p> <blockquote> <h2>[0.4.1] - 2024-02-17</h2> <ul> <li> <p>Fixed</p> <ul> <li>A bug where using double quotes in Literal type (such as <code>Literal["foo"]</code> could produce a false positive <code>DOC203</code> violation.</li> <li>Removed useless argument <code>--src</code></li> </ul> </li> <li> <p>Full diff</p> <ul> <li><a href="https://github.com/jsh9/pydoclint/compare/0.4.0...0.4.1">https://github.com/jsh9/pydoclint/compare/0.4.0...0.4.1</a></li> </ul> </li> </ul> <h2>[0.4.0] - 2024-02-08</h2> <ul> <li> <p>Changed</p> <ul> <li>Improved the violation message of DOC105: the arguments with inconsistent type hints are now shown in the violation message to make violation correction much easier</li> </ul> </li> <li> <p>Full diff</p> <ul> <li><a href="https://github.com/jsh9/pydoclint/compare/0.3.10...0.4.0">https://github.com/jsh9/pydoclint/compare/0.3.10...0.4.0</a></li> </ul> </li> </ul> <h2>[0.3.10] - 2024-02-07</h2> <ul> <li> <p>Added</p> <ul> <li>A new config option <code>--show-filenames-in-every-violation-message</code> (or <code>-sfn</code>), which makes it more convenient to jump to the corresponding line in IDEs by clicking on the violation message in the terminal</li> </ul> </li> <li> <p>Full diff</p> <ul> <li><a href="https://github.com/jsh9/pydoclint/compare/0.3.9...0.3.10">https://github.com/jsh9/pydoclint/compare/0.3.9...0.3.10</a></li> </ul> </li> </ul> <h2>[0.3.9] - 2024-01-16</h2> <ul> <li> <p>Fixed</p> <ul> <li>False positive violation <code>DOC203</code> when there is no docstring return section for methods with <code>@property</code> decorator</li> </ul> </li> <li> <p>Full diff</p> <ul> <li><a href="https://github.com/jsh9/pydoclint/compare/0.3.8...0.3.9">https://github.com/jsh9/pydoclint/compare/0.3.8...0.3.9</a></li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jsh9/pydoclint/commit/af2c3268119be1701ae0e61ebfc68f84bd120c3c"><code>af2c326</code></a> Update changelog</li> <li><a href="https://github.com/jsh9/pydoclint/commit/3a5e4b02748eb6a3eb1a57665bb8ceef932ea8fb"><code>3a5e4b0</code></a> Remove useless argument <code>--src</code> (<a href="https://redirect.github.com/jsh9/pydoclint/issues/124">#124</a>)</li> <li><a href="https://github.com/jsh9/pydoclint/commit/70eb3c88129d5eb2d3951de225d5e61fa596fd9e"><code>70eb3c8</code></a> Fix double quotes in Literal type hint (<a href="https://redirect.github.com/jsh9/pydoclint/issues/123">#123</a>)</li> <li><a href="https://github.com/jsh9/pydoclint/commit/d2b4b995b1502f85f61c3e8b8768d55e2575026b"><code>d2b4b99</code></a> Include args with different type hints in DOC105 msg (<a href="https://redirect.github.com/jsh9/pydoclint/issues/120">#120</a>)</li> <li><a href="https://github.com/jsh9/pydoclint/commit/fa41757fb29525bfd9ffb71d1a8f5f423e7a3104"><code>fa41757</code></a> Add option to show filename for each violation msg (<a href="https://redirect.github.com/jsh9/pydoclint/issues/119">#119</a>)</li> <li><a href="https://github.com/jsh9/pydoclint/commit/b8b43965303639702120ee8fea75b0a1d07b9251"><code>b8b4396</code></a> Add py312 to CI pipeline</li> <li><a href="https://github.com/jsh9/pydoclint/commit/01893df80dd077217dba7b8f1ea53e0f944e33d1"><code>01893df</code></a> Exclude venv folders in flake8 (<a href="https://redirect.github.com/jsh9/pydoclint/issues/116">#116</a>)</li> <li><a href="https://github.com/jsh9/pydoclint/commit/676847e4de6917ea0e83c585f0fbe0c1293cade7"><code>676847e</code></a> Documenting tool integration (<a href="https://redirect.github.com/jsh9/pydoclint/issues/104">#104</a>)</li> <li><a href="https://github.com/jsh9/pydoclint/commit/75e485b313d1467e56d239841f562cbafe8617c5"><code>75e485b</code></a> Fix false positive DOC203 in property methods (<a href="https://redirect.github.com/jsh9/pydoclint/issues/115">#115</a>)</li> <li><a href="https://github.com/jsh9/pydoclint/commit/55c0fdec67698bee7bba91d2b2481e564a1d6139"><code>55c0fde</code></a> Explain why allow-init-docstring defaults to False</li> <li>Additional commits viewable in <a href="https://github.com/jsh9/pydoclint/compare/0.3.8...0.4.1">compare view</a></li> </ul> </details> <br /> Updates `markdown` from 3.5.1 to 3.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/releases">markdown's releases</a>.</em></p> <blockquote> <h2>Release 3.6</h2> <h3>Changed</h3> <h4>Refactor TOC Sanitation</h4> <ul> <li>All postprocessors are now run on heading content.</li> <li>Footnote references are now stripped from heading content. Fixes <a href="https://redirect.github.com/Python-Markdown/markdown/issues/660">#660</a>.</li> <li>A more robust <code>striptags</code> is provided to convert headings to plain text. Unlike, the <code>markupsafe</code> implementation, HTML entities are not unescaped.</li> <li>The plain text <code>name</code>, rich <code>html</code>, and unescaped raw <code>data-toc-label</code> are saved to <code>toc_tokens</code>, allowing users to access the full rich text content of the headings directly from <code>toc_tokens</code>.</li> <li>The value of <code>data-toc-label</code> is sanitized separate from heading content before being written to <code>name</code>. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from <code>token['data-toc-label']</code> directly.</li> <li>An <code>html.unescape</code> call is made just prior to calling <code>slugify</code> so that <code>slugify</code> only operates on Unicode characters. Note that <code>html.unescape</code> is not run on <code>name</code>, <code>html</code>, or <code>data-toc-label</code>.</li> <li>The functions <code>get_name</code> and <code>stashedHTML2text</code> defined in the <code>toc</code> extension are both <strong>deprecated</strong>. Instead, third party extensions should use some combination of the new functions <code>run_postprocessors</code>, <code>render_inner_html</code> and <code>striptags</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Include <code>scripts/*.py</code> in the generated source tarballs (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1430">#1430</a>).</li> <li>Ensure lines after heading in loose list are properly detabbed (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1443">#1443</a>).</li> <li>Give smarty tree processor higher priority than toc (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1440">#1440</a>).</li> <li>Permit carets (<code>^</code>) and square brackets (<code>]</code>) but explicitly exclude backslashes (<code>\</code>) from abbreviations (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1444">#1444</a>).</li> <li>In attribute lists (<code>attr_list</code>, <code>fenced_code</code>), quoted attribute values are now allowed to contain curly braces (<code>}</code>) (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1414">#1414</a>).</li> </ul> <h2>Release 3.5.2</h2> <h3>Fixed</h3> <ul> <li>Fix type annotations for <code>convertFile</code> - it accepts only bytes-based buffers. Also remove legacy checks from Python 2 (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1400">#1400</a>)</li> <li>Remove legacy import needed only in Python 2 (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1403">#1403</a>)</li> <li>Fix typo that left the attribute <code>AdmonitionProcessor.content_indent</code> unset (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1404">#1404</a>)</li> <li>Fix edge-case crash in <code>InlineProcessor</code> with <code>AtomicString</code> (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1406">#1406</a>).</li> <li>Fix edge-case crash in <code>codehilite</code> with an empty <code>code</code> tag (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1405">#1405</a>).</li> <li>Improve and expand type annotations in the code base (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1401">#1401</a>).</li> <li>Fix handling of bogus comments (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1425">#1425</a>).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md">markdown's changelog</a>.</em></p> <blockquote> <h2>[3.6] -- 2024-03-14</h2> <h3>Changed</h3> <h4>Refactor TOC Sanitation</h4> <ul> <li>All postprocessors are now run on heading content.</li> <li>Footnote references are now stripped from heading content. Fixes <a href="https://redirect.github.com/Python-Markdown/markdown/issues/660">#660</a>.</li> <li>A more robust <code>striptags</code> is provided to convert headings to plain text. Unlike, the <code>markupsafe</code> implementation, HTML entities are not unescaped.</li> <li>The plain text <code>name</code>, rich <code>html</code>, and unescaped raw <code>data-toc-label</code> are saved to <code>toc_tokens</code>, allowing users to access the full rich text content of the headings directly from <code>toc_tokens</code>.</li> <li>The value of <code>data-toc-label</code> is sanitized separate from heading content before being written to <code>name</code>. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from <code>token['data-toc-label']</code> directly.</li> <li>An <code>html.unescape</code> call is made just prior to calling <code>slugify</code> so that <code>slugify</code> only operates on Unicode characters. Note that <code>html.unescape</code> is not run on <code>name</code>, <code>html</code>, or <code>data-toc-label</code>.</li> <li>The functions <code>get_name</code> and <code>stashedHTML2text</code> defined in the <code>toc</code> extension are both <strong>deprecated</strong>. Instead, third party extensions should use some combination of the new functions <code>run_postprocessors</code>, <code>render_inner_html</code> and <code>striptags</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Include <code>scripts/*.py</code> in the generated source tarballs (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1430">#1430</a>).</li> <li>Ensure lines after heading in loose list are properly detabbed (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1443">#1443</a>).</li> <li>Give smarty tree processor higher priority than toc (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1440">#1440</a>).</li> <li>Permit carets (<code>^</code>) and square brackets (<code>]</code>) but explicitly exclude backslashes (<code>\</code>) from abbreviations (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1444">#1444</a>).</li> <li>In attribute lists (<code>attr_list</code>, <code>fenced_code</code>), quoted attribute values are now allowed to contain curly braces (<code>}</code>) (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1414">#1414</a>).</li> </ul> <h2>[3.5.2] -- 2024-01-10</h2> <h3>Fixed</h3> <ul> <li>Fix type annotations for <code>convertFile</code> - it accepts only bytes-based buffers. Also remove legacy checks from Python 2 (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1400">#1400</a>)</li> <li>Remove legacy import needed only in Python 2 (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1403">#1403</a>)</li> <li>Fix typo that left the attribute <code>AdmonitionProcessor.content_indent</code> unset (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1404">#1404</a>)</li> <li>Fix edge-case crash in <code>InlineProcessor</code> with <code>AtomicString</code> (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1406">#1406</a>).</li> <li>Fix edge-case crash in <code>codehilite</code> with an empty <code>code</code> tag (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1405">#1405</a>).</li> <li>Improve and expand type annotations in the code base (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1401">#1401</a>).</li> <li>Fix handling of bogus comments (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1425">#1425</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Python-Markdown/markdown/commit/e524b8fe938738cb4492411a34cce89051cb9695"><code>e524b8f</code></a> Bump version to 3.6</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/3d8afc6f89e169522f44c1bbec15f66dc359eccb"><code>3d8afc6</code></a> Allow attr_list quoted values to contain curly braces</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/9edba85fc14f034b7109534220702bf60178ff15"><code>9edba85</code></a> Refactor abbr escaping</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/e4ab4a610edc6332ce81a53aa4ae6f97516ce461"><code>e4ab4a6</code></a> Refactor TOC sanitation</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/a18765c25cccab23f400edeac94d20f4be00492b"><code>a18765c</code></a> Explicitly omit carot and backslash from abbr</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/421f1e88ff4661b4433b97ec57b040a2a74e5aed"><code>421f1e8</code></a> Give smarty tree processor higher priority than toc</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/c334a3e47e6565469344154f966cf0eb9aca0de3"><code>c334a3e</code></a> Ensure lines after heading in loose list are properly detabbed</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/ea92856855a6314488acb121f21f8fa02860e008"><code>ea92856</code></a> Update the license template so GitHub can detect it</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/a2effd6d5191808c8b2e347965f6fcf4aa709e78"><code>a2effd6</code></a> Disable mkdocstrings show_symbol_type_toc option to work around searching iss...</li> <li><a href="https://github.com/Python-Markdown/markdown/commit/91f9a1205d32f3bc6a27ca5f993409c3b97c1931"><code>91f9a12</code></a> Restore Attribute symbol type in mkdocstrings template</li> <li>Additional commits viewable in <a href="https://github.com/Python-Markdown/markdown/compare/3.5.1...3.6">compare view</a></li> </ul> </details> <br /> Updates `mkdocs-material` from 9.5.3 to 9.5.18 <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.18</h2> <ul> <li>Refactored tooltips implementation to fix positioning issues</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7044">#7044</a>: Rendering glitch when hovering contributor avatar in Chrome</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7043">#7043</a>: Highlighted lines in code blocks cutoff on mobile</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6910">#6910</a>: Incorrect position of tooltip for page status in sidebar</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6760">#6760</a>: Incorrect position and overly long tooltip in tables</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6488">#6488</a>: Incorrect position and cutoff tooltip in content tabs</li> </ul> <h2>mkdocs-material-9.5.17</h2> <ul> <li>Updated Serbian translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7003">#7003</a>: Confusing keyboard interaction for palette toggle</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7001">#7001</a>: Blog posts now show time by default (9.5.16 regression)</li> <li>Fixed edge case in backport of social plugin font loading logic</li> </ul> <p>Thanks to <a href="https://github.com/stcksmsh"><code>@stcksmsh</code></a> for their contributions.</p> <h2>mkdocs-material-9.5.16</h2> <ul> <li>Updated Russian translations</li> <li>Improved error handling and reporting in social plugin</li> <li>Improved error handling and reporting in privacy plugin</li> <li>Fixed blog plugin not allowing to use time in format strings</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6983">#6983</a>: Social plugin crashes because of Google Fonts API change</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a>, <a href="https://github.com/Guts"><code>@Guts</code></a>, <a href="https://github.com/szg-alex-payne"><code>@szg-alex-payne</code></a> and <a href="https://github.com/natakazakova"><code>@natakazakova</code></a> for their contributions</p> <h2>mkdocs-material-9.5.15</h2> <ul> <li>Reverted fix for transparent iframes (9.5.14)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6929">#6929</a>: Interference of social plugin and auto dark mode</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6938">#6938</a>: Giscus shows dark background in light mode (9.5.14 regression)</li> </ul> <h2>mkdocs-material-9.5.14</h2> <ul> <li>Added support for hiding versions from selector when using mike</li> <li>Added init system to improve signal handling in Docker image</li> <li>Fixed edge cases in exclusion logic of info plugin</li> <li>Fixed inability to reset pipeline in search plugin</li> <li>Fixed syntax error in Finnish translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6917">#6917</a>: UTF-8 encoding problems in blog plugin on Windows</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6889">#6889</a>: Transparent iframes get background color</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a>, <a href="https://github.com/yubiuser"><code>@yubiuser</code></a> and <a href="https://github.com/todeveni"><code>@todeveni</code></a> for their contributions</p> <h2>mkdocs-material-9.5.13</h2> <ul> <li>Updated Slovak translations</li> <li>Improved info plugin interop with projects plugin</li> <li>Improved info plugin inclusion/exclusion logic</li> <li>Fixed info plugin not gathering files recursively</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6750">#6750</a>: Ensure info plugin packs up all necessary files</li> </ul> <p>Thanks to <a href="https://github.com/kamilkrzyskow"><code>@kamilkrzyskow</code></a> and <a href="https://github.com/scepka"><code>@scepka</code></a> for their contributions</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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.18 (2024-04-16)</p> <ul> <li>Refactored tooltips implementation to fix positioning issues</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7044">#7044</a>: Rendering glitch when hovering contributor avatar in Chrome</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7043">#7043</a>: Highlighted lines in code blocks cutoff on mobile</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6910">#6910</a>: Incorrect position of tooltip for page status in sidebar</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6760">#6760</a>: Incorrect position and overly long tooltip in tables</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6488">#6488</a>: Incorrect position and cutoff tooltip in content tabs</li> </ul> <p>mkdocs-material-9.5.17+insiders-4.53.6 (2024-04-05)</p> <ul> <li>Ensure working directory is set for projects when using projects plugin</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6970">#6970</a>: Incorrect relative paths in git submodules with projects plugin</li> </ul> <p>mkdocs-material-9.5.17+insiders-4.53.5 (2024-04-02)</p> <ul> <li>Fixed social plugin crashing when no colors are specified in palettes</li> </ul> <p>mkdocs-material-9.5.17 (2024-04-02)</p> <ul> <li>Updated Serbian translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7003">#7003</a>: Confusing keyboard interaction for palette toggle</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7001">#7001</a>: Blog posts now show time by default (9.5.16 regression)</li> <li>Fixed edge case in backport of social plugin font loading logic</li> </ul> <p>mkdocs-material-9.5.16+insiders-4.53.4 (2024-03-31)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6973">#6973</a>: Escaping issue in tags extra files deprecation helper</li> </ul> <p>mkdocs-material-9.5.16 (2024-03-31)</p> <ul> <li>Updated Russian translations</li> <li>Improved error handling and reporting in social plugin</li> <li>Improved error handling and reporting in privacy plugin</li> <li>Fixed blog plugin not allowing to use time in format strings</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6983">#6983</a>: Social plugin crashes because of Google Fonts API change</li> </ul> <p>mkdocs-material-9.5.15+insiders-4.53.3 (2024-03-23)</p> <ul> <li>Added support for font variants in social plugin</li> <li>Improved resilience of font resolution in social plugin</li> <li>Fixed tag listing sometimes not being auto-populated</li> <li>Fixed tag listing scope not being correctly resolved</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6941">#6941</a>: Meta plugin adding duplicate entries</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6928">#6928</a>: Social plugin crashes for some fonts</li> </ul> <p>mkdocs-material-9.5.15 (2024-03-23)</p> <ul> <li>Reverted fix for transparent iframes (9.5.14)</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6929">#6929</a>: Interference of social plugin and auto dark mode</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/3b592abc2108003defb716bc21519ee5ec91ae89"><code>3b592ab</code></a> Prepare 9.5.18 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/f028004c597bfe6d15da08b9296bd96523046c5e"><code>f028004</code></a> Merge pull request <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7045">#7045</a> from squidfunk/refactor/tooltip-positioning</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/29658ed9709601a3eda024ac51bd652a37d9c7f4"><code>29658ed</code></a> Merge branch 'master' into refactor/tooltip-positioning</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/851e5bb1941545a35c9a02954efa6380c671aeee"><code>851e5bb</code></a> Fixed rendering glitch when hovering contributor avatar</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/599193edfae0d5c879788115075ef7a1eef2e266"><code>599193e</code></a> Fixed overly long tooltips</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/e15518cfa588d3dfb8113c1ba90f2c0bc5c02fce"><code>e15518c</code></a> Refactored tooltips</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/4eb1a4393741b1ecf8019dd53292b7a4d02e16f5"><code>4eb1a43</code></a> Added missing CSS for highlight fix</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/5707773ce33d58aed0702232b93fadcd4d864765"><code>5707773</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/9d33f8aaa6089708d5f4d377dfeb8e8c69e990d2"><code>9d33f8a</code></a> Fixed highlighted lines in code blocks being cutoff on mobile</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/cd086110bfd65eb6dfeed8c3a01f500e9cdb7468"><code>cd08611</code></a> Updated dependencies</li> <li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.5.3...9.5.18">compare view</a></li> </ul> </details> <br /> Updates `mkdocstrings[python]` from 0.24.0 to 0.24.3 <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.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> <h2>0.24.2</h2> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.24.2">0.24.2</a> - 2024-04-02</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.1...0.24.2">Compare with 0.24.1</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Support HTML toc labels with Python-Markdown 3.6+ (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/c0d009000678a2ccbfb0c8adfeff3dc83845ee41">c0d0090</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/143">Issue-mkdocstrings/python-143</a></li> </ul> <h2>0.24.1</h2> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.24.1">0.24.1</a> - 2024-02-27</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.0...0.24.1">Compare with 0.24.0</a><!-- raw HTML omitted --></p> <h3>Code Refactoring</h3> <ul> <li>Support new pymdownx-highlight options (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/a7a29079aebcd79be84ac38ce275797920e4c75e">a7a2907</a> by Timothée Mazzucotelli).</li> <li>Backup anchors with id and no href, for compatibility with autorefs' Markdown anchors (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/b5236b4333ebde9648c84f6e4b0f4c2b10f3ecd4">b5236b4</a> by Timothée Mazzucotelli). [PR-<a href="https://redirect.github.com/mkdocstrings/mkdocstrings/issues/651">#651</a>](<a href="https://redirect.github.com/mkdocstrings/mkdocstrings/pull/651">mkdocstrings/mkdocstrings#651</a>), <a href="https://redirect.github.com/mkdocstrings/autorefs/pull/39">Related-to-mkdocs-autorefs#39</a>, Co-authored-by: Oleh Prypin <a href="mailto:[email protected]">[email protected]</a></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.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> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.24.2">0.24.2</a> - 2024-04-02</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.1...0.24.2">Compare with 0.24.1</a><!-- raw HTML omitted --></p> <h3>Bug Fixes</h3> <ul> <li>Support HTML toc labels with Python-Markdown 3.6+ (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/c0d009000678a2ccbfb0c8adfeff3dc83845ee41">c0d0090</a> by Timothée Mazzucotelli). <a href="https://redirect.github.com/mkdocstrings/python/issues/143">Issue-mkdocstrings/python-143</a></li> </ul> <h2><a href="https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.24.1">0.24.1</a> - 2024-02-27</h2> <p><!-- raw HTML omitted --><a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.0...0.24.1">Compare with 0.24.0</a><!-- raw HTML omitted --></p> <h3>Code Refactoring</h3> <ul> <li>Support new pymdownx-highlight options (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/a7a29079aebcd79be84ac38ce275797920e4c75e">a7a2907</a> by Timothée Mazzucotelli).</li> <li>Backup anchors with id and no href, for compatibility with autorefs' Markdown anchors (<a href="https://github.com/mkdocstrings/mkdocstrings/commit/b5236b4333ebde9648c84f6e4b0f4c2b10f3ecd4">b5236b4</a> by Timothée Mazzucotelli). [PR-<a href="https://redirect.github.com/mkdocstrings/mkdocstrings/issues/651">#651</a>](<a href="https://redirect.github.com/mkdocstrings/mkdocstrings/pull/651">mkdocstrings/mkdocstrings#651</a>), <a href="https://redirect.github.com/mkdocstrings/autorefs/pull/39">Related-to-mkdocs-autorefs#39</a>, Co-authored-by: Oleh Prypin <a href="mailto:[email protected]">[email protected]</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/828bd5921dba610e0ce33be780ac16af0eb0bef6"><code>828bd59</code></a> chore: Prepare release 0.24.3</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/7fe3e5f28239c08094fb656728369998f52630ea"><code>7fe3e5f</code></a> fix: Support HTML toc labels with Python-Markdown 3.6+ (uncomment code...)</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/7b9827c97e396bd76f77315d40baa6596ee8e17e"><code>7b9827c</code></a> chore: Prepare release 0.24.2</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/17bfc87a8d23de5585b4630fd8c2b4595ac88a36"><code>17bfc87</code></a> chore: Use PEP 440 versioning scheme for changelog</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/024ac41024a19cbf45f4d127c75cb709134683db"><code>024ac41</code></a> ci: Ignore mypy warning</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/c0d009000678a2ccbfb0c8adfeff3dc83845ee41"><code>c0d0090</code></a> fix: Support HTML toc labels with Python-Markdown 3.6+</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/ccbbbf1c74a2d29c1ce290ba4a3649c93a0fb27e"><code>ccbbbf1</code></a> chore: Template upgrade</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/56cf7d50f7982b06c70390c77385d76eae6d80ce"><code>56cf7d5</code></a> docs: List VBA handler</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/9e1bf62a06ba72f7ec4d35e2fb2a448b9daebdd0"><code>9e1bf62</code></a> docs: Fix link to Griffe extension</li> <li><a href="https://github.com/mkdocstrings/mkdocstrings/commit/f071d5deed49e6a1cb06e227609b9d50511c11ab"><code>f071d5d</code></a> chore: Switch to Copier UV template</li> <li>Additional commits viewable in <a href="https://github.com/mkdocstrings/mkdocstrings/compare/0.24.0...0.24.3">compare view</a></li> </ul> </details> <br /> Updates `mypy` from 1.8.0 to 1.9.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's changelog</a>.</em></p> <blockquote> <h1>Mypy Release Notes</h1> <h2>Mypy 1.9</h2> <p>We’ve just uploaded mypy 1.9 to the Python Package Index (<a href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:</p> <pre><code>python3 -m pip install -U mypy </code></pre> <p>You can read the full documentation for this release on <a href="http://mypy.readthedocs.io">Read the Docs</a>.</p> <h4>Breaking Changes</h4> <p>Because the version of typeshed we use in mypy 1.9 doesn't support 3.7, neither does mypy 1.9. (Jared Hance, PR <a href="https://redirect.github.com/python/mypy/pull/16883">16883</a>)</p> <p>We are planning to enable <a href="https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-local-partial-types">local partial types</a> (enabled via the <code>--local-partial-types</code> flag) later this year by default. This change was announced years ago, but now it's finally happening. This is a major backward-incompatible change, so we'll probably include it as part of the upcoming mypy 2.0 release. This makes daemon and non-daemon mypy runs have the same behavior by default.</p> <p>Local partial types can also be enabled in the mypy config file:</p> <pre><code>local_partial_types = True </code></pre> <p>We are looking at providing a tool to make it easier to migrate projects to use <code>--local-partial-types</code>, but it's not yet clear whether this is practical. The migration usually involves adding some explicit type annotations to module-level and class-level variables.</p> <h4>Basic Support for Type Parameter Defaults (PEP 696)</h4> <p>This release contains new experimental support for type parameter defaults (<a href="https://peps.python.org/pep-0696">PEP 696</a>). Please try it out! This feature was contributed by Marc Mueller.</p> <p>Since this feature will be officially introduced in the next Python feature release (3.13), you will need to import <code>TypeVar</code>, <code>ParamSpec</code> or <code>TypeVarTuple</code> from <code>typing_extensions</code> to use defaults for now.</p> <p>This example adapted from the PEP defines a default for <code>BotT</code>:</p> <pre lang="python"><code>from typing import Generic from typing_extensions import TypeVar <p>class Bot: ...</p> <p>BotT = TypeVar("BotT", bound=Bot, default=Bot) </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/5ff46f8b3706d005fabab2227ec84476d605bfd4"><code>5ff46f8</code></a> Remove +dev.</li> <li><a href="https://github.com/python/mypy/commit/155909ad1bde747d89fcd091621d7cd9b1e15818"><code>155909a</code></a> [Release 1.9] Unsupport targetting 3.7. (<a href="https://redirect.github.com/python/mypy/issues/16883">#16883</a>) (<a href="https://redirect.github.com/python/mypy/issues/16900">#16900</a>)</li> <li><a href="https://github.com/python/mypy/commit/6615cabe57c661114d0ed44784f67301619faadf"><code>6615cab</code></a> [Release 1.9] Stubtest: ignore a new protocol dunder (<a href="https://redirect.github.com/python/mypy/issues/16895">#16895</a>) (<a href="https://redirect.github.com/python/mypy/issues/16899">#16899</a>)</li> <li><a href="https://github.com/python/mypy/commit/b956e6a57c4dd36d670097a3eccf7dc092348fec"><code>b956e6a</code></a> stubtest: Private parameters can be omitted (<a href="https://redirect.github.com/python/mypy/issues/16507">#16507</a>)</li> <li><a href="https://github.com/python/mypy/commit/ede0b200a10186a095378516d840389f8da4edd4"><code>ede0b20</code></a> Bump ruff to 0.2.0 (<a href="https://redirect.github.com/python/mypy/issues/16870">#16870</a>)</li> <li><a href="https://github.com/python/mypy/commit/7bdd61f2d89ecd2cee4ebe6eb2375a72b29f0b10"><code>7bdd61f</code></a> stubgen: Fix crash on star unpack of TypeVarTuple (<a href="https://redirect.github.com/python/mypy/issues/16869">#16869</a>)</li> <li><a href="https://github.com/python/mypy/commit/8c2ef9dde8aa803e04038427ad84f09664d9d93f"><code>8c2ef9d</code></a> Update hashes in sync-typeshed.py following recent typeshed sync</li> <li><a href="https://github.com/python/mypy/commit/0dd4b6f7576be3d3857fecefb298decdf0711ac7"><code>0dd4b6f</code></a> Revert use of <code>ParamSpec</code> for <code>functools.wraps</code></li> <li><a href="https://github.com/python/mypy/commit/dd12a2d810f2bbe7a8686674397043b18575480f"><code>dd12a2d</code></a> Revert typeshed ctypes change</li> <li><a href="https://github.com/python/mypy/commit/d132999ba631b332d0684173897e5947591f4acc"><code>d132999</code></a> Revert sum literal integer change (<a href="https://redirect.github.com/python/mypy/issues/13961">#13961</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.8.0...1.9.0">compare view</a></li> </ul> </details> <br /> Updates `types-markdown` from 3.5.0.20240129 to 3.6.0.20240316 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/python/typeshed/commits">compare view</a></li> </ul> </details> <br /> Updates `pylint` from 3.0.3 to 3.1.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pylint-dev/pylint/commit/053c2c3a25f97f043e10cdd41d2609e495a68f57"><code>053c2c3</code></a> Bump pylint to 3.1.0, update changelog</li> <li><a href="https://github.com/pylint-dev/pylint/commit/c954636f5fdef9ae05a328704db19dd44f37aac2"><code>c954636</code></a> Upgrade release documentation, and contributors.txt</li> <li><a href="https://github.com/pylint-dev/pylint/commit/7300ed2687701bbcb02eac9baa7f5c2197cf1397"><code>7300ed2</code></a> Discover <code>.pyi</code> files (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9241">#9241</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/9dbf3df4d5259061d204d44111f6c6b8d390f635"><code>9dbf3df</code></a> Merge maintenance 3.0.x into main following 3.0.4 release (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9459">#9459</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/28e89b05c67781806011f052177214de4d2abefc"><code>28e89b0</code></a> Remove changelog fragments pertaining to 3.0.4</li> <li><a href="https://github.com/pylint-dev/pylint/commit/4332ea17cca3936e3e390cbe83e30c1bbf35d78d"><code>4332ea1</code></a> Merge branch 'maintenance/3.0.x' into main following 3.0.4 release</li> <li><a href="https://github.com/pylint-dev/pylint/commit/811538121f07173bab6a8a1e0366ed56b020954c"><code>8115381</code></a> Bump pylint to 3.0.4, update changelog (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9458">#9458</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/4bf3524e84682a924e7115d3aaa6942c3d459ad5"><code>4bf3524</code></a> [false-negative] Fix for consider-using-min/max-builtin (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9127">#9127</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/8c24b1e1178e969823220367b0bd1a96182460cf"><code>8c24b1e</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9448">#9448</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/f4996860edb2dc9fd66be2f60a2035cd72b56956"><code>f499686</code></a> Update astroid version to 3.1.0 (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9457">#9457</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pylint-dev/pylint/compare/v3.0.3...v3.1.0">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 8.0.0 to 8.1.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.1.1</h2> <h1>pytest 8.1.1 (2024-03-08)</h1> <p>::: {.note} ::: {.title} Note :::</p> <p>This release is not a usual bug fix release -- it contains features and improvements, being a follow up to <code>8.1.0</code>, which has been yanked from PyPI. :::</p> <h2>Features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: Added the new <code>consider_namespace_packages</code>{.interpreted-text role="confval"} configuration option, defaulting to <code>False</code>.</p> <p>If set to <code>True</code>, pytest will attempt to identify modules that are part of <a href="https://packaging.python.org/en/latest/guides/packaging-namespace-packages">namespace packages</a> when importing modules.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11653">#11653</a>: Added the new <code>verbosity_test_cases</code>{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity. See <code>Fine-grained verbosity <pytest.fine_grained_verbosity></code>{.interpreted-text role="ref"} for more details.</p> </li> </ul> <h2>Improvements</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10865">#10865</a>: <code>pytest.warns</code>{.interpreted-text role="func"} now validates that <code>warnings.warn</code>{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}. Currently in Python it is possible to use other types, however this causes an exception when <code>warnings.filterwarnings</code>{.interpreted-text role="func"} is used to filter those warnings (see [CPython <a href="https://redirect.github.com/pytest-dev/pytest/issues/103577">#103577</a>](<a href="https://redirect.github.com/python/cpython/issues/103577">python/cpython#103577</a>) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11311">#11311</a>: When using <code>--override-ini</code> for paths in invocations without a configuration file defined, the current working directory is used as the relative directory.</p> <p>Previoulsy this would raise an <code>AssertionError</code>{.interpreted-text role="class"}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: <code>--import-mode=importlib <import-mode-importlib></code>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :py<code>sys.path</code>{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.</p> <p>This means that installed packages will be imported under their canonical name if possible first, for example <code>app.core.models</code>, instead of having the module name always be derived from their path (for example <code>.env310.lib.site_packages.app.core.models</code>).</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11801">#11801</a>: Added the <code>iter_parents() <_pytest.nodes.Node.iter_parents></code>{.interpreted-text role="func"} helper method on nodes. It is similar to <code>listchain <_pytest.nodes.Node.listchain></code>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11850">#11850</a>: Added support for <code>sys.last_exc</code>{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11962">#11962</a>: In case no other suitable candidates for configuration file are found, a <code>pyproject.toml</code> (even without a <code>[tool.pytest.ini_options]</code> table) will be considered as the configuration file and define the <code>rootdir</code>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11978">#11978</a>: Add <code>--log-file-mode</code> option to the logging plugin, enabling appending to log-files. This option accepts either <code>"w"</code> or <code>"a"</code> and defaults to <code>"w"</code>.</p> <p>Previously, the mode was hard-coded to be <code>"w"</code> which truncates the file before logging.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/81653ee385f4c62ee7e64502a7b7530096553115"><code>81653ee</code></a> Adjust changelog manually for 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e60b4b9ed80f761e3a51868a01338911a567b093"><code>e60b4b9</code></a> Prepare release version 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/15fbe57c44fed6737f5c6dad99cf4437b6755a6c"><code>15fbe57</code></a> [8.1.x] Revert legacy path removals (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12093">#12093</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/86c3aab005a98de7e12ee5e37782837f5db70ac3"><code>86c3aab</code></a> [8.1.x] Do not import duplicated modules with --importmode=importlib (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12077">#12077</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/5b82b0cd20c3adcc21f34ae30c595c7355a87e23"><code>5b82b0c</code></a> [8.1.x] Yank version 8.1.0 (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12076">#12076</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0a536810dc5f51dac99bdb90dde06704b5aa034e"><code>0a53681</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12054">#12054</a> from pytest-dev/release-8.1.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/b9a167f9bbbd6eda4f0360c5bf5b7f5af50f2bc4"><code>b9a167f</code></a> Prepare release version 8.1.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/00043f7f1047b29fdaeb18e169fe9d6146988cb8"><code>00043f7</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12038">#12038</a> from bluetech/fixtures-rm-arg2index</li> <li><a href="https://github.com/pytest-dev/pytest/commit/f4e10251a4a003495b5228cea421d4de5fa0ce89"><code>f4e1025</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12048">#12048</a> from bluetech/fixture-teardown-excgroup</li> <li><a href="https://github.com/pytest-dev/pytest/commit/43492f5707b38dab9b62dfb829bb41a13579629f"><code>43492f5</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12051">#12051</a> from jakkdl/test_debugging_pythonbreakpoint</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/8.0.0...8.1.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](https://github.com/pytest-dev/pytest-mock/issues/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](https://github.com/pytest-dev/pytest-mock/issues/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](https://github.com/pytest-dev/pytest-mock/issues/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](https://github.com/pytest-dev/pytest-mock/issues/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…
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 /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-mock&package-manager=pip&previous-version=3.11.1&new-version=3.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Seumas Goddard <[email protected]>
…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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.12.0 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> </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> </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.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-mock&package-manager=pip&previous-version=3.12.0&new-version=3.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/black/23.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/black/23.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/black/23.3.0/23.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/black/23.3.0/23.12.1?slim=true)](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` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/flake8-bugbear/23.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/flake8-bugbear/23.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/flake8-bugbear/23.3.12/23.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/flake8-bugbear/23.3.12/23.12.2?slim=true)](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` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/flake8-builtins/2.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/flake8-builtins/2.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/flake8-builtins/2.1.0/2.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/flake8-builtins/2.1.0/2.5.0?slim=true)](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` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/flake8-comprehensions/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/flake8-comprehensions/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/flake8-comprehensions/3.13.0/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/flake8-comprehensions/3.13.0/3.14.0?slim=true)](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` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/flake8-pytest-style/1.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/flake8-pytest-style/1.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/flake8-pytest-style/1.6.0/1.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/flake8-pytest-style/1.6.0/1.7.2?slim=true)](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` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/isort/5.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/isort/5.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/isort/5.11.5/5.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/isort/5.11.5/5.13.2?slim=true)](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` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/mypy/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/mypy/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/mypy/1.4.1/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/mypy/1.4.1/1.10.0?slim=true)](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` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest-mock/3.11.1/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-mock/3.11.1/3.14.0?slim=true)](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` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/responses/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/responses/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/responses/0.23.3/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/responses/0.23.3/0.25.0?slim=true)](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==-->
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/mypy/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/mypy/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/mypy/1.4.1/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/mypy/1.4.1/1.10.0?slim=true)](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` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest-mock/3.11.1/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-mock/3.11.1/3.14.0?slim=true)](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` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/responses/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/responses/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/responses/0.23.3/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/responses/0.23.3/0.25.0?slim=true)](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>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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.34.2` -> `2.38.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/aws-lambda-powertools/2.38.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/aws-lambda-powertools/2.38.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/aws-lambda-powertools/2.34.2/2.38.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/aws-lambda-powertools/2.34.2/2.38.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [awswrangler](https://aws-sdk-pandas.readthedocs.io/) ([source](https://togithub.com/aws/aws-sdk-pandas)) | `3.6.0` -> `3.7.3` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/awswrangler/3.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/awswrangler/3.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/awswrangler/3.6.0/3.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/awswrangler/3.6.0/3.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pandas](https://pandas.pydata.org) ([source](https://togithub.com/pandas-dev/pandas)) | `2.2.1` -> `2.2.2` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pandas/2.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pandas/2.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pandas/2.2.1/2.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pandas/2.2.1/2.2.2?slim=true)](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.12.0` -> `3.14.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest-mock/3.12.0/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-mock/3.12.0/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [tenacity](https://togithub.com/jd/tenacity) | `8.2.3` -> `8.3.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/tenacity/8.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/tenacity/8.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/tenacity/8.2.3/8.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/tenacity/8.2.3/8.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>aws-powertools/powertools-lambda-python (aws-lambda-powertools)</summary> ### [`v2.38.1`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2381---2024-05-17) [Compare Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.38.0...v2.38.1) #### \[v2.38.1] - 2024-05-17 ### [`v2.38.0`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2380---2024-05-17) [Compare Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.37.0...v2.38.0) #### \[v2.38.0] - 2024-05-17 ### [`v2.37.0`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2370---2024-04-18) [Compare Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.36.0...v2.37.0) #### \[v2.37.0] - 2024-04-18 ### [`v2.36.0`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2360---2024-03-27) [Compare Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.35.1...v2.36.0) #### \[v2.36.0] - 2024-03-27 ### [`v2.35.1`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2351---2024-03-08) [Compare Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.35.0...v2.35.1) #### \[v2.35.1] - 2024-03-08 ### [`v2.35.0`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2350---2024-03-06) [Compare Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.34.2...v2.35.0) #### \[v2.35.0] - 2024-03-06 </details> <details> <summary>aws/aws-sdk-pandas (awswrangler)</summary> ### [`v3.7.3`](https://togithub.com/aws/aws-sdk-pandas/releases/tag/3.7.3): AWS SDK for pandas 3.7.3 [Compare Source](https://togithub.com/aws/aws-sdk-pandas/compare/3.7.2...3.7.3) #### Bug fixes 🐛 - Iceberg schema evolution fails for map, array and struct types by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [#​2755](https://togithub.com/aws/aws-sdk-pandas/issues/2755) - trickle down `s3_output` in `athena.to_iceberg` by [@​jaidisido](https://togithub.com/jaidisido) in [#​2767](https://togithub.com/aws/aws-sdk-pandas/issues/2767) - respect order of columns in `to_iceberg` by [@​jaidisido](https://togithub.com/jaidisido) in [#​2768](https://togithub.com/aws/aws-sdk-pandas/issues/2768) - add PyArrow `fixed_size_binary` dtype support by [@​jaidisido](https://togithub.com/jaidisido) in [#​2775](https://togithub.com/aws/aws-sdk-pandas/issues/2775) - Opensearch serverless vector search collections - remove default `_id` by [@​kukushking](https://togithub.com/kukushking) in [#​2784](https://togithub.com/aws/aws-sdk-pandas/issues/2784) - missing keys in `list_to_arrow_table` by [@​kukushking](https://togithub.com/kukushking) in [#​2778](https://togithub.com/aws/aws-sdk-pandas/issues/2778) - prevent `athena.to_iceberg` overwrite to delete table in order to preserve Iceberg transactions history by [@​erwan-simon](https://togithub.com/erwan-simon) in [#​2776](https://togithub.com/aws/aws-sdk-pandas/issues/2776) #### Documentation 📚 - simplify README, remove AWS Glue for Ray references by [@​jaidisido](https://togithub.com/jaidisido) in [#​2750](https://togithub.com/aws/aws-sdk-pandas/issues/2750) - fix YAML formatting in Ray Remote tutorial by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [#​2770](https://togithub.com/aws/aws-sdk-pandas/issues/2770) #### Security Dependency Updates 🛡️ - bump `idna` from 3.6 to 3.7 by [@​dependabot](https://togithub.com/dependabot) in [#​2772](https://togithub.com/aws/aws-sdk-pandas/issues/2772) - bump `aiohttp` from 3.9.3 to 3.9.4 by [@​dependabot](https://togithub.com/dependabot) in [#​2777](https://togithub.com/aws/aws-sdk-pandas/issues/2777) #### New Contributors 👋 - [@​erwan-simon](https://togithub.com/erwan-simon) made their first contribution in [#​2776](https://togithub.com/aws/aws-sdk-pandas/issues/2776) **Full Changelog**: aws/aws-sdk-pandas@3.7.2...3.7.3 ### [`v3.7.2`](https://togithub.com/aws/aws-sdk-pandas/releases/tag/3.7.2): AWS SDK for pandas 3.7.2 [Compare Source](https://togithub.com/aws/aws-sdk-pandas/compare/3.7.1...3.7.2) #### Features/Enhancements 🚀 - Add support for DeltaLake's DynamoDB lock mechanism by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [#​2705](https://togithub.com/aws/aws-sdk-pandas/issues/2705) #### Bug fixes 🐛 - `wr.athena.to_iceberg` - Insert query has mismatched column types [#​2678](https://togithub.com/aws/aws-sdk-pandas/issues/2678) by [@​GalvFionic](https://togithub.com/GalvFionic) in [#​2715](https://togithub.com/aws/aws-sdk-pandas/issues/2715) - allow `s3_output` in `athena.to_iceberg` by [@​jaidisido](https://togithub.com/jaidisido) in [#​2727](https://togithub.com/aws/aws-sdk-pandas/issues/2727) - replace deprecated `np.split_array` by [@​jaidisido](https://togithub.com/jaidisido) in [#​2735](https://togithub.com/aws/aws-sdk-pandas/issues/2735) - Athena `to_iceberg` fails with non-lowercase column names by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [#​2736](https://togithub.com/aws/aws-sdk-pandas/issues/2736) - Support Ray 2.10 by [@​kukushking](https://togithub.com/kukushking) in [#​2741](https://togithub.com/aws/aws-sdk-pandas/issues/2741) #### New Contributors - [@​GalvFionic](https://togithub.com/GalvFionic) made their first contribution in [#​2715](https://togithub.com/aws/aws-sdk-pandas/issues/2715) **Full Changelog**: aws/aws-sdk-pandas@3.7.1...3.7.2 ### [`v3.7.1`](https://togithub.com/aws/aws-sdk-pandas/releases/tag/3.7.1): AWS SDK for pandas 3.7.1 [Compare Source](https://togithub.com/aws/aws-sdk-pandas/compare/3.7.0...3.7.1) #### Bug fixes 🐛 - fix breaking change in `_create_table` by [@​jaidisido](https://togithub.com/jaidisido) in [https://github.com/aws/aws-sdk-pandas/pull/2711](https://togithub.com/aws/aws-sdk-pandas/pull/2711) - pin pyarrow to version 8 and above by [@​jaidisido](https://togithub.com/jaidisido) in [https://github.com/aws/aws-sdk-pandas/pull/2709](https://togithub.com/aws/aws-sdk-pandas/pull/2709) #### Documentation 📚 - fix `redshift.to_sql` doc indentation error by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [https://github.com/aws/aws-sdk-pandas/pull/2706](https://togithub.com/aws/aws-sdk-pandas/pull/2706) **Full Changelog**: aws/aws-sdk-pandas@3.7.0...3.7.1 ### [`v3.7.0`](https://togithub.com/aws/aws-sdk-pandas/releases/tag/3.7.0): AWS SDK for pandas 3.7.0 [Compare Source](https://togithub.com/aws/aws-sdk-pandas/compare/3.6.0...3.7.0) #### Breaking changes 💥 Lake Formation Governed tables are being phased out and we are dropping support ([#​2692](https://togithub.com/aws/aws-sdk-pandas/issues/2692)). #### Features/Enhancements 🚀 - support parquet client encryption ([#​2642](https://togithub.com/aws/aws-sdk-pandas/issues/2642)) by [@​Marwen94](https://togithub.com/Marwen94) in [https://github.com/aws/aws-sdk-pandas/pull/2674](https://togithub.com/aws/aws-sdk-pandas/pull/2674) #### Bug fixes 🐛 - Index columns removed on s3.to_parquet by [@​robert-schmidtke](https://togithub.com/robert-schmidtke) in [https://github.com/aws/aws-sdk-pandas/pull/2655](https://togithub.com/aws/aws-sdk-pandas/pull/2655) - Missing timezone metadata by [@​kukushking](https://togithub.com/kukushking) in [https://github.com/aws/aws-sdk-pandas/pull/2682](https://togithub.com/aws/aws-sdk-pandas/pull/2682) - remove enforced openpyxl engine constraint by [@​jaidisido](https://togithub.com/jaidisido) in [https://github.com/aws/aws-sdk-pandas/pull/2696](https://togithub.com/aws/aws-sdk-pandas/pull/2696) - Iceberg partitioning not working with partition transform functions by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [https://github.com/aws/aws-sdk-pandas/pull/2694](https://togithub.com/aws/aws-sdk-pandas/pull/2694) - remove awswrangler README from `site-packages` folder by [@​AlJohri](https://togithub.com/AlJohri) in [https://github.com/aws/aws-sdk-pandas/pull/2698](https://togithub.com/aws/aws-sdk-pandas/pull/2698) - indent categories in pyarrow_additional_kwargs correctly by [@​jaidisido](https://togithub.com/jaidisido) in [https://github.com/aws/aws-sdk-pandas/pull/2701](https://togithub.com/aws/aws-sdk-pandas/pull/2701) #### New Contributors - [@​Marwen94](https://togithub.com/Marwen94) made their first contribution in [https://github.com/aws/aws-sdk-pandas/pull/2674](https://togithub.com/aws/aws-sdk-pandas/pull/2674) - [@​AlJohri](https://togithub.com/AlJohri) made their first contribution in [https://github.com/aws/aws-sdk-pandas/pull/2698](https://togithub.com/aws/aws-sdk-pandas/pull/2698) **Full Changelog**: aws/aws-sdk-pandas@3.6.0...3.7.0 </details> <details> <summary>pandas-dev/pandas (pandas)</summary> ### [`v2.2.2`](https://togithub.com/pandas-dev/pandas/compare/v2.2.1...v2.2.2) [Compare Source](https://togithub.com/pandas-dev/pandas/compare/v2.2.1...v2.2.2) </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. </details> <details> <summary>jd/tenacity (tenacity)</summary> ### [`v8.3.0`](https://togithub.com/jd/tenacity/releases/tag/8.3.0) [Compare Source](https://togithub.com/jd/tenacity/compare/8.2.3...8.3.0) ### New Features - Added a new stop function: `stop_before_delay`, which will stop execution if the next sleep time would cause overall delay to exceed the specified delay. Useful for use cases where you have some upper bound on retry times that you must not exceed, so returning before that timeout is preferable than returning after that timeout. ### Bug Fixes - Preserve **defaults** and **kwdefaults** through retry decorator ### Other Notes - Add a "test" extra </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.12.0 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> </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> </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.12.0...v3.14.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-mock&package-manager=pip&previous-version=3.12.0&new-version=3.14.0)](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. Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
mocker.Mock | mocker.MagicMock
types #414