cartopy
cartopy copied to clipboard
cp312 wheels ?
Hi, is there a timeline for when CPython 3.12 wheels will be published ? I'm asking because such wheels would be helpful to test downstream code more efficiently, but as far as I am concerned there's no rush. I note that shapely 2.0.2 was just released with cp312 wheels, which I assume was necessary condition for you guys to get started ? I'd be happy to submit a PR to update CI and wheel-building workflows.
I'm not a maintainer of this project, but am looking through various dependencies that I need for Python 3.12 support on my own project. I think the first step is to figure out why the tests are failing on:
https://github.com/SciTools/cartopy/pull/2257
It looks like these tests passed in the original cibuildwheel update and one that included Python 3.12:
https://github.com/SciTools/cartopy/pull/2244
I don't know enough about cartopy's build process to make a guess as to what is going on. One #2257 is passing then cp312 can be added to the build environment variable. Assuming that build passes then it should just require a release of cartopy to get the wheels you want.
Given the limited time of the maintainers this may be difficult to get done unless someone outside the maintainer team has all the answers to what is currently going wrong.
Looks like they have been merged now, so we just need to wait for a release.
@jfrost-mo if you are using conda, I think it is already covered thanks to @djhoese https://github.com/conda-forge/cartopy-feedstock/pull/157
Ooh. excellent. I'll give it a go then.
I can confirm that the conda package works for python 3.12 now. And thus iris works for 3.12. 🎉
Cartopy 0.23 was just released and python 3.12 wheels are up on PyPI :tada: