Commit 7f5ac05
authored
Bump ty from 0.0.21 to 0.0.23 (#1952)
Bumps [ty](https://github.com/astral-sh/ty) from 0.0.21 to 0.0.23.
<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.23</h2>
<h2>Release Notes</h2>
<p>Released on 2026-03-13.</p>
<h3>Bug fixes</h3>
<ul>
<li>Fix false-positive diagnostics for PEP-604 union annotations on
attribute targets on Python 3.9 when <code>from __future__ import
annotations</code> is active (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23915">#23915</a>)</li>
<li><code>dataclass_transform</code>: Respect <code>kw_only</code>
overwrites in dataclasses (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23930">#23930</a>)</li>
<li>Fix too-many-cycle panics when inferring loop variables with
<code>Literal</code> types (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23875">#23875</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Fix <a
href="https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_foldingRange">folding
range</a> classification of lines starting with <code>#</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23831">#23831</a>)</li>
<li>Fix <a
href="https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_foldingRange">folding
ranges</a> for notebooks (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23830">#23830</a>)</li>
</ul>
<h3>Core type checking</h3>
<ul>
<li>Split errors for possibly missing submodules into a new
<code>possibly-missing-submodule</code> error code (enabled by default),
and make <code>possibly-missing-attribute</code> ignored by default (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23918">#23918</a>)</li>
<li>Improve handling of bidirectional inference when (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23844">#23844</a>)</li>
<li>Fix inference of conditionally defined properties (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23925">#23925</a>)</li>
</ul>
<h3>Improvements to diagnostics</h3>
<ul>
<li>Clarify in diagnostics that <code>from __future__ import
annotations</code> only stringifies type annotations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23928">#23928</a>)</li>
</ul>
<h3>Performance improvements</h3>
<ul>
<li>Avoid duplicated work during multi-inference (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23923">#23923</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a
href="https://github.com/ibraheemdev"><code>@ibraheemdev</code></a></li>
<li><a href="https://github.com/sharkdp"><code>@sharkdp</code></a></li>
<li><a
href="https://github.com/oconnor663"><code>@oconnor663</code></a></li>
<li><a href="https://github.com/mtshiba"><code>@mtshiba</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li>
<li><a href="https://github.com/carljm"><code>@carljm</code></a></li>
<li><a
href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li>
</ul>
<h2>Install ty 0.0.23</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.23/ty-installer.sh
| sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</h3>
<!-- 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.23</h2>
<p>Released on 2026-03-13.</p>
<h3>Bug fixes</h3>
<ul>
<li>Fix false-positive diagnostics for PEP-604 union annotations on
attribute targets on Python 3.9 when <code>from __future__ import
annotations</code> is active (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23915">#23915</a>)</li>
<li><code>dataclass_transform</code>: Respect <code>kw_only</code>
overwrites in dataclasses (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23930">#23930</a>)</li>
<li>Fix too-many-cycle panics when inferring loop variables with
<code>Literal</code> types (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23875">#23875</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Fix <a
href="https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_foldingRange">folding
range</a> classification of lines starting with <code>#</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23831">#23831</a>)</li>
<li>Fix <a
href="https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_foldingRange">folding
ranges</a> for notebooks (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23830">#23830</a>)</li>
</ul>
<h3>Core type checking</h3>
<ul>
<li>Split errors for possibly missing submodules into a new
<code>possibly-missing-submodule</code> error code (enabled by default),
and make <code>possibly-missing-attribute</code> ignored by default (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23918">#23918</a>)</li>
<li>Improve handling of bidirectional inference when (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23844">#23844</a>)</li>
<li>Fix inference of conditionally defined properties (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23925">#23925</a>)</li>
</ul>
<h3>Improvements to diagnostics</h3>
<ul>
<li>Clarify in diagnostics that <code>from __future__ import
annotations</code> only stringifies type annotations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23928">#23928</a>)</li>
</ul>
<h3>Performance improvements</h3>
<ul>
<li>Avoid duplicated work during multi-inference (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23923">#23923</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a
href="https://github.com/ibraheemdev"><code>@ibraheemdev</code></a></li>
<li><a href="https://github.com/sharkdp"><code>@sharkdp</code></a></li>
<li><a
href="https://github.com/oconnor663"><code>@oconnor663</code></a></li>
<li><a href="https://github.com/mtshiba"><code>@mtshiba</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li>
<li><a href="https://github.com/carljm"><code>@carljm</code></a></li>
<li><a
href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li>
</ul>
<h2>0.0.22</h2>
<p>Released on 2026-03-12.</p>
<h3>Bug fixes</h3>
<ul>
<li>Fix issue where variables could be inferred as
<code>Divergent</code> if they were assigned using tuple unpacking in
loops (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23812">#23812</a>)</li>
<li>Allow <code>error = "all"</code> in a root
<code>pyproject.toml</code> file to be overridden using
<code>tool.ty.overrides</code> in a subdirectory's
<code>pyproject.toml</code> file (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23712">#23712</a>)</li>
<li>Only unsoundly upcast <code>type[]</code> types to their constructor
<code>Callable</code> type during assignability checks, not during
redundancy/subtyping checks (<a
href="https://redirect.github.com/astral-sh/ruff/pull/23834">#23834</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/23901">#23901</a>)</li>
<li>Fix stack overflow that could occur with certain recursive protocols
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/23870">#23870</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/be6e94a27c914eece91c96233888710e8d914cea"><code>be6e94a</code></a>
Bump version to 0.0.23 (<a
href="https://redirect.github.com/astral-sh/ty/issues/3036">#3036</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/cee15ae7873a37d307fc8b4ceb7fc9378a1d6e60"><code>cee15ae</code></a>
Update astral-sh/setup-uv action to v7.5.0 (<a
href="https://redirect.github.com/astral-sh/ty/issues/3035">#3035</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/26a6e34b9b5567735d5b5e8029ae02e390c9437c"><code>26a6e34</code></a>
docs: Update the Zed editor integration (<a
href="https://redirect.github.com/astral-sh/ty/issues/3017">#3017</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/1adde131b955ae07c92b13c0c4e1e359b6e5fdbe"><code>1adde13</code></a>
Document how to update ty's conformance results upstream (<a
href="https://redirect.github.com/astral-sh/ty/issues/3028">#3028</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/eda1e71fc4a15c856eab8f0736294aa7e92f2aba"><code>eda1e71</code></a>
Bump version to 0.0.22 (<a
href="https://redirect.github.com/astral-sh/ty/issues/3031">#3031</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/b4abf2bf0873903f4dbc13e2b919b6d5694be7ff"><code>b4abf2b</code></a>
Update Artifact GitHub Actions dependencies (<a
href="https://redirect.github.com/astral-sh/ty/issues/2996">#2996</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/842b8b53c8d4e2e38bf05cccfdd0bc203e74d2a8"><code>842b8b5</code></a>
Update PyO3/maturin-action action to v1.50.1 (<a
href="https://redirect.github.com/astral-sh/ty/issues/2995">#2995</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/6c04a8e539c3aeb929314640e6d7a373eaa72395"><code>6c04a8e</code></a>
Update prek dependencies (<a
href="https://redirect.github.com/astral-sh/ty/issues/2994">#2994</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/1557849d9b66e73a4a78fdf35efac9b13ce95564"><code>1557849</code></a>
installers: Download releases from Astral's mirror first (<a
href="https://redirect.github.com/astral-sh/ty/issues/2980">#2980</a>)</li>
<li>See full diff in <a
href="https://github.com/astral-sh/ty/compare/0.0.21...0.0.23">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent f122e3c commit 7f5ac05
1 file changed
+18
-18
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments