From be22e5976e5cbd77933ba59715dbda72c3001aa8 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 16 Apr 2025 13:15:55 +0300 Subject: python3-pymysql: Upgrade 1.1.0 -> 1.1.1 Upgrade to release 1.1.1: - Fixes a vulnerability (CVE-2024-36039) - Prohibit dict parameter for Cursor.execute(). It didn't produce valid SQL and might cause SQL injection. - Added ssl_key_password param Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pymysql_1.1.0.bb | 18 ------------------ .../recipes-devtools/python/python3-pymysql_1.1.1.bb | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pymysql_1.1.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-pymysql_1.1.1.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-pymysql_1.1.0.bb b/meta-python/recipes-devtools/python/python3-pymysql_1.1.0.bb deleted file mode 100644 index 19e552bf88..0000000000 --- a/meta-python/recipes-devtools/python/python3-pymysql_1.1.0.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] = "4f13a7df8bf36a51e81dd9f3605fede45a4878fe02f9236349fd82a3f0612f96" - -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.1.1.bb b/meta-python/recipes-devtools/python/python3-pymysql_1.1.1.bb new file mode 100644 index 0000000000..1c2618c813 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pymysql_1.1.1.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] = "e127611aaf2b417403c60bf4dc570124aeb4a57f5f37b8e95ae399a42f904cd0" + +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