Skip to content

Differing GDAL versions #402

@jakimowb

Description

@jakimowb

Describe the bug

The latest FORCE docker images make use of recent (3.10+) GDAL versions. This is great, since it allows to use several improvements that have been added to GDAL over the past years.
However, the GDAL version that is available in the docker image python3 is still heavily outdated.

Expected behavior
The GDAL version used by force should be used by the standard python3 as well

How to reproduce

  1. Open a shell in a force container:
docker run \
--rm \
-it \
-v /data:/data \
davidfrantz/force:3.10.04 bash  
  1. Check the GDAL version that is available on CLI and used by FORCE:
ubuntu@a8692154b7ce:~$ gdal --version
GDAL 3.11.3 "Eganville", released 2025/07/12

Great! the GDAL is up-to-date

  1. Check GDAL version used by standard python:
ubuntu@a8692154b7ce:~$ python3
Python 3.12.3 (main, Aug 14 2025, 17:47:21) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from osgeo import gdal
>>> print(gdal.VersionInfo(''))
GDAL 3.8.4, released 2024/02/08

Arrgs, GDAL is almost two years old :-(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions