]> git.openstreetmap.org Git - nominatim.git/commitdiff
increase minimum Python to 3.6
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 21 Jun 2021 14:32:54 +0000 (16:32 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 21 Jun 2021 16:37:37 +0000 (18:37 +0200)
Python 3.6 introduces formatted string literals and
flag enums as well as a much faster dict implementation.
These changes make the code so much simpler as to warrant
dropping Python 3.5 support.

Affected distributions are Ubuntu 16.04 and Debian Stretch.

.github/workflows/ci-tests.yml
docs/admin/Installation.md

index 1c5fc735df32a0621513c9567a2878ea93b917d5..7a3bfe35f160f8981099eeaf91147c2e03580856 100644 (file)
@@ -126,7 +126,7 @@ jobs:
 
             - uses: actions/setup-python@v2
               with:
-                python-version: 3.5
+                python-version: 3.6
               if: matrix.ubuntu == 18
 
             - uses: ./Nominatim/.github/actions/setup-postgresql
index 32fa8caad86d1e91a31f187766d66fc2a35a9f1e..adced3f2ee48704ebc8686604dacb4dd0e8ba871 100644 (file)
@@ -39,7 +39,7 @@ For running Nominatim:
 
   * [PostgreSQL](https://www.postgresql.org) (9.3+ will work, 11+ strongly recommended)
   * [PostGIS](https://postgis.net) (2.2+)
-  * [Python 3](https://www.python.org/) (3.5+)
+  * [Python 3](https://www.python.org/) (3.6+)
   * [Psycopg2](https://www.psycopg.org) (2.7+)
   * [Python Dotenv](https://github.com/theskumar/python-dotenv)
   * [psutil](https://github.com/giampaolo/psutil)