Remove pkg_resources #1404
Annotations
20 warnings
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):
setuptools/config/_apply_pyprojecttoml.py#L400
Argument of type "_S@reduce" cannot be assigned to parameter "name" of type "str" in function "getattr"
"object*" is not assignable to "str" (reportArgumentType)
|
pyright (3.13, ubuntu-latest):
setuptools/config/_apply_pyprojecttoml.py#L400
No overloads for "getattr" match the provided arguments (reportCallIssue)
|
pyright (3.13, ubuntu-latest):
setuptools/config/_apply_pyprojecttoml.py#L35
"_OptionsList" is unknown import symbol (reportAttributeAccessIssue)
|
pyright (3.13, ubuntu-latest):
setuptools/config/_apply_pyprojecttoml.py#L35
Import "distutils.dist" could not be resolved from source (reportMissingModuleSource)
|
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_logging.py#L67
Import "distutils.dist" could not be resolved from source (reportMissingModuleSource)
|
pyright (3.13, ubuntu-latest):
setuptools/tests/test_logging.py#L37
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
pyright (3.13, ubuntu-latest):
setuptools/tests/test_install_scripts.py#L30
Cannot assign to attribute "executable" for class "Command"
Attribute "executable" is unknown (reportAttributeAccessIssue)
|
pyright (3.9, ubuntu-latest):
setuptools/wheel.py#L94
Cannot access attribute "py_version" for class "Wheel*"
Attribute "py_version" is unknown (reportAttributeAccessIssue)
|
pyright (3.9, ubuntu-latest):
setuptools/config/_apply_pyprojecttoml.py#L400
Argument of type "_S@reduce" cannot be assigned to parameter "name" of type "str" in function "getattr"
"object*" is not assignable to "str" (reportArgumentType)
|
pyright (3.9, ubuntu-latest):
setuptools/config/_apply_pyprojecttoml.py#L400
No overloads for "getattr" match the provided arguments (reportCallIssue)
|
pyright (3.9, ubuntu-latest):
_distutils_hack/__init__.py#L215
Expression value is unused (reportUnusedExpression)
|
pyright (3.9, 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.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)
|
pyright (3.9, ubuntu-latest):
setuptools/tests/test_logging.py#L76
"log" is not a known attribute of module "distutils.dist" (reportAttributeAccessIssue)
|
pyright (3.9, ubuntu-latest):
setuptools/tests/test_logging.py#L74
"log" is not a known attribute of module "distutils.dist" (reportAttributeAccessIssue)
|
pyright (3.9, ubuntu-latest):
setuptools/tests/test_logging.py#L37
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|