#28498: Add cx_Oracle 6 support
-------------------------------------+-------------------------------------
     Reporter:  felixxm              |                    Owner:  felixxm
         Type:                       |                   Status:  assigned
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  1.11
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:
     Keywords:  cx_Oracle oracle     |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by felixxm):

 Some tests are broken in `stable/1.11.x` branch on Python 2:
 - `backends.tests.BackendTestCase.test_unicode_password`:
 {{{
 Traceback (most recent call last):
   File "/home/jenkins/workspace/django-
 
oracle-1.11/database/oracle12/label/trusty/python/python2.7/tests/backends/tests.py",
 line 736, in test_unicode_password
     self.fail("Unexpected error raised with unicode password: %s" % e)
 AssertionError: Unexpected error raised with unicode password: 'ascii'
 codec can't encode character u'\xe7' in position 4: ordinal not in
 range(128)
 }}}
 - `db_functions.tests.FunctionTests.test_greatest_decimal_filter`:
 {{{
 Stacktrace

 Traceback (most recent call last):
   File "/home/jenkins/workspace/django-
 
oracle-1.11/database/oracle12/label/trusty/python/python2.7/tests/expressions_case/tests.py",
 line 734, in test_update_decimal
     transform=attrgetter('integer', 'decimal')
   File "/home/jenkins/workspace/django-
 
oracle-1.11/database/oracle12/label/trusty/python/python2.7/django/test/testcases.py",
 line 972, in assertQuerysetEqual
     return self.assertEqual(list(items), values, msg=msg)
 AssertionError: Lists differ: [(1, None), (2, Decimal('2.7')... != [(1,
 Decimal('1.1')), (2, Deci...

 First differing element 0:
 (1, None)
 (1, Decimal('1.1'))

 - [(1, None),
 + [(1, Decimal('1.1')),
 -  (2, Decimal('2.7')),
 ?                 ^

 +  (2, Decimal('2.2')),
 ?                 ^

    (3, None),
 -  (2, Decimal('2.7')),
 ?                 ^

 +  (2, Decimal('2.2')),
 ?                 ^

    (3, None),
    (3, None),
    (4, None)]
 }}}
 - `db_functions.tests.FunctionTests.test_least_decimal_filter`,
 - `db_functions.tests.FunctionTests.test_greatest_decimal_filter`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28498#comment:7>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.4602c8dee58adf2b68e0cda4fe312264%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to