Skip to content

[ty] Top materialization issues (take 394)#24736

Draft
AlexWaygood wants to merge 6 commits intomainfrom
alex-brent/default-specializations
Draft

[ty] Top materialization issues (take 394)#24736
AlexWaygood wants to merge 6 commits intomainfrom
alex-brent/default-specializations

Conversation

@AlexWaygood
Copy link
Copy Markdown
Member

  • alex's attempt
  • another good checkpoint
  • fix issues with intersection meta-types
  • consolidate logic
  • .
  • clippy/formatting

Summary

Test Plan

@AlexWaygood AlexWaygood added the ty Multi-file analysis & type inference label Apr 20, 2026
@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Apr 20, 2026

Typing conformance results

The percentage of diagnostics emitted that were expected errors held steady at 87.94%. The percentage of expected errors that received a diagnostic held steady at 83.36%. The number of fully passing files held steady at 79/133.

Summary

How are test cases classified?

Each test case represents one expected error annotation or a group of annotations sharing a tag. Counts are per test case, not per diagnostic — multiple diagnostics on the same line count as one. Required annotations (E) are true positives when ty flags the expected location and false negatives when it does not. Optional annotations (E?) are true positives when flagged but true negatives (not false negatives) when not. Tagged annotations (E[tag]) require ty to flag exactly one of the tagged lines; tagged multi-annotations (E[tag+]) allow any number up to the tag count. Flagging unexpected locations counts as a false positive.

Metric Old New Diff Outcome
True Positives 882 882 +0
False Positives 121 121 +0
False Negatives 176 176 +0
Total Diagnostics 1053 1052 -1
Precision 87.94% 87.94% +0.00%
Recall 83.36% 83.36% +0.00%
Passing Files 79/133 79/133 +0

True positives changed (1)

1 diagnostic
Test case Diff

literals_literalstring.py:133

-error[invalid-assignment] Object of type `Container[T@Container]` is not assignable to `Container[LiteralString]`
-error[invalid-argument-type] Argument to `Container.__init__` is incorrect: Argument type `str` does not satisfy upper bound `LiteralString` of type variable `T`
-error[invalid-argument-type] Argument to `Container.__init__` is incorrect: Expected `LiteralString`, found `str`
+error[invalid-assignment] Object of type `Container[T@Container]` is not assignable to `Container[LiteralString]`
+error[invalid-argument-type] Argument to `Container.__init__` is incorrect: Argument type `str` does not satisfy upper bound `LiteralString` of type variable `T`

@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Apr 20, 2026

Memory usage report

Summary

Project Old New Diff Outcome
prefect 716.96MB 719.04MB +0.29% (2.07MB)
sphinx 262.78MB 263.85MB +0.41% (1.07MB)
trio 117.64MB 118.03MB +0.33% (399.48kB)
flake8 47.94MB 48.21MB +0.56% (274.96kB)

Significant changes

Click to expand detailed breakdown

prefect

Name Old New Diff Outcome
infer_definition_types 90.40MB 90.79MB +0.43% (394.12kB)
infer_expression_types_impl 63.04MB 63.34MB +0.48% (311.75kB)
infer_deferred_types 14.60MB 14.82MB +1.47% (220.11kB)
is_redundant_with_impl 4.28MB 4.40MB +2.81% (123.33kB)
infer_expression_type_impl 13.41MB 13.50MB +0.66% (91.11kB)
Type<'db>::member_lookup_with_policy_ 17.25MB 17.32MB +0.41% (73.07kB)
is_redundant_with_impl::interned_arguments 4.38MB 4.44MB +1.51% (67.63kB)
Type<'db>::class_member_with_policy_ 17.62MB 17.69MB +0.35% (62.66kB)
infer_scope_types_impl 54.81MB 54.86MB +0.10% (55.47kB)
Type<'db>::apply_specialization_ 3.70MB 3.76MB +1.43% (54.40kB)
IntersectionType<'db>::from_two_elements_ 46.55kB 100.64kB +116.21% (54.09kB)
FunctionType<'db>::signature_ 4.09MB 4.14MB +1.24% (51.98kB)
Type<'db>::try_call_dunder_get_ 10.60MB 10.64MB +0.37% (39.86kB)
StaticClassLiteral<'db>::implicit_attribute_inner_ 10.06MB 10.10MB +0.38% (39.41kB)
StaticClassLiteral<'db>::try_mro_ 4.80MB 4.84MB +0.74% (36.47kB)
... 68 more

sphinx

Name Old New Diff Outcome
infer_definition_types 23.63MB 23.81MB +0.77% (185.52kB)
infer_deferred_types 5.53MB 5.67MB +2.41% (136.80kB)
infer_expression_types_impl 20.75MB 20.86MB +0.50% (105.22kB)
is_redundant_with_impl 1.49MB 1.57MB +5.77% (87.88kB)
is_redundant_with_impl::interned_arguments 1.73MB 1.77MB +2.55% (45.12kB)
IntersectionType<'db>::from_two_elements_ 36.17kB 79.02kB +118.47% (42.85kB)
Type<'db>::member_lookup_with_policy_ 6.86MB 6.90MB +0.60% (41.91kB)
FunctionType<'db>::signature_ 2.27MB 2.31MB +1.62% (37.77kB)
Type<'db>::class_member_with_policy_ 7.63MB 7.66MB +0.46% (35.59kB)
FunctionType 3.11MB 3.14MB +1.05% (33.30kB)
Type<'db>::apply_specialization_ 1.63MB 1.67MB +1.99% (33.23kB)
infer_scope_types_impl 15.43MB 15.45MB +0.18% (28.86kB)
Type<'db>::try_call_dunder_get_ 4.88MB 4.90MB +0.54% (26.75kB)
CallableType 1.12MB 1.14MB +1.99% (22.71kB)
Type<'db>::class_member_with_policy_::interned_arguments 4.03MB 4.05MB +0.49% (20.11kB)
... 62 more

trio

Name Old New Diff Outcome
infer_deferred_types 2.34MB 2.40MB +2.57% (61.80kB)
infer_definition_types 7.58MB 7.62MB +0.63% (48.70kB)
is_redundant_with_impl 438.73kB 477.13kB +8.75% (38.40kB)
infer_expression_types_impl 7.00MB 7.03MB +0.35% (25.23kB)
is_redundant_with_impl::interned_arguments 507.20kB 528.77kB +4.25% (21.57kB)
IntersectionType<'db>::from_two_elements_ 17.27kB 37.43kB +116.69% (20.16kB)
FunctionType<'db>::signature_ 1.07MB 1.08MB +1.79% (19.56kB)
GenericContext<'db>::default_specialization_ 0.00B 15.94kB +15.94kB (new)
FunctionType 1.49MB 1.50MB +0.81% (12.34kB)
FunctionType<'db>::last_definition_signature_ 241.98kB 251.97kB +4.13% (9.98kB)
IntersectionType 201.64kB 211.15kB +4.72% (9.51kB)
CallableType 587.06kB 596.48kB +1.60% (9.42kB)
infer_scope_types_impl 4.75MB 4.75MB +0.19% (9.04kB)
GenericContext<'db>::default_specialization_::interned_arguments 0.00B 8.69kB +8.69kB (new)
Type<'db>::apply_specialization_ 718.34kB 726.89kB +1.19% (8.55kB)
... 59 more

flake8

Name Old New Diff Outcome
infer_definition_types 1.86MB 1.89MB +1.54% (29.35kB)
infer_deferred_types 693.74kB 716.83kB +3.33% (23.09kB)
is_redundant_with_impl 115.96kB 137.37kB +18.46% (21.41kB)
FunctionType 440.62kB 457.97kB +3.94% (17.34kB)
FunctionType<'db>::signature_ 362.48kB 378.79kB +4.50% (16.31kB)
CallableType 171.42kB 184.99kB +7.92% (13.57kB)
is_redundant_with_impl::interned_arguments 118.42kB 130.71kB +10.38% (12.29kB)
IntersectionType<'db>::from_two_elements_ 4.49kB 15.96kB +255.30% (11.47kB)
infer_expression_types_impl 1.04MB 1.05MB +0.98% (10.43kB)
StaticClassLiteral<'db>::try_mro_ 319.72kB 330.05kB +3.23% (10.33kB)
IntersectionType 56.72kB 64.08kB +12.98% (7.36kB)
Type<'db>::member_lookup_with_policy_ 553.20kB 560.32kB +1.29% (7.12kB)
Type<'db>::apply_specialization_ 210.35kB 217.42kB +3.36% (7.07kB)
infer_scope_types_impl 986.17kB 992.52kB +0.64% (6.35kB)
GenericContext<'db>::default_specialization_ 0.00B 6.08kB +6.08kB (new)
... 52 more

@AlexWaygood AlexWaygood force-pushed the alex-brent/default-specializations branch from f3c1dec to 194d01b Compare April 20, 2026 04:18
@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Apr 20, 2026

ecosystem-analyzer results

Lint rule Added Removed Changed
no-matching-overload 3,060 6 0
type-assertion-failure 277 433 776
invalid-argument-type 395 128 868
unresolved-attribute 12 15 502
invalid-assignment 19 3 138
unsupported-operator 80 1 52
invalid-return-type 16 4 82
empty-body 0 0 69
not-subscriptable 0 3 20
invalid-method-override 22 0 0
division-by-zero 19 0 0
call-non-callable 0 2 14
invalid-parameter-default 1 0 14
unused-type-ignore-comment 5 10 0
invalid-type-arguments 0 0 12
not-iterable 4 0 8
invalid-yield 0 0 11
assert-type-unspellable-subtype 8 0 1
invalid-generic-class 5 0 0
too-many-positional-arguments 0 0 4
unsupported-base 3 0 1
invalid-context-manager 0 0 2
invalid-raise 0 2 0
redundant-cast 0 1 1
unknown-argument 1 0 0
Total 3,927 608 2,575

Large timing changes:

Project Old Time New Time Change
freqtrade 0.64s 1.30s +102%
xarray 0.58s 1.12s +91%
pandera 0.78s 1.41s +82%
scipy 2.31s 4.06s +76%
pandas-stubs 10.79s 17.78s +65%

Flaky changes detected. This PR summary excludes flaky changes; see the HTML report for details.

Showing a random sample of 237 of 7110 changes. See the HTML report for the full diff.

Raw diff sample (237 of 7110 changes)
Tanjun (https://github.com/FasterSpeeding/Tanjun)
- tanjun/components.py:864:16 error[invalid-return-type] Return type does not match returned value: expected `_CommandT@with_command | ((_CommandT@with_command, /) -> _CommandT@with_command)`, found `ExecutableCommand[Any] | ((ExecutableCommand[Any], /) -> ExecutableCommand[Any])`
+ tanjun/components.py:864:16 error[invalid-return-type] Return type does not match returned value: expected `_CommandT@with_command | ((_CommandT@with_command, /) -> _CommandT@with_command)`, found `ExecutableCommand[Context & Any] | ((ExecutableCommand[Context & Any], /) -> ExecutableCommand[Context & Any])`

artigraph (https://github.com/artigraph/artigraph)
- tests/arti/graphs/test_graph.py:31:12 error[unresolved-attribute] Object of type `Storage[Unknown]` has no attribute `id`
+ tests/arti/graphs/test_graph.py:31:12 error[unresolved-attribute] Object of type `Storage[StoragePartition & Unknown]` has no attribute `id`

bokeh (https://github.com/bokeh/bokeh)
- src/bokeh/models/plots.py:523:31 error[invalid-argument-type] Argument to `Object.__init__` is incorrect: Expected `Range | UndefinedType | IntrinsicType`, found `InstanceDefault[DataRange1d]`
- src/bokeh/plotting/glyph_api.py:220:54 error[empty-body] Function always implicitly returns `None`, which is not assignable to return type `GlyphRenderer[Unknown]`
+ src/bokeh/plotting/glyph_api.py:220:54 error[empty-body] Function always implicitly returns `None`, which is not assignable to return type `GlyphRenderer[Glyph & Unknown]`

dd-trace-py (https://github.com/DataDog/dd-trace-py)
+ tests/contrib/pytest/test_pytest.py:4050:36 error[invalid-argument-type] Argument to function `sorted` is incorrect: Expected `Iterable[(SupportsDunderLT[Never] & Unknown) | (SupportsDunderGT[Never] & Unknown)]`, found `list[str | None]`
- tests/contrib/pytest/test_pytest_attempt_to_fix.py:262:16 error[unresolved-attribute] Attribute `attrib` is not defined on `None` in union `Element[Unknown] | None`
+ tests/contrib/pytest/test_pytest_attempt_to_fix.py:262:16 error[unresolved-attribute] Attribute `attrib` is not defined on `None` in union `Element[str] | None`

discord.py (https://github.com/Rapptz/discord.py)
- discord/app_commands/commands.py:249:50 error[unresolved-attribute] Object of type `((GroupT@validate_auto_complete_callback, Interaction[Any], str, /) -> Coroutine[Any, Any, list[Choice[ChoiceT@validate_auto_complete_callback]]]) | ((Interaction[Any], str, /) -> Coroutine[Any, Any, list[Choice[ChoiceT@validate_auto_complete_callback]]])` has no attribute `__qualname__`
+ discord/app_commands/commands.py:249:50 error[unresolved-attribute] Object of type `((GroupT@validate_auto_complete_callback, Interaction[Client & Any], str, /) -> Coroutine[Any, Any, list[Choice[ChoiceT@validate_auto_complete_callback]]]) | ((Interaction[Client & Any], str, /) -> Coroutine[Any, Any, list[Choice[ChoiceT@validate_auto_complete_callback]]])` has no attribute `__qualname__`
- discord/ext/commands/core.py:1944:13 error[unresolved-attribute] Object of type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]]` has no attribute `__commands_checks__`
+ discord/ext/commands/core.py:1944:13 error[unresolved-attribute] Object of type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[(Cog & Unknown) | (None & Unknown), Top[(...)], Unknown]]` has no attribute `__commands_checks__`
- discord/ui/select.py:1229:13 error[unresolved-attribute] Object of type `(S@decorator, Interaction[Any], BaseSelectT@select, /) -> Coroutine[Any, Any, Any]` has no attribute `__discord_ui_model_kwargs__`
+ discord/ui/select.py:1229:13 error[unresolved-attribute] Object of type `(S@decorator, Interaction[Client & Any], BaseSelectT@select, /) -> Coroutine[Any, Any, Any]` has no attribute `__discord_ui_model_kwargs__`

egglog-python (https://github.com/egraphs-good/egglog-python)
- python/egglog/exp/program_gen.py:113:5 error[invalid-argument-type] Argument is incorrect: Expected `(...) -> Unknown`, found `property`
+ python/egglog/exp/program_gen.py:113:5 error[invalid-argument-type] Argument is incorrect: Expected `(...) -> BaseExpr & Unknown`, found `property`

hydpy (https://github.com/hydpy-dev/hydpy)
- hydpy/auxs/calibtools.py:2012:9 error[invalid-assignment] Object of type `Devices[Any]` is not assignable to attribute `_elements` of type `Elements`
+ hydpy/auxs/calibtools.py:2012:9 error[invalid-assignment] Object of type `Devices[Device & Any]` is not assignable to attribute `_elements` of type `Elements`

ibis (https://github.com/ibis-project/ibis)
- ibis/expr/datatypes/tests/test_core.py:32:39 error[invalid-argument-type] Argument is incorrect: Expected `bool`, found `Map[Unknown, Unknown]`
+ ibis/expr/datatypes/tests/test_core.py:32:39 error[invalid-argument-type] Argument is incorrect: Expected `bool`, found `Map[DataType & Unknown, DataType & Unknown]`
- ibis/expr/operations/tests/test_core.py:134:16 error[invalid-argument-type] Argument is incorrect: Expected `Value[Any, Any]`, found `Literal[1]`
+ ibis/expr/operations/tests/test_core.py:134:16 error[invalid-argument-type] Argument is incorrect: Expected `Value[DataType & Any, DataShape & Any]`, found `Literal[1]`
- ibis/expr/rewrites.py:183:23 error[invalid-yield] Yield type `ibis.expr.types.generic.Value` does not match annotated yield type `ibis.expr.operations.core.Value[Unknown, Any]`
+ ibis/expr/rewrites.py:183:23 error[invalid-yield] Yield type `ibis.expr.types.generic.Value` does not match annotated yield type `ibis.expr.operations.core.Value[DataType & Unknown, Any]`
- ibis/expr/types/generic.py:686:46 error[invalid-argument-type] Argument is incorrect: Expected `Value[Unknown, Any]`, found `Self@isin`
+ ibis/expr/types/generic.py:686:46 error[invalid-argument-type] Argument is incorrect: Expected `Value[DataType & Unknown, Any]`, found `Self@isin`
- ibis/expr/types/generic.py:1001:37 error[invalid-argument-type] Argument is incorrect: Expected `Value[Unknown, Any]`, found `Node`
+ ibis/expr/types/generic.py:1001:37 error[invalid-argument-type] Argument is incorrect: Expected `Value[DataType & Unknown, Any]`, found `Node`
- ibis/tests/expr/test_table.py:786:71 error[invalid-argument-type] Argument is incorrect: Expected `Value[Unknown, Any]`, found `Literal[10]`
+ ibis/tests/expr/test_table.py:786:71 error[invalid-argument-type] Argument is incorrect: Expected `Value[DataType & Unknown, Any]`, found `Literal[10]`
- ibis/tests/expr/test_window_frames.py:23:28 error[invalid-argument-type] Argument is incorrect: Expected `Value[Unknown, Any]`, found `Literal[5]`
+ ibis/tests/expr/test_window_frames.py:23:28 error[invalid-argument-type] Argument is incorrect: Expected `Value[(Numeric & Unknown) | (Interval & Unknown), Any]`, found `Literal[5]`
- ibis/tests/expr/test_window_frames.py:67:43 error[invalid-argument-type] Argument is incorrect: Expected `Value[Unknown, Any]`, found `Literal[5]`
+ ibis/tests/expr/test_window_frames.py:67:43 error[invalid-argument-type] Argument is incorrect: Expected `Value[(Numeric & Unknown) | (Interval & Unknown), Any]`, found `Literal[5]`
- ibis/tests/expr/test_window_frames.py:91:41 error[invalid-argument-type] Argument is incorrect: Expected `Value[Unknown, Any]`, found `Literal[10]`
+ ibis/tests/expr/test_window_frames.py:91:41 error[invalid-argument-type] Argument is incorrect: Expected `Value[(Numeric & Unknown) | (Interval & Unknown), Any]`, found `Literal[10]`
- ibis/tests/expr/test_window_frames.py:115:43 error[invalid-argument-type] Argument is incorrect: Expected `Value[Unknown, Any]`, found `Literal[5]`
+ ibis/tests/expr/test_window_frames.py:115:43 error[invalid-argument-type] Argument is incorrect: Expected `Value[(Numeric & Unknown) | (Interval & Unknown), Any]`, found `Literal[5]`
- ibis/tests/expr/test_window_frames.py:166:42 error[invalid-argument-type] Argument is incorrect: Expected `Value[Unknown, Any]`, found `IntervalScalar`
+ ibis/tests/expr/test_window_frames.py:166:42 error[invalid-argument-type] Argument is incorrect: Expected `Value[(Numeric & Unknown) | (Interval & Unknown), Any]`, found `IntervalScalar`
- ibis/tests/expr/test_window_frames.py:195:41 error[invalid-argument-type] Argument is incorrect: Expected `Value[Unknown, Any]`, found `IntervalScalar`
+ ibis/tests/expr/test_window_frames.py:195:41 error[invalid-argument-type] Argument is incorrect: Expected `Value[(Numeric & Unknown) | (Interval & Unknown), Any]`, found `IntervalScalar`

jax (https://github.com/google/jax)
+ jax/_src/lax/parallel.py:1138:18 error[no-matching-overload] No overload matches arguments
+ jax/experimental/mosaic/gpu/tcgen05.py:1534:14 error[no-matching-overload] No overload of function `asarray` matches arguments

koda-validate (https://github.com/keithasaurus/koda-validate)
- koda_validate/serialization/json_schema.py:319:43 error[invalid-argument-type] Argument to function `escape` is incorrect: Argument type `object` does not satisfy constraints (`str`, `bytes`) of type variable `AnyStr`
+ koda_validate/serialization/json_schema.py:319:43 error[invalid-argument-type] Argument to function `escape` is incorrect: Argument type `str | bytes` does not satisfy constraints (`str`, `bytes`) of type variable `AnyStr`

mitmproxy (https://github.com/mitmproxy/mitmproxy)
- web/gen/state_js.py:30:5 error[unresolved-attribute] Unresolved attribute `_servers` on type `ServerInstance[Unknown]`
+ web/gen/state_js.py:30:5 error[unresolved-attribute] Unresolved attribute `_servers` on type `ServerInstance[ProxyMode & Unknown]`

optuna (https://github.com/optuna/optuna)
- optuna/importance/_fanova/_tree.py:306:12 error[invalid-return-type] Return type does not match returned value: expected `int | float`, found `signedinteger[Unknown]`
+ optuna/importance/_fanova/_tree.py:306:12 error[invalid-return-type] Return type does not match returned value: expected `int | float`, found `signedinteger[NBitBase & Unknown]`

pandas (https://github.com/pandas-dev/pandas)
+ pandas/core/dtypes/astype.py:190:18 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/arrays/masked/test_function.py:91:16 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/arrays/masked/test_function.py:254:16 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/arrays/sparse/test_array.py:238:17 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/frame/methods/test_explode.py:109:20 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/indexing/test_indexing.py:1070:42 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/tslibs/test_fields.py:20:16 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/util/test_assert_almost_equal.py:521:17 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/util/test_assert_almost_equal.py:565:9 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/core/arrays/interval.py:720:24 error[no-matching-overload] No overload matches arguments
- pandas/core/arrays/interval.py:1571:50 error[invalid-argument-type] Argument to `Interval.__init__` is incorrect: Expected `int`, found `Period | Timestamp | Timedelta | NaTType | Any`
+ pandas/core/arrays/masked.py:1893:24 error[no-matching-overload] No overload matches arguments
+ pandas/core/arrays/sparse/array.py:603:15 error[no-matching-overload] No overload of function `full` matches arguments
- pandas/core/arrays/sparse/array.py:2057:19 error[unresolved-attribute] Attribute `sp_index` is not defined on `ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]` in union `ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]] | Any`
+ pandas/core/arrays/sparse/array.py:2057:19 error[unresolved-attribute] Attribute `sp_index` is not defined on `ndarray[tuple[int, ...] & tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]` in union `ndarray[tuple[int, ...] & tuple[Any, ...], dtype[numpy.bool[builtins.bool]]] | Any`
+ pandas/core/arrays/string_arrow.py:545:20 error[no-matching-overload] No overload matches arguments
+ pandas/core/construction.py:330:45 error[no-matching-overload] No overload of function `getmaskarray` matches arguments
+ pandas/core/frame.py:15384:29 error[invalid-argument-type] Argument to bound method `DataFrame.to_numpy` is incorrect: Expected `_HasDType[dtype[generic[object] & Any]] | dtype[generic[object] & Any] | _HasNumPyDType[dtype[generic[object] & Any]] | ... omitted 5 union elements`, found `<class 'float'>`
+ pandas/core/groupby/ops.py:487:30 error[no-matching-overload] No overload of bound method `ndarray.astype` matches arguments
- pandas/core/groupby/ops.py:685:16 error[invalid-return-type] Return type does not match returned value: expected `dict[Hashable, ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]]]`, found `dict[Hashable, ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]]] | dict[tuple[int | float | Unknown, ...], ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]]]`
+ pandas/core/groupby/ops.py:685:16 error[invalid-return-type] Return type does not match returned value: expected `dict[Hashable, ndarray[tuple[int, ...] & tuple[Any, ...], dtype[signedinteger[_64Bit]]]]`, found `dict[Hashable, ndarray[tuple[int, ...] & tuple[Any, ...], dtype[signedinteger[_64Bit]]]] | dict[tuple[int | float | Unknown, ...], ndarray[tuple[int, ...] & tuple[Any, ...], dtype[signedinteger[_64Bit]]]]`
+ pandas/core/indexes/multi.py:761:24 error[no-matching-overload] No overload of bound method `ExtensionArray.astype` matches arguments
+ pandas/core/indexes/multi.py:761:24 error[no-matching-overload] No overload of bound method `ndarray.astype` matches arguments
- pandas/core/internals/construction.py:299:39 error[invalid-argument-type] Argument to function `_check_values_indices_shape_match` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Unknown | ndarray[tuple[int, int], dtype[Any]] | ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]`
+ pandas/core/internals/construction.py:299:39 error[invalid-argument-type] Argument to function `_check_values_indices_shape_match` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Unknown | ndarray[tuple[Any, ...], dtype[Any]] | ExtensionArray`
+ pandas/core/nanops.py:1477:17 error[invalid-assignment] Cannot assign to a subscript on an object of type `NaTType`
+ pandas/core/reshape/melt.py:359:16 error[no-matching-overload] No overload matches arguments
+ pandas/core/strings/accessor.py:4796:23 error[no-matching-overload] No overload of function `asarray` matches arguments
- pandas/io/common.py:963:13 error[invalid-argument-type] Argument to `TextIOWrapper.__init__` is incorrect: Expected `_WrappedBuffer`, found `(BaseBuffer & <Protocol with members 'readable'> & <Protocol with members 'writable'> & ~str) | (Any & <Protocol with members 'readable'> & <Protocol with members 'writable'> & <Protocol with members 'seekable'> & ~str) | IO[Any] | _IOWrapper`
+ pandas/tests/arithmetic/test_datetime64.py:612:24 error[no-matching-overload] No overload of function `array` matches arguments
- pandas/tests/arrays/floating/test_function.py:94:25 error[invalid-argument-type] Argument to bound method `_UFunc_Nin2_Nout1.reduce` is incorrect: Expected `_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements`, found `ExtensionArray`
+ pandas/tests/arrays/floating/test_function.py:94:25 error[invalid-argument-type] Argument to bound method `_UFunc_Nin2_Nout1.reduce` is incorrect: Expected `_Buffer | _SupportsArray[dtype[generic[object] & Any]] | _NestedSequence[_SupportsArray[dtype[generic[object] & Any]]] | ... omitted 5 union elements`, found `ExtensionArray`
+ pandas/tests/arrays/sparse/test_reductions.py:115:16 error[no-matching-overload] No overload of bound method `ndarray.astype` matches arguments
+ pandas/tests/arrays/test_array.py:487:36 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/arrays/test_datetimelike.py:468:24 error[no-matching-overload] No overload of function `asarray` matches arguments
- pandas/tests/base/test_unique.py:16:40 error[unresolved-attribute] Object of type `ndarray[tuple[int], dtype[Unknown]]` has no attribute `values`
+ pandas/tests/base/test_unique.py:16:40 error[unresolved-attribute] Object of type `ndarray[tuple[int], dtype[generic[object] & Unknown]]` has no attribute `values`
+ pandas/tests/dtypes/test_inference.py:725:13 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/dtypes/test_missing.py:504:13 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/dtypes/test_missing.py:564:12 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/frame/constructors/test_from_records.py:533:39 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/frame/methods/test_shift.py:343:13 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/frame/test_arithmetic.py:2021:13 error[no-matching-overload] No overload matches arguments
- pandas/tests/indexes/datetimes/methods/test_tz_localize.py:285:49 error[invalid-argument-type] Argument to constructor `DatetimeIndex.__new__` is incorrect: Expected `Literal["infer", "NaT", "raise"] | builtins.bool | ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]`, found `list[int]`
+ pandas/tests/indexes/datetimes/methods/test_tz_localize.py:285:49 error[invalid-argument-type] Argument to constructor `DatetimeIndex.__new__` is incorrect: Expected `Literal["infer", "NaT", "raise"] | builtins.bool | ndarray[tuple[int, ...] & tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]`, found `list[int]`
+ pandas/tests/indexes/period/test_indexing.py:799:16 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/indexes/test_index_new.py:160:24 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/indexes/test_old_base.py:623:24 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/libs/test_lib.py:57:18 error[no-matching-overload] No overload of bound method `ExtensionArray.astype` matches arguments
- pandas/tests/libs/test_libalgos.py:96:18 error[not-subscriptable] Cannot subscript object of type `def pad(old: ndarray[tuple[Any, ...], dtype[Any]], new: ndarray[tuple[Any, ...], dtype[Any]], limit=...) -> ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]]` with no `__getitem__` method
+ pandas/tests/libs/test_libalgos.py:96:18 error[not-subscriptable] Cannot subscript object of type `def pad(old: ndarray[tuple[Any, ...], dtype[Any]], new: ndarray[tuple[Any, ...], dtype[Any]], limit=...) -> ndarray[tuple[int, ...] & tuple[Any, ...], dtype[signedinteger[_64Bit]]]` with no `__getitem__` method
+ pandas/tests/reshape/concat/test_concat.py:732:18 error[no-matching-overload] No overload of function `array` matches arguments
+ pandas/tests/reshape/merge/test_merge.py:484:24 error[no-matching-overload] No overload of function `array` matches arguments
- pandas/tests/scalar/timedelta/test_arithmetic.py:1247:13 error[unsupported-operator] Operator `/` is not supported between objects of type `Timedelta | NaTType` and `Literal["1"] | ndarray[tuple[Any, ...], dtype[Any]]`
+ pandas/tests/scalar/timedelta/test_arithmetic.py:1247:13 error[unsupported-operator] Operator `/` is not supported between objects of type `Timedelta | NaTType` and `Literal["1"] | Unknown`
+ pandas/tests/strings/test_split_partition.py:602:17 error[no-matching-overload] No overload of function `array` matches arguments
- pandas/tests/test_sorting.py:493:50 error[invalid-argument-type] Argument to function `safe_sort` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]] | None`, found `list[int]`
+ pandas/tests/test_sorting.py:493:50 error[invalid-argument-type] Argument to function `safe_sort` is incorrect: Expected `ndarray[tuple[int, ...] & tuple[Any, ...], dtype[signedinteger[_64Bit]]] | None`, found `list[int]`

pandas-stubs (https://github.com/pandas-dev/pandas-stubs)
+ tests/frame/test_groupby.py:333:11 error[type-assertion-failure] Type `Series[(str & Any) | (bytes & Any) | (int & Any) | ... omitted 12 union elements]` does not match asserted type `Series[Any]`
+ tests/frame/test_groupby.py:468:5 error[type-assertion-failure] Type `Iterator[tuple[(str & Any) | (bytes & Any) | (date & Any) | ... omitted 12 union elements, DataFrame]]` does not match asserted type `Iterator[tuple[Any, DataFrame]]`
+ tests/frame/test_groupby.py:648:11 error[type-assertion-failure] Type `Series[(str & Any) | (bytes & Any) | (int & Any) | ... omitted 12 union elements]` does not match asserted type `Series[Any]`
- tests/indexes/bool/test_mul.py:101:11 error[type-assertion-failure] Type `ndarray[tuple[Any, ...], dtype[Unknown]]` does not match asserted type `ndarray[tuple[Any, ...], dtype[float64]]`
+ tests/indexes/bool/test_mul.py:101:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `ndarray[tuple[int, ...] & tuple[Any, ...], dtype[float64]]`
- tests/indexes/bool/test_truediv.py:83:9 error[type-assertion-failure] Type `Unknown` does not match asserted type `ndarray[tuple[Any, ...], dtype[complex128]]`
+ tests/indexes/bool/test_truediv.py:83:9 error[type-assertion-failure] Type `Unknown` does not match asserted type `ndarray[tuple[int, ...] & tuple[Any, ...], dtype[complex128]]`
- tests/indexes/complex/test_add.py:55:11 error[type-assertion-failure] Type `Index[Unknown]` does not match asserted type `Index[int | float | complex]`
+ tests/indexes/complex/test_add.py:55:11 error[type-assertion-failure] Type `Index[(str & Unknown) | (bytes & Unknown) | (int & Unknown) | ... omitted 12 union elements]` does not match asserted type `Index[int | float | complex]`
- tests/indexes/float/test_add.py:82:11 error[type-assertion-failure] Type `Index[Unknown]` does not match asserted type `Index[int | float]`
- tests/indexes/float/test_floordiv.py:102:9 error[type-assertion-failure] Type `ndarray[tuple[Any, ...], dtype[Unknown]]` does not match asserted type `Any`
- tests/indexes/float/test_mul.py:127:11 error[type-assertion-failure] Type `Index[Unknown]` does not match asserted type `Index[int | float]`
- tests/indexes/float/test_mul.py:135:11 error[type-assertion-failure] Type `Index[Unknown]` does not match asserted type `Index[int | float]`
- tests/indexes/float/test_truediv.py:96:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `ndarray[tuple[Any, ...], dtype[float64]]`
+ tests/indexes/float/test_truediv.py:96:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `ndarray[tuple[int, ...] & tuple[Any, ...], dtype[float64]]`
- tests/indexes/int/test_mul.py:122:11 error[type-assertion-failure] Type `Index[Unknown]` does not match asserted type `Index[int]`
- tests/indexes/int/test_mul.py:40:11 error[type-assertion-failure] Type `Index[Unknown]` does not match asserted type `Index[int]`
+ tests/indexes/int/test_mul.py:40:11 error[type-assertion-failure] Type `Index[(bytes & Unknown) | (int & Unknown) | (float & Unknown) | ... omitted 7 union elements]` does not match asserted type `Index[int]`
+ tests/indexes/str/test_add.py:84:14 error[unsupported-operator] Operator `+` is not supported between objects of type `Index[str]` and `Index[int]`
- tests/indexes/test_mul.py:71:9 error[type-assertion-failure] Type `ndarray[tuple[Any, ...], dtype[Unknown]]` does not match asserted type `Any`
- tests/indexes/timedeltaindex/test_mul.py:86:11 error[type-assertion-failure] Type `ndarray[tuple[Any, ...], dtype[Unknown]]` does not match asserted type `ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]]`
+ tests/indexes/timedeltaindex/test_mul.py:86:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]]`
- tests/series/bool/test_mul.py:202:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float]`
- tests/series/complex/test_add.py:124:9 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float | complex]`
+ tests/series/complex/test_add.py:124:9 error[type-assertion-failure] Type `Series[(str & Unknown) | (bytes & Unknown) | (int & Unknown) | ... omitted 12 union elements]` does not match asserted type `Series[int | float | complex]`
- tests/series/complex/test_mul.py:215:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float | complex]`
- tests/series/complex/test_mul.py:255:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float | complex]`
- tests/series/float/test_add.py:116:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float]`
- tests/series/float/test_add.py:157:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float]`
- tests/series/float/test_mul.py:236:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float]`
- tests/series/float/test_mul.py:238:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float]`
- tests/series/float/test_mul.py:244:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float]`
- tests/series/int/test_add.py:131:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int]`
- tests/series/int/test_add.py:90:9 error[type-assertion-failure] Type `ndarray[tuple[Any, ...], dtype[Unknown]]` does not match asserted type `ndarray[tuple[Any, ...], dtype[complex128]]`
+ tests/series/int/test_add.py:90:9 error[type-assertion-failure] Type `Unknown` does not match asserted type `ndarray[tuple[int, ...] & tuple[Any, ...], dtype[complex128]]`
- tests/series/int/test_mul.py:201:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int]`
- tests/series/int/test_mul.py:100:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float | complex]`
+ tests/series/int/test_mul.py:100:11 error[type-assertion-failure] Type `Series[(bytes & Unknown) | (int & Unknown) | (float & Unknown) | ... omitted 7 union elements]` does not match asserted type `Series[int | float | complex]`
- tests/series/int/test_truediv.py:189:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `ndarray[tuple[Any, ...], dtype[float64]]`
+ tests/series/int/test_truediv.py:189:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `ndarray[tuple[int, ...] & tuple[Any, ...], dtype[float64]]`
+ tests/series/str/test_mul.py:179:15 error[unsupported-operator] Operator `*` is not supported between objects of type `Series[str]` and `Index[bool]`
+ tests/series/str/test_mul.py:238:15 error[unsupported-operator] Operator `*` is not supported between objects of type `Series[int | float | complex]` and `Series[str]`
+ tests/series/test_add.py:163:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[Any]`
+ tests/series/test_mul.py:189:14 error[unsupported-operator] Operator `*` is not supported between objects of type `Series[Any]` and `Literal["abc"]`
+ tests/series/test_mul.py:190:14 error[unsupported-operator] Operator `*` is not supported between objects of type `Literal["abc"]` and `Series[Any]`
+ tests/series/test_sub.py:129:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[Any]`
+ tests/series/timedelta/test_mul.py:183:15 error[unsupported-operator] Operator `*` is not supported between objects of type `Series[Timedelta]` and `Series[int | float | complex]`
+ tests/series/timestamp/test_add.py:177:9 error[no-matching-overload] No overload of bound method `Series.add` matches arguments
+ tests/test_api_types.py:343:51 error[invalid-argument-type] Argument to function `is_timedelta64_ns_dtype` is incorrect: Expected `_HasDType[dtype[generic[object] & Any]] | dtype[generic[object] & Any] | _HasNumPyDType[dtype[generic[object] & Any]] | ... omitted 5 union elements`, found `<class 'ExtensionDtype'>`
+ tests/test_dtypes.py:202:49 error[invalid-argument-type] Argument to function `is_any_real_numeric_dtype` is incorrect: Expected `_HasDType[dtype[generic[object] & Any]] | dtype[generic[object] & Any] | _HasNumPyDType[dtype[generic[object] & Any]] | ... omitted 5 union elements`, found `<class 'float'>`
+ tests/test_io.py:1392:25 error[invalid-argument-type] Argument to function `read_sql` is incorrect: Expected `str | Selectable | TextClause | FromStatement[tuple[object, ...] & Any] | UpdateBase`, found `Select[Row[tuple[Unknown]]] | FromStatement[Row[tuple[Unknown]]] | UpdateBase`

pip (https://github.com/pypa/pip)
+ src/pip/_vendor/packaging/direct_url.py:268:37 error[invalid-argument-type] Argument to function `_get_object` is incorrect: Expected `type[_FromMappingProtocol & VcsInfo]`, found `<class 'VcsInfo'>`
- src/pip/_vendor/truststore/_macos.py:276:1 error[invalid-assignment] Object of type `def _handle_osstatus(result: c_int32, _: Any, args: Any) -> Any` is not assignable to attribute `errcheck` of type `(_CData | None, CFuncPtr, tuple[_CData, ...], /) -> _SimpleCData[Any] | _Pointer[Any] | CFuncPtr | ... omitted 3 union elements`
+ src/pip/_vendor/truststore/_macos.py:276:1 error[invalid-assignment] Object of type `def _handle_osstatus(result: c_int32, _: Any, args: Any) -> Any` is not assignable to attribute `errcheck` of type `(_CData | None, CFuncPtr, tuple[_CData, ...], /) -> _SimpleCData[Any] | _Pointer[_CData & Any] | CFuncPtr | ... omitted 3 union elements`

prefect (https://github.com/PrefectHQ/prefect)
- src/prefect/server/models/csrf_token.py:105:12 error[unresolved-attribute] Object of type `Result[Any]` has no attribute `rowcount`
+ src/prefect/server/models/csrf_token.py:105:12 error[unresolved-attribute] Object of type `Result[tuple[object, ...] & Any]` has no attribute `rowcount`

pydantic (https://github.com/pydantic/pydantic)
- pydantic/v1/env_settings.py:223:29 error[invalid-argument-type] Argument to constructor `Path.__new__` is incorrect: Expected `str | PathLike[str]`, found `str | PathLike[Unknown] | (list[str | PathLike[Unknown]] & PathLike[object]) | (tuple[str | PathLike[Unknown], ...] & PathLike[object])`
+ pydantic/v1/env_settings.py:223:29 error[invalid-argument-type] Argument to constructor `Path.__new__` is incorrect: Expected `str | PathLike[str]`, found `str | PathLike[(str & Unknown) | (bytes & Unknown)] | (list[str | PathLike[(str & Unknown) | (bytes & Unknown)]] & PathLike[str | bytes]) | (tuple[str | PathLike[(str & Unknown) | (bytes & Unknown)], ...] & PathLike[str | bytes])`

rotki (https://github.com/rotki/rotki)
- rotkehlchen/tests/api/test_event_matching.py:545:44 error[invalid-argument-type] Argument to function `_check_all_unlinked` is incorrect: Expected `list[HistoryBaseEntry[Unknown]]`, found `list[AssetMovement | EvmEvent]`
+ rotkehlchen/tests/api/test_event_matching.py:545:44 error[invalid-argument-type] Argument to function `_check_all_unlinked` is incorrect: Expected `list[HistoryBaseEntry[(Top[dict[str, Any]] & Unknown) | (AssetMovementExtraData & Unknown) | (None & Unknown)]]`, found `list[AssetMovement | EvmEvent]`

scikit-learn (https://github.com/scikit-learn/scikit-learn)
+ sklearn/feature_selection/_from_model.py:313:20 error[no-matching-overload] No overload of function `ones_like` matches arguments
+ sklearn/cluster/_affinity_propagation.py:26:16 error[no-matching-overload] No overload matches arguments
+ sklearn/cluster/tests/test_hierarchical.py:158:12 error[no-matching-overload] No overload matches arguments
+ sklearn/ensemble/_hist_gradient_boosting/gradient_boosting.py:460:30 error[no-matching-overload] No overload matches arguments
- sklearn/ensemble/_hist_gradient_boosting/gradient_boosting.py:1150:13 error[unresolved-attribute] Attribute `append` is not defined on `ndarray[tuple[Any, ...], dtype[Unknown]]` in union `list[Unknown] | Unknown | ndarray[tuple[Any, ...], dtype[Unknown]]`
+ sklearn/ensemble/_hist_gradient_boosting/gradient_boosting.py:1150:13 error[unresolved-attribute] Attribute `append` is not defined on `ndarray[tuple[int, ...] & tuple[Any, ...], dtype[generic[object] & Unknown]]` in union `list[Unknown] | Unknown | ndarray[tuple[int, ...] & tuple[Any, ...], dtype[generic[object] & Unknown]]`
+ sklearn/feature_selection/tests/test_feature_select.py:152:9 error[no-matching-overload] No overload of bound method `ndarray.astype` matches arguments
+ sklearn/feature_selection/tests/test_sequential.py:314:14 error[no-matching-overload] No overload of function `zeros_like` matches arguments
+ sklearn/impute/tests/test_impute.py:1409:14 error[no-matching-overload] No overload of function `array` matches arguments
+ sklearn/inspection/_plot/partial_dependence.py:1353:30 error[no-matching-overload] No overload matches arguments
+ sklearn/inspection/_plot/partial_dependence.py:1354:26 error[no-matching-overload] No overload matches arguments
+ sklearn/isotonic.py:347:25 error[no-matching-overload] No overload matches arguments
+ sklearn/metrics/tests/test_classification.py:1329:51 error[no-matching-overload] No overload of bound method `ndarray.astype` matches arguments
+ sklearn/metrics/tests/test_ranking.py:2429:18 error[no-matching-overload] No overload of bound method `ndarray.astype` matches arguments
+ sklearn/model_selection/_validation.py:1223:24 error[no-matching-overload] No overload matches arguments
+ sklearn/preprocessing/tests/test_encoders.py:252:9 error[no-matching-overload] No overload of function `array` matches arguments
+ sklearn/preprocessing/tests/test_encoders.py:256:9 error[no-matching-overload] No overload of function `array` matches arguments
+ sklearn/preprocessing/tests/test_encoders.py:1805:13 error[no-matching-overload] No overload of function `array` matches arguments
+ sklearn/preprocessing/tests/test_function_transformer.py:198:16 error[no-matching-overload] No overload of function `array` matches arguments
+ sklearn/tests/test_random_projection.py:476:26 error[no-matching-overload] No overload of function `array` matches arguments
+ sklearn/utils/estimator_checks.py:2097:9 error[no-matching-overload] No overload of bound method `ndarray.astype` matches arguments
+ sklearn/utils/tests/test_multiclass.py:96:9 error[no-matching-overload] No overload of function `array` matches arguments

scipy (https://github.com/scipy/scipy)
+ scipy/interpolate/_rbfinterp_pythran.py:81:11 error[no-matching-overload] No overload matches arguments
+ scipy/interpolate/_rbfinterp_pythran.py:151:11 error[no-matching-overload] No overload matches arguments
+ scipy/linalg/tests/test_special_matrices.py:407:41 error[no-matching-overload] No overload of bound method `ndarray.astype` matches arguments
+ scipy/ndimage/tests/test_morphology.py:1203:16 error[no-matching-overload] No overload of function `asarray` matches arguments
+ scipy/ndimage/tests/test_morphology.py:2066:16 error[no-matching-overload] No overload matches arguments
+ scipy/ndimage/tests/test_morphology.py:2766:17 error[no-matching-overload] No overload of function `asarray` matches arguments
+ scipy/ndimage/tests/test_morphology.py:2793:28 error[no-matching-overload] No overload of function `eye` matches arguments
+ scipy/signal/tests/test_czt.py:104:9 error[no-matching-overload] No overload matches arguments
+ scipy/sparse/csgraph/tests/test_shortest_path.py:229:16 error[no-matching-overload] No overload matches arguments
+ scipy/sparse/linalg/tests/test_matfuncs.py:466:19 error[no-matching-overload] No overload of function `array` matches arguments
+ scipy/spatial/transform/_rotation_spline.py:231:11 error[no-matching-overload] No overload of function `empty_like` matches arguments
- scipy/integrate/tests/test_quadrature.py:528:27 error[invalid-argument-type] Argument to function `moveaxis` is incorrect: Argument type `Unknown | None` does not satisfy upper bound `ndarray[Any, Any]` of type variable `_ArrayT`
+ scipy/integrate/tests/test_quadrature.py:528:27 error[invalid-argument-type] Argument to function `moveaxis` is incorrect: Argument type `Unknown | None` does not satisfy upper bound `ndarray[tuple[int, ...] & Any, dtype[object] & Any]` of type variable `_ArrayT`
+ scipy/interpolate/_fitpack_impl.py:518:13 error[no-matching-overload] No overload matches arguments
+ scipy/interpolate/_rgi.py:361:26 error[no-matching-overload] No overload of bound method `ndarray.astype` matches arguments
+ scipy/io/matlab/tests/test_mio.py:523:30 error[invalid-argument-type] Argument to constructor `ndarray.__new__` is incorrect: Expected `DTypeLike | None`, found `<class 'object'>`
+ scipy/linalg/tests/test_basic.py:2555:13 error[no-matching-overload] No overload of function `array` matches arguments
- scipy/ndimage/_morphology.py:2391:12 error[unresolved-attribute] Attribute `ndim` is not defined on `None` in union `Unknown | None | ndarray[tuple[Any, ...], Unknown]`
+ scipy/ndimage/_morphology.py:2391:12 error[unresolved-attribute] Attribute `ndim` is not defined on `None` in union `Unknown | None | ndarray[tuple[int, ...] & tuple[Any, ...], dtype[object] & Unknown]`
+ scipy/optimize/_minimize.py:594:14 error[no-matching-overload] No overload of function `asarray` matches arguments
+ scipy/optimize/_remove_redundancy.py:171:15 error[no-matching-overload] No overload matches arguments
+ scipy/optimize/_slsqp_py.py:399:14 error[no-matching-overload] No overload matches arguments
+ scipy/signal/_lti_conversion.py:87:53 error[no-matching-overload] No overload of function `array` matches arguments
- scipy/signal/tests/test_ltisys.py:790:17 error[unsupported-operator] Operator `/` is not supported between objects of type `int | float | complex | floating[_32Bit] | ndarray[tuple[Any, ...], dtype[Any]]` and `StateSpace`
+ scipy/signal/tests/test_ltisys.py:790:17 error[unsupported-operator] Operator `/` is not supported between objects of type `int | float | complex | floating[_32Bit] | ndarray[tuple[int, ...] & tuple[Any, ...], dtype[generic[object] & Any]]` and `StateSpace`
+ scipy/sparse/linalg/_dsolve/linsolve.py:325:33 error[no-matching-overload] No overload of function `full` matches arguments
- scipy/sparse/linalg/_dsolve/linsolve.py:259:21 error[unresolved-attribute] Attribute `toarray` is not defined on `spmatrix`, `ndarray[tuple[Any, ...], dtype[Any]]`, `ndarray[tuple[Any, ...], Unknown]` in union `spmatrix | Any | ndarray[tuple[Any, ...], dtype[Any]] | ndarray[tuple[Any, ...], Unknown]`
+ scipy/sparse/linalg/_dsolve/linsolve.py:259:21 error[unresolved-attribute] Attribute `toarray` is not defined on `spmatrix`, `ndarray[tuple[int, ...] & tuple[Any, ...], dtype[generic[object] & Any]]`, `ndarray[tuple[int, ...] & tuple[Any, ...], dtype[object] & Unknown]` in union `spmatrix | Any | ndarray[tuple[int, ...] & tuple[Any, ...], dtype[generic[object] & Any]] | ndarray[tuple[int, ...] & tuple[Any, ...], dtype[object] & Unknown]`
+ scipy/sparse/linalg/_matfuncs.py:106:9 error[no-matching-overload] No overload matches arguments
+ scipy/sparse/tests/test_base.py:2505:28 error[invalid-argument-type] Argument to function `can_cast` is incorrect: Expected `ArrayLike | DTypeLike`, found `<class 'int'>`
+ scipy/spatial/tests/test_distance.py:1299:26 error[no-matching-overload] No overload of function `array` matches arguments
- scipy/spatial/transform/_rigid_transform.py:1402:36 error[unresolved-attribute] Attribute `dtype` is not defined on `int`, `slice[Any, Any, Any]`, `EllipsisType`, `None`, `Buffer`, `_SupportsArray[dtype[Any]]`, `_NestedSequence[_SupportsArray[dtype[Any]]]`, `float`, `complex`, `str`, `_NestedSequence[int | float | complex | bytes | str]` in union `int | slice[Any, Any, Any] | EllipsisType | None | ArrayLike`
+ scipy/spatial/transform/_rigid_transform.py:1402:36 error[unresolved-attribute] Attribute `dtype` is not defined on `int`, `slice[Any, Any, Any]`, `EllipsisType`, `None`, `Buffer`, `_SupportsArray[dtype[generic[object] & Any]]`, `_NestedSequence[_SupportsArray[dtype[generic[object] & Any]]]`, `float`, `complex`, `str`, `_NestedSequence[int | float | complex | bytes | str]` in union `int | slice[Any, Any, Any] | EllipsisType | None | ArrayLike`
+ scipy/stats/_axis_nan_policy.py:75:28 error[no-matching-overload] No overload of bound method `ndarray.astype` matches arguments
+ scipy/stats/_levy_stable/__init__.py:1163:15 error[no-matching-overload] No overload of function `array` matches arguments
- scipy/stats/_mannwhitneyu.py:94:28 error[unsupported-operator] Operator `+` is not supported between objects of type `Unknown | None` and `Literal[1]`
+ scipy/stats/_mannwhitneyu.py:94:28 error[unsupported-operator] Operator `+` is not supported between objects of type `(SupportsDunderLT[Never] & Unknown) | (SupportsDunderGT[Never] & Unknown) | None` and `Literal[1]`
+ scipy/stats/_mstats_basic.py:894:22 error[no-matching-overload] No overload of function `sum` matches arguments
- scipy/stats/_mstats_basic.py:1403:5 error[unresolved-attribute] Unresolved attribute `_mask` on type `MaskedArray[tuple[int], dtype[Unknown]]`
+ scipy/stats/_mstats_basic.py:1403:5 error[unresolved-attribute] Unresolved attribute `_mask` on type `MaskedArray[tuple[int], dtype[generic[object] & Unknown]]`
+ scipy/stats/_multivariate.py:1241:18 error[no-matching-overload] No overload of function `asarray` matches arguments
+ scipy/stats/_multivariate.py:1786:22 error[no-matching-overload] No overload of function `asarray` matches arguments
+ scipy/stats/_multivariate.py:1833:13 error[no-matching-overload] No overload of function `asarray` matches arguments
+ scipy/stats/tests/test_continuous.py:863:17 error[no-matching-overload] No overload matches arguments
- scipy/stats/tests/test_stats.py:7152:45 error[invalid-argument-type] Argument to function `TestPMean.pmean_reference` is incorrect: Expected `TestPMean`, found `ndarray[tuple[Any, ...], dtype[Any]]`
+ scipy/stats/tests/test_stats.py:7152:45 error[invalid-argument-type] Argument to function `TestPMean.pmean_reference` is incorrect: Expected `TestPMean`, found `ndarray[tuple[int, ...] & tuple[Any, ...], dtype[generic[object] & Any]]`
- subprojects/highs/highs/highspy/highs.py:1551:9 error[unresolved-attribute] Unresolved attribute `highs` on type `ndarray[tuple[Any, ...], Unknown]`
+ subprojects/highs/highs/highspy/highs.py:1551:9 error[unresolved-attribute] Unresolved attribute `highs` on type `ndarray[tuple[int, ...] & tuple[Any, ...], dtype[object] & Unknown]`

scipy-stubs (https://github.com/scipy/scipy-stubs)
- tests/io/test_netcdf.pyi:14:1 error[type-assertion-failure] Type `netcdf_variable[tuple[Any, ...], Unknown]` does not match asserted type `netcdf_variable[tuple[Any, ...], floating[_32Bit]]`
+ tests/io/test_netcdf.pyi:14:1 error[type-assertion-failure] Type `netcdf_variable[tuple[int, ...] & tuple[Any, ...], generic[object] & Unknown]` does not match asserted type `netcdf_variable[tuple[int, ...] & tuple[Any, ...], floating[_32Bit]]`
- tests/sparse/linalg/test__expm_multiply.pyi:78:1 error[type-assertion-failure] Type `Unknown` does not match asserted type `ndarray[tuple[Any, ...], dtype[floating[_32Bit]]]`
+ tests/sparse/linalg/test__expm_multiply.pyi:78:1 error[type-assertion-failure] Type `Unknown` does not match asserted type `ndarray[tuple[int, ...] & tuple[Any, ...], dtype[floating[_32Bit]]]`
- tests/sparse/test_construct.pyi:191:1 error[type-assertion-failure] Type `bsr_matrix[Unknown]` does not match asserted type `bsr_array[floating[_32Bit]]`
+ tests/sparse/test_construct.pyi:191:1 error[type-assertion-failure] Type `bsr_matrix[(Top[number[NBitBase & Any, int | float | complex]] & Unknown) | (numpy.bool[builtins.bool] & Unknown)]` does not match asserted type `bsr_array[floating[_32Bit]]`
- tests/special/test_logsumexp.pyi:27:1 error[type-assertion-failure] Type `Unknown` does not match asserted type `floating[_16Bit]`
+ tests/special/test_logsumexp.pyi:27:1 error[type-assertion-failure] Type `Top[inexact[NBitBase & Any, int | float | complex]] & Unknown` does not match asserted type `floating[_16Bit]`
- tests/stats/test__stats_py.pyi:261:1 error[type-assertion-failure] Type `Unknown` does not match asserted type `float64`
+ tests/stats/test__stats_py.pyi:261:1 error[type-assertion-failure] Type `Top[inexact[NBitBase & Any, int | float | complex]] & Unknown` does not match asserted type `float64`
- tests/stats/test__stats_py.pyi:505:1 error[type-assertion-failure] Type `Unknown` does not match asserted type `floating[_32Bit]`
+ tests/stats/test__stats_py.pyi:505:1 error[type-assertion-failure] Type `Top[inexact[NBitBase & Any, int | float | complex]] & Unknown` does not match asserted type `floating[_32Bit]`
- tests/stats/test__stats_py.pyi:578:1 error[type-assertion-failure] Type `Unknown` does not match asserted type `float64`
+ tests/stats/test__stats_py.pyi:578:1 error[type-assertion-failure] Type `Top[inexact[NBitBase & Any, int | float | complex]] & Unknown` does not match asserted type `float64`
- tests/stats/test__stats_py.pyi:584:1 error[type-assertion-failure] Type `Unknown` does not match asserted type `complex128`
+ tests/stats/test__stats_py.pyi:584:1 error[type-assertion-failure] Type `Top[inexact[NBitBase & Any, int | float | complex]] & Unknown` does not match asserted type `complex128`
- tests/stats/test__stats_py.pyi:710:1 error[type-assertion-failure] Type `Unknown` does not match asserted type `float64`
+ tests/stats/test__stats_py.pyi:710:1 error[type-assertion-failure] Type `Top[inexact[NBitBase & Any, int | float | complex]] & Unknown` does not match asserted type `float64`
- tests/stats/test__stats_py.pyi:725:1 error[type-assertion-failure] Type `Unknown` does not match asserted type `complex128`
+ tests/stats/test__stats_py.pyi:725:1 error[type-assertion-failure] Type `Top[inexact[NBitBase & Any, int | float | complex]] & Unknown` does not match asserted type `complex128`
- tests/stats/test__stats_py.pyi:785:1 error[type-assertion-failure] Type `Unknown` does not match asserted type `floating[_32Bit]`
+ tests/stats/test__stats_py.pyi:785:1 error[type-assertion-failure] Type `Top[inexact[NBitBase & Any, int | float | complex]] & Unknown` does not match asserted type `floating[_32Bit]`
- tests/stats/test_chi2_contingency.pyi:21:1 error[type-assertion-failure] Type `Chi2ContingencyResult[Unknown]` does not match asserted type `Chi2ContingencyResult[tuple[int, int]]`
+ tests/stats/test_chi2_contingency.pyi:21:1 error[type-assertion-failure] Type `Chi2ContingencyResult[tuple[int, ...] & Unknown]` does not match asserted type `Chi2ContingencyResult[tuple[int, int]]`
- tests/stats/test_entropy.pyi:178:1 error[type-assertion-failure] Type `Unknown` does not match asserted type `float64`
+ tests/stats/test_entropy.pyi:178:1 error[type-assertion-failure] Type `Top[inexact[NBitBase & Any, int | float | complex]] & Unknown` does not match asserted type `float64`
+ tests/stats/test_multivariate.pyi:317:1 error[type-assertion-failure] Type `float64 | Unknown` does not match asserted type `Unknown`

sockeye (https://github.com/awslabs/sockeye)
+ sockeye/utils.py:258:22 warning[division-by-zero] Cannot divide object of type `Literal[0]` by zero

spack (https://github.com/spack/spack)
+ lib/spack/spack/package_base.py:741:16 error[invalid-return-type] Return type does not match returned value: expected `list[str]`, found `list[SupportsRichComparison & Unknown]`
+ lib/spack/spack/test/cmd/deprecate.py:89:19 error[invalid-argument-type] Argument to function `sorted` is incorrect: Expected `Iterable[(SupportsDunderLT[Never] & Unknown) | (SupportsDunderGT[Never] & Unknown)]`, found `list[Spec]`

static-frame (https://github.com/static-frame/static-frame)
- static_frame/core/bus.py:1258:16 error[invalid-return-type] Return type does not match returned value: expected `ndarray[Any, dtype[object_]]`, found `ndarray[tuple[Any, ...], dtype[float64]]`
+ static_frame/core/bus.py:1258:16 error[invalid-return-type] Return type does not match returned value: expected `ndarray[tuple[int, ...] & Any, dtype[object_]]`, found `ndarray[tuple[int, ...] & tuple[Any, ...], dtype[float64]]`
- static_frame/core/frame.py:4320:32 error[invalid-assignment] Object of type `Unknown | int | integer[Any] | ... omitted 4 union elements` is not assignable to `ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None`
+ static_frame/core/frame.py:4320:32 error[invalid-assignment] Object of type `Unknown | int | integer[NBitBase & Any] | ... omitted 4 union elements` is not assignable to `ndarray[tuple[int, ...] & Any, dtype[object] & Any] | list[int] | slice[Any, Any, Any] | None`
+ static_frame/core/index.py:1688:29 error[invalid-argument-type] Argument to bound method `Index._insert` is incorrect: Expected `int | integer[NBitBase & Any]`, found `int | integer[NBitBase & Any] | (ndarray[tuple[int, ...] & Any, dtype[object] & Any] & Top[integer[Any]]) | (list[int] & Top[integer[Any]])`
+ static_frame/core/index_hierarchy.py:2256:57 error[invalid-argument-type] Argument to bound method `TypeBlocks.iter_row_elements` is incorrect: Expected `int | integer[NBitBase & Any]`, found `int | integer[NBitBase & Any] | (ndarray[tuple[int, ...] & Any, dtype[object] & Any] & Top[integer[Any]]) | (list[int] & Top[integer[Any]])`
- static_frame/core/rank.py:67:37 error[invalid-assignment] Object of type `ndarray[tuple[int], dtype[float64]]` is not assignable to `ndarray[tuple[Any], dtype[signedinteger[_64Bit]]]`
+ static_frame/core/rank.py:67:37 error[invalid-assignment] Object of type `ndarray[tuple[int], dtype[float64]]` is not assignable to `ndarray[tuple[int, ...] & tuple[Any], dtype[signedinteger[_64Bit]]]`
- static_frame/core/series_mapping.py:54:16 error[invalid-return-type] Return type does not match returned value: expected `Iterator[TVValues@SeriesMappingValuesView]`, found `Iterator[Any | ndarray[tuple[Any, ...], Any]]`
+ static_frame/core/series_mapping.py:54:16 error[invalid-return-type] Return type does not match returned value: expected `Iterator[TVValues@SeriesMappingValuesView]`, found `Iterator[Any | ndarray[tuple[int, ...] & tuple[Any, ...], dtype[object] & Any]]`
- static_frame/core/type_blocks.py:1153:39 error[invalid-argument-type] Argument to constructor `zip.__new__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 3 union elements`
+ static_frame/core/type_blocks.py:1153:39 error[invalid-argument-type] Argument to constructor `zip.__new__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[NBitBase & Any] | ndarray[tuple[int, ...] & Any, dtype[object] & Any] | ... omitted 3 union elements`
- static_frame/core/type_blocks.py:3258:35 error[invalid-argument-type] Argument to bound method `TypeBlocks._drop_blocks` is incorrect: Expected `int | integer[Any] | ndarray[Any, Any] | ... omitted 3 union elements`, found `object`
+ static_frame/core/type_blocks.py:3258:35 error[invalid-argument-type] Argument to bound method `TypeBlocks._drop_blocks` is incorrect: Expected `int | integer[NBitBase & Any] | ndarray[tuple[int, ...] & Any, dtype[object] & Any] | ... omitted 3 union elements`, found `object`
+ static_frame/test/unit/test_archive_npy.py:47:14 error[no-matching-overload] No overload of function `array` matches arguments
- static_frame/test/unit/test_batch.py:2117:22 error[invalid-argument-type] Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegate[Series[Any, Any]]`
+ static_frame/test/unit/test_batch.py:2117:22 error[invalid-argument-type] Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegate[Series[IndexBase & Any, generic[object] & Any]]`
+ static_frame/test/unit/test_frame.py:8937:14 error[no-matching-overload] No overload of function `array` matches arguments
+ static_frame/test/unit/test_loc_map.py:251:30 error[invalid-argument-type] Argument to function `max` is incorrect: Expected `Iterable[(SupportsDunderLT[Never] & Unknown) | (SupportsDunderGT[Never] & Unknown)]`, found `FrozenAutoMap`
+ static_frame/test/unit/test_series.py:585:47 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ static_frame/test/unit/test_series.py:5913:21 error[no-matching-overload] No overload of bound method `ndarray.astype` matches arguments
+ static_frame/test/unit/test_type_blocks.py:2600:14 error[no-matching-overload] No overload of function `array` matches arguments
+ static_frame/test/unit/test_type_blocks.py:2661:14 error[no-matching-overload] No overload of function `array` matches arguments
- static_frame/test/unit/test_www.py:93:35 error[invalid-argument-type] Argument to bound method `Frame.from_csv` is incorrect: Expected `str | PathLike[Any] | Iterator[str]`, found `Path | StringIO | BytesIO`
+ static_frame/test/unit/test_www.py:93:35 error[invalid-argument-type] Argument to bound method `Frame.from_csv` is incorrect: Expected `str | PathLike[(str & Any) | (bytes & Any)] | Iterator[str]`, found `Path | StringIO | BytesIO`
- static_frame/test/unit/test_www.py:238:43 error[invalid-argument-type] Argument to bound method `WWW.from_zip` is incorrect: Expected `Path | str | None`, found `str | PathLike[Any]`
+ static_frame/test/unit/test_www.py:238:43 error[invalid-argument-type] Argument to bound method `WWW.from_zip` is incorrect: Expected `Path | str | None`, found `str | PathLike[(str & Any) | (bytes & Any)]`

sympy (https://github.com/sympy/sympy)
- sympy/ntheory/ecm.py:272:24 error[unresolved-attribute] Attribute `x_cord` is not defined on `int` in union `int | Unknown`
+ sympy/ntheory/ecm.py:272:24 error[unresolved-attribute] Object of type `int` has no attribute `x_cord`
- sympy/polys/domains/fractionfield.py:195:27 error[unresolved-attribute] Object of type `Domain[Unknown]` has no attribute `factorial`
+ sympy/polys/domains/fractionfield.py:195:27 error[unresolved-attribute] Object of type `Domain[RingElement & Unknown]` has no attribute `factorial`
- sympy/polys/tests/test_densetools.py:246:31 error[invalid-argument-type] Argument to function `dmp_eval_tail` is incorrect: Expected `list[int | MPZ]`, found `list[int]`
+ sympy/polys/tests/test_densetools.py:246:31 error[invalid-argument-type] Argument to function `dmp_eval_tail` is incorrect: Expected `list[(RingElement & int) | MPZ]`, found `list[int]`

urllib3 (https://github.com/urllib3/urllib3)
- src/urllib3/util/ssltransport.py:156:22 error[invalid-assignment] Object of type `BufferedRWPair[SocketIO]` is not assignable to `BinaryIO`
+ src/urllib3/util/ssltransport.py:156:22 error[invalid-assignment] Object of type `BufferedRWPair[_BufferedReaderStream & SocketIO]` is not assignable to `BinaryIO`
- test/test_response.py:227:26 error[invalid-argument-type] Argument to `HTTPResponse.__init__` is incorrect: Expected `bytes | IO[Any] | Iterable[bytes | str]`, found `None`
+ test/test_response.py:227:26 error[invalid-argument-type] Argument to `HTTPResponse.__init__` is incorrect: Expected `bytes | Iterable[bytes | str]`, found `None`
- test/test_response.py:1161:32 error[invalid-argument-type] Argument to `TextIOWrapper.__init__` is incorrect: Expected `_WrappedBuffer`, found `HTTPResponse`

xarray (https://github.com/pydata/xarray)
+ asv_bench/benchmarks/merge.py:41:16 error[no-matching-overload] No overload of function `array` matches arguments
- xarray/backends/scipy_.py:421:35 error[invalid-argument-type] Argument to constructor `Path.__new__` is incorrect: Expected `str | PathLike[str]`, found `str | (ReadBuffer[Unknown] & PathLike[object]) | (AbstractDataStore & PathLike[object])`
+ xarray/backends/scipy_.py:421:35 error[invalid-argument-type] Argument to constructor `Path.__new__` is incorrect: Expected `str | PathLike[str]`, found `str | (ReadBuffer[(str & Unknown) | (bytes & Unknown)] & PathLike[str | bytes]) | (AbstractDataStore & PathLike[str | bytes])`
+ xarray/core/accessor_str.py:1053:56 error[invalid-argument-type] Argument to bound method `StringAccessor._apply` is incorrect: Expected `_HasDType[dtype[generic[object] & Any]] | dtype[generic[object] & Any] | _HasNumPyDType[dtype[generic[object] & Any]] | ... omitted 5 union elements`, found `<class 'bool'>`
- xarray/core/indexing.py:577:28 error[unresolved-attribute] Object of type `_arrayfunction[Any, Any] | _arrayapi[Any, Any]` has no attribute `ndim`
+ xarray/core/indexing.py:577:28 error[unresolved-attribute] Object of type `_arrayfunction[Any, dtype[generic[object]] & Any] | _arrayapi[Any, dtype[generic[object]] & Any]` has no attribute `ndim`
- xarray/core/missing.py:324:22 error[unresolved-attribute] Attribute `name` is not defined on `Variable`, `ndarray[tuple[Any, ...], Unknown]` in union `Unknown | Variable | ndarray[tuple[Any, ...], Unknown]`
+ xarray/core/missing.py:324:22 error[unresolved-attribute] Attribute `name` is not defined on `Variable`, `ndarray[tuple[Any, ...], dtype[object] & Unknown]` in union `Unknown | Variable | ndarray[tuple[Any, ...], dtype[object] & Unknown]`
+ xarray/namedarray/core.py:832:49 error[invalid-argument-type] Argument to bound method `ChunkManagerEntrypoint.rechunk` is incorrect: Expected `ChunkedArrayMixinProtocol & Any`, found `_arrayfunction[Any, _DType_co@NamedArray] | _arrayapi[Any, _DType_co@NamedArray]`
+ xarray/plot/dataarray_plot.py:2303:35 error[invalid-argument-type] Argument to function `issubdtype` is incorrect: Expected `_HasDType[dtype[generic[object] & Any]] | dtype[generic[object] & Any] | _HasNumPyDType[dtype[generic[object] & Any]] | ... omitted 5 union elements`, found `<class 'str'>`
+ xarray/tests/test_backends.py:1099:18 error[no-matching-overload] No overload of function `array` matches arguments
+ xarray/tests/test_dataset.py:121:16 error[no-matching-overload] No overload of function `array` matches arguments
+ xarray/tests/test_groupby.py:3905:40 error[no-matching-overload] No overload of function `array` matches arguments
+ xarray/tests/test_interp.py:550:20 error[no-matching-overload] No overload of function `array` matches arguments

zope.interface (https://github.com/zopefoundation/zope.interface)
- src/zope/interface/common/tests/test_io.py:37:56 error[invalid-argument-type] Argument to `BufferedReader.__init__` is incorrect: Expected `_BufferedReaderStream`, found `StringIO`

zulip (https://github.com/zulip/zulip)
- zerver/actions/users.py:921:50 error[invalid-argument-type] Argument to function `get_service_dicts_for_bots` is incorrect: Expected `list[dict[str, Any]]`, found `list[dict[str, Any]] | QuerySet[Unknown, dict[str, Any]]`
+ zerver/actions/users.py:921:50 error[invalid-argument-type] Argument to function `get_service_dicts_for_bots` is incorrect: Expected `list[dict[str, Any]]`, found `list[dict[str, Any]] | QuerySet[AbstractBaseUser & Unknown, dict[str, Any]]`

Full report with detailed diff (timing results)

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 20, 2026

Merging this PR will degrade performance by 19.11%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

❌ 3 regressed benchmarks
✅ 37 untouched benchmarks
⏩ 69 skipped benchmarks1

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation ty_check_file[incremental] 8.1 ms 8.7 ms -7.04%
Simulation ty_micro[pandas_tdd] 250.3 ms 309.4 ms -19.11%
Memory ty_check_file[incremental] 170.3 KB 177.7 KB -4.17%

Comparing alex-brent/default-specializations (194d01b) with main (11c2703)

Open in CodSpeed

Footnotes

  1. 69 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant