#36854: Update GEOS bindings to remove usage of deprecated functions
-------------------------------------+-------------------------------------
Reporter: David Smith | Type:
| Cleanup/optimization
Status: new | Component: GIS
Version: 6.0 | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
At time of writing (early 2026) the minimum supported version of GEOS is
3.8. There are a number of functions that GEOS has deprecated support for,
see a full list at:
https://libgeos.org/doxygen/deprecated.html
An audit should be conducted of used functions against this list and then
migrate away from them.
Two functions that have been noticed so far are `initGEOS_r`
[https://github.com/django/django/blob/f3b982f21f098958e1e018044df00e93cdb40bd1/django/contrib/gis/geos/prototypes/threadsafe.py#L16
link] and `finishGEOS_r`
[https://github.com/django/django/blob/f3b982f21f098958e1e018044df00e93cdb40bd1/django/contrib/gis/geos/prototypes/threadsafe.py#L11
link].
--
Ticket URL: <https://code.djangoproject.com/ticket/36854>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019ba3160e53-33bfcca6-17af-4f66-8940-40d942aa0bf6-000000%40eu-central-1.amazonses.com.