Closed martinfleis closed 2 months ago
Ignore me, it seems that we first build pyogrio against 1.26 and then download 2.0 nightly in CI...
It's still caused by pyogrio itself that it gets build with an older version of numpy, because pyogrio pins to oldest-supported-numpy. I did work on shapely to ensure build compatibility with the upcoming numpy 2.0 (https://github.com/shapely/shapely/issues/1972), but forgot we need similar work for pyogrio. (and ideally we would already had a release of pyogrio upper pinning numpy)
Now, it seems that while we build against numpy at the cython level, it seems we don't actually use anything from numpy's C API, as far as I can see. So it might be easier to just remove numpy as a build dependency alltogether -> https://github.com/geopandas/pyogrio/pull/381
I just noticed that pyogrio installed in geopandas' dev CI env, where we install nightly numpy 2 and pyogrio from source, does not work. We get this error
See the log within the Check and Log Environment section here. I am not sure why is that as it is installed from source against numpy 2 but it seems to be something worth our attention.