Skip to content

[BUG]: ABI incompatibility between 2.9.2 and 2.10 #4105

Closed
@whophil

Description

@whophil

Required prerequisites

Problem description

I have two pybind11 extension libraries, A and B, where B uses classes from A.

My library A was compiled with pybind11 2.9 and B was compiled with pybind11 2.10. They both declare the same PYBIND11_INTERNALS_VERSION of 4, yet they do not seem to work with each other. They do work if I compile both A and B with pybind11 2.9.

Based on discussion with @henryiii on Gitter, these should be ABI compatible.

Reproducible example code

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionRegression in a recent releasetriageNew bug, unverified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions