]> git.openstreetmap.org Git - nominatim.git/commitdiff
remove GeoAlchemy as dependency
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 1 Jul 2023 16:16:23 +0000 (18:16 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 2 Jul 2023 21:06:42 +0000 (23:06 +0200)
.github/actions/build-nominatim/action.yml
docs/admin/Installation.md
vagrant/Install-on-Ubuntu-20.sh
vagrant/Install-on-Ubuntu-22.sh

index eaab5ae01765fc8188cd5a8da0f2f8a0b16e8412..724de3dec672b6915a5f0d5ef3990cdfb0903225 100644 (file)
@@ -27,10 +27,10 @@ runs:
           run: |
             sudo apt-get install -y -qq libboost-system-dev libboost-filesystem-dev libexpat1-dev zlib1g-dev libbz2-dev libpq-dev libproj-dev libicu-dev liblua${LUA_VERSION}-dev lua${LUA_VERSION} lua-dkjson
             if [ "$FLAVOUR" == "oldstuff" ]; then
-                pip3 install MarkupSafe==2.0.1 python-dotenv psycopg2==2.7.7 jinja2==2.8 psutil==5.4.2 pyicu==2.9 osmium PyYAML==5.1 sqlalchemy==1.4 GeoAlchemy2==0.10.0 datrie asyncpg
+                pip3 install MarkupSafe==2.0.1 python-dotenv psycopg2==2.7.7 jinja2==2.8 psutil==5.4.2 pyicu==2.9 osmium PyYAML==5.1 sqlalchemy==1.4 datrie asyncpg
             else
                 sudo apt-get install -y -qq python3-icu python3-datrie python3-pyosmium python3-jinja2 python3-psutil python3-psycopg2 python3-dotenv python3-yaml
-                pip3 install sqlalchemy GeoAlchemy2 psycopg
+                pip3 install sqlalchemy psycopg
             fi
           shell: bash
           env:
index 61fc1bcee7c251a9072842466ba7398eb517f0f1..11442eed4635e8dd2aca1d6674a1589895428536 100644 (file)
@@ -49,7 +49,6 @@ For running Nominatim:
   * [psutil](https://github.com/giampaolo/psutil)
   * [Jinja2](https://palletsprojects.com/p/jinja/)
   * [SQLAlchemy](https://www.sqlalchemy.org/) (1.4+ with greenlet support)
-  * [GeoAlchemy2](https://geoalchemy-2.readthedocs.io/) (0.10+)
   * [asyncpg](https://magicstack.github.io/asyncpg) (0.8+)
   * [PyICU](https://pypi.org/project/PyICU/)
   * [PyYaml](https://pyyaml.org/) (5.1+)
index ef77657983c326f1436ecb32ac397042d8a8f855..e52bdee7645c6ea8f889406e9fb2b100f71e7827 100755 (executable)
@@ -33,7 +33,7 @@ export DEBIAN_FRONTEND=noninteractive #DOCS:
 # Some of the Python packages that come with Ubuntu 20.04 are too old, so
 # install the latest version from pip:
 
-    pip3 install --user sqlalchemy GeoAlchemy2 asyncpg
+    pip3 install --user sqlalchemy asyncpg
 
 
 #
index c44cf87d518f4e273b9323d74a9c78a3c825024b..fdb38203cc1959069ade4498e6f53103c15c5d10 100755 (executable)
@@ -29,7 +29,7 @@ export DEBIAN_FRONTEND=noninteractive #DOCS:
                         php-cli php-pgsql php-intl libicu-dev python3-dotenv \
                         python3-psycopg2 python3-psutil python3-jinja2 \
                         python3-icu python3-datrie python3-sqlalchemy \
-                        python3-geoalchemy2 python3-asyncpg git
+                        python3-asyncpg git
 
 #
 # System Configuration