Skip to content

Support Cython 3.0 - #593

Merged
molinav merged 7 commits into
matplotlib:developfrom
musicinmybrain:cython3
Nov 5, 2023
Merged

molinav merged 7 commits into
matplotlib:developfrom
musicinmybrain:cython3

Conversation

@musicinmybrain

Copy link
Copy Markdown
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.
This reverts 7c2d97c except for the changelog.
@molinav

molinav commented Nov 5, 2023

Copy link
Copy Markdown
Member

Thanks for contributing!

@molinav
molinav merged commit 1d92b12 into matplotlib:develop Nov 5, 2023
@musicinmybrain

Copy link
Copy Markdown
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.

This branch was previously deployed

1 inactive deployment
PyPI — 4652b312 Deployed Nov 5, 2023 by molinav
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