[Django] #37073: Import of django.contrib.gis.geos requires gdal

2 views
Skip to first unread message

Django

unread,
Apr 28, 2026, 7:34:03 AM (17 hours ago) Apr 28
to django-...@googlegroups.com
#37073: Import of django.contrib.gis.geos requires gdal
-------------------------------------+-------------------------------------
Reporter: Raphaël Stefanini | Type:
| Cleanup/optimization
Status: new | Component:
| Uncategorized
Version: 6.0 | Severity: Normal
Keywords: gis geos gdal | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
When trying to import geos, one need to gdal library installed
This adds a unnecessary overhead.
Ideally the gdal import should be done only if call to the few functions
that uses it are called.
--
Ticket URL: <https://code.djangoproject.com/ticket/37073>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 28, 2026, 7:35:00 AM (17 hours ago) Apr 28
to django-...@googlegroups.com
#37073: Import of django.contrib.gis.geos requires gdal
-------------------------------------+-------------------------------------
Reporter: Raphaël Stefanini | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: GIS | Version: 6.0
Severity: Normal | Resolution:
Keywords: gis geos gdal | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Raphaël Stefanini):

* component: Uncategorized => GIS

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

Django

unread,
Apr 28, 2026, 7:52:09 AM (17 hours ago) Apr 28
to django-...@googlegroups.com
#37073: Import of django.contrib.gis.geos requires gdal
-------------------------------------+-------------------------------------
Reporter: Raphaël Stefanini | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: GIS | Version: 6.0
Severity: Normal | Resolution:
Keywords: gis geos gdal | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by Raphaël Stefanini:

Old description:

> When trying to import geos, one need to gdal library installed
> This adds a unnecessary overhead.
> Ideally the gdal import should be done only if call to the few functions
> that uses it are called.

New description:

When trying to import geos, one need to gdal library installed
This adds a unnecessary overhead.
Ideally the gdal import should happen only one of the few functions that
uses it are called.

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

Django

unread,
Apr 28, 2026, 7:52:32 AM (17 hours ago) Apr 28
to django-...@googlegroups.com
#37073: Import of django.contrib.gis.geos requires gdal
-------------------------------------+-------------------------------------
Reporter: Raphaël Stefanini | Owner: (none)
Type: | Status: closed
Cleanup/optimization |
Component: GIS | Version: 6.0
Severity: Normal | Resolution: duplicate
Keywords: gis geos gdal | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* resolution: => duplicate
* status: new => closed

Comment:

Thanks for the report. Duplicate of #36441.
--
Ticket URL: <https://code.djangoproject.com/ticket/37073#comment:3>
Reply all
Reply to author
Forward
0 new messages