Skip to content

[Waiting for distutils sync] Generate distutils-stubs on install #1453

[Waiting for distutils sync] Generate distutils-stubs on install

[Waiting for distutils sync] Generate distutils-stubs on install #1453

Triggered via pull request November 2, 2025 17:26
Status Success
Total duration 44s
Artifacts

pyright.yml

on: pull_request
Matrix: pyright
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
pyright (3.13, ubuntu-latest): setuptools/wheel.py#L94
Cannot access attribute "py_version" for class "Wheel*"   Attribute "py_version" is unknown (reportAttributeAccessIssue)
pyright (3.13, ubuntu-latest): _distutils_hack/__init__.py#L215
Expression value is unused (reportUnusedExpression)
pyright (3.13, ubuntu-latest): _distutils_hack/__init__.py#L76
Operator "in" not supported for types "Literal['_distutils']" and "str | None"   Operator "in" not supported for types "Literal['_distutils']" and "None" (reportOperatorIssue)
pyright (3.13, ubuntu-latest): setup.py#L51
Argument of type "str | None" cannot be assigned to parameter "path" of type "StrPath" in function "relpath"   Type "str | None" is not assignable to type "StrPath"     Type "None" is not assignable to type "StrPath"       "None" is not assignable to "str"       "None" is incompatible with protocol "PathLike[str]"         "__fspath__" is not present (reportArgumentType)
pyright (3.13, ubuntu-latest): setup.py#L51
No overloads for "relpath" match the provided arguments (reportCallIssue)
pyright (3.13, ubuntu-latest): setuptools/tests/test_build_ext.py#L291
Argument of type "tuple[Literal[0], Literal[2]]" cannot be assigned to parameter "data_stream" of type "int" in function "run_setup_py"   "tuple[Literal[0], Literal[2]]" is not assignable to "int" (reportArgumentType)
pyright (3.13, ubuntu-latest): setuptools/tests/test_build_ext.py#L147
Cannot assign to attribute "editable_mode" for class "Command"   Attribute "editable_mode" is unknown (reportAttributeAccessIssue)
pyright (3.13, ubuntu-latest): setuptools/tests/test_build_ext.py#L128
Cannot assign to attribute "editable_mode" for class "Command"   Attribute "editable_mode" is unknown (reportAttributeAccessIssue)
pyright (3.13, ubuntu-latest): setuptools/tests/test_build_ext.py#L115
Cannot assign to attribute "editable_mode" for class "Command"   Attribute "editable_mode" is unknown (reportAttributeAccessIssue)
pyright (3.13, ubuntu-latest): setuptools/tests/test_build_ext.py#L53
Argument of type "int | str | None" cannot be assigned to parameter "suffix" of type "str | tuple[str, ...]" in function "endswith"   Type "int | str | None" is not assignable to type "str | tuple[str, ...]"     Type "int" is not assignable to type "str | tuple[str, ...]"       "int" is not assignable to "str"       "int" is not assignable to "tuple[str, ...]" (reportArgumentType)
pyright (3.9, ubuntu-latest): setuptools/tests/test_build_ext.py#L291
Argument of type "tuple[Literal[0], Literal[2]]" cannot be assigned to parameter "data_stream" of type "int" in function "run_setup_py"   "tuple[Literal[0], Literal[2]]" is not assignable to "int" (reportArgumentType)
pyright (3.9, ubuntu-latest): setuptools/tests/test_build_ext.py#L155
Cannot access attribute "get_output_mapping" for class "build_ext"   Attribute "get_output_mapping" is unknown (reportAttributeAccessIssue)
pyright (3.9, ubuntu-latest): setuptools/tests/test_build_ext.py#L147
Cannot assign to attribute "editable_mode" for class "build_ext"   Attribute "editable_mode" is unknown (reportAttributeAccessIssue)
pyright (3.9, ubuntu-latest): setuptools/tests/test_build_ext.py#L132
Cannot access attribute "get_output_mapping" for class "build_ext"   Attribute "get_output_mapping" is unknown (reportAttributeAccessIssue)
pyright (3.9, ubuntu-latest): setuptools/tests/test_build_ext.py#L128
Cannot assign to attribute "editable_mode" for class "build_ext"   Attribute "editable_mode" is unknown (reportAttributeAccessIssue)
pyright (3.9, ubuntu-latest): setuptools/tests/test_build_ext.py#L124
Cannot access attribute "get_output_mapping" for class "build_ext"   Attribute "get_output_mapping" is unknown (reportAttributeAccessIssue)
pyright (3.9, ubuntu-latest): setuptools/tests/test_build_ext.py#L115
Cannot assign to attribute "editable_mode" for class "build_ext"   Attribute "editable_mode" is unknown (reportAttributeAccessIssue)
pyright (3.9, ubuntu-latest): setuptools/tests/test_build_ext.py#L53
Argument of type "int | str | None" cannot be assigned to parameter "suffix" of type "str | tuple[str, ...]" in function "endswith"   Type "int | str | None" is not assignable to type "str | tuple[str, ...]"     Type "int" is not assignable to type "str | tuple[str, ...]"       "int" is not assignable to "str"       "int" is not assignable to "tuple[str, ...]" (reportArgumentType)
pyright (3.9, ubuntu-latest): setup.py#L51
Argument of type "str | None" cannot be assigned to parameter "path" of type "StrPath" in function "relpath"   Type "str | None" is not assignable to type "StrPath"     Type "None" is not assignable to type "StrPath"       "None" is not assignable to "str"       "None" is incompatible with protocol "PathLike[str]"         "__fspath__" is not present (reportArgumentType)
pyright (3.9, ubuntu-latest): setup.py#L51
No overloads for "relpath" match the provided arguments (reportCallIssue)