Skip to content

Commit 3fef737

Browse files
Dropped support for Python 3.6 and added support for Python 3.12.
1 parent 6a97a19 commit 3fef737

File tree

7 files changed

+12
-20
lines changed

7 files changed

+12
-20
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ See [python-oracledb Installation][installation].
1616

1717
## Dependencies and Interoperability
1818

19-
- Python versions 3.6 through 3.11.
19+
- Python versions 3.7 through 3.12.
2020

21-
Prebuilt packages are available on Windows for Python 3.7 or later, on macOS
22-
for Python 3.7 or later, and on Linux for Python 3.6 or later.
21+
Prebuilt packages are available for these Python versions on Windows, on
22+
macOS and on Linux.
2323

2424
Source code is also available.
2525

doc/src/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Database. It conforms to the `Python Database API v2.0 Specification
88
<https://www.python.org/dev/peps/pep-0249/>`__ with a considerable number of
99
additions and a couple of exclusions.
1010

11-
This module is currently tested with Python 3.6, 3.7, 3.8, 3.9, 3.10 and 3.11
11+
This module is currently tested with Python 3.7, 3.8, 3.9, 3.10, 3.11 and 3.12
1212
against Oracle Database 23c, 21c, 19c, 18c, 12c, and 11gR2.
1313

1414
**python-oracledb** is distributed under an open-source

doc/src/release_notes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Thick Mode Changes
2424
Common Changes
2525
++++++++++++++
2626

27+
#) Dropped support for Python 3.6 and added support for Python 3.12.
2728
#) Added attributes :data:`FetchInfo.domain_schema`,
2829
:data:`FetchInfo.domain_name` and :data:`FetchInfo.annotations` for the
2930
`SQL domain <https://docs.oracle.com/en/database/oracle/oracle-database/

doc/src/user_guide/installation.rst

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,7 @@ This section contains the steps that you need to perform to install python-oracl
3333
quickly.
3434

3535
1. Install `Python 3 <https://www.python.org/downloads>`__, if it is not already
36-
available. The version of Python to be used depends on the operating system (OS):
37-
38-
- On Windows, use Python 3.7 to 3.11
39-
- On macOS, use Python 3.7 to 3.11
40-
- On Linux, use Python 3.6 to 3.11
36+
available. Use any version from Python 3.7 through 3.12.
4137

4238
By default, python-oracledb connects directly to Oracle Database. This lets
4339
it be used when Oracle Client libraries are not available (such Apple M1 or
@@ -150,11 +146,7 @@ Installation Requirements
150146

151147
To use python-oracledb, you need:
152148

153-
- Python 3.6, 3.7, 3.8, 3.9, 3.10 or 3.11 depending on the operating system:
154-
155-
- Windows: Use Python 3.7 to 3.11
156-
- macOS: Use Python 3.7 to 3.11
157-
- Linux: Use Python 3.6 to 3.11
149+
- Python 3.7, 3.8, 3.9, 3.10, 3.11 or 3.12
158150

159151
- The Python cryptography package. This package is automatically installed as a
160152
dependency of python-oracledb. It is strongly recommended that you keep the

samples/tutorial/Python-and-Oracle-Database-The-New-Wave-of-Scripting.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,7 @@ <h2><a name="preface">Setup</a></h2>
174174

175175
<p>Install Python 3 if not already available. It can be obtained from
176176
your operating system package library or from <a
177-
href="https://www.python.org/">python.org</a>. On Windows, use Python 3.7
178-
or later. On macOS, use Python 3.7 or later. On Linux, use Python 3.6 or
177+
href="https://www.python.org/">python.org</a>. Use Python 3.7 or
179178
later.</p>
180179

181180
<p>Install <a

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ classifiers =
3434

3535
[options]
3636
zip_safe = false
37-
python_requires = >=3.6
37+
python_requires = >=3.7
3838
setup_requires = cython
3939
install_requires = cryptography>=3.2.1
4040
test_suite = tests

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{36,37,38,39,310,311}-{thin,thick}
2+
envlist = py{37,38,39,310,311,312}-{thin,thick}
33

44
[testenv]
55
commands = {envpython} -m unittest discover -v -s tests
@@ -17,10 +17,10 @@ passenv =
1717
DPI_DEBUG_LEVEL
1818
ORACLE_HOME
1919

20-
[testenv:py{36,37,38,39,310,311}-thick]
20+
[testenv:py{37,38,39,310,311,312}-thick]
2121
setenv =
2222
PYO_TEST_DRIVER_MODE=thick
2323

24-
[testenv:py{36,37,38,39,310,311}-thin]
24+
[testenv:py{37,38,39,310,311,312}-thin]
2525
setenv =
2626
PYO_TEST_DRIVER_MODE=thin

0 commit comments

Comments
 (0)