]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
update default driver for oracle, postgresql
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 15 Dec 2025 19:53:48 +0000 (14:53 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 16 Dec 2025 04:01:12 +0000 (23:01 -0500)
commit3988071d0d158081dca0a683a1233959c8203439
treebe94f7f4a73702813f7f234224c76b4db038a472
parent01dcb7a967fd91b0764e83dabaed0a8a7bfa78ec
update default driver for oracle, postgresql

The default DBAPI driver for the Oracle Database dialect has been changed
to ``oracledb`` instead of ``cx_oracle``. The ``cx_oracle`` driver remains
fully supported and can be explicitly specified in the connection URL
using ``oracle+cx_oracle://``.

The default DBAPI driver for the PostgreSQL dialect has been changed to
``psycopg`` (psycopg version 3) instead of ``psycopg2``. The ``psycopg2``
driver remains fully supported and can be explicitly specified in the
connection URL using ``postgresql+psycopg2://``.

Fixes: #13010
Change-Id: Ie75810f4c3af609d20da63289d2662dfa2385ca2
31 files changed:
doc/build/changelog/migration_21.rst
doc/build/changelog/unreleased_21/13010.rst [new file with mode: 0644]
doc/build/core/operators.rst
doc/build/dialects/oracle.rst
doc/build/dialects/postgresql.rst
doc/build/tutorial/data_update.rst
lib/sqlalchemy/dialects/oracle/__init__.py
lib/sqlalchemy/dialects/oracle/provision.py
lib/sqlalchemy/dialects/postgresql/__init__.py
noxfile.py
pyproject.toml
setup.cfg
test/dialect/postgresql/test_compiler.py
test/dialect/postgresql/test_types.py
test/engine/test_deprecations.py
test/engine/test_parseconnect.py
test/engine/test_pool.py
test/orm/dml/test_orm_upd_del_basic.py
test/orm/dml/test_orm_upd_del_inheritance.py
test/orm/test_defaults.py
test/orm/test_query.py
test/orm/test_relationship_criteria.py
test/orm/test_unitofworkv2.py
test/sql/test_compiler.py
test/sql/test_cte.py
test/sql/test_functions.py
test/sql/test_insert.py
test/sql/test_operators.py
test/sql/test_returning.py
test/sql/test_text.py
test/sql/test_types.py