#34686: Confirm/Add support for GEOS 3.12.
-------------------------------------+-------------------------------------
     Reporter:  Mariusz Felisiak     |                    Owner:  Olivier
                                     |  Tabone
         Type:  New feature          |                   Status:  assigned
    Component:  GIS                  |                  Version:  dev
     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 Mariusz Felisiak):

 We can see some failures with GEOS 3.12:
 {{{
 ======================================================================
 FAIL: test_union_filter (gis_tests.relatedapp.tests.RelatedGeoModelTest)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/django/django/test/testcases.py", line 1428, in skip_wrapper
     return test_func(*args, **kwargs)
   File "/django/tests/gis_tests/relatedapp/tests.py", line 408, in
 test_union_filter
     self.assertIn(
 AssertionError: 'MULTIPOINT ((12.75 10.05), (3.7128 -5.006))' not found in
 ['MULTIPOINT (12.75 10.05, 3.7128 -5.006)', 'MULTIPOINT (3.7128 -5.006,
 12.
 75 10.05)']

 ======================================================================
 FAIL: test02_wktwriter (gis_tests.geos_tests.test_io.GEOSIOTest)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/django/tests/gis_tests/geos_tests/test_io.py", line 44, in
 test02_wktwriter
     self.assertEqual(ref_wkt, wkt_w.write(ref).decode())
 AssertionError: 'POINT (5.0000000000000000 23.0000000000000000)' != 'POINT
 (5 23)'
 - POINT (5.0000000000000000 23.0000000000000000)
 + POINT (5 23)

 ======================================================================
 FAIL: test_wkt_writer_trim (gis_tests.geos_tests.test_io.GEOSIOTest)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/django/tests/gis_tests/geos_tests/test_io.py", line 137, in
 test_wkt_writer_trim
     self.assertEqual(
 AssertionError: b'POINT (1 1)' != b'POINT (1.0000000000000000
 1.0000000000000000)'

 ======================================================================
 ERROR: test_make_valid
 (gis_tests.geoapp.test_functions.GISFunctionsTests.test_make_valid)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/django/tests/gis_tests/geoapp/test_functions.py", line 489, in
 test_make_valid
     self.assertIs(invalid.repaired.valid, True)
     ^^^^^^^^^^^^^^^^^
 AttributeError: 'NoneType' object has no attribute 'valid'

 ======================================================================
 ERROR: test_make_valid_multipolygon
 
(gis_tests.geoapp.test_functions.GISFunctionsTests.test_make_valid_multipolygon)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/django/tests/gis_tests/geoapp/test_functions.py", line 509, in
 test_make_valid_multipolygon
     self.assertIs(invalid.repaired.valid, True)
     ^^^^^^^^^^^^^^^^^
 AttributeError: 'NoneType' object has no attribute 'valid'

 ======================================================================
 FAIL: test_collect_filter
 (gis_tests.relatedapp.tests.RelatedGeoModelTest.test_collect_filter)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/django/tests/gis_tests/relatedapp/tests.py", line 325, in
 test_collect_filter
     self.assertEqual(

 AssertionError: 'MULTIPOINT ((1.7128 -2.006), (4.7128 5.006))' !=
 'MULTIPOINT (1.7128 -2.006, 4.7128 5.006)'
 - MULTIPOINT ((1.7128 -2.006), (4.7128 5.006))
 ?            -              -  -             -
 + MULTIPOINT (1.7128 -2.006, 4.7128 5.006)
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34686#comment:3>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/010701892f9e31af-36511703-9eed-45dd-859c-15dd8f1d4072-000000%40eu-central-1.amazonses.com.

Reply via email to