Skip to content

[ty] Ecosystem analyzer test#24046

Closed
sharkdp wants to merge 7 commits intomainfrom
david/test-ecosystem-analyzer
Closed

[ty] Ecosystem analyzer test#24046
sharkdp wants to merge 7 commits intomainfrom
david/test-ecosystem-analyzer

Conversation

@sharkdp
Copy link
Contributor

@sharkdp sharkdp commented Mar 19, 2026

No description provided.

@sharkdp sharkdp added ci Related to internal CI tooling do-not-merge Do not merge this pull request ty Multi-file analysis & type inference labels Mar 19, 2026
@astral-sh-bot
Copy link

astral-sh-bot bot commented Mar 19, 2026

Memory usage report

Memory usage unchanged ✅

@astral-sh-bot
Copy link

astral-sh-bot bot commented Mar 19, 2026

ecosystem-analyzer results

Failing projects:

Project Old Status New Status Old Return Code New Return Code
trio success abnormal exit 1 101
tornado success abnormal exit 1 101
starlette success abnormal exit 1 101
kopf success abnormal exit 1 101
hydra-zen success abnormal exit 1 101
core success abnormal exit 1 101
build success abnormal exit 1 101

Diagnostic changes:

Lint rule Added Removed Changed
invalid-argument-type 117 69 8
invalid-method-override 0 50 0
type-assertion-failure 2 24 10
unresolved-attribute 5 1 29
invalid-return-type 32 2 0
no-matching-overload 22 11 0
invalid-context-manager 0 0 32
missing-argument 0 31 0
invalid-type-arguments 0 24 0
unused-type-ignore-comment 3 16 0
invalid-assignment 2 8 2
too-many-positional-arguments 4 0 0
unused-ignore-comment 3 0 0
invalid-type-form 0 1 0
not-iterable 1 0 0
redundant-cast 1 0 0
unbound-type-variable 0 1 0
Total 192 238 81

Showing a random sample of 100 of 511 changes. See the HTML report for the full diff.

Raw diff sample (100 of 511 changes)
Expression (https://github.com/cognitedata/Expression)
+ expression/collections/array.py:496:1 [error] [invalid-argument-type] Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def filter[_TSource](source: TypedArray[_TSource], predicate: (_TSource, /) -> bool) -> TypedArray[_TSource]`
+ expression/collections/map.py:258:1 [error] [invalid-argument-type] Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def add[_Key, _Value](table: Map[_Key, _Value], key: _Key, value: _Value) -> Map[_Key, _Value]`
+ expression/collections/map.py:279:1 [error] [invalid-argument-type] Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def change[_Key, _Value](table: Map[_Key, _Value], key: _Key, fn: (Option[_Value], /) -> Option[_Value]) -> Map[_Key, _Value]`
+ expression/collections/seq.py:892:1 [error] [invalid-argument-type] Argument is incorrect: Expected `[_TSource](Never, /, count: int) -> Never`, found `def take[_TSource](source: Iterable[_TSource], count: int) -> Iterable[_TSource]`
+ expression/collections/block.py:918:1 [error] [invalid-argument-type] Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def sort_with[_TSource](source: Block[_TSource], func: (_TSource, /) -> Any, reverse: bool = False) -> Block[_TSource]`
+ expression/collections/block.py:961:1 [error] [invalid-argument-type] Argument is incorrect: Expected `[_TSource](Never, /, count: int) -> Never`, found `def take_last[_TSource](source: Block[_TSource], count: int) -> Block[_TSource]`
+ expression/extra/parser.py:457:33 [error] [invalid-argument-type] Argument is incorrect: Expected `Never`, found `Parser[Block[str]]`
+ tests/test_array.py:333:23 [error] [invalid-argument-type] Argument to function `pipe` is incorrect: Expected `(TypedArray[int], /) -> Unknown`, found `(Never, /) -> Never`

Tanjun (https://github.com/FasterSpeeding/Tanjun)
+ tanjun/annotations.py:451:17 [error] [invalid-argument-type] Argument is incorrect: Expected `Sequence[(str, /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, Any] | Any]`, found `(((str, /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, Any] | Any) & Sequence[object]) | Sequence[(str, /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, Any] | Any]`

altair (https://github.com/vega/altair)
- altair/utils/_transformed_data.py:114:10 [error] [invalid-context-manager] Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
+ altair/utils/_transformed_data.py:114:10 [error] [invalid-context-manager] Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
- tests/utils/test_mimebundle.py:231:10 [error] [invalid-context-manager] Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
+ tests/utils/test_mimebundle.py:231:10 [error] [invalid-context-manager] Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
- tests/utils/test_mimebundle.py:245:10 [error] [invalid-context-manager] Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
+ tests/utils/test_mimebundle.py:245:10 [error] [invalid-context-manager] Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
- tests/vegalite/v6/test_api.py:222:10 [error] [invalid-context-manager] Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
+ tests/vegalite/v6/test_api.py:222:10 [error] [invalid-context-manager] Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
- tests/vegalite/v6/test_api.py:1566:10 [error] [invalid-context-manager] Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
+ tests/vegalite/v6/test_api.py:1566:10 [error] [invalid-context-manager] Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
- tests/vegalite/v6/test_geo_interface.py:132:10 [error] [invalid-context-manager] Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
+ tests/vegalite/v6/test_geo_interface.py:132:10 [error] [invalid-context-manager] Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
- tests/vegalite/v6/test_geo_interface.py:210:10 [error] [invalid-context-manager] Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
+ tests/vegalite/v6/test_geo_interface.py:210:10 [error] [invalid-context-manager] Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`

antidote (https://github.com/Finistere/antidote)
- tests/lib/lazy/test_lazy.py:471:33 [warning] [unused-type-ignore-comment] Unused blanket `type: ignore` directive

apprise (https://github.com/caronc/apprise)
- tests/test_config_http.py:73:13 [error] [invalid-method-override] Invalid override of method `url`: Definition is incompatible with `URLBase.url`
- tests/test_apprise_cli.py:1781:13 [error] [invalid-method-override] Invalid override of method `url`: Definition is incompatible with `URLBase.url`

async-utils (https://github.com/mikeshardmind/async-utils)
+ src/async_utils/gen_transform.py:132:29 [error] [invalid-assignment] Object of type `def _consumer[**P, Y](laziness_ev: Event, queue: Queue[Y], loop: AbstractEventLoop, cancel_future: Future[None], f: (**P) -> Generator[Y, None, None], /, *args: P.args, **kwargs: P.kwargs) -> None` is not assignable to `ConsumerType[P@_sync_to_async_gen, Y@_sync_to_async_gen]`

asynq (https://github.com/quora/asynq)
+ asynq/tests/test_decorators.py:57:42 [error] [too-many-positional-arguments] Too many positional arguments to bound method `asynq`: expected 1, got 2

build (https://github.com/pypa/build)
- FAILED old=success(1) new=abnormal exit(101)

colour (https://github.com/colour-science/colour)
- colour/algebra/tests/test_extrapolation.py:59:13 [error] [invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `LinearInterpolator`
- colour/algebra/tests/test_extrapolation.py:70:13 [error] [invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `LinearInterpolator`
- colour/notation/munsell/value.py:124:33 [error] [invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `LinearInterpolator`

core (https://github.com/home-assistant/core)
- FAILED old=success(1) new=abnormal exit(101)

dd-trace-py (https://github.com/DataDog/dd-trace-py)
- tests/tracer/test_utils.py:392:9 [error] [invalid-argument-type] Argument to function `callonce` is incorrect: Expected `() -> Any`, found `def _(a, b=None, *args, **kwargs) -> Unknown`

discord.py (https://github.com/Rapptz/discord.py)
- discord/ext/commands/bot.py:320:41 [error] [invalid-type-arguments] Too many type arguments: expected 1, got 4
- discord/ext/commands/bot.py:330:50 [error] [invalid-type-arguments] Too many type arguments: expected 1, got 4
- discord/ext/commands/core.py:623:77 [warning] [unused-type-ignore-comment] Unused blanket `type: ignore` directive
- discord/ext/commands/core.py:1063:71 [warning] [unused-type-ignore-comment] Unused blanket `type: ignore` directive
- discord/ext/commands/core.py:433:38 [error] [unresolved-attribute] Object of type `(...) -> Coroutine[Any, Any, T@Command]` has no attribute `__name__`
+ discord/ext/commands/core.py:433:38 [error] [unresolved-attribute] Object of type `((CogT@Command, Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command]) | ((Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command])` has no attribute `__name__`
- discord/ext/commands/core.py:483:31 [error] [unresolved-attribute] Object of type `(...) -> Coroutine[Any, Any, T@Command]` has no attribute `__commands_max_concurrency__`
+ discord/ext/commands/core.py:483:31 [error] [unresolved-attribute] Object of type `((CogT@Command, Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command]) | ((Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command])` has no attribute `__commands_max_concurrency__`
- discord/ext/commands/core.py:500:29 [error] [unresolved-attribute] Object of type `(...) -> Coroutine[Any, Any, T@Command]` has no attribute `__before_invoke__`
+ discord/ext/commands/core.py:500:29 [error] [unresolved-attribute] Object of type `((CogT@Command, Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command]) | ((Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command])` has no attribute `__before_invoke__`
- discord/ext/commands/core.py:2373:9 [error] [unresolved-attribute] Unresolved attribute `predicate` on type `def decorator(func: Command[Unknown, (...), Unknown] | ((...) -> Coroutine[Any, Any, Any])) -> Command[Unknown, (...), Unknown] | ((...) -> Coroutine[Any, Any, Any])`
+ discord/ext/commands/core.py:2373:9 [error] [unresolved-attribute] Unresolved attribute `predicate` on type `def decorator(func: (...) -> Coroutine[Any, Any, Any]) -> ((...) -> Coroutine[Any, Any, Any])`
- discord/ext/commands/core.py:2380:9 [error] [unresolved-attribute] Unresolved attribute `predicate` on type `def decorator(func: Command[Unknown, (...), Unknown] | ((...) -> Coroutine[Any, Any, Any])) -> Command[Unknown, (...), Unknown] | ((...) -> Coroutine[Any, Any, Any])`
+ discord/ext/commands/core.py:2380:9 [error] [unresolved-attribute] Unresolved attribute `predicate` on type `def decorator(func: (...) -> Coroutine[Any, Any, Any]) -> ((...) -> Coroutine[Any, Any, Any])`
- discord/ext/commands/hybrid.py:512:37 [error] [invalid-type-arguments] Too many type arguments: expected 1, got 4
- discord/ext/commands/hybrid.py:860:51 [error] [invalid-type-arguments] Too many type arguments: expected 1, got 4

django-stubs (https://github.com/typeddjango/django-stubs)
+ django-stubs/db/models/sql/query.pyi:131:90 [warning] [unused-type-ignore-comment] Unused blanket `type: ignore` directive

hydpy (https://github.com/hydpy-dev/hydpy)
- hydpy/core/importtools.py:1084:39 [error] [unresolved-attribute] Object of type `(...) -> None` has no attribute `__name__`
+ hydpy/core/importtools.py:1084:39 [error] [unresolved-attribute] Object of type `(TM_contra@TargetParameterUpdater, /, *args: P_@TargetParameterUpdater.args, **kwargs: P_@TargetParameterUpdater.kwargs) -> None` has no attribute `__name__`

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)
- FAILED old=success(1) new=abnormal exit(101)

jax (https://github.com/google/jax)
- jax/_src/pallas/mosaic/random.py:161:45 [error] [invalid-argument-type] Argument to function `_make_stateful_sampler` is incorrect: Expected `SampleFn`, found `def bernoulli(key: Array | ndarray[tuple[Any, ...], dtype[Any]] | bool[bool] | ... omitted 4 union elements, p: Array | ndarray[tuple[Any, ...], dtype[Any]] | bool[bool] | ... omitted 4 union elements = ..., shape: Sequence[int] | None = None, mode: str = "low", *, out_sharding=None) -> Array`
- jax/_src/pallas/mosaic/random.py:162:42 [error] [invalid-argument-type] Argument to function `_make_stateful_sampler` is incorrect: Expected `SampleFn`, found `def normal(key: Array | ndarray[tuple[Any, ...], dtype[Any]] | bool[bool] | ... omitted 4 union elements, shape: Sequence[int] = ..., dtype: str | type[Any] | dtype[Any] | SupportsDType | None = None, *, out_sharding=None) -> Array`
- jax/_src/checkify.py:543:33 [error] [invalid-argument-type] Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def check_lowering_rule_unsupported(*a, *, debug, **k) -> Unknown`
- jax/_src/custom_derivatives.py:1036:43 [error] [invalid-argument-type] Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def _custom_jvp_vjp_call_lowering(ctx: LoweringRuleContext, *args, *, call_jaxpr: ClosedJaxpr, **_) -> Unknown`

kopf (https://github.com/nolar/kopf)
- FAILED old=success(1) new=abnormal exit(101)

manticore (https://github.com/trailofbits/manticore)
- tests/native/test_aarch64cpu.py:14071:9 [error] [invalid-method-override] Invalid override of method `assertEqual`: Definition is incompatible with `TestCase.assertEqual`

pandas (https://github.com/pandas-dev/pandas)
- pandas/core/arrays/categorical.py:3005:9 [error] [invalid-method-override] Invalid override of method `_delegate_property_get`: Definition is incompatible with `PandasDelegate._delegate_property_get`
- pandas/core/frame.py:17602:9 [error] [invalid-method-override] Invalid override of method `cumprod`: Definition is incompatible with `NDFrame.cumprod`

pandas-stubs (https://github.com/pandas-dev/pandas-stubs)
+ tests/frame/test_frame.py:2477:9 [error] [no-matching-overload] No overload of bound method `pipe` matches arguments
+ tests/frame/test_frame.py:2484:9 [error] [no-matching-overload] No overload of bound method `pipe` matches arguments
- tests/frame/test_groupby.py:478:21 [error] [no-matching-overload] No overload of bound method `apply` matches arguments
- tests/frame/test_groupby.py:494:9 [error] [type-assertion-failure] Type `Unknown` does not match asserted type `DataFrame`
- tests/frame/test_groupby.py:503:13 [error] [no-matching-overload] No overload of bound method `apply` matches arguments
- tests/test_groupby.py:208:23 [error] [no-matching-overload] No overload of bound method `apply` matches arguments
- tests/test_groupby.py:215:13 [error] [no-matching-overload] No overload of bound method `apply` matches arguments
- tests/test_groupby.py:907:9 [error] [type-assertion-failure] Type `Unknown` does not match asserted type `DataFrame`
- tests/test_groupby.py:908:13 [error] [no-matching-overload] No overload of bound method `apply` matches arguments
+ tests/test_resampler.py:184:9 [error] [no-matching-overload] No overload of bound method `pipe` matches arguments
+ tests/test_resampler.py:205:9 [error] [no-matching-overload] No overload of bound method `pipe` matches arguments

prefect (https://github.com/PrefectHQ/prefect)
- src/prefect/cli/deploy/_core.py:138:60 [error] [missing-argument] No argument provided for required parameter `**kwargs`
- src/prefect/client/utilities.py:71:12 [error] [invalid-return-type] Return type does not match returned value: expected `[**P'return](**P'return) -> Coroutine[Any, Any, R]`, found `_Wrapped[(...), Coroutine[Any, Any, R@client_injector], P@wrapper, CoroutineType[Any, Any, R@client_injector]]`
- src/prefect/input/actions.py:88:9 [error] [invalid-argument-type] Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `str`
- src/prefect/input/actions.py:183:1 [error] [invalid-argument-type] Argument is incorrect: Expected `(**P'return@client_injector) -> list[FlowRunInput]`, found `def filter_flow_run_input(key_prefix: str, limit: int = 1, exclude_keys: set[str] | None = None, flow_run_id: UUID | None = None) -> list[FlowRunInput]`
- src/prefect/input/run_input.py:182:15 [error] [missing-argument] No argument provided for required parameter `*args`
- src/prefect/input/run_input.py:188:19 [error] [missing-argument] No argument provided for required parameter `*args`
- src/prefect/input/run_input.py:595:13 [error] [invalid-argument-type] Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `Literal[1]`
- src/prefect/input/run_input.py:597:13 [error] [invalid-argument-type] Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `UUID`
+ src/prefect/runner/runner.py:1457:17 [error] [invalid-argument-type] Argument is incorrect: Expected `FlowRun`, found `Unknown | PrefectClient`
+ src/prefect/server/api/block_schemas.py:69:16 [error] [invalid-return-type] Return type does not match returned value: expected `prefect.server.schemas.core.BlockSchema`, found `prefect.server.schemas.core.BlockSchema | prefect.server.database.orm_models.BlockSchema`
- src/prefect/server/api/deployments.py:965:13 [error] [invalid-argument-type] Argument is incorrect: Expected `list[str]`, found `set[Unknown | str]`
+ src/prefect/server/api/deployments.py:965:13 [error] [invalid-argument-type] Argument is incorrect: Expected `list[str]`, found `set[str]`
+ src/prefect/server/api/flow_run_states.py:40:12 [error] [invalid-return-type] Return type does not match returned value: expected `State`, found `FlowRunState & ~AlwaysFalsy`
+ src/prefect/server/api/flow_runs.py:443:46 [error] [unresolved-attribute] Attribute `id` is not defined on `None` in union `FlowRun | None`
+ src/prefect/server/api/flows.py:46:12 [error] [invalid-return-type] Return type does not match returned value: expected `prefect.server.schemas.core.Flow`, found `prefect.server.database.orm_models.Flow`
+ src/prefect/server/api/flows.py:141:16 [error] [invalid-return-type] Return type does not match returned value: expected `list[prefect.server.schemas.core.Flow]`, found `Sequence[prefect.server.database.orm_models.Flow]`
+ src/prefect/server/api/saved_searches.py:39:30 [error] [invalid-argument-type] Argument is incorrect: Expected `SavedSearch`, found `SavedSearchCreate`
+ src/prefect/server/api/saved_searches.py:64:12 [error] [invalid-return-type] Return type does not match returned value: expected `prefect.server.schemas.core.SavedSearch`, found `prefect.server.database.orm_models.SavedSearch & ~AlwaysFalsy`
+ src/prefect/server/api/saved_searches.py:77:16 [error] [invalid-return-type] Return type does not match returned value: expected `list[prefect.server.schemas.core.SavedSearch]`, found `Sequence[prefect.server.database.orm_models.SavedSearch]`
+ src/prefect/server/api/task_runs.py:191:12 [error] [invalid-return-type] Return type does not match returned value: expected `prefect.server.schemas.core.TaskRun`, found `prefect.server.database.orm_models.TaskRun & ~AlwaysFalsy`
+ src/prefect/server/api/work_queues.py:180:16 [error] [invalid-return-type] Return type does not match returned value: expected `list[FlowRunResponse]`, found `Sequence[FlowRun]`
+ src/prefect/server/api/workers.py:561:12 [error] [invalid-return-type] Return type does not match returned value: expected `list[WorkerFlowRunResponse]`, found `Sequence[WorkerFlowRunResponse]`
+ src/prefect/server/events/triggers.py:243:17 [error] [invalid-argument-type] Argument is incorrect: Expected `tuple[str, ...]`, found `list[str]`
+ src/prefect/server/models/work_queues.py:93:21 [error] [invalid-argument-type] Argument is incorrect: Expected `uuid.UUID | prefect.server.utilities.database.UUID`, found `uuid.UUID | None`

pytest-robotframework (https://github.com/detachhead/pytest-robotframework)
- pytest_robotframework/_internal/utils.py:51:16 [error] [invalid-return-type] Return type does not match returned value: expected `[**P'return](**P'return) -> T`, found `_Wrapped[(...), T@decorator, P@new_fn, T@decorator]`

scipy (https://github.com/scipy/scipy)
- scipy/stats/_distribution_infrastructure.py:4710:9 [error] [invalid-method-override] Invalid override of method `_pxf_dispatch`: Definition is incompatible with `ContinuousDistribution._pxf_dispatch`
- scipy/stats/_distribution_infrastructure.py:4901:9 [error] [invalid-method-override] Invalid override of method `_support`: Definition is incompatible with `UnivariateDistribution._support`

scipy-stubs (https://github.com/scipy/scipy-stubs)
- tests/optimize/test__minpack_py.pyi:62:1 [error] [type-assertion-failure] Type `complex128` does not match asserted type `Unknown`
- tests/integrate/test_quad_vec.pyi:35:1 [error] [type-assertion-failure] Type `float64` does not match asserted type `Unknown`
- tests/integrate/test_quad_vec.pyi:63:1 [error] [type-assertion-failure] Type `float64` does not match asserted type `Unknown`
- tests/integrate/test_quad_vec.pyi:90:1 [error] [type-assertion-failure] Type `tuple[float64, int | float]` does not match asserted type `tuple[Unknown, int | float]`
- tests/integrate/test_quad_vec.pyi:21:1 [error] [type-assertion-failure] Type `float64` does not match asserted type `int | float | complex`
+ tests/integrate/test_quad_vec.pyi:21:1 [error] [type-assertion-failure] Type `Unknown` does not match asserted type `int | float | complex`
- tests/integrate/test_quad_vec.pyi:83:1 [error] [type-assertion-failure] Type `tuple[float64, int | float]` does not match asserted type `tuple[complex128, int | float]`
+ tests/integrate/test_quad_vec.pyi:83:1 [error] [type-assertion-failure] Type `tuple[Unknown, int | float]` does not match asserted type `tuple[complex128, int | float]`

scrapy (https://github.com/scrapy/scrapy)
- scrapy/utils/python.py:147:38 [error] [unbound-type-variable] Type variable `_SelfT` is not bound to any outer generic context
+ tests/test_contracts.py:331:26 [error] [invalid-argument-type] Argument is incorrect: Expected `Response`, found `ResponseMock`
+ tests/test_contracts.py:423:26 [error] [invalid-argument-type] Argument is incorrect: Expected `Response`, found `ResponseMock`
+ tests/test_contracts.py:445:26 [error] [invalid-argument-type] Argument is incorrect: Expected `Response`, found `ResponseMock`
+ tests/test_downloadermiddleware_offsite.py:90:44 [error] [invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `((Response, /, *args: Any, **kwargs: Any) -> Any) | None`, found `dict[Unknown, Unknown]`
+ tests/test_http_request.py:284:55 [error] [invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `((Response, /, *args: Any, **kwargs: Any) -> Any) | None`, found `def a_function() -> Unknown`

starlette (https://github.com/encode/starlette)
- FAILED old=success(1) new=abnormal exit(101)

sympy (https://github.com/sympy/sympy)
- sympy/core/numbers.py:385:9 [error] [invalid-method-override] Invalid override of method `invert`: Definition is incompatible with `Expr.invert`

tornado (https://github.com/tornadoweb/tornado)
- FAILED old=success(1) new=abnormal exit(101)

trio (https://github.com/python-trio/trio)
- FAILED old=success(1) new=abnormal exit(101)

zulip (https://github.com/zulip/zulip)
- zerver/decorator.py:516:49 [error] [unresolved-attribute] Object of type `(...) -> HttpResponse` has no attribute `__name__`
+ zerver/decorator.py:516:49 [error] [unresolved-attribute] Object of type `(HttpRequest, /, *args: ParamT@log_view_func.args, **kwargs: ParamT@log_view_func.kwargs) -> HttpResponse` has no attribute `__name__`
- zerver/lib/rest.py:189:40 [error] [invalid-argument-type] Argument is incorrect: Expected `TypeVar`, found `(...) -> HttpResponse`
+ zerver/lib/rest.py:189:40 [error] [invalid-argument-type] Argument is incorrect: Expected `TypeVar`, found `(HttpRequest, /, *args: Any, **kwargs: Any) -> HttpResponse`
- zerver/webhooks/gitlab/view.py:678:51 [error] [invalid-assignment] Object of type `dict[str, EventFunction | ([**P'return](**P'return) -> str)]` is not assignable to `dict[str, EventFunction]`
- zerver/webhooks/groove/view.py:93:72 [error] [invalid-assignment] Object of type `dict[str, ((WildValue, /) -> str | None) | ([**P'return](**P'return) -> str)]` is not assignable to `dict[str, (WildValue, /) -> str | None]`
- zerver/webhooks/shortcut/view.py:737:88 [error] [invalid-assignment] Object of type `dict[str, ((WildValue, WildValue, /) -> str | None) | ([**P'return](**P'return) -> str | None)]` is not assignable to `dict[str, (WildValue, WildValue, /) -> str | None]`

Full report with detailed diff (timing results)

@sharkdp sharkdp closed this Mar 19, 2026
sharkdp added a commit that referenced this pull request Mar 19, 2026
## Summary

* Fail the ecosystem-analyzer CI run if new projects result in a ty
panic
* Add a new table to the PR comment if there are projects with large
timing diffs (> 50%)

## Test Plan

- [x] Clean CI runs on this PR
- [x] Failing CI run on [this test
PR](#24046)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Related to internal CI tooling do-not-merge Do not merge this pull request ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants