Skip to content
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

Remove include of smart_holder_type_casters.h header #1258

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

lanctot
Copy link
Collaborator

@lanctot lanctot commented Aug 1, 2024

Fixes #1256

@lanctot lanctot mentioned this pull request Aug 1, 2024
@@ -31,7 +31,6 @@
#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
13 checks passed
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