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

Support Cython 3.0 #593

Merged
merged 7 commits into from
Nov 5, 2023
Merged

Support Cython 3.0 #593

merged 7 commits into from
Nov 5, 2023

Conversation

musicinmybrain
Copy link
Contributor

The main issue seems to be that the GEOSMessageHandler function-pointer typedef, and the callbacks with matching signatures, need noexcept: https://cython.readthedocs.io/en/latest/src/userguide/migrating_to_cy30.html#exception-values-and-noexcept

Adjust the two callbacks of that type to match.

This is required for Cython 3 compatibility.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
This reverts 7c2d97c except for the changelog.
@molinav
Copy link
Member

molinav commented Nov 5, 2023

Thanks for contributing!

@molinav molinav merged commit 1d92b12 into matplotlib:develop Nov 5, 2023
@musicinmybrain
Copy link
Contributor Author

Thanks for contributing!

You’re welcome. Thank you for doing the extra work to make my contribution fit your Cython version support needs so the PR could actually be merged.

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