Skip to content

[BUG]: Updating to 3.0.1 causes TSS initialization error on Import #5975

@kehoecj

Description

@kehoecj

Required prerequisites

What version (or hash if on master) of pybind11 are you using?

3.0.1

Problem description

We have a python library using Pybind11 2.x. When we tried to upgrade to Pybind11 3.x, we now receive the following error when importing:

ImportError: thread_specific_storage constructor: could not initialize the TSS key!

We are running Python 3.12.12 on UBI 9. The library is large and we're not sure where to start looking for the issue.

Reproducible example code

N/A

Is this a regression? Put the last known working version here if it is.

Not a regression

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNew bug, unverified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions