--
Ticket URL: <https://code.djangoproject.com/ticket/23757>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* has_patch: 0 => 1
Comment:
https://github.com/django/django/pull/3462
--
Ticket URL: <https://code.djangoproject.com/ticket/23757#comment:1>
* needs_better_patch: 0 => 1
Comment:
Tests are failing on the CI server, probably due to a different Spatialite
version than on my system (4.0.0)...
--
Ticket URL: <https://code.djangoproject.com/ticket/23757#comment:2>
Comment (by claudep):
I *think* the remaining failures (unreproduceable on my system, even with
Spatialite 3.0) are related to GEOS (see
http://trac.osgeo.org/geos/ticket/292 which is fixed in GEOS 3.3). That is
the GEOS version Spatialite is compiled with. In that case, we could
simply skip those tests when GEOS < 3.3.
Extract of a traceback of one of those errors happening on the CI server
(django.contrib.gis.tests.geo3d.tests.Geo3DTest.test_3d_hasz):
{{{
Traceback (most recent call last):
File ".../python2.7/django/contrib/gis/tests/geo3d/tests.py", line 116,
in test_3d_hasz
self._load_interstate_data()
File ".../python2.7/django/contrib/gis/tests/geo3d/tests.py", line 95,
in _load_interstate_data
Interstate3D.objects.create(name=name, line=line_3d)
...
File ".../python2.7/django/db/backends/sqlite3/base.py", line 507, in
execute
return Database.Cursor.execute(self, query, params)
IntegrityError: geo3d_interstate3d.line violates Geometry constraint
[geom-type or SRID not allowed]
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23757#comment:3>
Comment (by timgraham):
If that's the case, it sounds good to me. I verified the new tests pass on
Ubuntu 14.04 and added a new build to Jenkins "django-master-trusty" to
help us going forward. We need some workaround on 1.7 and 1.6 (like
skipping tests) before creating similar builds for those versions, or we
can simply skip the Spatial builds there.
--
Ticket URL: <https://code.djangoproject.com/ticket/23757#comment:4>
* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/23757#comment:5>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"65129aac07022f23afa1df7ec7fad2216634cb38" 65129aa]:
{{{
#!CommitTicketReference repository=""
revision="65129aac07022f23afa1df7ec7fad2216634cb38"
Fixed #23757 -- Added 3D introspection support to Spatialite backend
Thanks Tim Graham for the review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23757#comment:6>
Comment (by Tim Graham <timograham@…>):
In [changeset:"02d78bb1a80706d941ffc6c892cc75208eb6b782" 02d78bb]:
{{{
#!CommitTicketReference repository=""
revision="02d78bb1a80706d941ffc6c892cc75208eb6b782"
Fixed build failure introduced by refs #23757.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23757#comment:7>