[Django] #29761: GIS test failures

16 views
Skip to first unread message

Django

unread,
Sep 17, 2018, 1:26:28 AM9/17/18
to django-...@googlegroups.com
#29761: GIS test failures
-------------------------------------------+------------------------
Reporter: Sergey Fedoseev | Owner: nobody
Type: Uncategorized | Status: new
Component: GIS | Version: 2.1
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 |
-------------------------------------------+------------------------
{{{
======================================================================
FAIL: test_raster_transform
(gis_tests.gdal_tests.test_raster.GDALRasterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/lib/python3.6/unittest/case.py", line 605, in run
testMethod()
File
"/home/sergey/dev/django/tests/gis_tests/gdal_tests/test_raster.py", line
517, in test_raster_transform
self.assertAlmostEqual(target.origin[0], 9124842.791079799)
File "/usr/lib/python3.6/unittest/case.py", line 878, in
assertAlmostEqual
raise self.failureException(msg)
AssertionError: 9124842.791069636 != 9124842.791079799 within 7 places

======================================================================
FAIL: test_transform_3d (gis_tests.geos_tests.test_geos.GEOSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/lib/python3.6/unittest/case.py", line 605, in run
testMethod()
File "/home/sergey/dev/django/tests/gis_tests/geos_tests/test_geos.py",
line 1121, in test_transform_3d
self.assertEqual(p3d.z, 100)
File "/usr/lib/python3.6/unittest/case.py", line 829, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib/python3.6/unittest/case.py", line 822, in
_baseAssertEqual
raise self.failureException(msg)
AssertionError: 100.00001595821232 != 100

----------------------------------------------------------------------
}}}

I'm using Debian testing and have libgdal20=2.3.1+dfsg-3 and
libproj13=5.1.0-2 installed. Probably these failures are related to
libproj.

--
Ticket URL: <https://code.djangoproject.com/ticket/29761>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 17, 2018, 1:26:35 AM9/17/18
to django-...@googlegroups.com
#29761: GIS test failures
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Sergey
| Fedoseev
Type: Uncategorized | Status: assigned
Component: GIS | Version: 2.1
Severity: Normal | Resolution:

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sergey Fedoseev):

* owner: nobody => Sergey Fedoseev
* status: new => assigned


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

Django

unread,
Sep 17, 2018, 3:27:00 AM9/17/18
to django-...@googlegroups.com
#29761: GIS test failures
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Sergey
| Fedoseev
Type: Bug | Status: assigned
Component: GIS | Version: 2.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

* has_patch: 0 => 1
* type: Uncategorized => Bug
* stage: Unreviewed => Ready for checkin


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

Django

unread,
Sep 17, 2018, 3:49:15 AM9/17/18
to django-...@googlegroups.com
#29761: GIS test failures
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Sergey
| Fedoseev
Type: Bug | Status: assigned
Component: GIS | Version: 2.1

Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Claude Paroz):

Might be worth documenting the PROJ 5.0/5.1 compatibility in
https://github.com/django/django/blob/master/docs/ref/contrib/gis/install/geolibs.txt

--
Ticket URL: <https://code.djangoproject.com/ticket/29761#comment:3>

Django

unread,
Sep 17, 2018, 5:45:59 AM9/17/18
to django-...@googlegroups.com
#29761: GIS test failures
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Sergey
| Fedoseev
Type: Bug | Status: assigned
Component: GIS | Version: 2.1

Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Sergey Fedoseev):

Also tested with PROJ 5.2, so added it to docs too.

--
Ticket URL: <https://code.djangoproject.com/ticket/29761#comment:4>

Django

unread,
Sep 17, 2018, 9:41:37 AM9/17/18
to django-...@googlegroups.com
#29761: GIS test failures with PROJ >= 5

-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Sergey
| Fedoseev
Type: Bug | Status: assigned
Component: GIS | Version: 2.1

Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

--
Ticket URL: <https://code.djangoproject.com/ticket/29761#comment:5>

Django

unread,
Sep 17, 2018, 12:04:08 PM9/17/18
to django-...@googlegroups.com
#29761: GIS test failures with PROJ >= 5
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Sergey
| Fedoseev
Type: Bug | Status: closed
Component: GIS | Version: 2.1
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"c5e450ac950316068455e76d4a63b78110d7cde5" c5e450a]:
{{{
#!CommitTicketReference repository=""
revision="c5e450ac950316068455e76d4a63b78110d7cde5"
Fixed #29761 -- Confirmed support for PROJ 5.x.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/29761#comment:6>

Reply all
Reply to author
Forward
0 new messages