[gdal-dev] Packages on PyPi vs. Ubuntu/Fedora

Even Rouault even.rouault at spatialys.com
Mon Sep 30 03:35:08 PDT 2019

On lundi 30 septembre 2019 08:19:41 CEST Stefan Blumentrath wrote:
> Hi gdal-devs,
> GDAL on PyPi is already at version 3, while e.g. Ubuntu and Fedora still
> ship GDAL 2. Thus, downstream Python packages that do not particularly
> specify to depend on GDAL <3 fail to build via pip3, cause pip3 tires to
> install Python bindings for GDAL 3, which is missing on the system.
> Would it be possible for the GDAL package on PyPi to check for and pick up
> the (latest) GDAL version installed in the system?

I don't think that's something GDAL has control over. This is a pure pip 
behaviour. Users should definitely specify the version of GDAL for which they 
have the native library installed.


Spatialys - Geospatial professional services

More information about the gdal-dev mailing list