Re: [gdal-dev] gdal docker with numpy2-compatible python bindings

2024-07-12 Thread Vincent Schut via gdal-dev
On 12/07/2024 16:26, Even Rouault wrote: Hi, I hoped that the python bindings in the docker image would be compatible with both numpy 1 and 2, but apparently they're not? Would it be possible to create docker images with bindings that are compatible with numpy2? Or would you rather wait until

Re: [gdal-dev] gdal docker with numpy2-compatible python bindings

2024-07-12 Thread Even Rouault via gdal-dev
Hi, I hoped that the python bindings in the docker image would be compatible with both numpy 1 and 2, but apparently they're not? Would it be possible to create docker images with bindings that are compatible with numpy2? Or would you rather wait until the official ubuntu numpy package moves t

[gdal-dev] gdal docker with numpy2-compatible python bindings

2024-07-12 Thread Vincent Schut via gdal-dev
Hi, the current gdal-ubuntu-small docker (3.9.1) appears to have python bindings that are not compatible with numpy 2.0.0. If I pip install --upgrade numpy==2.0.0 and then try `from osgeo import gdal, gdal_array` I get an error: In [4]: from osgeo import gdal, gdal_array A module that was com