From 0bb35687067a583f5d4c874ec6cff9cd3b24afca Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 27 May 2026 17:47:44 +0800 Subject: python3-pymysql: upgrade 1.1.3 -> 1.2.0 Breaking changes ================ - Connection.ping() change the default to not reconnect and deprecate reconnect argument. Create a new connection if you want to reconnect. - Error classes in Cursor class are removed. - connect() arguments db and passwd now emit DeprecationWarning. Use database and password instead. - Reorganize TLS connection behavior. - PyMySQL uses TLS by default when server supports it. Use ssl_disabled=True to prohibit SSL. - When ssl_verify_cert=True, ssl_verify_identity=True, an ssl.SSLContext is passed, or when any other SSL option is configured, the connection requires SSL and raises OperationalError (CR_SSL_CONNECTION_ERROR) if the server doesn't support it. Other changes ============== - Support MySQL 8 row/column alias syntax in executemany INSERT regex. - Expose SQLSTATE on MySQL protocol exceptions without changing exception formatting. - Reject non-finite decimal.Decimal query parameters - Connection.set_charset(charset) now emits DeprecationWarning. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pymysql_1.1.3.bb | 18 ------------------ .../recipes-devtools/python/python3-pymysql_1.2.0.bb | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pymysql_1.1.3.bb create mode 100644 meta-python/recipes-devtools/python/python3-pymysql_1.2.0.bb diff --git a/meta-python/recipes-devtools/python/python3-pymysql_1.1.3.bb b/meta-python/recipes-devtools/python/python3-pymysql_1.1.3.bb deleted file mode 100644 index 6239028fe9..0000000000 --- a/meta-python/recipes-devtools/python/python3-pymysql_1.1.3.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "A pure-Python MySQL client library" -DESCRIPTION = " \ - This package contains a pure-Python MySQL client library, based on PEP 249 \ - Most public APIs are compatible with mysqlclient and MySQLdb. \ - " -SECTION = "devel/python" -HOMEPAGE = "https://pymysql.readthedocs.io" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=528175c84163bb800d23ad835c7fa0fc" - -SRC_URI[sha256sum] = "e70ebf2047a4edf6138cf79c68ad418ef620af65900aa585c5e8bfc95044d43a" - -PYPI_PACKAGE = "pymysql" -UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" - -inherit pypi python_setuptools_build_meta - -RDEPENDS:${PN} += "python3-cryptography" diff --git a/meta-python/recipes-devtools/python/python3-pymysql_1.2.0.bb b/meta-python/recipes-devtools/python/python3-pymysql_1.2.0.bb new file mode 100644 index 0000000000..190c80d88f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pymysql_1.2.0.bb @@ -0,0 +1,18 @@ +SUMMARY = "A pure-Python MySQL client library" +DESCRIPTION = " \ + This package contains a pure-Python MySQL client library, based on PEP 249 \ + Most public APIs are compatible with mysqlclient and MySQLdb. \ + " +SECTION = "devel/python" +HOMEPAGE = "https://pymysql.readthedocs.io" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=528175c84163bb800d23ad835c7fa0fc" + +SRC_URI[sha256sum] = "6c7b17ca686988104d7426c27895b455cdeea3e9d3ceb1270f0c3704fead8c33" + +PYPI_PACKAGE = "pymysql" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +inherit pypi python_setuptools_build_meta + +RDEPENDS:${PN} += "python3-cryptography" -- cgit v1.2.3-54-g00ecf