<div dir="ltr">Hi all,<div><br></div><div>What is the minimum python version for the GDAL python bindings? This is the only thing I found easily:</div><div><br></div><div>find . -type f | grep -v git | xargs grep 3 | grep python_version <br></div><div><br></div><div>cat autotest/requirements.txt <br>pytest>=6.0.0<br>pytest-sugar<=0.9.6; python_version < '3.7'<br>pytest-sugar; python_version >= '3.7'<br>pytest-env<br>lxml<br>jsonschema<br>filelock<br></div><div><br></div><div>I think the real answer is that it's 3.8 from what I see here:</div><div><br></div><div>swig/python/osgeo/__init__.py<br></div><div><br></div><div># The following is a Sequence of tuples in the form of (gdal_version, python_version).<br># Each line represents the minimum supported Python version of a given GDAL version.<br># Introducing a new line for the next GDAL version will trigger a deprecation warning<br># when importing osgeo from a Python version which will not be<br># supported in the next version of GDAL.<br>gdal_version_and_min_supported_python_version = (<br>    ((0, 0), (0, 0)),<br>    ((1, 0), (2, 0)),<br>    ((2, 0), (2, 7)),<br>    ((3, 3), (3, 6)),<br>    # ((3, 4), (3, 7)),<br>    # ((3, 5), (3, 8)),<br>)<br></div></div>