Bypass PyPy-specific check_home DeprecationWarning from stdlib distutils
#1727
Annotations
11 warnings
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5, jakebailey/pyright-action@v2. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run pyright:
_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)
|
|
Run pyright:
setuptools/config/_apply_pyprojecttoml.py#L408
Argument of type "_S@reduce" cannot be assigned to parameter "name" of type "str" in function "getattr"
"object*" is not assignable to "str" (reportArgumentType)
|
|
Run pyright:
setuptools/config/_apply_pyprojecttoml.py#L408
No overloads for "getattr" match the provided arguments (reportCallIssue)
|
|
Run pyright:
setuptools/config/_apply_pyprojecttoml.py#L35
"_OptionsList" is unknown import symbol (reportAttributeAccessIssue)
|
|
Run pyright:
setuptools/config/_apply_pyprojecttoml.py#L35
Import "distutils.dist" could not be resolved from source (reportMissingModuleSource)
|
|
Run pyright:
setup.py#L52
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)
|
|
Run pyright:
setup.py#L52
No overloads for "relpath" match the provided arguments (reportCallIssue)
|
|
Run pyright:
setuptools/tests/test_logging.py#L67
Import "distutils.dist" could not be resolved from source (reportMissingModuleSource)
|
|
Run pyright:
setuptools/tests/test_logging.py#L37
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
|
Run pyright:
setuptools/tests/test_install_scripts.py#L30
Cannot assign to attribute "executable" for class "Command"
Attribute "executable" is unknown (reportAttributeAccessIssue)
|
background
wait
wait-all
cancel
parallel
Loading