Commit c39421c
authored
deps(python): bump the python-minor group with 4 updates (#51)
Bumps the python-minor group with 4 updates:
[fastapi](https://github.com/fastapi/fastapi),
[pydantic](https://github.com/pydantic/pydantic),
[ruff](https://github.com/astral-sh/ruff) and
[mypy](https://github.com/python/mypy).
Updates `fastapi` from 0.121.2 to 0.122.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/fastapi/fastapi/releases">fastapi's
releases</a>.</em></p>
<blockquote>
<h2>0.122.0</h2>
<h3>Fixes</h3>
<ul>
<li>🐛 Use <code>401</code> status code in security classes when
credentials are missing. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/13786">#13786</a>
by <a
href="https://github.com/YuriiMotov"><code>@YuriiMotov</code></a>.
<ul>
<li>If your code depended on these classes raising the old (less
correct) <code>403</code> status code, check the new docs about how to
override the classes, to use the same old behavior: <a
href="https://fastapi.tiangolo.com/how-to/authentication-error-status-code/">Use
Old 403 Authentication Error Status Codes</a>.</li>
</ul>
</li>
</ul>
<h3>Internal</h3>
<ul>
<li>🔧 Configure labeler to exclude files that start from underscore for
<code>lang-all</code> label. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/14213">#14213</a>
by <a
href="https://github.com/YuriiMotov"><code>@YuriiMotov</code></a>.</li>
<li>👷 Add pre-commit config with local script for permalinks. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/14398">#14398</a>
by <a
href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li>
<li>💄 Use font Fira Code to fix display of Rich panels in docs in
Windows. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/14387">#14387</a>
by <a
href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li>
<li>👷 Add custom pre-commit CI. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/14397">#14397</a>
by <a
href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li>
<li>⬆ Bump actions/checkout from 5 to 6. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/14381">#14381</a>
by <a
href="https://github.com/apps/dependabot"><code>@dependabot[bot]</code></a>.</li>
<li>👷 Upgrade <code>latest-changes</code> GitHub Action and pin
<code>actions/checkout@v5</code>. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/14403">#14403</a>
by <a
href="https://github.com/svlandeg"><code>@svlandeg</code></a>.</li>
<li>🛠️ Add <code>add-permalinks</code> and
<code>add-permalinks-page</code> to <code>scripts/docs.py</code>. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/14033">#14033</a>
by <a
href="https://github.com/YuriiMotov"><code>@YuriiMotov</code></a>.</li>
<li>🔧 Upgrade Material for MkDocs and remove insiders. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/14375">#14375</a>
by <a
href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li>
</ul>
<h2>0.121.3</h2>
<h3>Refactors</h3>
<ul>
<li>♻️ Make the result of <code>Depends()</code> and
<code>Security()</code> hashable, as a workaround for other tools
interacting with these internal parts. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/14372">#14372</a>
by <a
href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li>
</ul>
<h3>Upgrades</h3>
<ul>
<li>⬆️ Bump Starlette to <<code>0.51.0</code>. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/14282">#14282</a>
by <a
href="https://github.com/musicinmybrain"><code>@musicinmybrain</code></a>.</li>
</ul>
<h3>Docs</h3>
<ul>
<li>📝 Add missing hash part. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/14369">#14369</a>
by <a
href="https://github.com/nilslindemann"><code>@nilslindemann</code></a>.</li>
<li>📝 Fix typos in code comments. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/14364">#14364</a>
by <a
href="https://github.com/Edge-Seven"><code>@Edge-Seven</code></a>.</li>
<li>📝 Add docs for using FastAPI Cloud. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/14359">#14359</a>
by <a
href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/fastapi/fastapi/commit/5b0625df96e4ea11b54fcb2a76f21f7ad94764fe"><code>5b0625d</code></a>
🔖 Release version 0.122.0</li>
<li><a
href="https://github.com/fastapi/fastapi/commit/8732c53478513ddd35ae152ff9bf5e6217ed3d99"><code>8732c53</code></a>
📝 Updates release notes</li>
<li><a
href="https://github.com/fastapi/fastapi/commit/a4ef97afd937a8fd180a78e11c3648509e5bc14d"><code>a4ef97a</code></a>
📝 Update release notes</li>
<li><a
href="https://github.com/fastapi/fastapi/commit/51ad909ffe9f5b2d5c9315554e75e39a8a2d725c"><code>51ad909</code></a>
🐛 Use <code>401</code> status code in security classes when credentials
are missing (<a
href="https://redirect.github.com/fastapi/fastapi/issues/13">#13</a>...</li>
<li><a
href="https://github.com/fastapi/fastapi/commit/e2354a0a063f2fcb890ec568f1a98e136a39fd25"><code>e2354a0</code></a>
📝 Update release notes</li>
<li><a
href="https://github.com/fastapi/fastapi/commit/cc66dee55c9a0f34c2e277c0509c45c74abcefd1"><code>cc66dee</code></a>
📝 Update release notes</li>
<li><a
href="https://github.com/fastapi/fastapi/commit/ecfb752487bc3abef35b2786297bc575005c9e36"><code>ecfb752</code></a>
📝 Update release notes</li>
<li><a
href="https://github.com/fastapi/fastapi/commit/8b18522205b9ac738b241c4143c983e968fe6e15"><code>8b18522</code></a>
📝 Update release notes</li>
<li><a
href="https://github.com/fastapi/fastapi/commit/a2395e02436a3788400d864696120fcd91af38cc"><code>a2395e0</code></a>
📝 Update release notes</li>
<li><a
href="https://github.com/fastapi/fastapi/commit/c7d05a903ce34e8578237cf2aab7242cefe51af2"><code>c7d05a9</code></a>
📝 Update release notes</li>
<li>Additional commits viewable in <a
href="https://github.com/fastapi/fastapi/compare/0.121.2...0.122.0">compare
view</a></li>
</ul>
</details>
<br />
Updates `pydantic` from 2.12.4 to 2.12.5
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pydantic/pydantic/releases">pydantic's
releases</a>.</em></p>
<blockquote>
<h2>v2.12.5 2025-11-26</h2>
<h2>v2.12.5 (2025-11-26)</h2>
<p>This is the fifth 2.12 patch release, addressing an issue with the
<code>MISSING</code> sentinel and providing several documentation
improvements.</p>
<p>The next 2.13 minor release will be published in a couple weeks, and
will include a new <em>polymorphic serialization</em> feature addressing
the remaining unexpected changes to the <em>serialize as any</em>
behavior.</p>
<ul>
<li>Fix pickle error when using <code>model_construct()</code> on a
model with <code>MISSING</code> as a default value by <a
href="https://github.com/ornariece"><code>@ornariece</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/12522">#12522</a>.</li>
<li>Several updates to the documentation by <a
href="https://github.com/Viicos"><code>@Viicos</code></a>.</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/pydantic/pydantic/compare/v2.12.4...v2.12.5">https://github.com/pydantic/pydantic/compare/v2.12.4...v2.12.5</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pydantic/pydantic/blob/v2.12.5/HISTORY.md">pydantic's
changelog</a>.</em></p>
<blockquote>
<h2>v2.12.5 (2025-11-26)</h2>
<p><a
href="https://github.com/pydantic/pydantic/releases/tag/v2.12.5">GitHub
release</a></p>
<p>This is the fifth 2.12 patch release, addressing an issue with the
<code>MISSING</code> sentinel and providing several documentation
improvements.</p>
<p>The next 2.13 minor release will be published in a couple weeks, and
will include a new <em>polymorphic serialization</em> feature addressing
the remaining unexpected changes to the <em>serialize as any</em>
behavior.</p>
<ul>
<li>Fix pickle error when using <code>model_construct()</code> on a
model with <code>MISSING</code> as a default value by <a
href="https://github.com/ornariece"><code>@ornariece</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/12522">#12522</a>.</li>
<li>Several updates to the documentation by <a
href="https://github.com/Viicos"><code>@Viicos</code></a>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pydantic/pydantic/commit/bd2d0dd0137dfa1a8fdff2529b9dfb1547980150"><code>bd2d0dd</code></a>
Prepare release v2.12.5</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/7d0302ec7ec2cf115de3450a615522875bdd8b56"><code>7d0302e</code></a>
Document security implications when using
<code>create_model()</code></li>
<li><a
href="https://github.com/pydantic/pydantic/commit/e9ef980def726b6f59b6c495ddc9dc259a0228db"><code>e9ef980</code></a>
Fix typo in Standard Library Types documentation</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/f2c20c00c265a31a13c48f9bae923a87c829952e"><code>f2c20c0</code></a>
Add <code>pydantic-docs</code> dev dependency, make use of versioning
blocks</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/a76c1aa26f2d64a3fd080ac515d80832689197e8"><code>a76c1aa</code></a>
Update documentation about JSON Schema</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/8cbc72ca489891e574fba45238ee8bd4f8e719a2"><code>8cbc72c</code></a>
Add documentation about custom <code>__init__()</code></li>
<li><a
href="https://github.com/pydantic/pydantic/commit/99eba599069da137b3f708ffa74627f2b456ba73"><code>99eba59</code></a>
Add additional test for <code>FieldInfo.get_default()</code></li>
<li><a
href="https://github.com/pydantic/pydantic/commit/c71076988e507ea93844c77c3bf0bbb85a5716af"><code>c710769</code></a>
Special case <code>MISSING</code> sentinel in
<code>smart_deepcopy()</code></li>
<li><a
href="https://github.com/pydantic/pydantic/commit/20a9d771c210fd77d52366ac923258c4c199727f"><code>20a9d77</code></a>
Do not delete mock validator/serializer in
<code>rebuild_dataclass()</code></li>
<li><a
href="https://github.com/pydantic/pydantic/commit/c86515a3a8f2120148fab2eaedd3bc45925779d0"><code>c86515a</code></a>
Update parts of the model and <code>revalidate_instances</code>
documentation</li>
<li>See full diff in <a
href="https://github.com/pydantic/pydantic/compare/v2.12.4...v2.12.5">compare
view</a></li>
</ul>
</details>
<br />
Updates `ruff` from 0.14.5 to 0.14.7
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/releases">ruff's
releases</a>.</em></p>
<blockquote>
<h2>0.14.7</h2>
<h2>Release Notes</h2>
<p>Released on 2025-11-28.</p>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-bandit</code>] Handle string literal bindings in
suspicious-url-open-usage (<code>S310</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21469">#21469</a>)</li>
<li>[<code>pylint</code>] Fix <code>PLR1708</code> false positives on
nested functions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21177">#21177</a>)</li>
<li>[<code>pylint</code>] Fix suppression for empty dict without tuple
key annotation (<code>PLE1141</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21290">#21290</a>)</li>
<li>[<code>ruff</code>] Add rule <code>RUF066</code> to detect
unnecessary class properties (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21535">#21535</a>)</li>
<li>[<code>ruff</code>] Catch more dummy variable uses
(<code>RUF052</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19799">#19799</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[server] Set severity for non-rule diagnostics (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21559">#21559</a>)</li>
<li>[<code>flake8-implicit-str-concat</code>] Avoid invalid fix in
(<code>ISC003</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21517">#21517</a>)</li>
<li>[<code>parser</code>] Fix panic when parsing IPython escape command
expressions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21480">#21480</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Show partial fixability indicator in statistics output (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21513">#21513</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a
href="https://github.com/mikeleppane"><code>@mikeleppane</code></a></li>
<li><a href="https://github.com/senekor"><code>@senekor</code></a></li>
<li><a
href="https://github.com/ShaharNaveh"><code>@ShaharNaveh</code></a></li>
<li><a
href="https://github.com/JumboBear"><code>@JumboBear</code></a></li>
<li><a
href="https://github.com/prakhar1144"><code>@prakhar1144</code></a></li>
<li><a href="https://github.com/tsvikas"><code>@tsvikas</code></a></li>
<li><a
href="https://github.com/danparizher"><code>@danparizher</code></a></li>
<li><a
href="https://github.com/chirizxc"><code>@chirizxc</code></a></li>
<li><a
href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li>
</ul>
<h2>Install ruff 0.14.7</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://github.com/astral-sh/ruff/releases/download/0.14.7/ruff-installer.sh
| sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</h3>
<pre lang="sh"><code>powershell -ExecutionPolicy Bypass -c "irm
https://github.com/astral-sh/ruff/releases/download/0.14.7/ruff-installer.ps1
| iex"
</code></pre>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's
changelog</a>.</em></p>
<blockquote>
<h2>0.14.7</h2>
<p>Released on 2025-11-28.</p>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-bandit</code>] Handle string literal bindings in
suspicious-url-open-usage (<code>S310</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21469">#21469</a>)</li>
<li>[<code>pylint</code>] Fix <code>PLR1708</code> false positives on
nested functions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21177">#21177</a>)</li>
<li>[<code>pylint</code>] Fix suppression for empty dict without tuple
key annotation (<code>PLE1141</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21290">#21290</a>)</li>
<li>[<code>ruff</code>] Add rule <code>RUF066</code> to detect
unnecessary class properties (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21535">#21535</a>)</li>
<li>[<code>ruff</code>] Catch more dummy variable uses
(<code>RUF052</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19799">#19799</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[server] Set severity for non-rule diagnostics (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21559">#21559</a>)</li>
<li>[<code>flake8-implicit-str-concat</code>] Avoid invalid fix in
(<code>ISC003</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21517">#21517</a>)</li>
<li>[<code>parser</code>] Fix panic when parsing IPython escape command
expressions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21480">#21480</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Show partial fixability indicator in statistics output (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21513">#21513</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a
href="https://github.com/mikeleppane"><code>@mikeleppane</code></a></li>
<li><a href="https://github.com/senekor"><code>@senekor</code></a></li>
<li><a
href="https://github.com/ShaharNaveh"><code>@ShaharNaveh</code></a></li>
<li><a
href="https://github.com/JumboBear"><code>@JumboBear</code></a></li>
<li><a
href="https://github.com/prakhar1144"><code>@prakhar1144</code></a></li>
<li><a href="https://github.com/tsvikas"><code>@tsvikas</code></a></li>
<li><a
href="https://github.com/danparizher"><code>@danparizher</code></a></li>
<li><a
href="https://github.com/chirizxc"><code>@chirizxc</code></a></li>
<li><a
href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li>
</ul>
<h2>0.14.6</h2>
<p>Released on 2025-11-21.</p>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-bandit</code>] Support new PySNMP API paths
(<code>S508</code>, <code>S509</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21374">#21374</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Adjust own-line comment placement between branches (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21185">#21185</a>)</li>
<li>Avoid syntax error when formatting attribute expressions with outer
parentheses, parenthesized value, and trailing comment on value (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20418">#20418</a>)</li>
<li>Fix panic when formatting comments in unary expressions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21501">#21501</a>)</li>
<li>Respect <code>fmt: skip</code> for compound statements on a single
line (<a
href="https://redirect.github.com/astral-sh/ruff/pull/20633">#20633</a>)</li>
<li>[<code>refurb</code>] Fix <code>FURB103</code> autofix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21454">#21454</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/ecab623fb2fe3846de4cafa0dfef0385a7245941"><code>ecab623</code></a>
Bump 0.14.7 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/21684">#21684</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/42f152108aad444b7d65359aea931be4dd15dffd"><code>42f1521</code></a>
[ty] Generic types aliases (implicit and PEP 613) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/21553">#21553</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/594b7b04d3b04bcf42861f86207017c8117678ca"><code>594b7b0</code></a>
[ty] Preserve quoting style when autofixing <code>TypedDict</code> keys
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/21682">#21682</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b5b4917d7f4a324f5d32cc55dfb1d08e75cc9e6f"><code>b5b4917</code></a>
[ty] Fix override of final method summary (<a
href="https://redirect.github.com/astral-sh/ruff/issues/21681">#21681</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/0084e94f78742685ddacf2dab28530c2ece3393e"><code>0084e94</code></a>
[ty] Fix subtyping of <code>type[Any]</code> / <code>type[T]</code> and
protocols (<a
href="https://redirect.github.com/astral-sh/ruff/issues/21678">#21678</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/566c959add8c5aa5d25fd14db513c792e4048b50"><code>566c959</code></a>
[ty] Rename <code>ReferenceRequestHandler</code> file (<a
href="https://redirect.github.com/astral-sh/ruff/issues/21680">#21680</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/8bcfc198b83051db0c8a3c7b8f0c8a8c339947c7"><code>8bcfc19</code></a>
[ty] Implement <code>typing.final</code> for methods (<a
href="https://redirect.github.com/astral-sh/ruff/issues/21646">#21646</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c534bfaf01671b8020edd440bc7f4f22070af583"><code>c534bfa</code></a>
[ty] Implement patterns and typevars in the LSP (<a
href="https://redirect.github.com/astral-sh/ruff/issues/21671">#21671</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/5e1b2eef5797b00de8329bf38ceacf5cacd00c87"><code>5e1b2ee</code></a>
[ty] implement rendering of <code>.. code:: lang</code> in docstrings
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/21665">#21665</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/98681b9356bd0b8ef086cc54118b58de532c5310"><code>98681b9</code></a>
[ty] Add <code>db</code> parameter to <code>Parameters::new</code>
method (<a
href="https://redirect.github.com/astral-sh/ruff/issues/21674">#21674</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.14.5...0.14.7">compare
view</a></li>
</ul>
</details>
<br />
Updates `mypy` from 1.18.2 to 1.19.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>Next Release</h2>
<h3>Drop Support for Python 3.9</h3>
<p>Mypy no longer supports running with Python 3.9, which has reached
end-of-life.
When running mypy with Python 3.10+, it is still possible to type check
code
that needs to support Python 3.9 with the <code>--python-version
3.9</code> argument.
Support for this will be dropped in the first half of 2026!</p>
<p>Contributed by Marc Mueller (PR <a
href="https://redirect.github.com/python/mypy/pull/20156">20156</a>).</p>
<h2>Mypy 1.19</h2>
<p>We’ve just uploaded mypy 1.19.0 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>
<h3>Python 3.9 Support Ending Soon</h3>
<p>This is the last mypy feature release that supports Python 3.9, which
reached
end of life in October 2025.</p>
<h3>Performance Improvements</h3>
<ul>
<li>Switch to a more dynamic SCC processing logic (Ivan Levkivskyi, PR
<a
href="https://redirect.github.com/python/mypy/pull/20053">20053</a>)</li>
<li>Speed up type aliases (Ivan Levkivskyi, PR <a
href="https://redirect.github.com/python/mypy/pull/19810">19810</a>)</li>
</ul>
<h3>Fixed‑Format Cache Improvements</h3>
<p>Mypy uses a cache by default to speed up incremental runs by reusing
partial results
from earlier runs. Mypy 1.18 added a new binary fixed-format cache
representation as
an experimental feature. The feature is no longer experimental, and we
are planning
to enable it by default in a future mypy release (possibly 1.20), since
it's faster
and uses less space than the original, JSON-based cache format. Use
<code>--fixed-format-cache</code> to enable the fixed-format cache.</p>
<p>Mypy now has an extra dependency on the <code>librt</code> PyPI
package, as it's needed for
cache serialization and deserialization.</p>
<p>Mypy ships with a tool to convert fixed-format cache files to the old
JSON format.
Example of how to use this:</p>
<pre><code>$ python -m mypy.exportjson .mypy_cache/.../my_module.data.ff
</code></pre>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/python/mypy/commit/0f068c9ec604daa09e69c92545b059f4b44f566e"><code>0f068c9</code></a>
Remove +dev</li>
<li><a
href="https://github.com/python/mypy/commit/6d5cf52e67da306b62455cdce4ce9a9ccec35d02"><code>6d5cf52</code></a>
Various updates to 1.19 changelog (<a
href="https://redirect.github.com/python/mypy/issues/20304">#20304</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/3c813083b27c87cf3a32e7422191b02bf59fab6e"><code>3c81308</code></a>
Add draft version of 1.19 release notes (<a
href="https://redirect.github.com/python/mypy/issues/20296">#20296</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/1999a20e9898f673fa2f4c9a91790c075141ba71"><code>1999a20</code></a>
[mypyc] librt base64: use existing SIMD CPU dispatch by customizing
build fla...</li>
<li><a
href="https://github.com/python/mypy/commit/1b94fbb9fbc581de7e057d71e9892e3acbf9a7d3"><code>1b94fbb</code></a>
[mypyc] Fix vtable pointer with inherited dunder new (<a
href="https://redirect.github.com/python/mypy/issues/20302">#20302</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/13369cb25fe450f755f63e59156b86df84c08b3d"><code>13369cb</code></a>
[mypyc] Fix crash on super in generator (<a
href="https://redirect.github.com/python/mypy/issues/20291">#20291</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/a087a5894935cfdbc2eba27a6d04ebca38fd6659"><code>a087a58</code></a>
Update import map when new modules added (<a
href="https://redirect.github.com/python/mypy/issues/20271">#20271</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/35e843cc38cedc1bdf87d9937c06d51189ad0e45"><code>35e843c</code></a>
[mypyc] Add efficient librt.base64.b64decode (<a
href="https://redirect.github.com/python/mypy/issues/20263">#20263</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/094f66dc742cec2d69add9296fb21cdef50624d0"><code>094f66d</code></a>
[mypyc] Add <strong>repr</strong> to AssignmentTarget subclasses (<a
href="https://redirect.github.com/python/mypy/issues/20258">#20258</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/0738db3f9d336622923c7ee143e1c3adf7600a31"><code>0738db3</code></a>
Do not push partial types to the binder (<a
href="https://redirect.github.com/python/mypy/issues/20202">#20202</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/python/mypy/compare/v1.18.2...v1.19.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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent bef07f8 commit c39421c
1 file changed
Lines changed: 68 additions & 37 deletions
0 commit comments