[Django] #36854: Update GEOS bindings to remove usage of deprecated functions

3 views
Skip to first unread message

Django

unread,
Jan 9, 2026, 9:08:16 AM (10 days ago) Jan 9
to django-...@googlegroups.com
#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.

Django

unread,
Jan 9, 2026, 11:43:35 AM (10 days ago) Jan 9
to django-...@googlegroups.com
#36854: Update GEOS bindings to remove usage of deprecated functions
--------------------------------------+------------------------------------
Reporter: David Smith | Owner: (none)
Type: Cleanup/optimization | Status: new
Component: GIS | Version: 6.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Jacob Walls):

* stage: Unreviewed => Accepted

--
Ticket URL: <https://code.djangoproject.com/ticket/36854#comment:1>

Django

unread,
Jan 9, 2026, 12:39:05 PM (10 days ago) Jan 9
to django-...@googlegroups.com
#36854: Update GEOS bindings to remove usage of deprecated functions
-------------------------------------+-------------------------------------
Reporter: David Smith | Owner: David
Type: | Smith
Cleanup/optimization | Status: assigned
Component: GIS | Version: 6.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by David Smith):

* owner: (none) => David Smith
* status: new => assigned

--
Ticket URL: <https://code.djangoproject.com/ticket/36854#comment:2>

Django

unread,
Jan 12, 2026, 4:30:36 AM (7 days ago) Jan 12
to django-...@googlegroups.com
#36854: Update GEOS bindings to remove usage of deprecated functions
-------------------------------------+-------------------------------------
Reporter: David Smith | Owner: David
Type: | Smith
Cleanup/optimization | Status: assigned
Component: GIS | Version: 6.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Rudraksha Dwivedi):

Hey David !
I'd Like to work on this issue; in case your are not !
--
Ticket URL: <https://code.djangoproject.com/ticket/36854#comment:3>

Django

unread,
Jan 16, 2026, 2:21:23 AM (3 days ago) Jan 16
to django-...@googlegroups.com
#36854: Update GEOS bindings to remove usage of deprecated functions
-------------------------------------+-------------------------------------
Reporter: David Smith | Owner: David
Type: | Smith
Cleanup/optimization | Status: assigned
Component: GIS | Version: 6.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by David Smith):

* has_patch: 0 => 1

Comment:

[https://github.com/django/django/pull/20542 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/36854#comment:4>
Reply all
Reply to author
Forward
0 new messages