testcontainers-python icon indicating copy to clipboard operation
testcontainers-python copied to clipboard

Use successor Oracle DB Python driver python-oracledb instead of the old cx-Oracle

Open gvenzl opened this issue 3 years ago • 2 comments

Back in May 2022, Oracle superseded cx-Oracle with python-oracledb, see the release notes.

The really nice thing about that is that python-oracledb is not only the successor of cx-Oracle with a better name, but it's also a thin driver, meaning that users no longer have to install any additional binaries or libraries, making it much, much easier for users to just install the driver and connect to an Oracle database.

gvenzl avatar Nov 09 '22 14:11 gvenzl

Thank you for the information; it will undoubtedly help the project in deployment.

bellaabdelouahab avatar Dec 03 '22 13:12 bellaabdelouahab

Thanks for the note. It looks like sqlalchemy doesn't support python-oracledb out of the box yet. But we can switch over once sqlalchemy 2.x is released.

tillahoffmann avatar Jan 05 '23 23:01 tillahoffmann

this has been implemented with the merge of @gvenzl's PR #363

alexanderankin avatar Apr 01 '24 11:04 alexanderankin