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 build break due to pybind11 master recent change #2637

Merged
merged 1 commit into from
Jul 8, 2020

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Jul 8, 2020

By using the explicit cast<TypeDesc>() instead of allowing the
template system to figure it out, we were losing the const detection
and making it fail to match templates. It used to work, but a recently
added change in pybind11's master branch caused this to finally fail.

Also change the "latest releases" to use pybind11 2.5. (Only semi-related,
2.5 was fine, it was post-2.5 where we broke.)

Signed-off-by: Larry Gritz lg@larrygritz.com

By using the explicit `cast<TypeDesc>()` instead of allowing the
template system to figure it out, we were losing the `const` detection
and making it fail to match templates. It used to work, but a recently
added change in pybind11's master branch caused this to finally fail.

Also change the "latest releases" to use pybind11 2.5. (Only semi-related,
2.5 was fine, it was post-2.5 where we broke.)

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz lgritz merged commit 363ed76 into AcademySoftwareFoundation:master Jul 8, 2020
@lgritz lgritz deleted the lg-pybind11-gh branch July 8, 2020 20:28
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Jul 8, 2020
…Foundation#2637)

By using the explicit `cast<TypeDesc>()` instead of allowing the
template system to figure it out, we were losing the `const` detection
and making it fail to match templates. It used to work, but a recently
added change in pybind11's master branch caused this to finally fail.

Also change the "latest releases" to use pybind11 2.5. (Only semi-related,
2.5 was fine, it was post-2.5 where we broke.)

Signed-off-by: Larry Gritz <lg@larrygritz.com>
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.

None yet

2 participants