Skip to content

Conversation

@lanctot
Copy link
Collaborator

@lanctot lanctot commented Aug 1, 2024

Fixes #1256

@lanctot lanctot mentioned this pull request Aug 1, 2024
#include "pybind11/include/pybind11/cast.h"
#include "pybind11/include/pybind11/detail/common.h"
#include "pybind11/include/pybind11/detail/descr.h"
#include "pybind11/include/pybind11/detail/smart_holder_type_casters.h"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing this private header makes you forward compatible (smart_holder branch before and after pybind/pybind11#5257 was merged).

If you don't care about backward compatibility (now or later) and also want to clean up:

Also remove all

As of 3cdecf7, you're only using the now obsolete PYBIND11_SMART_HOLDER_TYPE_CASTERS macro (37 in 15 files).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok great, I'll do the cleanup in a follow-up PR (or internally) over the next week or so.

@lanctot lanctot added the imported This PR has been imported and awaiting internal review. Please avoid any more local changes, thanks! label Aug 2, 2024
@lanctot lanctot merged commit 1428a82 into master Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

imported This PR has been imported and awaiting internal review. Please avoid any more local changes, thanks!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pybind11 error

2 participants