Skip to content

[_cffi_backend] Improve CField, CType, _CDataBase, buffer #35388

[_cffi_backend] Improve CField, CType, _CDataBase, buffer

[_cffi_backend] Improve CField, CType, _CDataBase, buffer #35388

Triggered via pull request March 20, 2026 05:54
Status Failure
Total duration 5m 46s
Artifacts

tests.yml

on: pull_request
Check typeshed structure
12s
Check typeshed structure
mypy: Run test cases
5m 42s
mypy: Run test cases
stub_uploader tests
5m 5s
stub_uploader tests
Matrix: mypy: Check stubs
Matrix: pyright: Run test cases
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 12 warnings
pyright: Run test cases (Darwin, 3.11)
Exit code 1
pyright: Run test cases (Darwin, 3.14)
Exit code 1
pyright: Run test cases (Windows, 3.13)
Exit code 1
pyright: Run test cases (Darwin, 3.13)
Exit code 1
pyright: Run test cases (Linux, 3.11)
Exit code 1
pyright: Run test cases (Windows, 3.11)
Exit code 1
pyright: Run test cases (Windows, 3.12)
Exit code 1
pyright: Run test cases (Darwin, 3.12)
Exit code 1
pyright: Run test cases (Linux, 3.12)
Exit code 1
pyright: Run test cases (Windows, 3.14)
Exit code 1
pyright: Run test cases (Linux, 3.13)
4 errors
pyright: Run test cases (Linux, 3.13): stubs/cffi/_cffi_backend.pyi#L56
Inconsistent use of tabs and spaces in indentation
pyright: Run test cases (Linux, 3.13): stubs/cffi/_cffi_backend.pyi#L53
Inconsistent use of tabs and spaces in indentation
pyright: Run test cases (Linux, 3.13): stubs/cffi/_cffi_backend.pyi#L48
Inconsistent use of tabs and spaces in indentation
pyright: Run test cases (Linux, 3.13): stubs/cffi/_cffi_backend.pyi#L3
Import "Incomplete" is not accessed (reportUnusedImport)
pyright: Run test cases (Linux, 3.14)
Exit code 1
mypy: Check stubs (linux, 3.13)
Process completed with exit code 2.
mypy: Check stubs (linux, 3.10)
Process completed with exit code 2.
mypy: Check stubs (win32, 3.10)
Process completed with exit code 2.
mypy: Check stubs (linux, 3.11)
Process completed with exit code 2.
mypy: Check stubs (darwin, 3.14)
Process completed with exit code 2.
mypy: Check stubs (darwin, 3.11)
Process completed with exit code 2.
mypy: Check stubs (win32, 3.11)
Process completed with exit code 2.
mypy: Check stubs (darwin, 3.10)
Process completed with exit code 2.
mypy: Check stubs (win32, 3.13)
Process completed with exit code 2.
mypy: Check stubs (darwin, 3.13)
Process completed with exit code 2.
mypy: Check stubs (darwin, 3.12)
Process completed with exit code 2.
mypy: Check stubs (win32, 3.12)
Process completed with exit code 2.
mypy: Check stubs (linux, 3.14)
Process completed with exit code 2.
mypy: Check stubs (linux, 3.12)
Process completed with exit code 2.
mypy: Check stubs (win32, 3.14)
Process completed with exit code 2.
pyright: Run test cases (Darwin, 3.11)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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/
pyright: Run test cases (Darwin, 3.14)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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/
pyright: Run test cases (Windows, 3.13)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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/
pyright: Run test cases (Darwin, 3.13)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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/
pyright: Run test cases (Linux, 3.11)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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/
pyright: Run test cases (Windows, 3.11)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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/
pyright: Run test cases (Windows, 3.12)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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/
pyright: Run test cases (Darwin, 3.12)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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/
pyright: Run test cases (Linux, 3.12)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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/
pyright: Run test cases (Windows, 3.14)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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/
pyright: Run test cases (Linux, 3.13)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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/
pyright: Run test cases (Linux, 3.14)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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/