Skip to content

Commit 4139cb8

Browse files
p-r-a-v-i-njacobtylerwalls
authored andcommitted
Fixed #36929 -- Dropped support for GEOS 3.9.
Thanks David Smith for report and Tim Graham for review.
1 parent 4513a6c commit 4139cb8

3 files changed

Lines changed: 3 additions & 8 deletions

File tree

docs/ref/contrib/gis/install/geolibs.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ geospatial libraries:
1313
============================== ==================================== ================================ ===================================================
1414
Program Description Required Supported Versions
1515
============================== ==================================== ================================ ===================================================
16-
:ref:`GEOS <geos-overview>` Geometry Engine Open Source Yes 3.14, 3.13, 3.12, 3.11, 3.10, 3.9
16+
:ref:`GEOS <geos-overview>` Geometry Engine Open Source Yes 3.14, 3.13, 3.12, 3.11, 3.10
1717
`PROJ`_ Cartographic Projections library Yes (PostgreSQL and SQLite only) 9.x, 8.x, 7.x, 6.x
1818
:ref:`GDAL <gdal-overview>` Geospatial Data Abstraction Library Yes 3.12, 3.11, 3.10, 3.9, 3.8, 3.7, 3.6, 3.5, 3.4, 3.3
1919
:ref:`GeoIP <geoip2-overview>` IP-based geolocation library No 2
@@ -26,7 +26,6 @@ totally fine with GeoDjango. Your mileage may vary.
2626

2727
..
2828
Libs release dates:
29-
GEOS 3.9.0 2020-12-14
3029
GEOS 3.10.0 2021-10-20
3130
GEOS 3.11.0 2022-07-01
3231
GEOS 3.12.0 2023-06-27

docs/releases/6.1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ backends.
383383

384384
* Support for PostGIS 3.1 is removed.
385385

386-
* Support for GEOS 3.8 is removed.
386+
* Support for GEOS 3.8 and 3.9 is removed.
387387

388388
* Support for GDAL 3.1 and 3.2 is removed.
389389

tests/gis_tests/geos_tests/test_io.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
WKTReader,
1010
WKTWriter,
1111
)
12-
from django.contrib.gis.geos.libgeos import geos_version_tuple
1312
from django.test import SimpleTestCase
1413

1514

@@ -52,10 +51,7 @@ def test02_wktwriter(self):
5251
def test_wktwriter_constructor_arguments(self):
5352
wkt_w = WKTWriter(dim=3, trim=True, precision=3)
5453
ref = GEOSGeometry("POINT (5.34562 23 1.5)")
55-
if geos_version_tuple() > (3, 10):
56-
ref_wkt = "POINT Z (5.346 23 1.5)"
57-
else:
58-
ref_wkt = "POINT Z (5.35 23 1.5)"
54+
ref_wkt = "POINT Z (5.346 23 1.5)"
5955
self.assertEqual(ref_wkt, wkt_w.write(ref).decode())
6056

6157
def test03_wkbreader(self):

0 commit comments

Comments
 (0)