#27924: GIS test failures with cx_Oracle 5.3
-------------------------------------+-------------------------------------
Reporter: Tim | Owner: nobody
Graham |
Type: Bug | Status: new
Component: Database | Version: 1.10
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
cx_Oracle 5.3 causes a few test failures due to this change: "Use None
instead of 0 for items in the Cursor.description attribute that do not
have any validity."
Sample exception:
{{{
File "/home/jenkins/workspace/django-oracle-
master/database/oragis12/label/trusty/python/python3.6/tests/gis_tests/distapp/tests.py",
line 262, in test_area
for i, z in
enumerate(SouthTexasZipcode.objects.annotate(area=Area('poly')).order_by('name')):
File "/home/jenkins/workspace/django-oracle-
master/database/oragis12/label/trusty/python/python3.6/django/db/models/query.py",
line 242, in __iter__
...
File "/home/jenkins/workspace/django-oracle-
master/database/oragis12/label/trusty/python/python3.6/django/db/backends/oracle/base.py",
line 547, in _rowfactory
elif precision > 0:
TypeError: '>' not supported between instances of 'NoneType' and 'int'
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27924>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.b612cb76d3a5d8a4fc59b0b8fd9d6c62%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.