deleted file mode 100644
@@ -1,34 +0,0 @@
-From ebee090ac020c5a4e4194788fc2f53d7a4e30b40 Mon Sep 17 00:00:00 2001
-From: Gyorgy Sarvari <skandigraun@gmail.com>
-Date: Sun, 15 Mar 2026 21:28:07 +0100
-Subject: [PATCH] skip verifying the availability of setuptools
-
-The setup script checks is setuptools is available (with the correct minimum
-version), using setuptool's pkg_resouces modules. Setuptools has dropped
-this module in version 82, making this import fail.
-
-This patch skips the availability check of Setuptools, it is expected to be
-always available from oe-core - the patch itself is oe-specific.
-
-Upstream has already prepared a solution to rework their setup script to
-work with the latest Setuptools, however that patch builds on several other
-patches.
-
-Upstream-Status: Inappropriate [oe-specific]
-Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
----
- ez_setup.py | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/ez_setup.py b/ez_setup.py
-index 76e7105..c668e5d 100644
---- a/ez_setup.py
-+++ b/ez_setup.py
-@@ -107,6 +107,7 @@ def _do_download(version, download_base, to_dir, download_delay):
-
- def use_setuptools(version=DEFAULT_VERSION, download_base=DEFAULT_URL,
- to_dir=os.curdir, download_delay=15):
-+ return
- # making sure we use the absolute path
- to_dir = os.path.abspath(to_dir)
- was_imported = 'pkg_resources' in sys.modules or \
similarity index 61%
rename from meta-python/recipes-devtools/python/python3-cassandra-driver_3.29.3.bb
rename to meta-python/recipes-devtools/python/python3-cassandra-driver_3.30.1.bb
@@ -8,13 +8,19 @@ LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
SRCNAME = "cassandra-driver"
-SRC_URI += "file://0001-skip-verifying-the-availability-of-setuptools.patch"
-SRC_URI[sha256sum] = "ff6b82ee4533f6fd4474d833e693b44b984f58337173ee98ed76bce08721a636"
+SRC_URI[sha256sum] = "0c6a3e1428f7c6a9aa6c944b9c47a37cd2cdbeb5b5a82d42c33afdd56f14e398"
inherit pypi python_setuptools_build_meta
+# Look for libev in the sysroot rather than in host directories
+do_configure:prepend() {
+ sed -i -e 's|^libev-includes = .*|libev-includes = ["${STAGING_INCDIR}"]|' \
+ -e 's|^libev-libs = .*|libev-libs = ["${STAGING_LIBDIR}"]|' ${S}/pyproject.toml
+}
+
RDEPENDS:${PN} += "\
python3-cython \
+ python3-deprecated \
python3-geomet \
python3-json \
python3-misc \
@@ -24,5 +30,7 @@ RDEPENDS:${PN} += "\
"
DEPENDS += "\
- python3-cython \
+ python3-cython-native \
+ python3-tomli-native \
+ libev \
"
Drop the ez_setup patch (upstream builds with setuptools.build_meta now), build with native Cython and tomli, and build the libev extension against the sysroot libev instead of host paths. The driver now depends on Deprecated; add it to RDEPENDS. Changes: - 3.30.0: add pyproject.toml declaring build dependencies; drop Python 3.9, add 3.14; eventlet, gevent and Twisted event loops deprecated. - 3.30.0: fixes for missing C extension .so files and win32 libev in wheels, and execute_concurrent timeout handling; remove ez_setup for setuptools 82 compatibility. - 3.30.1: wheels no longer ship Cython-generated .c files, mark md5 usage as non-security for FIPS, fix crash at interpreter exit. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- ...fying-the-availability-of-setuptools.patch | 34 ------------------- ....bb => python3-cassandra-driver_3.30.1.bb} | 14 ++++++-- 2 files changed, 11 insertions(+), 37 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-cassandra-driver/0001-skip-verifying-the-availability-of-setuptools.patch rename meta-python/recipes-devtools/python/{python3-cassandra-driver_3.29.3.bb => python3-cassandra-driver_3.30.1.bb} (61%)