Repository navigation
Update typeshed to 289e5d3 - #11521
Merged
Rich Chiodo (rchiodo) merged 1 commit intoJun 24, 2026
Merged
Conversation
Co-authored-by: Copilot <[email protected]>
Rich Chiodo (rchiodo)
enabled auto-merge (squash)
June 24, 2026 18:15
Stella Huang (StellaHuang95)
approved these changes
Jun 24, 2026
Contributor
|
Diff from mypy_primer, showing the effect of this PR on open source code: ibis (https://github.com/ibis-project/ibis)
- .../projects/ibis/ibis/backends/sql/compilers/base.py:999:60 - error: Argument of type "_localized_day" cannot be assigned to parameter "iterable" of type "Iterable[_T@enumerate]" in function "__new__"
- "_localized_day" is incompatible with protocol "Iterable[_T@enumerate]"
- "__iter__" is not present (reportArgumentType)
- .../projects/ibis/ibis/backends/sql/compilers/clickhouse.py:532:52 - error: Argument of type "_localized_day" cannot be assigned to parameter "iterable" of type "Iterable[_T@enumerate]" in function "__new__"
- "_localized_day" is incompatible with protocol "Iterable[_T@enumerate]"
- "__iter__" is not present (reportArgumentType)
- .../projects/ibis/ibis/backends/sql/compilers/datafusion.py:274:50 - error: Argument of type "_localized_day" cannot be assigned to parameter "iterable" of type "Iterable[_T@enumerate]" in function "__new__"
- "_localized_day" is incompatible with protocol "Iterable[_T@enumerate]"
- "__iter__" is not present (reportArgumentType)
- .../projects/ibis/ibis/backends/sql/compilers/mssql.py:248:52 - error: Argument of type "_localized_day" cannot be assigned to parameter "iterable" of type "Iterable[_T@enumerate]" in function "__new__"
- "_localized_day" is incompatible with protocol "Iterable[_T@enumerate]"
- "__iter__" is not present (reportArgumentType)
- .../projects/ibis/ibis/backends/sql/compilers/pyspark.py:188:60 - error: Argument of type "_localized_day" cannot be assigned to parameter "iterable" of type "Iterable[_T@enumerate]" in function "__new__"
- "_localized_day" is incompatible with protocol "Iterable[_T@enumerate]"
- "__iter__" is not present (reportArgumentType)
- .../projects/ibis/ibis/backends/tests/test_temporal.py:728:32 - error: Argument of type "tuple[type[UserWarning], Unknown]" cannot be assigned to parameter "category" of type "type[Warning]" in function "simplefilter"
- Type "tuple[type[UserWarning], Unknown]" is not assignable to type "type[Warning]" (reportArgumentType)
- 7535 errors, 260 warnings, 0 informations
+ 7529 errors, 260 warnings, 0 informations
sympy (https://github.com/sympy/sympy)
- .../projects/sympy/sympy/solvers/tests/test_solvers.py:1216:18 - error: Operator "+" not supported for types "Basic" and "Expr" (reportOperatorIssue)
+ .../projects/sympy/sympy/solvers/tests/test_solveset.py:315:25 - error: "Set" is not iterable
+ "__iter__" method not defined (reportGeneralTypeIssues)
+ .../projects/sympy/sympy/solvers/tests/test_solveset.py:315:25 - error: "ConditionSet" is not iterable
+ "__iter__" method not defined (reportGeneralTypeIssues)
+ .../projects/sympy/sympy/solvers/tests/test_solveset.py:2030:20 - error: "__getitem__" method not defined on type "Basic" (reportIndexIssue)
+ .../projects/sympy/sympy/solvers/tests/test_solveset.py:2042:20 - error: "__getitem__" method not defined on type "Basic" (reportIndexIssue)
+ .../projects/sympy/sympy/solvers/tests/test_solveset.py:2055:20 - error: "__getitem__" method not defined on type "Basic" (reportIndexIssue)
+ .../projects/sympy/sympy/solvers/tests/test_solveset.py:2076:16 - error: Argument of type "Unknown | FiniteSet | Set | Intersection | Union | Complement | Any | ConditionSet" cannot be assigned to parameter "obj" of type "Sized" in function "len"
+ Type "Unknown | FiniteSet | Set | Intersection | Union | Complement | Any | ConditionSet" is not assignable to type "Sized"
+ "Set" is incompatible with protocol "Sized"
+ "__len__" is not present (reportArgumentType)
+ .../projects/sympy/sympy/solvers/tests/test_solveset.py:2077:20 - error: "__getitem__" method not defined on type "Basic" (reportIndexIssue)
+ .../projects/sympy/sympy/solvers/tests/test_solveset.py:2270:16 - error: Argument of type "Unknown | FiniteSet | Set | Intersection | Union | Complement | Any | ConditionSet" cannot be assigned to parameter "obj" of type "Sized" in function "len"
+ Type "Unknown | FiniteSet | Set | Intersection | Union | Complement | Any | ConditionSet" is not assignable to type "Sized"
+ "Set" is incompatible with protocol "Sized"
+ "__len__" is not present (reportArgumentType)
+ .../projects/sympy/sympy/solvers/tests/test_solveset.py:2351:16 - error: Argument of type "Unknown | FiniteSet | Set | Intersection | Union | Complement | Any | ConditionSet" cannot be assigned to parameter "obj" of type "Sized" in function "len"
+ Type "Unknown | FiniteSet | Set | Intersection | Union | Complement | Any | ConditionSet" is not assignable to type "Sized"
+ "Set" is incompatible with protocol "Sized"
+ "__len__" is not present (reportArgumentType)
+ .../projects/sympy/sympy/solvers/tests/test_solveset.py:2364:16 - error: Argument of type "Unknown | FiniteSet | Set | Intersection | Union | Complement | Any | ConditionSet" cannot be assigned to parameter "obj" of type "Sized" in function "len"
+ Type "Unknown | FiniteSet | Set | Intersection | Union | Complement | Any | ConditionSet" is not assignable to type "Sized"
+ "Set" is incompatible with protocol "Sized"
+ "__len__" is not present (reportArgumentType)
+ .../projects/sympy/sympy/solvers/tests/test_solveset.py:2370:16 - error: Argument of type "Unknown | FiniteSet | Set | Intersection | Union | Complement | Any | ConditionSet" cannot be assigned to parameter "obj" of type "Sized" in function "len"
+ Type "Unknown | FiniteSet | Set | Intersection | Union | Complement | Any | ConditionSet" is not assignable to type "Sized"
+ "Set" is incompatible with protocol "Sized"
+ "__len__" is not present (reportArgumentType)
+ .../projects/sympy/sympy/solvers/tests/test_solveset.py:2538:16 - error: Argument of type "Unknown | FiniteSet | Set | Intersection | Union | Complement | Any | ConditionSet" cannot be assigned to parameter "obj" of type "Sized" in function "len"
+ Type "Unknown | FiniteSet | Set | Intersection | Union | Complement | Any | ConditionSet" is not assignable to type "Sized"
+ "Set" is incompatible with protocol "Sized"
+ "__len__" is not present (reportArgumentType)
+ .../projects/sympy/sympy/solvers/tests/test_solveset.py:2541:20 - error: Argument of type "Unknown | Basic | Any" cannot be assigned to parameter "obj" of type "Sized" in function "len"
+ Type "Unknown | Basic | Any" is not assignable to type "Sized"
+ "Basic" is incompatible with protocol "Sized"
+ "__len__" is not present (reportArgumentType)
- .../projects/sympy/sympy/stats/drv.py:269:22 - error: Argument of type "Generator[tuple[Unknown, ...] | Unknown | Sum | Expr | ZeroMatrix | Zero | NaN | Piecewise | Basic | int | None, None, None]" cannot be assigned to parameter "iterable" of type "Iterable[_SupportsSumNoDefaultT@sum]" in function "sum"
+ .../projects/sympy/sympy/stats/drv.py:269:22 - error: Argument of type "Generator[tuple[Unknown, ...] | Unknown | Sum | Expr | ZeroMatrix | Add | Zero | NaN | Piecewise | Basic | int | None, None, None]" cannot be assigned to parameter "iterable" of type "Iterable[_SupportsSumNoDefaultT@sum]" in function "sum"
- "Generator[tuple[Unknown, ...] | Unknown | Sum | Expr | ZeroMatrix | Zero | NaN | Piecewise | Basic | int | None, None, None]" is not assignable to "Iterable[_SupportsSumNoDefaultT@sum]"
+ "Generator[tuple[Unknown, ...] | Unknown | Sum | Expr | ZeroMatrix | Add | Zero | NaN | Piecewise | Basic | int | None, None, None]" is not assignable to "Iterable[_SupportsSumNoDefaultT@sum]"
- Type parameter "_T_co@Iterable" is covariant, but "tuple[Unknown, ...] | Unknown | Sum | Expr | ZeroMatrix | Zero | NaN | Piecewise | Basic | int | None" is not a subtype of "_SupportsSumNoDefaultT@sum"
+ Type parameter "_T_co@Iterable" is covariant, but "tuple[Unknown, ...] | Unknown | Sum | Expr | ZeroMatrix | Add | Zero | NaN | Piecewise | Basic | int | None" is not a subtype of "_SupportsSumNoDefaultT@sum"
- Type "tuple[Unknown, ...] | Unknown | Sum | Expr | ZeroMatrix | Zero | NaN | Piecewise | Basic | int | None" is not assignable to type "_SupportsSumWithNoDefaultGiven"
+ Type "tuple[Unknown, ...] | Unknown | Sum | Expr | ZeroMatrix | Add | Zero | NaN | Piecewise | Basic | int | None" is not assignable to type "_SupportsSumWithNoDefaultGiven"
- Type "tuple[Unknown, ...] | Unknown | Sum | Expr | ZeroMatrix | Zero | NaN | Piecewise | Basic | int | None" is not assignable to type "_SupportsSumWithNoDefaultGiven"
+ Type "tuple[Unknown, ...] | Unknown | Sum | Expr | ZeroMatrix | Add | Zero | NaN | Piecewise | Basic | int | None" is not assignable to type "_SupportsSumWithNoDefaultGiven"
- .../projects/sympy/sympy/stats/drv_types.py:293:16 - error: Operator "*" not supported for types "Expr" and "tuple[Unknown, ...] | Unknown | Sum | Expr | ZeroMatrix | Zero | NaN | Piecewise | Basic"
+ .../projects/sympy/sympy/stats/drv_types.py:293:16 - error: Operator "*" not supported for types "Expr" and "tuple[Unknown, ...] | Unknown | Sum | Expr | ZeroMatrix | Add | Zero | NaN | Piecewise | Basic"
- .../projects/sympy/sympy/stats/random_matrix_models.py:111:36 - error: Operator "*" not supported for types "Expr" and "tuple[Unknown, ...] | Unknown | Product | Basic | BooleanFalse | BooleanTrue | Equality | Expr | NaN | One | Zero"
+ .../projects/sympy/sympy/stats/random_matrix_models.py:111:36 - error: Operator "*" not supported for types "Expr" and "tuple[Unknown, ...] | Unknown | Product | Basic | BooleanFalse | BooleanTrue | ComplexInfinity | Equality | Expr | Float | Infinity | Integer | NaN | NegativeInfinity | NegativeOne | Number | One | Rational | Zero"
+ .../projects/sympy/sympy/stats/rv.py:473:25 - error: Argument of type "Expr | Lambda | Zero | One | Integral | Unknown | Probability | tuple[Unknown, ...] | Sum | ZeroMatrix | Add | NaN | Piecewise | Basic | NegativeOne | Integer | ComplexInfinity | Rational | Infinity | NegativeInfinity | Float | Number | int" cannot be assigned to parameter "args" of type "Expr | complex" in function "__new__"
+ Type "Expr | Lambda | Zero | One | Integral | Unknown | Probability | tuple[Unknown, ...] | Sum | ZeroMatrix | Add | NaN | Piecewise | Basic | NegativeOne | Integer | ComplexInfinity | Rational | Infinity | NegativeInfinity | Float | Number | int" is not assignable to type "Expr | complex"
- .../projects/sympy/sympy/stats/rv.py:473:25 - error: Argument of type "Expr | Lambda | Zero | One | Integral | Unknown | NegativeOne | Integer | NaN | ComplexInfinity | Rational | Infinity | Number | NegativeInfinity | Probability | tuple[Unknown, ...] | Sum | ZeroMatrix | Piecewise | Basic | int" cannot be assigned to parameter "args" of type "Expr | complex" in function "__new__"
- Type "Expr | Lambda | Zero | One | Integral | Unknown | NegativeOne | Integer | NaN | ComplexInfinity | Rational | Infinity | Number | NegativeInfinity | Probability | tuple[Unknown, ...] | Sum | ZeroMatrix | Piecewise | Basic | int" is not assignable to type "Expr | complex"
- Type "Basic" is not assignable to type "Expr | complex"
- "Basic" is not assignable to "Expr"
- "Basic" is not assignable to "complex" (reportArgumentType)
- .../projects/sympy/sympy/stats/rv.py:473:25 - error: Argument of type "Mul | Expr | Lambda | Zero | One | Integral | Unknown | NegativeOne | Integer | NaN | ComplexInfinity | Rational | Infinity | Number | NegativeInfinity | Probability | tuple[Unknown, ...] | Sum | ZeroMatrix | Piecewise | Basic | int" cannot be assigned to parameter "args" of type "Expr | complex" in function "__new__"
- Type "Mul | Expr | Lambda | Zero | One | Integral | Unknown | NegativeOne | Integer | NaN | ComplexInfinity | Rational | Infinity | Number | NegativeInfinity | Probability | tuple[Unknown, ...] | Sum | ZeroMatrix | Piecewise | Basic | int" is not assignable to type "Expr | complex"
... (truncated 1452 lines) ...
urllib3 (https://github.com/urllib3/urllib3)
+ .../projects/urllib3/test/__init__.py:100:23 - error: Argument of type "type[Warning] | tuple[type[Warning], ...]" cannot be assigned to parameter "cls" of type "type" in function "issubclass"
+ Type "type[Warning] | tuple[type[Warning], ...]" is not assignable to type "type"
+ "tuple[type[Warning], ...]" is not assignable to "type" (reportArgumentType)
- 162 errors, 15 warnings, 0 informations
+ 163 errors, 15 warnings, 0 informations
scikit-learn (https://github.com/scikit-learn/scikit-learn)
+ .../projects/scikit-learn/sklearn/utils/_array_api.py:1095:35 - error: Cannot access attribute "items" for class "type[object]"
+ Attribute "items" is unknown (reportAttributeAccessIssue)
- .../projects/scikit-learn/sklearn/utils/_array_api.py:1100:69 - error: "type[Any]" is not iterable
+ .../projects/scikit-learn/sklearn/utils/_array_api.py:1100:69 - error: "type[object]" is not iterable
- .../projects/scikit-learn/sklearn/utils/_testing.py:143:49 - error: Argument of type "Unknown" cannot be assigned to parameter "category" of type "type[Warning]" in function "simplefilter"
- Type "Unknown" is not assignable to type "type[Warning]" (reportArgumentType)
- .../projects/scikit-learn/sklearn/utils/_testing.py:164:41 - error: Argument of type "Unknown" cannot be assigned to parameter "category" of type "type[Warning]" in function "simplefilter"
- Type "Unknown" is not assignable to type "type[Warning]" (reportArgumentType)
- .../projects/scikit-learn/sklearn/utils/_testing.py:868:29 - error: Cannot access attribute "__name__" for class "_SupportsSet[Any, Any]"
+ .../projects/scikit-learn/sklearn/utils/_testing.py:868:29 - error: Cannot access attribute "__name__" for class "_SupportsSet[Never, Never]"
- .../projects/scikit-learn/sklearn/utils/_testing.py:868:29 - error: Cannot access attribute "__name__" for class "_SupportsDelete[Any]"
+ .../projects/scikit-learn/sklearn/utils/_testing.py:868:29 - error: Cannot access attribute "__name__" for class "_SupportsDelete[Never]"
- .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:549:35 - error: Cannot access attribute "X_" for class "dict[Unknown | Any, Unknown]"
+ .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:549:35 - error: Cannot access attribute "X_" for class "type[object]"
- .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:551:35 - error: Cannot access attribute "X_" for class "dict[Unknown | Any, Unknown]"
+ .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:551:35 - error: Cannot access attribute "X_" for class "type[object]"
- .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:562:28 - error: Cannot access attribute "X_" for class "dict[Unknown | Any, Unknown]"
+ .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:562:28 - error: Cannot access attribute "X_" for class "type[object]"
- .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:566:38 - error: Cannot access attribute "X_" for class "dict[Unknown | Any, Unknown]"
+ .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:566:38 - error: Cannot access attribute "X_" for class "type[object]"
- .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:567:38 - error: Cannot access attribute "X_dict_" for class "dict[Unknown | Any, Unknown]"
+ .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:567:38 - error: Cannot access attribute "X_dict_" for class "type[object]"
- .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:568:38 - error: Cannot access attribute "X_list_" for class "dict[Unknown | Any, Unknown]"
+ .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:568:38 - error: Cannot access attribute "X_list_" for class "type[object]"
- .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:581:17 - error: Cannot access attribute "predict" for class "dict[Unknown | Any, Unknown]"
+ .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:581:17 - error: Cannot access attribute "predict" for class "type[object]"
- .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:583:38 - error: Cannot access attribute "X_" for class "dict[Unknown | Any, Unknown]"
+ .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:583:38 - error: Cannot access attribute "X_" for class "type[object]"
- .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:584:38 - error: Cannot access attribute "X_dict_" for class "dict[Unknown | Any, Unknown]"
+ .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:584:38 - error: Cannot access attribute "X_dict_" for class "type[object]"
- .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:585:24 - error: Cannot access attribute "converted_" for class "dict[Unknown | Any, Unknown]"
+ .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:585:24 - error: Cannot access attribute "converted_" for class "type[object]"
- .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:598:38 - error: Cannot access attribute "X_" for class "dict[Unknown | Any, Unknown]"
+ .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:598:38 - error: Cannot access attribute "X_" for class "type[object]"
- .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:599:38 - error: Cannot access attribute "X_dict_" for class "dict[Unknown | Any, Unknown]"
+ .../projects/scikit-learn/sklearn/utils/tests/test_array_api.py:599:38 - error: Cannot access attribute "X_dict_" for class "type[object]"
- 17119 errors, 461 warnings, 0 informations
+ 17118 errors, 461 warnings, 0 informations
scrapy (https://github.com/scrapy/scrapy)
+ .../projects/scrapy/scrapy/cmdline.py
+ .../projects/scrapy/scrapy/cmdline.py:70:13 - error: Argument of type "object" cannot be assigned to parameter "value" of type "ScrapyCommand" in function "__setitem__"
+ "object" is not assignable to "ScrapyCommand" (reportArgumentType)
- 1816 errors, 115 warnings, 0 informations
+ 1817 errors, 115 warnings, 0 informations
rich (https://github.com/Textualize/rich)
+ .../projects/rich/rich/pretty.py:666:35 - error: Cannot access attribute "__rich_repr__" for class "type[object]"
+ Attribute "__rich_repr__" is unknown (reportAttributeAccessIssue)
- .../projects/rich/rich/pretty.py:812:57 - error: Cannot access attribute "_asdict" for class "DataclassInstance"
+ .../projects/rich/rich/pretty.py:812:57 - error: Cannot access attribute "_asdict" for class "type[object]"
- .../projects/rich/rich/pretty.py:842:33 - error: Argument of type "Any | type[Any] | DataclassInstance | type[DataclassInstance]" cannot be assigned to parameter "obj" of type "Sized" in function "len"
+ .../projects/rich/rich/pretty.py:842:33 - error: Argument of type "Any | type[object] | type[DataclassInstance]" cannot be assigned to parameter "obj" of type "Sized" in function "len"
- Type "Any | type[Any] | DataclassInstance | type[DataclassInstance]" is not assignable to type "Sized"
+ Type "Any | type[object] | type[DataclassInstance]" is not assignable to type "Sized"
- "DataclassInstance" is incompatible with protocol "Sized"
- "__len__" is not present (reportArgumentType)
+ "__len__" is not present (reportArgumentType)
- .../projects/rich/rich/pretty.py:846:43 - error: Cannot access attribute "items" for class "DataclassInstance"
+ .../projects/rich/rich/pretty.py:846:43 - error: Cannot access attribute "items" for class "type[object]"
- .../projects/rich/rich/pretty.py:855:40 - error: Argument of type "Any | type[Any] | DataclassInstance | type[DataclassInstance]" cannot be assigned to parameter "object" of type "_GetItemIterable[_T@iter]" in function "iter"
+ .../projects/rich/rich/pretty.py:855:40 - error: Argument of type "Any | type[object] | type[DataclassInstance]" cannot be assigned to parameter "object" of type "_GetItemIterable[_T@iter]" in function "iter"
- Type "Any | type[Any] | DataclassInstance | type[DataclassInstance]" is not assignable to type "_GetItemIterable[_T@iter]"
+ Type "Any | type[object] | type[DataclassInstance]" is not assignable to type "_GetItemIterable[_T@iter]"
- "DataclassInstance" is incompatible with protocol "_GetItemIterable[_T@iter]"
- "__getitem__" is not present (reportArgumentType)
+ "__getitem__" is not present (reportArgumentType)
- 43 errors, 7 warnings, 0 informations
+ 44 errors, 7 warnings, 0 informations
core (https://github.com/home-assistant/core)
- .../projects/core/homeassistant/components/wilight/support.py:62:22 - error: Argument of type "_localized_day" cannot be assigned to parameter "iterable" of type "Iterable[_T@list]" in function "__init__"
- "_localized_day" is incompatible with protocol "Iterable[_T@list]"
- "__iter__" is not present (reportArgumentType)
- 37048 errors, 79 warnings, 0 informations
+ 37047 errors, 79 warnings, 0 informations
pip (https://github.com/pypa/pip)
+ .../projects/pip/src/pip/_vendor/rich/pretty.py:666:35 - error: Cannot access attribute "__rich_repr__" for class "type[object]"
+ Attribute "__rich_repr__" is unknown (reportAttributeAccessIssue)
- .../projects/pip/src/pip/_vendor/rich/pretty.py:812:57 - error: Cannot access attribute "_asdict" for class "DataclassInstance"
+ .../projects/pip/src/pip/_vendor/rich/pretty.py:812:57 - error: Cannot access attribute "_asdict" for class "type[object]"
- .../projects/pip/src/pip/_vendor/rich/pretty.py:842:33 - error: Argument of type "Any | type[Any] | DataclassInstance | type[DataclassInstance]" cannot be assigned to parameter "obj" of type "Sized" in function "len"
+ .../projects/pip/src/pip/_vendor/rich/pretty.py:842:33 - error: Argument of type "Any | type[object] | type[DataclassInstance]" cannot be assigned to parameter "obj" of type "Sized" in function "len"
- Type "Any | type[Any] | DataclassInstance | type[DataclassInstance]" is not assignable to type "Sized"
+ Type "Any | type[object] | type[DataclassInstance]" is not assignable to type "Sized"
- "DataclassInstance" is incompatible with protocol "Sized"
- "__len__" is not present (reportArgumentType)
+ "__len__" is not present (reportArgumentType)
- .../projects/pip/src/pip/_vendor/rich/pretty.py:846:43 - error: Cannot access attribute "items" for class "DataclassInstance"
+ .../projects/pip/src/pip/_vendor/rich/pretty.py:846:43 - error: Cannot access attribute "items" for class "type[object]"
- .../projects/pip/src/pip/_vendor/rich/pretty.py:855:40 - error: Argument of type "Any | type[Any] | DataclassInstance | type[DataclassInstance]" cannot be assigned to parameter "object" of type "_GetItemIterable[_T@iter]" in function "iter"
+ .../projects/pip/src/pip/_vendor/rich/pretty.py:855:40 - error: Argument of type "Any | type[object] | type[DataclassInstance]" cannot be assigned to parameter "object" of type "_GetItemIterable[_T@iter]" in function "iter"
- Type "Any | type[Any] | DataclassInstance | type[DataclassInstance]" is not assignable to type "_GetItemIterable[_T@iter]"
+ Type "Any | type[object] | type[DataclassInstance]" is not assignable to type "_GetItemIterable[_T@iter]"
- "DataclassInstance" is incompatible with protocol "_GetItemIterable[_T@iter]"
- "__getitem__" is not present (reportArgumentType)
+ "__getitem__" is not present (reportArgumentType)
- 555 errors, 38 warnings, 0 informations
+ 556 errors, 38 warnings, 0 informations
discord.py (https://github.com/Rapptz/discord.py)
+ .../projects/discord.py/discord/app_commands/transformers.py
+ .../projects/discord.py/discord/app_commands/transformers.py:824:27 - error: Cannot access attribute "__args__" for class "type[object]"
+ Attribute "__args__" is unknown (reportAttributeAccessIssue)
+ .../projects/discord.py/discord/app_commands/transformers.py:828:26 - error: Cannot access attribute "__args__" for class "type[object]"
+ Attribute "__args__" is unknown (reportAttributeAccessIssue)
+ .../projects/discord.py/discord/app_commands/transformers.py:836:23 - error: Cannot access attribute "__args__" for class "type[object]"
+ Attribute "__args__" is unknown (reportAttributeAccessIssue)
+ .../projects/discord.py/discord/ext/commands/converter.py:1359:26 - error: Expected 0 positional arguments (reportCallIssue)
- 1 error, 9 warnings, 0 informations
+ 5 errors, 9 warnings, 0 informations
dd-trace-py (https://github.com/DataDog/dd-trace-py)
- .../projects/dd-trace-py/ddtrace/contrib/internal/grpc/aio_client_interceptor.py:207:25 - error: Argument of type "dict_items[Unknown, Unknown]" cannot be assigned to parameter "iterable" of type "Iterable[_MetadataKey]" in function "extend"
- "dict_items[Unknown, Unknown]" is not assignable to "Iterable[_MetadataKey]"
- Type parameter "_T_co@Iterable" is covariant, but "tuple[Unknown, Unknown]" is not a subtype of "_MetadataKey"
- "tuple[Unknown, Unknown]" is not assignable to "str" (reportArgumentType)
- .../projects/dd-trace-py/ddtrace/contrib/internal/grpc/aio_client_interceptor.py:212:13 - error: Argument of type "list[_MetadataKey]" cannot be assigned to parameter "metadata" of type "Metadata | None" in function "__new__"
+ .../projects/dd-trace-py/ddtrace/contrib/internal/grpc/aio_client_interceptor.py:212:13 - error: Argument of type "list[_MetadatumType]" cannot be assigned to parameter "metadata" of type "Metadata | None" in function "__new__"
- Type "list[_MetadataKey]" is not assignable to type "Metadata | None"
+ Type "list[_MetadatumType]" is not assignable to type "Metadata | None"
- "list[_MetadataKey]" is not assignable to "Metadata"
+ "list[_MetadatumType]" is not assignable to "Metadata"
- "list[_MetadataKey]" is not assignable to "None" (reportArgumentType)
+ "list[_MetadatumType]" is not assignable to "None" (reportArgumentType)
+ .../projects/dd-trace-py/ddtrace/llmobs/decorators.py:217:80 - error: Argument of type "dict[str, Any]" cannot be assigned to parameter "args" of type "OrderedDict[Unknown, Unknown]" in function "_get_span_inputs"
+ "dict[str, Any]" is not assignable to "OrderedDict[Unknown, Unknown]" (reportArgumentType)
+ .../projects/dd-trace-py/ddtrace/llmobs/decorators.py:233:84 - error: Argument of type "dict[str, Any]" cannot be assigned to parameter "args" of type "OrderedDict[Unknown, Unknown]" in function "_get_span_inputs"
+ "dict[str, Any]" is not assignable to "OrderedDict[Unknown, Unknown]" (reportArgumentType)
+ .../projects/dd-trace-py/ddtrace/llmobs/decorators.py:254:84 - error: Argument of type "dict[str, Any]" cannot be assigned to parameter "args" of type "OrderedDict[Unknown, Unknown]" in function "_get_span_inputs"
+ "dict[str, Any]" is not assignable to "OrderedDict[Unknown, Unknown]" (reportArgumentType)
+ .../projects/dd-trace-py/ddtrace/llmobs/decorators.py:279:84 - error: Argument of type "dict[str, Any]" cannot be assigned to parameter "args" of type "OrderedDict[Unknown, Unknown]" in function "_get_span_inputs"
+ "dict[str, Any]" is not assignable to "OrderedDict[Unknown, Unknown]" (reportArgumentType)
- .../projects/dd-trace-py/tests/contrib/bottle/test.py:2:8 - error: Import "webtest" could not be resolved (reportMissingImports)
+ .../projects/dd-trace-py/tests/contrib/bottle/test.py:2:8 - warning: Import "webtest" could not be resolved from source (reportMissingModuleSource)
+ .../projects/dd-trace-py/tests/contrib/bottle/test.py:33:18 - error: Cannot access attribute "install" for class "TestApp[WSGIApplication]"
+ Attribute "install" is unknown (reportAttributeAccessIssue)
+ .../projects/dd-trace-py/tests/contrib/bottle/test.py:34:36 - error: Argument of type "Unknown | TestApp[WSGIApplication] | TestApp[Unknown]" cannot be assigned to parameter "app" of type "_AppT@TestApp" in function "__init__"
+ Type "Unknown | TestApp[WSGIApplication] | TestApp[Unknown]" is not assignable to type "WSGIApplication"
+ Type "Unknown | TestApp[WSGIApplication] | TestApp[Unknown]" is not assignable to type "WSGIApplication"
+ Type "TestApp[WSGIApplication]" is not assignable to type "WSGIApplication" (reportArgumentType)
+ .../projects/dd-trace-py/tests/contrib/bottle/test.py:43:19 - error: Cannot access attribute "route" for class "TestApp[WSGIApplication]"
+ Attribute "route" is unknown (reportAttributeAccessIssue)
+ .../projects/dd-trace-py/tests/contrib/bottle/test.py:79:19 - error: Cannot access attribute "route" for class "TestApp[WSGIApplication]"
+ Attribute "route" is unknown (reportAttributeAccessIssue)
+ .../projects/dd-trace-py/tests/contrib/bottle/test.py:109:19 - error: Cannot access attribute "route" for class "TestApp[WSGIApplication]"
+ Attribute "route" is unknown (reportAttributeAccessIssue)
+ .../projects/dd-trace-py/tests/contrib/bottle/test.py:129:19 - error: Cannot access attribute "route" for class "TestApp[WSGIApplication]"
+ Attribute "route" is unknown (reportAttributeAccessIssue)
+ .../projects/dd-trace-py/tests/contrib/bottle/test.py:158:19 - error: Cannot access attribute "route" for class "TestApp[WSGIApplication]"
+ Attribute "route" is unknown (reportAttributeAccessIssue)
+ .../projects/dd-trace-py/tests/contrib/bottle/test.py:187:19 - error: Cannot access attribute "route" for class "TestApp[WSGIApplication]"
+ Attribute "route" is unknown (reportAttributeAccessIssue)
+ .../projects/dd-trace-py/tests/contrib/bottle/test.py:221:19 - error: Cannot access attribute "route" for class "TestApp[WSGIApplication]"
+ Attribute "route" is unknown (reportAttributeAccessIssue)
+ .../projects/dd-trace-py/tests/contrib/bottle/test.py:225:19 - error: Cannot access attribute "route" for class "TestApp[WSGIApplication]"
... (truncated 115 lines) ...``` |
Felix Yan (felixonmars)
added a commit
to felixonmars/archriscv-packages
that referenced
this pull request
Sep 27, 2026
Bypass the Lerna/Nx bootstrap on riscv64: its WASM fallback lacks FileLock. Install the CLI and internal test package directly, retaining the upstream build and test suite. Use Rspack 2.1.0 for both packages because 2.0.5 lacks a native riscv64 binding. Keep parallel Jest tests using libzip WASM off Sv39 workers. Use complete diagnostic messages instead of 32-bit hashes for deduplication. MatchClass1 fails with "Expected 7 errors, got 8" after emitting the same [411:14] "float | int" diagnostic twice. Avoid the integer hashing path without changing the expected error count, and cover repeated insertion and distinct messages with colliding hashes. No matching Pyright fix was found; the RISC-V Maglev Word32 bug still present in Node 26.9.0 is a suspected trigger, not a confirmed diagnosis. Increase the LSP test-signal timeout from 10 to 60 seconds for "Timed out waiting for signal didopendocument". Upstream #11521 reports the same failure under parallel suite load. Preserve the complete configured suite and add no skips. https://archriscv.felixc.at/.status/logs/pyright/pyright-1.1.412-1.log nrwl/nx#20914 web-infra-dev/rspack#14447 microsoft/pyright#11521 v8/v8@3b5f516
Felix Yan (felixonmars)
added a commit
to felixonmars/archriscv-packages
that referenced
this pull request
Sep 27, 2026
Bypass the Lerna/Nx bootstrap on riscv64: its WASM fallback lacks FileLock. Install the CLI and internal test package directly, retaining the upstream build and test suite. Use Rspack 2.1.0 for both packages because 2.0.5 lacks a native riscv64 binding. Keep parallel Jest tests using libzip WASM off Sv39 workers. Use complete diagnostic messages instead of 32-bit hashes for deduplication. MatchClass1 fails with "Expected 7 errors, got 8" after emitting the same [411:14] "float | int" diagnostic twice. Avoid the integer hashing path without changing the expected error count, and cover repeated insertion and distinct messages with colliding hashes. No matching Pyright fix was found; the RISC-V Maglev Word32 bug still present in Node 26.9.0 is a suspected trigger, not a confirmed diagnosis. Increase the LSP test-signal timeout from 10 to 60 seconds for "Timed out waiting for signal didopendocument". Upstream #11521 reports the same failure under parallel suite load. Preserve the complete configured suite and add no skips. https://archriscv.felixc.at/.status/logs/pyright/pyright-1.1.412-1.log nrwl/nx#20914 web-infra-dev/rspack#14447 microsoft/pyright#11521 v8/v8@3b5f516
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1. Upstream typeshed update
132ae01fd184883857189406b5f13439c00078e4289e5d3568961c8bcd33d01eef5b7ec5e1ad33ad2. Failure classification summary
languageServer.test.tstimed out waiting for thedidopendocumentsignal under full-suite parallel load. Re-running the file in isolation passed all 28 tests, confirming flaky timing unrelated to typeshed.3. Pyright fixes
None required.
4. Test updates
None required.
5. Precision report
No
reveal_typedeltas or precision regressions observed.6. Validation
npx jest languageServer.test-> 28/28 passed in isolation.