Skip to content

The ABI check has false positives #143253

@pablogsal

Description

@pablogsal

The check-abidump target reports ABI changes for types defined in Include/internal/pycore_*.h headers, even though these are explicitly not part of CPython's public ABI. For example, adding a field to _ceval_runtime_state or modifying `_PyRuntimeState`` triggers ABI violation warnings.

This happens because internal types are transitively reachable through public API functions like PyInterpreterState_Clear(), causing libabigail to report changes even with --drop-private-types.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildinfraCI, GitHub Actions, buildbots, Dependabot, etc.type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions