]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Update connect args for pymysql 1.0.0; aiomysql fixes
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 7 Jan 2021 17:20:51 +0000 (12:20 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 7 Jan 2021 19:08:24 +0000 (14:08 -0500)
commit489301137a4d76e5a46d754ae9c91aad2b3d2c1f
tree23735023f7603df79cc0137c72c1d9bf8e52b329
parent6c5de1e3ee5c6f24cc6f6c863acc86c77fa99a1e
Update connect args for pymysql 1.0.0; aiomysql fixes

Fixed deprecation warnings that arose as a result of the release of PyMySQL
1.0, including deprecation warnings for the "db" and "passwd" parameters
now replaced with "database" and "password".

For the 1.4 version of this patch, we are also changing tox.ini
to refer to a local branch of aiomysql that fixes pymysql
compatibility issues.

Fixes: #5821
Change-Id: I93876b52b2d96b52308f22aeb4f244ac5766a82f
doc/build/changelog/unreleased_13/5821.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/aiomysql.py
lib/sqlalchemy/dialects/mysql/mysqldb.py
lib/sqlalchemy/dialects/mysql/pymysql.py
setup.cfg
tox.ini