dependabot[bot] opened a new pull request, #55887:
URL: https://github.com/apache/arrow/pull/55887

   Bumps the python-stubs group in /python with 1 update: 
[ty](https://github.com/astral-sh/ty).
   
   Updates `ty` from 0.0.109 to 0.0.112
   <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.112</h2>
   <h2>Release Notes</h2>
   <p>Released on 2026-11-26.</p>
   <h3>Bug fixes</h3>
   <ul>
   <li>Fix a crash when pressing Ctrl+C just after saving a watched file. 
<code>ty check --watch</code> now exits with the usual interrupt status 130. 
(<a 
href="https://redirect.github.com/astral-sh/ruff/pull/29976";>#29976</a>)</li>
   </ul>
   <h3>Performance improvements</h3>
   <ul>
   <li>Check assignments faster by looking up type annotations and imported 
<code>Final</code> qualifiers together. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30797";>#30797</a>)</li>
   <li>Simplify unions of fixed-length tuples faster when a pair of elements at 
any matching position contains disjoint literals or distinct class objects, as 
in Django’s registry for arithmetic expressions. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30940";>#30940</a>)</li>
   <li>Speed up control flow analysis for type narrowing and reachability, 
especially in files with large wildcard imports such as <code>from OpenGL.GL 
import *</code>. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30790";>#30790</a>)</li>
   <li>Infer types faster for collections of functions such as Jinja’s filter 
registry. When each function has a single standard signature, ty can rule out a 
match if required parameters at the same position accept different keyword 
names or if one function requires more positional arguments than the other 
accepts. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30858";>#30858</a>)</li>
   <li>Infer type arguments faster, including element types for list literals. 
ty uses a single lower bound directly and removes duplicate types after 
selecting the bounds relevant to inference or validation. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30786";>#30786</a>)</li>
   <li>Speed up checks of modules and functions without <code>Final</code> 
declarations by skipping the search for <code>Final</code> names that never 
receive a value. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30946";>#30946</a>)</li>
   </ul>
   <h3>Core type checking</h3>
   <ul>
   <li>Use the input type of an attrs <code>@field_name.converter</code> method 
when checking generated constructor arguments and field assignments. Reading 
the field gives its declared type. If several converters are registered, the 
first one determines the accepted input type. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30959";>#30959</a>)</li>
   <li>Recognize <code>__attrs_attrs__</code> as a tuple of field metadata on 
attrs classes and instances. ty also recognizes the attribute after 
<code>attrs.has</code> narrows a class to <code>type[AttrsInstance]</code>. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30958";>#30958</a>)</li>
   <li>Report <code>invalid-argument-type</code> when <code>attrs.fields</code> 
or <code>attrs.asdict</code> receives an argument that lacks the 
<code>__attrs_attrs__</code> member required by the <code>AttrsInstance</code> 
protocol. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30958";>#30958</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/sharkdp";><code>@​sharkdp</code></a></li>
   </ul>
   <h2>Install ty 0.0.112</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.112/ty-installer.sh 
| sh
   </code></pre>
   <h3>Install prebuilt binaries via powershell script</h3>
   <pre lang="sh"><code>powershell -ExecutionPolicy Bypass -c &quot;irm 
https://releases.astral.sh/github/ty/releases/download/0.0.112/ty-installer.ps1 
| iex&quot;
   </code></pre>
   <h2>Download ty 0.0.112</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.112/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.112/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.112/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.112/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.112/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.112/ty-aarch64-pc-windows-msvc.zip.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.112</h2>
   <p>Released on 2026-11-26.</p>
   <h3>Bug fixes</h3>
   <ul>
   <li>Fix a crash when pressing Ctrl+C just after saving a watched file. 
<code>ty check --watch</code> now exits with the usual interrupt status 130. 
(<a 
href="https://redirect.github.com/astral-sh/ruff/pull/29976";>#29976</a>)</li>
   </ul>
   <h3>Performance improvements</h3>
   <ul>
   <li>Check assignments faster by looking up type annotations and imported 
<code>Final</code> qualifiers together. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30797";>#30797</a>)</li>
   <li>Simplify unions of fixed-length tuples faster when a pair of elements at 
any matching position contains disjoint literals or distinct class objects, as 
in Django’s registry for arithmetic expressions. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30940";>#30940</a>)</li>
   <li>Speed up control flow analysis for type narrowing and reachability, 
especially in files with large wildcard imports such as <code>from OpenGL.GL 
import *</code>. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30790";>#30790</a>)</li>
   <li>Infer types faster for collections of functions such as Jinja’s filter 
registry. When each function has a single standard signature, ty can rule out a 
match if required parameters at the same position accept different keyword 
names or if one function requires more positional arguments than the other 
accepts. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30858";>#30858</a>)</li>
   <li>Infer type arguments faster, including element types for list literals. 
ty uses a single lower bound directly and removes duplicate types after 
selecting the bounds relevant to inference or validation. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30786";>#30786</a>)</li>
   <li>Speed up checks of modules and functions without <code>Final</code> 
declarations by skipping the search for <code>Final</code> names that never 
receive a value. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30946";>#30946</a>)</li>
   </ul>
   <h3>Core type checking</h3>
   <ul>
   <li>Use the input type of an attrs <code>@field_name.converter</code> method 
when checking generated constructor arguments and field assignments. Reading 
the field gives its declared type. If several converters are registered, the 
first one determines the accepted input type. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30959";>#30959</a>)</li>
   <li>Recognize <code>__attrs_attrs__</code> as a tuple of field metadata on 
attrs classes and instances. ty also recognizes the attribute after 
<code>attrs.has</code> narrows a class to <code>type[AttrsInstance]</code>. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30958";>#30958</a>)</li>
   <li>Report <code>invalid-argument-type</code> when <code>attrs.fields</code> 
or <code>attrs.asdict</code> receives an argument that lacks the 
<code>__attrs_attrs__</code> member required by the <code>AttrsInstance</code> 
protocol. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30958";>#30958</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/sharkdp";><code>@​sharkdp</code></a></li>
   </ul>
   <h2>0.0.111</h2>
   <p>Released on 2026-11-25.</p>
   <h3>Bug fixes</h3>
   <ul>
   <li>Fix a crash when choosing an overload for a class decorator depends on 
an inherited attribute whose type refers back to the decorated class. ty 
preserves the original class for <code>Self</code> inference even if the 
decorated name widens to a union. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30845";>#30845</a>)</li>
   </ul>
   <h3>Performance improvements</h3>
   <ul>
   <li>Infer repeated generic calls faster by reusing type arguments when the 
argument types and expected return type match, including for bounded type 
variables. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30909";>#30909</a>)</li>
   <li>Speed up type checking by reducing the work needed to collect and merge 
inferred expression types, as in geomaglib. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30882";>#30882</a>)</li>
   <li>Analyze control flow faster when switching between branches or exception 
handlers, such as in generated bindings with many <code>try</code> statements. 
(<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30776";>#30776</a>)</li>
   <li>Narrow names and attributes faster by looking up only the conditions 
that can affect them and reusing those lookups as ty follows control flow. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30792";>#30792</a>, <a 
href="https://redirect.github.com/astral-sh/ruff/pull/30780";>#30780</a>)</li>
   <li>Speed up reachability analysis when branches merge and leave the same 
definitions in scope. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30865";>#30865</a>)</li>
   <li>Preserve narrowing from a later check when complex control flow reaches 
ty's limit for combining narrowing conditions. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30865";>#30865</a>)</li>
   <li>Resolve overloaded calls with <code>Any</code> arguments faster when the 
earlier overloads infer the same argument types and all rule out 
<code>object()</code> at the same argument position. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30866";>#30866</a>)</li>
   <li>Infer instance attributes such as <code>self.name</code> faster by 
indexing their assignments and declarations once per class. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30901";>#30901</a>)</li>
   <li>Check assignments to unannotated instance attributes faster when the 
value already has the attribute's inferred type, such as when the call in 
<code>self.items = wrap(value)</code> determines the type of 
<code>items</code>. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30862";>#30862</a>)</li>
   <li>Look up inherited members faster on standard generic types such as 
<code>list[int]</code> and <code>list[str]</code> by reusing their method 
resolution order across type arguments. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30908";>#30908</a>)</li>
   <li>Determine instance types faster by reusing information about a class and 
its bases, including whether it is a <code>TypedDict</code> or a protocol or 
inherits from explicit <code>Any</code>. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30906";>#30906</a>)</li>
   <li>Look up members faster across different string or integer literals, 
while retaining exact lengths for string <code>__len__</code>. (<a 
href="https://redirect.github.com/astral-sh/ruff/pull/30907";>#30907</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/77bf17505ba316e150cb5914d32116fc27004d87";><code>77bf175</code></a>
 Bump version to 0.0.112 (<a 
href="https://redirect.github.com/astral-sh/ty/issues/5128";>#5128</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ty/commit/52edfeb719d5b8832f731a90db37205f225af72d";><code>52edfeb</code></a>
 Update benchmarks for ty 0.0.111 (<a 
href="https://redirect.github.com/astral-sh/ty/issues/5125";>#5125</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ty/commit/f270073e953ef138b39cad8d6499344750d16765";><code>f270073</code></a>
 Bump version to 0.0.111 (<a 
href="https://redirect.github.com/astral-sh/ty/issues/5124";>#5124</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ty/commit/f9fc219abc2de473ca938c537d535cf8be481b8e";><code>f9fc219</code></a>
 Update benchmarks for ty 0.0.110 (<a 
href="https://redirect.github.com/astral-sh/ty/issues/5121";>#5121</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ty/commit/dd67de7c29277a52d0ab36129b145158f6e031d2";><code>dd67de7</code></a>
 Update Swatinem/rust-cache action to v2.9.3 (<a 
href="https://redirect.github.com/astral-sh/ty/issues/5105";>#5105</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ty/commit/3aca551583296fee67ad11289498a9b2e1b28d9b";><code>3aca551</code></a>
 Update docker/login-action action to v4.7.0 (<a 
href="https://redirect.github.com/astral-sh/ty/issues/5109";>#5109</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ty/commit/ad7d2ff6adec848037e24fc52a03e9790b55e428";><code>ad7d2ff</code></a>
 Update prek dependencies (<a 
href="https://redirect.github.com/astral-sh/ty/issues/5110";>#5110</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ty/commit/a07555dc9a9e23239e134e4b99e1fa7554b55063";><code>a07555d</code></a>
 Update dependency prek to v0.5.7 (<a 
href="https://redirect.github.com/astral-sh/ty/issues/5104";>#5104</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ty/commit/3c0c832ccf4b01589db2a968a2f33e803e0fbba1";><code>3c0c832</code></a>
 Update uv to v0.13.10 (<a 
href="https://redirect.github.com/astral-sh/ty/issues/5106";>#5106</a>)</li>
   <li><a 
href="https://github.com/astral-sh/ty/commit/7933f51fe3736a5160998c5009f8cecf71387ab9";><code>7933f51</code></a>
 Update actions/setup-python action to v7.1.0 (<a 
href="https://redirect.github.com/astral-sh/ty/issues/5107";>#5107</a>)</li>
   <li>Additional commits viewable in <a 
href="https://github.com/astral-sh/ty/compare/0.0.109...0.0.112";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ty&package-manager=pip&previous-version=0.0.109&new-version=0.0.112)](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 <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>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to