Skip to content

Commit 7c84694

Browse files
dependabot[bot]CopilotiMicknl
authored
Bump ty from 0.0.34 to 0.0.39 (#2063)
Bumps [ty](https://github.com/astral-sh/ty) from 0.0.34 to 0.0.39. <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.39</h2> <h2>Release Notes</h2> <p>Released on 2026-05-22.</p> <p>This release removes the Python 3.9 branches from our vendored standard library stubs. ty now only has &quot;full&quot; support for Python 3.10 and later, but will still report version-specific syntax errors and other diagnostics when <code>--python-version 3.9</code> is provided via the CLI.</p> <h3>Bug fixes</h3> <ul> <li>Avoid panicking on <code>__new__</code> assignments to classes (<a href="https://redirect.github.com/astral-sh/ruff/pull/25282">#25282</a>)</li> <li>Preserve declaration order when synthesizing class fields (<a href="https://redirect.github.com/astral-sh/ruff/pull/25249">#25249</a>)</li> <li>Respect <code>dict</code>-compatible fallbacks in TypedDict unions (<a href="https://redirect.github.com/astral-sh/ruff/pull/25242">#25242</a>)</li> <li>Retain recursively-defined state in binary expressions (<a href="https://redirect.github.com/astral-sh/ruff/pull/25277">#25277</a>)</li> </ul> <h3>LSP server</h3> <ul> <li>Add Quick Fix to remove redundant cast (<a href="https://redirect.github.com/astral-sh/ruff/pull/25211">#25211</a>)</li> <li>Classify property declaration semantic tokens (<a href="https://redirect.github.com/astral-sh/ruff/pull/25322">#25322</a>)</li> <li>Escape HTML syntax in docstring rendering (<a href="https://redirect.github.com/astral-sh/ruff/pull/25247">#25247</a>)</li> <li>Prefer symbols from standard library over those of the same name from third party libraries for import completions. (<a href="https://redirect.github.com/astral-sh/ruff/pull/25108">#25108</a>)</li> <li>Support type aliases in document symbols (<a href="https://redirect.github.com/astral-sh/ruff/pull/25302">#25302</a>)</li> </ul> <h3>Diagnostics</h3> <ul> <li>Add error context for extra callable parameters (<a href="https://redirect.github.com/astral-sh/ruff/pull/25269">#25269</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Avoid exponential blow-up in fall-through narrowing (<a href="https://redirect.github.com/astral-sh/ruff/pull/25278">#25278</a>)</li> <li>Speed up include filtering for projects with many literal include patterns (<a href="https://redirect.github.com/astral-sh/ruff/pull/25266">#25266</a>)</li> </ul> <h3>Core type checking</h3> <ul> <li>Allow enum member accesses on <code>self</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/25077">#25077</a>)</li> <li>Emit a diagnostic for subclassing with <code>order=True</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/21704">#21704</a>)</li> <li>Full-scope bidirectional inference for unconstrained container literals (<a href="https://redirect.github.com/astral-sh/ruff/pull/25279">#25279</a>)</li> <li>Infer <code>dict(TypedDict)</code> as <code>dict[str, object]</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24852">#24852</a>)</li> <li>Refine Callable class-decorator fallback for unknown results (<a href="https://redirect.github.com/astral-sh/ruff/pull/25250">#25250</a>)</li> <li>Reject incompatible explicit variance in generic base classes (<a href="https://redirect.github.com/astral-sh/ruff/pull/25327">#25327</a>)</li> <li>Support multi-inference through type aliases (<a href="https://redirect.github.com/astral-sh/ruff/pull/25245">#25245</a>)</li> <li>Sync vendored typeshed stubs (<a href="https://redirect.github.com/astral-sh/ruff/pull/25271">#25271</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/25172">#25172</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/MatthewMckee4"><code>@​MatthewMckee4</code></a></li> <li><a href="https://github.com/sqqueak"><code>@​sqqueak</code></a></li> <li><a href="https://github.com/lerebear"><code>@​lerebear</code></a></li> </ul> <!-- 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.39</h2> <p>Released on 2026-05-22.</p> <p>This release removes the Python 3.9 branches from our vendored standard library stubs. ty now only has &quot;full&quot; support for Python 3.10 and later, but will still report version-specific syntax errors and other diagnostics when <code>--python-version 3.9</code> is provided via the CLI.</p> <h3>Bug fixes</h3> <ul> <li>Avoid panicking on <code>__new__</code> assignments to classes (<a href="https://redirect.github.com/astral-sh/ruff/pull/25282">#25282</a>)</li> <li>Preserve declaration order when synthesizing class fields (<a href="https://redirect.github.com/astral-sh/ruff/pull/25249">#25249</a>)</li> <li>Respect <code>dict</code>-compatible fallbacks in TypedDict unions (<a href="https://redirect.github.com/astral-sh/ruff/pull/25242">#25242</a>)</li> <li>Retain recursively-defined state in binary expressions (<a href="https://redirect.github.com/astral-sh/ruff/pull/25277">#25277</a>)</li> </ul> <h3>LSP server</h3> <ul> <li>Add Quick Fix to remove redundant cast (<a href="https://redirect.github.com/astral-sh/ruff/pull/25211">#25211</a>)</li> <li>Classify property declaration semantic tokens (<a href="https://redirect.github.com/astral-sh/ruff/pull/25322">#25322</a>)</li> <li>Escape HTML syntax in docstring rendering (<a href="https://redirect.github.com/astral-sh/ruff/pull/25247">#25247</a>)</li> <li>Prefer symbols from standard library over those of the same name from third party libraries for import completions. (<a href="https://redirect.github.com/astral-sh/ruff/pull/25108">#25108</a>)</li> <li>Support type aliases in document symbols (<a href="https://redirect.github.com/astral-sh/ruff/pull/25302">#25302</a>)</li> </ul> <h3>Diagnostics</h3> <ul> <li>Add error context for extra callable parameters (<a href="https://redirect.github.com/astral-sh/ruff/pull/25269">#25269</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Avoid exponential blow-up in fall-through narrowing (<a href="https://redirect.github.com/astral-sh/ruff/pull/25278">#25278</a>)</li> <li>Speed up include filtering for projects with many literal include patterns (<a href="https://redirect.github.com/astral-sh/ruff/pull/25266">#25266</a>)</li> </ul> <h3>Core type checking</h3> <ul> <li>Allow enum member accesses on <code>self</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/25077">#25077</a>)</li> <li>Emit a diagnostic for subclassing with <code>order=True</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/21704">#21704</a>)</li> <li>Full-scope bidirectional inference for unconstrained container literals (<a href="https://redirect.github.com/astral-sh/ruff/pull/25279">#25279</a>)</li> <li>Infer <code>dict(TypedDict)</code> as <code>dict[str, object]</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24852">#24852</a>)</li> <li>Refine Callable class-decorator fallback for unknown results (<a href="https://redirect.github.com/astral-sh/ruff/pull/25250">#25250</a>)</li> <li>Reject incompatible explicit variance in generic base classes (<a href="https://redirect.github.com/astral-sh/ruff/pull/25327">#25327</a>)</li> <li>Support multi-inference through type aliases (<a href="https://redirect.github.com/astral-sh/ruff/pull/25245">#25245</a>)</li> <li>Sync vendored typeshed stubs (<a href="https://redirect.github.com/astral-sh/ruff/pull/25271">#25271</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/25172">#25172</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/MatthewMckee4"><code>@​MatthewMckee4</code></a></li> <li><a href="https://github.com/sqqueak"><code>@​sqqueak</code></a></li> <li><a href="https://github.com/lerebear"><code>@​lerebear</code></a></li> <li><a href="https://github.com/sharkdp"><code>@​sharkdp</code></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/0205125174c135d6fc4014244dee374678b61c72"><code>0205125</code></a> Bump version to 0.0.39 (<a href="https://redirect.github.com/astral-sh/ty/issues/3516">#3516</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/ae8058d40e641b545bbad046c487e964206a2286"><code>ae8058d</code></a> Update maturin to v1.13.3 (<a href="https://redirect.github.com/astral-sh/ty/issues/3494">#3494</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/33b60f8ad0f2da648b867831548a4b8c7985647d"><code>33b60f8</code></a> Update prek dependencies (<a href="https://redirect.github.com/astral-sh/ty/issues/3495">#3495</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/1d3efc1d68e36a8f982fa73b1f8c2a5ebc50fcde"><code>1d3efc1</code></a> Bump version to 0.0.38 (<a href="https://redirect.github.com/astral-sh/ty/issues/3492">#3492</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/f5100ccde50ff577fa311add5232ae6074ed68f9"><code>f5100cc</code></a> scripts/update_schemastore: use -C to allow re-running schema update on exist...</li> <li><a href="https://github.com/astral-sh/ty/commit/f18aed6430c781ff3bc4fe41d9b5c2a7161657c4"><code>f18aed6</code></a> Bump version to 0.0.37 (<a href="https://redirect.github.com/astral-sh/ty/issues/3473">#3473</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/a63e55929645f8eeaa6f28117afda8d2ed39d1a4"><code>a63e559</code></a> Bump version to 0.0.36 (<a href="https://redirect.github.com/astral-sh/ty/issues/3463">#3463</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/94370d5b43c48d01720a9e65d8d8d5286b6697b1"><code>94370d5</code></a> Update prek dependencies (<a href="https://redirect.github.com/astral-sh/ty/issues/3449">#3449</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/bc12d1cade50bc9407486057116fa0538bfb31ac"><code>bc12d1c</code></a> Bump version to 0.0.35 (<a href="https://redirect.github.com/astral-sh/ty/issues/3436">#3436</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/fb34d89e4acb379f6d8239d338881a6d1cce6642"><code>fb34d89</code></a> Build riscv64 manylinux binary (<a href="https://redirect.github.com/astral-sh/ty/issues/3402">#3402</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ty/compare/0.0.34...0.0.39">compare view</a></li> </ul> </details> <br /> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: iMicknl <1424596+iMicknl@users.noreply.github.com> Co-authored-by: Mick Vleeshouwer <mick@imick.nl>
1 parent a5d9e9c commit 7c84694

3 files changed

Lines changed: 24 additions & 23 deletions

File tree

pyoverkiz/converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def _rename_hook_factory(cls: type, converter: cattrs.Converter) -> Any:
4747
api_key = camelize_key(f.name)
4848
if api_key != f.name:
4949
overrides[f.name] = override(rename=api_key)
50-
return make_dict_structure_fn(cls, converter, **overrides) # type: ignore[arg-type]
50+
return make_dict_structure_fn(cls, converter, **overrides) # type: ignore[arg-type] # ty: ignore[invalid-argument-type]
5151

5252

5353
def _make_converter() -> cattrs.Converter:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ dev = [
4444
"pytest-asyncio>=0.23.8,<1.4.0",
4545
"ruff>=0.15.14",
4646
"mypy>=1.16.1",
47-
"ty>=0.0.8",
47+
"ty>=0.0.39",
4848
"prek>=0.4.1",
4949
]
5050

uv.lock

Lines changed: 22 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)