From 0989cf13e70f52d5b241aa176eb74a680a282d09 Mon Sep 17 00:00:00 2001 From: pieterck Date: Tue, 3 Oct 2023 15:47:00 +0700 Subject: [PATCH] Fixed #34759 -- Confirmed support for SpatiaLite 5.1. Thanks The Epic Dev for helping with tests. --- docs/ref/contrib/gis/install/geolibs.txt | 3 ++- tests/gis_tests/geoapp/test_functions.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/ref/contrib/gis/install/geolibs.txt b/docs/ref/contrib/gis/install/geolibs.txt index 90ad6ed10e6..ca47981f959 100644 --- a/docs/ref/contrib/gis/install/geolibs.txt +++ b/docs/ref/contrib/gis/install/geolibs.txt @@ -13,7 +13,7 @@ Program Description Required :doc:`GDAL <../gdal>` Geospatial Data Abstraction Library Yes 3.7, 3.6, 3.5, 3.4, 3.3, 3.2, 3.1, 3.0, 2.4 :doc:`GeoIP <../geoip2>` IP-based geolocation library No 2 `PostGIS`__ Spatial extensions for PostgreSQL Yes (PostgreSQL only) 3.4, 3.3, 3.2, 3.1, 3.0 -`SpatiaLite`__ Spatial extensions for SQLite Yes (SQLite only) 5.0, 4.3 +`SpatiaLite`__ Spatial extensions for SQLite Yes (SQLite only) 5.1, 5.0, 4.3 ======================== ==================================== ================================ =========================================== Note that older or more recent versions of these libraries *may* also work @@ -48,6 +48,7 @@ totally fine with GeoDjango. Your mileage may vary. PROJ 5.0.0 2018-03-01 SpatiaLite 4.3.0 2015-09-07 SpatiaLite 5.0.0 2020-08-23 + SpatiaLite 5.1.0 2023-08-04 .. note:: diff --git a/tests/gis_tests/geoapp/test_functions.py b/tests/gis_tests/geoapp/test_functions.py index e9e2a5dcaee..b75f053b3d3 100644 --- a/tests/gis_tests/geoapp/test_functions.py +++ b/tests/gis_tests/geoapp/test_functions.py @@ -141,7 +141,7 @@ class GISFunctionsTests(FuncTestMixin, TestCase): ) else: gml_regex = re.compile( - r'^' + r'^' r"-104\.60925\d+,38\.255001" ) self.assertTrue(gml_regex.match(ptown.gml))