-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
triageNew bug, unverifiedNew bug, unverified
Description
Required prerequisites
- Make sure you've read the documentation. Your issue may be addressed there.
- Search the issue tracker and Discussions to verify that this hasn't already been reported. +1 or comment there if it has.
- Consider asking first in the Gitter chat room or in a Discussion.
What version (or hash if on master) of pybind11 are you using?
stable (3.0.0)
Problem description
Hi!
I'm trying to use pybind11 with Python 3.14t (Free Threaded), using the official manylinux Docker images, but I'm running into the following issue:
Unknown CMake command "python3_add_library"
It works fine with all other Python versions, including the standard Python 3.14, but not with the free-threaded edition.
In my CMakeLists.txt
I'm finding Python like this:
find_package(Python3 REQUIRED COMPONENTS Interpreter)
And I'm passing the Python executable from my setup.py
, as seen here:
https://github.com/pytgcalls/ntgcalls/blob/master/setup.py#L79
Any idea why this issue happens specifically with Python 3.14t?
Thanks!
Is this a regression? Put the last known working version here if it is.
Not a regression
Metadata
Metadata
Assignees
Labels
triageNew bug, unverifiedNew bug, unverified