Skip to content

Statically alias distutils-stubs to setuptools._distutils #602

Statically alias distutils-stubs to setuptools._distutils

Statically alias distutils-stubs to setuptools._distutils #602

Triggered via pull request December 30, 2024 21:46
Status Success
Total duration 1m 0s
Artifacts

pyright.yml

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

Annotations

22 warnings
pyright (3.9, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pyright (3.9, ubuntu-latest): setuptools/command/bdist_egg.py#L126
No overloads for "join" match the provided arguments (reportCallIssue)
pyright (3.9, ubuntu-latest): setuptools/command/bdist_egg.py#L126
Argument of type "None" cannot be assigned to parameter "a" of type "BytesPath" in function "join"   Type "None" is not assignable to type "BytesPath"     "None" is not assignable to "bytes"     "None" is incompatible with protocol "PathLike[bytes]"       "__fspath__" is not present (reportArgumentType)
pyright (3.9, ubuntu-latest): setuptools/command/bdist_egg.py#L133
Cannot assign to attribute "data_files" for class "Distribution"   Expression of type "list[Unknown]" cannot be assigned to attribute "data_files" of class "Distribution"     "list[Unknown]" is not assignable to "None" (reportAttributeAccessIssue)
pyright (3.9, ubuntu-latest): setuptools/command/bdist_egg.py#L135
"None" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
pyright (3.9, ubuntu-latest): setuptools/command/bdist_egg.py#L145
Cannot access attribute "append" for class "None"   Attribute "append" is unknown (reportAttributeAccessIssue)
pyright (3.9, ubuntu-latest): setuptools/command/bdist_egg.py#L185
No overloads for "join" match the provided arguments (reportCallIssue)
pyright (3.9, ubuntu-latest): setuptools/command/bdist_egg.py#L185
Argument of type "str | None" cannot be assigned to parameter "a" of type "BytesPath" in function "join"   Type "str | None" is not assignable to type "BytesPath"     Type "str" is not assignable to type "BytesPath"       "str" is not assignable to "bytes"       "str" is incompatible with protocol "PathLike[bytes]"         "__fspath__" is not present (reportArgumentType)
pyright (3.9, ubuntu-latest): setuptools/command/bdist_egg.py#L200
No overloads for "join" match the provided arguments (reportCallIssue)
pyright (3.9, ubuntu-latest): setuptools/command/bdist_egg.py#L200
Argument of type "str | None" cannot be assigned to parameter "a" of type "StrPath" in function "join"   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): setuptools/command/bdist_egg.py#L221
No overloads for "join" match the provided arguments (reportCallIssue)
pyright (3.13, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pyright (3.13, ubuntu-latest): setuptools/command/bdist_egg.py#L126
No overloads for "join" match the provided arguments (reportCallIssue)
pyright (3.13, ubuntu-latest): setuptools/command/bdist_egg.py#L126
Argument of type "None" cannot be assigned to parameter "a" of type "BytesPath" in function "join"   Type "None" is not assignable to type "BytesPath"     "None" is not assignable to "bytes"     "None" is incompatible with protocol "PathLike[bytes]"       "__fspath__" is not present (reportArgumentType)
pyright (3.13, ubuntu-latest): setuptools/command/bdist_egg.py#L133
Cannot assign to attribute "data_files" for class "Distribution"   Expression of type "list[Unknown]" cannot be assigned to attribute "data_files" of class "Distribution"     "list[Unknown]" is not assignable to "None" (reportAttributeAccessIssue)
pyright (3.13, ubuntu-latest): setuptools/command/bdist_egg.py#L135
"None" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
pyright (3.13, ubuntu-latest): setuptools/command/bdist_egg.py#L145
Cannot access attribute "append" for class "None"   Attribute "append" is unknown (reportAttributeAccessIssue)
pyright (3.13, ubuntu-latest): setuptools/command/bdist_egg.py#L185
No overloads for "join" match the provided arguments (reportCallIssue)
pyright (3.13, ubuntu-latest): setuptools/command/bdist_egg.py#L185
Argument of type "str | None" cannot be assigned to parameter "a" of type "BytesPath" in function "join"   Type "str | None" is not assignable to type "BytesPath"     Type "str" is not assignable to type "BytesPath"       "str" is not assignable to "bytes"       "str" is incompatible with protocol "PathLike[bytes]"         "__fspath__" is not present (reportArgumentType)
pyright (3.13, ubuntu-latest): setuptools/command/bdist_egg.py#L200
No overloads for "join" match the provided arguments (reportCallIssue)
pyright (3.13, ubuntu-latest): setuptools/command/bdist_egg.py#L200
Argument of type "str | None" cannot be assigned to parameter "a" of type "StrPath" in function "join"   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): setuptools/command/bdist_egg.py#L221
No overloads for "join" match the provided arguments (reportCallIssue)