diff mbox series

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

Message ID 20260729052901.2147056-1-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python,1/5] python3-thrift: Switch to python_setuptools_build_meta | expand

Commit Message

Khem Raj July 29, 2026, 5:28 a.m. UTC
From: Khem Raj <raj.khem@gmail.com>

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 <khem.raj@oss.qualcomm.com>
---
 .../recipes-connectivity/python-thrift/python3-thrift_0.24.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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}"