Opened 2 months ago

Last modified 2 months ago

#36009 new New feature

Add support for PostGIS 3.5

Reported by: David Smith Owned by:
Component: GIS Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no
Pull Requests:How to create a pull request

Description

PostGIS 3.5 was released on 26 September 2024.

My initial try showed that there is one test failure when using this new version that needs to be investigated.

======================================================================
ERROR: test_relate_lookup (gis_tests.geoapp.tests.GeoLookupTest.test_relate_lookup)
Testing the 'relate' lookup type.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\smith\projects\django\tests\gis_tests\geoapp\tests.py", line 581, in test_relate_lookup
    "Lawrence", City.objects.get(point__relate=(ks.poly, within_mask)).name
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\smith\projects\django\django\db\models\manager.py", line 87, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\smith\projects\django\django\db\models\query.py", line 633, in get
    raise self.model.DoesNotExist(
gis_tests.geoapp.models.City.DoesNotExist: City matching query does not exist.

According to the ticket's flags, the next step(s) to move this issue forward are:

  • To provide a patch by sending a pull request. Claim the ticket when you start working so that someone else doesn't duplicate effort. Before sending a pull request, review your work against the patch review checklist. Check the "Has patch" flag on the ticket after sending a pull request and include a link to the pull request in the ticket comment when making that update. The usual format is: [https://github.com/django/django/pull/#### PR].

Change History (1)

comment:1 by Claude Paroz, 2 months ago

Triage Stage: UnreviewedAccepted
Type: UncategorizedNew feature
Version: 5.1dev
Note: See TracTickets for help on using tickets.
Back to Top