matplotlib / basemap

Plot on map projections (with coastlines and political boundaries) using matplotlib
MIT License
772 stars 390 forks source link

Support Cython 3.0 #593

Closed musicinmybrain closed 8 months ago

musicinmybrain commented 8 months ago

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

molinav commented 8 months ago

Thanks for contributing!

musicinmybrain commented 8 months ago

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.