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

Fix a test regression with pybind11 2.11.2, 2.12.1, 2.13.6+ #515

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

musicinmybrain
Copy link
Contributor

@musicinmybrain musicinmybrain commented Nov 21, 2024

“A new self._pybind11_conduit_v1_() method is automatically added to all py::class_-wrapped types, to enable type-safe interoperability between different independent Python/C++ bindings systems, including pybind11 versions with different PYBIND11_INTERNALS_VERSIONs.”

https://github.com/pybind/pybind11/releases/tag/v2.13.6

Ensure that tests/test_0_API.py::test_doc_exists does not see this as an undocumented API function.

“A new self._pybind11_conduit_v1_() method is automatically added to all
py::class_-wrapped types, to enable type-safe interoperability between
different independent Python/C++ bindings systems, including pybind11
versions with different PYBIND11_INTERNALS_VERSIONs.”

https://github.com/pybind/pybind11/releases/tag/v2.13.6

Ensure that `tests/test_0_API.py::test_doc_exists` does not see this as
an undocumented API function.
Copy link
Contributor

@mgeplf mgeplf left a comment

Choose a reason for hiding this comment

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

Thanks; we had discussed this in another PR, but forgot to break it out into a separate request.

I will update this PR to include what was decided there.

@musicinmybrain
Copy link
Contributor Author

I will update this PR to include what was decided there.

Thanks! The changes to this PR look correct and reasonable, and I confirmed they still work for me as a downstream patch in Fedora.

@mgeplf
Copy link
Contributor

mgeplf commented Nov 25, 2024

Great; I will look at the build system failure at some point.
Thanks for the initial request; reminded me to get this in :)

@mgeplf mgeplf merged commit 013a016 into BlueBrain:master Nov 26, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants