Fixed #29836 -- Bumped required cx_Oracle to 6.0.

This commit is contained in:
Mariusz Felisiak 2018-10-11 11:43:16 +02:00 committed by GitHub
parent 1b49b792e9
commit 52fec5d18f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -390,8 +390,6 @@ class FormatStylePlaceholderCursor:
def __init__(self, connection): def __init__(self, connection):
self.cursor = connection.cursor() self.cursor = connection.cursor()
self.cursor.outputtypehandler = self._output_type_handler self.cursor.outputtypehandler = self._output_type_handler
# The default for cx_Oracle < 5.3 is 50.
self.cursor.arraysize = 100
@staticmethod @staticmethod
def _output_number_converter(value): def _output_number_converter(value):

View File

@ -731,7 +731,7 @@ Oracle notes
============ ============
Django supports `Oracle Database Server`_ versions 12.1 and higher. Version Django supports `Oracle Database Server`_ versions 12.1 and higher. Version
5.2 or higher of the `cx_Oracle`_ Python driver is required. 6.0 or higher of the `cx_Oracle`_ Python driver is required.
.. _`Oracle Database Server`: https://www.oracle.com/ .. _`Oracle Database Server`: https://www.oracle.com/
.. _`cx_Oracle`: https://oracle.github.io/python-cx_Oracle/ .. _`cx_Oracle`: https://oracle.github.io/python-cx_Oracle/

View File

@ -302,6 +302,8 @@ Miscellaneous
of a bytestring, and :func:`django.utils.http.urlsafe_base64_decode` may no of a bytestring, and :func:`django.utils.http.urlsafe_base64_decode` may no
longer be passed a bytestring. longer be passed a bytestring.
* Support for ``cx_Oracle`` < 6.0 is removed.
.. _deprecated-features-2.2: .. _deprecated-features-2.2:
Features deprecated in 2.2 Features deprecated in 2.2

View File

@ -1 +1 @@
cx_oracle cx_oracle >= 6.0