Commit b7801d7
authored
chore(deps-dev): bump the development-dependencies group with 3 updates (#339)
Bumps the development-dependencies group with 3 updates:
[mypy](https://github.com/python/mypy),
[ty](https://github.com/astral-sh/ty) and
[types-requests](https://github.com/python/typeshed).
Updates `mypy` from 1.19.1 to 1.20.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>
<h2>Mypy 1.20</h2>
<p>We’ve just uploaded mypy 1.20.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>Planned Changes to Defaults and Flags in Mypy 2.0</h3>
<p>As a reminder, we are planning to enable
<code>--local-partial-types</code> by default in mypy 2.0, which
will likely be the next feature release. This will often require at
least minor code changes. This
option is implicitly enabled by mypy daemon, so this makes the behavior
of daemon and non-daemon
modes consistent.</p>
<p>Note that this release improves the compatibility of
<code>--local-partial-types</code> significantly to
make the switch easier (see below for more).</p>
<p>This can also be configured in a mypy configuration file (use
<code>False</code> to disable):</p>
<pre><code>local_partial_types = True
</code></pre>
<p>For more information, refer to the
<a
href="https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-local-partial-types">documentation</a>.</p>
<p>We will also enable <code>--strict-bytes</code> by default in mypy
2.0. This usually requires at most
minor code changes to adopt. For more information, refer to the
<a
href="https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-strict-bytes">documentation</a>.</p>
<p>Finally, <code>--allow-redefinition-new</code> will be renamed to
<code>--allow-redefinition</code>. If you want
to continue using the older <code>--allow-redefinition</code> semantics
which are less flexible (e.g.
limited support for conditional redefinitions), you can switch to
<code>--allow-redefinition-old</code>,
which is currently supported as an alias to the legacy
<code>--allow-redefinition</code> behavior.
To use <code>--allow-redefinition</code> in the upcoming mypy 2.0, you
can't use <code>--no-local-partial-types</code>.
For more information, refer to the
<a
href="https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-allow-redefinition-new">documentation</a>.</p>
<h3>Better Type Narrowing</h3>
<p>Mypy's implementation of narrowing has been substantially reworked.
Mypy will now narrow more
aggressively, more consistently, and more correctly. In particular, you
are likely to notice new
narrowing behavior in equality expressions (<code>==</code>),
containment expressions (<code>in</code>),</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/python/mypy/commit/770d3ca4997032dc3a1c4f0b468e9f58e8f38505"><code>770d3ca</code></a>
Remove +dev from version</li>
<li><a
href="https://github.com/python/mypy/commit/4738ffafc56a0d175cba06e893ffa62e756fc7e0"><code>4738ffa</code></a>
Changelog updates for 1.20 (<a
href="https://redirect.github.com/python/mypy/issues/21109">#21109</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/b4f07a717c3a239a9c77808c5550fff5f2638c96"><code>b4f07a7</code></a>
Use 'native-parser' instead of 'native-parse' for optional dependency
(<a
href="https://redirect.github.com/python/mypy/issues/21115">#21115</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/7bec7b7f791790b1c925cdcc573ced564fbbf065"><code>7bec7b7</code></a>
[mypyc] Document librt and librt.base64 (<a
href="https://redirect.github.com/python/mypy/issues/21114">#21114</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/c4825969450385cf3eb91a4fc02f273b369bc301"><code>c482596</code></a>
--allow-redefinition-new is no longer experimental (<a
href="https://redirect.github.com/python/mypy/issues/21110">#21110</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/c916ca3fa79d9324dcbe130b18e24e2b5e2d1eb5"><code>c916ca3</code></a>
sdist: include <code>misc/{diff-cache,apply-cache-diff}.py</code> for
`mypy/test/test_di...</li>
<li><a
href="https://github.com/python/mypy/commit/b137e4ed41d6178f6dbd0e609db56b8c1ad5384a"><code>b137e4e</code></a>
[mypyc] Speed up native-to-native imports within the same group (<a
href="https://redirect.github.com/python/mypy/issues/21101">#21101</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/978b711c21adadf5dae4db80127ddf270d79af5f"><code>978b711</code></a>
[mypyc] Fix range loop variable off-by-one after loop exit (<a
href="https://redirect.github.com/python/mypy/issues/21098">#21098</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/67ada30918d1a32e1935e9ac468113e0aa002b79"><code>67ada30</code></a>
[stubtest] Check runtime availability of private types not marked
`@type_chec...</li>
<li><a
href="https://github.com/python/mypy/commit/bdef6ef8734af07cab1bf0acadc1d8ab9add93c3"><code>bdef6ef</code></a>
librt cache tests: build respecting MYPY_TEST_PREFIX (<a
href="https://redirect.github.com/python/mypy/issues/21097">#21097</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/python/mypy/compare/v1.19.1...v1.20.0">compare
view</a></li>
</ul>
</details>
<br />
Updates `ty` from 0.0.26 to 0.0.29
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ty/releases">ty's
releases</a>.</em></p>
<blockquote>
<h2>0.0.29</h2>
<h2>Release Notes</h2>
<p>Released on 2026-04-05.</p>
<h3>Bug fixes</h3>
<ul>
<li>Avoid special-casing for <code>dataclasses.field</code> if it's not
in <code>field_specifiers</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24397">#24397</a>)</li>
<li>Reject unsupported <code>environment.python-version</code> values in
configuration files (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24402">#24402</a>)</li>
<li>Respect supported lower bounds from <code>requires-python</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24401">#24401</a>)</li>
</ul>
<h3>Core type checking</h3>
<ul>
<li>Add support for <code>types.new_class</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23144">#23144</a>)</li>
<li>Fix PEP 695 type aliases in <code>with</code> statement (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24395">#24395</a>)</li>
<li>Respect <code>__new__</code> and metaclass <code>__call__</code>
return types (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24357">#24357</a>)</li>
<li>Treat enum attributes with type annotations as members (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23776">#23776</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li>
<li><a href="https://github.com/carljm"><code>@carljm</code></a></li>
</ul>
<h2>Install ty 0.0.29</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-installer.sh
| sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</h3>
<pre lang="sh"><code>powershell -ExecutionPolicy Bypass -c "irm
https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-installer.ps1
| iex"
</code></pre>
<h2>Download ty 0.0.29</h2>
<table>
<thead>
<tr>
<th>File</th>
<th>Platform</th>
<th>Checksum</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-aarch64-apple-darwin.tar.gz">ty-aarch64-apple-darwin.tar.gz</a></td>
<td>Apple Silicon macOS</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-aarch64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-x86_64-apple-darwin.tar.gz">ty-x86_64-apple-darwin.tar.gz</a></td>
<td>Intel macOS</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-x86_64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-aarch64-pc-windows-msvc.zip">ty-aarch64-pc-windows-msvc.zip</a></td>
<td>ARM64 Windows</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-aarch64-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-i686-pc-windows-msvc.zip">ty-i686-pc-windows-msvc.zip</a></td>
<td>x86 Windows</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-i686-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-x86_64-pc-windows-msvc.zip">ty-x86_64-pc-windows-msvc.zip</a></td>
<td>x64 Windows</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-x86_64-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-aarch64-unknown-linux-gnu.tar.gz">ty-aarch64-unknown-linux-gnu.tar.gz</a></td>
<td>ARM64 Linux</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-aarch64-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-i686-unknown-linux-gnu.tar.gz">ty-i686-unknown-linux-gnu.tar.gz</a></td>
<td>x86 Linux</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-i686-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-powerpc64-unknown-linux-gnu.tar.gz">ty-powerpc64-unknown-linux-gnu.tar.gz</a></td>
<td>PPC64 Linux</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-powerpc64-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-powerpc64le-unknown-linux-gnu.tar.gz">ty-powerpc64le-unknown-linux-gnu.tar.gz</a></td>
<td>PPC64LE Linux</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.29/ty-powerpc64le-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
</tbody>
</table>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ty/blob/main/CHANGELOG.md">ty's
changelog</a>.</em></p>
<blockquote>
<h2>0.0.29</h2>
<p>Released on 2026-04-05.</p>
<h3>Bug fixes</h3>
<ul>
<li>Avoid special-casing for <code>dataclasses.field</code> if it's not
in <code>field_specifiers</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24397">#24397</a>)</li>
<li>Reject unsupported <code>environment.python-version</code> values in
configuration files (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24402">#24402</a>)</li>
<li>Respect supported lower bounds from <code>requires-python</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24401">#24401</a>)</li>
</ul>
<h3>Core type checking</h3>
<ul>
<li>Add support for <code>types.new_class</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23144">#23144</a>)</li>
<li>Fix PEP 695 type aliases in <code>with</code> statement (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24395">#24395</a>)</li>
<li>Respect <code>__new__</code> and metaclass <code>__call__</code>
return types (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24357">#24357</a>)</li>
<li>Treat enum attributes with type annotations as members (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23776">#23776</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li>
<li><a href="https://github.com/carljm"><code>@carljm</code></a></li>
</ul>
<h2>0.0.28</h2>
<p>Released on 2026-04-02.</p>
<h3>Bug fixes</h3>
<ul>
<li>Mark loop header assignments as used to avoid false positives in
"unused variable" diagnostics (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24336">#24336</a>)</li>
</ul>
<h3>LSP server</h3>
<ul>
<li>Show constructor signature of classes when hovering over them (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24257">#24257</a>)</li>
</ul>
<h3>Core type checking</h3>
<ul>
<li>Avoid emitting cascading diagnostics when parsing invalid type
expressions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24326">#24326</a>)</li>
<li>Handle most "deep" mutual TypeVar constraints (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24079">#24079</a>)</li>
<li>Improve consistency and quality of diagnostics relating to invalid
type forms (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24325">#24325</a>)</li>
<li>Improve robustness of various type-qualifier-related checks (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24251">#24251</a>)</li>
<li>Infer the <code>extra_items</code> keyword argument to class-based
TypedDicts as an annotation expression (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24362">#24362</a>)</li>
<li>Use bidirectional inference to fix false positives on operations
such as <code>x: list[int | None] = [None] * 2</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24197">#24197</a>)</li>
<li>Sync vendored typeshed stubs (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24340">#24340</a>).
<a
href="https://github.com/python/typeshed/compare/f8f0794d0fe249c06dc9f31a004d85be6cca6ced...c5e47faeda2cf9d233f91bc1dc95814b0cc7ccba">Typeshed
diff</a></li>
<li>Tighten up validation of subscripts and attributes in type
expressions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24329">#24329</a>)</li>
<li>Use <code>infer_type_expression</code> for parsing parameter
annotations and return-type annotations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24353">#24353</a>)</li>
<li>Use <code>infer_type_expression</code> for validating PEP-613 type
aliases (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24370">#24370</a>)</li>
<li>Validate TypedDict fields when subclassing (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24338">#24338</a>)</li>
<li>Validate type qualifiers in functional TypedDict fields and the
<code>extra_items</code> keyword to functional TypedDicts (<a
href="https://redirect.github.com/astral-sh/ruff/pull/24360">#24360</a>)</li>
<li>Improve diagnostics for invalid functional <code>TypedDict</code>s
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/24345">#24345</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ty/commit/438a78d688a38781e0675e57874b30dfed5fc964"><code>438a78d</code></a>
Bump version to 0.0.29 (<a
href="https://redirect.github.com/astral-sh/ty/issues/3218">#3218</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/927aad261f59c957f83237471b4441dfce1ff425"><code>927aad2</code></a>
Bump version to 0.0.28 (<a
href="https://redirect.github.com/astral-sh/ty/issues/3206">#3206</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/29d288e5e8012277f94aff7fdcff913b65f13f39"><code>29d288e</code></a>
Publish installers to <code>/installers/ty/latest</code> on the mirror
(<a
href="https://redirect.github.com/astral-sh/ty/issues/3202">#3202</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/5c9e342c2ea67a0ac8749d32296dd3071974927a"><code>5c9e342</code></a>
Bump version to 0.0.27 (<a
href="https://redirect.github.com/astral-sh/ty/issues/3185">#3185</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/e6a57315251f37ab3516cb614f891ece91595393"><code>e6a5731</code></a>
Update actions/cache action to v5.0.4 (<a
href="https://redirect.github.com/astral-sh/ty/issues/3172">#3172</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/c47b982b86bb599d016af1d235174391f618ff16"><code>c47b982</code></a>
Update prek dependencies (<a
href="https://redirect.github.com/astral-sh/ty/issues/3173">#3173</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/657abcfc82221440481f9c9b76c6b6a3b89d5d00"><code>657abcf</code></a>
Update astral-sh/setup-uv action to v8 (<a
href="https://redirect.github.com/astral-sh/ty/issues/3174">#3174</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/9e582cb48e9c2306073091d554c04853091d612b"><code>9e582cb</code></a>
Fetch the cargo-dist binary directly instead of using the installer (<a
href="https://redirect.github.com/astral-sh/ty/issues/3160">#3160</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/d5c51ea65be68cffcfa1afe204e5f6003fc06b02"><code>d5c51ea</code></a>
docs: use content tabs (<a
href="https://redirect.github.com/astral-sh/ty/issues/3146">#3146</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/9893776cbd744bec84a43463728ab3813b00968f"><code>9893776</code></a>
Use the <code>release</code> environment in <code>publish-docs</code>
(<a
href="https://redirect.github.com/astral-sh/ty/issues/3147">#3147</a>)</li>
<li>See full diff in <a
href="https://github.com/astral-sh/ty/compare/0.0.26...0.0.29">compare
view</a></li>
</ul>
</details>
<br />
Updates `types-requests` from 2.32.4.20260324 to 2.33.0.20260327
<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 />
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 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 95e3cca commit b7801d7
1 file changed
Lines changed: 66 additions & 54 deletions
0 commit comments