[meta-python][PATCH 1/5] python3-thrift: Switch to python_setuptools_build_meta

Khem Raj <[email protected]> Tue, 28 Jul 2026 22:28:56 -0700
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
From: Khem Raj <[email protected]>

thrift's pyproject.toml declares setuptools.build_meta as its build backend,
so setuptools3 is the wrong class and do_check_backend warns:

  QA Issue: inherits setuptools3 but has pyproject.toml with
  setuptools.build_meta, use the correct class [pep517-backend]

Signed-off-by: Khem Raj <[email protected]>
---
 .../recipes-connectivity/python-thrift/python3-thrift_0.24.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.24.0.bb b/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.24.0.bb
index f59a38a4eb..5f2bdc6e53 100644
--- a/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.24.0.bb
+++ b/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.24.0.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62

 SRC_URI[sha256sum] = "9ef601c49e988475ff0e741d8e1b45feec23b48514e524341efc274191f1789c"

-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta

 # Use different filename to prevent conflicts with thrift itself
 PYPI_SRC_URI:append = ";downloadfilename=${BP}.${PYPI_PACKAGE_EXT}"