]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge pull request #2371 from lonvia/increase-python-version
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 5 Jul 2021 08:32:38 +0000 (10:32 +0200)
committerGitHub <noreply@github.com>
Mon, 5 Jul 2021 08:32:38 +0000 (10:32 +0200)
Increase minimum required Python version to 3.6

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

index 99ce5cfaa821f2d03fceb20babe1eacff82bfbc4,7a3bfe35f160f8981099eeaf91147c2e03580856..8f0ea80db89b214ba2bf989a9854534d86123eae
@@@ -126,7 -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
                    postgresql-version: ${{ matrix.postgresql }}
                    postgis-version: ${{ matrix.postgis }}
              - uses: ./Nominatim/.github/actions/build-nominatim
 -
 -            - name: Install extra dependencies for Ubuntu 18
 -              run: |
 -                sudo apt-get install libicu-dev
 -                pip3 install python-dotenv psycopg2==2.7.7 jinja2==2.8 psutil==5.4.2 pyicu osmium
 -              shell: bash
 -              if: matrix.ubuntu == 18
 +              with:
 +                  ubuntu: ${{ matrix.ubuntu }}
  
              - name: Clean installation
                run: rm -rf Nominatim build
index a03b8304ca56a9cb1bc1ba98e6424e2644ef91d6,adced3f2ee48704ebc8686604dacb4dd0e8ba871..cc1edf590abdfa041ceffedd9bce05c7c5d87809
@@@ -39,13 -39,12 +39,13 @@@ 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)
    * [Jinja2](https://palletsprojects.com/p/jinja/)
    * [PyICU](https://pypi.org/project/PyICU/)
 +  * [datrie](https://github.com/pytries/datrie)
    * [PHP](https://php.net) (7.0 or later)
    * PHP-pgsql
    * PHP-intl (bundled with PHP)