-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RLG fork of pybind11 incompatible with Python 3.13 #21968
Comments
Three pieces of interest in the fork:
|
Above list is priority order for porting away. Jeremy has a pybind11 branch with partial reverts of the custom features. |
Here's my WIP branch to explore the problem: https://github.com/jwnimmer-tri/drake/commits/pybind11-tmp/
As such, everything builds but some tests fail (due to the missing bindings). The inventory if Probably the next problem worth tackling is getting the
|
See also #12811 for simulator-context discussion. |
FYI I've rebased my I'm going to start looking at the => #22470 |
Next I'm going to tackle the system scalar converter. |
I've rebased my pybind11-tmp branch atop everything in flight. What still remains as
|
The monte carlo looks to easy, so I'll take that one (#22528) and leave the other two for you. |
Also the final capstone -- we need to summarize the status quo / playbook for Drake Developers who maintain the bindings on an ongoing basis, probably at https://github.com/RobotLocomotion/drake/blob/master/bindings/pydrake/pydrake_doxygen.h. |
#22595 is in review. |
@rpoyner-tri I rebased my https://github.com/jwnimmer-tri/drake/commits/pybind11-tmp/ WIP branch. I see only the 7 test failures. |
#22668 is merged, which takes care of one of the resistant failures. I believe that the remaining problems are variations of pybind/pybind11#1333 . It's not clear that there is a clean minimal patch available. |
Error message from a CPython 3.13 wheel build:
See https://bugs.python.org/issue40240 and https://bugs.python.org/issue32377. The private macros
_PyGC_FINALIZED
and_PyGC_SET_FINALIZED
are no longer available. The former has a replacement function available, but the latter does not. Those two macros are used by the bespoke RLG patch in our customclass wrapper
:https://github.com/RobotLocomotion/pybind11/blob/51d715e037386fcdbeda75ffab15f02f8e4388d8/include/pybind11/pytypes.h#L2455-L2461
The text was updated successfully, but these errors were encountered: