Fix CI warning #1626
Annotations
11 warnings
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5, jakebailey/pyright-action@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run pyright:
setuptools/wheel.py#L94
Cannot access attribute "py_version" for class "Wheel*"
Attribute "py_version" is unknown (reportAttributeAccessIssue)
|
|
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:
_distutils_hack/__init__.py#L215
Expression value is unused (reportUnusedExpression)
|
|
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:
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#L76
"log" is not a known attribute of module "distutils.dist" (reportAttributeAccessIssue)
|
|
Run pyright:
setuptools/tests/test_logging.py#L74
"log" is not a known attribute of module "distutils.dist" (reportAttributeAccessIssue)
|
|
Run pyright:
setuptools/tests/test_logging.py#L37
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
Loading