summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPravin Kamble <iampbkamble@gmail.com>2026-02-17 18:08:00 +0530
committerJacob Walls <jacobtylerwalls@gmail.com>2026-02-19 11:33:48 -0500
commit4139cb8d35cfcb2beba6a8c629c20016ae84cf18 (patch)
treeb523465b1d4c7f3abeadd5027f53c8f786278137
parent4513a6c2a9694b3da144846f3edfa1c3673a181d (diff)
Fixed #36929 -- Dropped support for GEOS 3.9.
Thanks David Smith for report and Tim Graham for review.
-rw-r--r--docs/ref/contrib/gis/install/geolibs.txt3
-rw-r--r--docs/releases/6.1.txt2
-rw-r--r--tests/gis_tests/geos_tests/test_io.py6
3 files changed, 3 insertions, 8 deletions
diff --git a/docs/ref/contrib/gis/install/geolibs.txt b/docs/ref/contrib/gis/install/geolibs.txt
index e5e4fb8499..87d1be7aa3 100644
--- a/docs/ref/contrib/gis/install/geolibs.txt
+++ b/docs/ref/contrib/gis/install/geolibs.txt
@@ -13,7 +13,7 @@ geospatial libraries:
============================== ==================================== ================================ ===================================================
Program Description Required Supported Versions
============================== ==================================== ================================ ===================================================
-:ref:`GEOS <geos-overview>` Geometry Engine Open Source Yes 3.14, 3.13, 3.12, 3.11, 3.10, 3.9
+:ref:`GEOS <geos-overview>` Geometry Engine Open Source Yes 3.14, 3.13, 3.12, 3.11, 3.10
`PROJ`_ Cartographic Projections library Yes (PostgreSQL and SQLite only) 9.x, 8.x, 7.x, 6.x
: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
:ref:`GeoIP <geoip2-overview>` IP-based geolocation library No 2
@@ -26,7 +26,6 @@ totally fine with GeoDjango. Your mileage may vary.
..
Libs release dates:
- GEOS 3.9.0 2020-12-14
GEOS 3.10.0 2021-10-20
GEOS 3.11.0 2022-07-01
GEOS 3.12.0 2023-06-27
diff --git a/docs/releases/6.1.txt b/docs/releases/6.1.txt
index ee78a7b123..756dcf3395 100644
--- a/docs/releases/6.1.txt
+++ b/docs/releases/6.1.txt
@@ -383,7 +383,7 @@ backends.
* Support for PostGIS 3.1 is removed.
-* Support for GEOS 3.8 is removed.
+* Support for GEOS 3.8 and 3.9 is removed.
* Support for GDAL 3.1 and 3.2 is removed.
diff --git a/tests/gis_tests/geos_tests/test_io.py b/tests/gis_tests/geos_tests/test_io.py
index 419ecfc3b7..801d75e7f9 100644
--- a/tests/gis_tests/geos_tests/test_io.py
+++ b/tests/gis_tests/geos_tests/test_io.py
@@ -9,7 +9,6 @@ from django.contrib.gis.geos import (
WKTReader,
WKTWriter,
)
-from django.contrib.gis.geos.libgeos import geos_version_tuple
from django.test import SimpleTestCase
@@ -52,10 +51,7 @@ class GEOSIOTest(SimpleTestCase):
def test_wktwriter_constructor_arguments(self):
wkt_w = WKTWriter(dim=3, trim=True, precision=3)
ref = GEOSGeometry("POINT (5.34562 23 1.5)")
- if geos_version_tuple() > (3, 10):
- ref_wkt = "POINT Z (5.346 23 1.5)"
- else:
- ref_wkt = "POINT Z (5.35 23 1.5)"
+ ref_wkt = "POINT Z (5.346 23 1.5)"
self.assertEqual(ref_wkt, wkt_w.write(ref).decode())
def test03_wkbreader(self):