diff --git a/meta/recipes-devtools/python/python3-wcwidth_0.9.5.bb b/meta/recipes-devtools/python/python3-wcwidth_0.9.5.bb
index 78a20373dff..55d2372a592 100644
--- a/meta/recipes-devtools/python/python3-wcwidth_0.9.5.bb
+++ b/meta/recipes-devtools/python/python3-wcwidth_0.9.5.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b15979c39a2543892fca8cd86b4b52cb"
 
 SRC_URI[sha256sum] = "713534e2ecb16e0fc39f19e0a5dda997da76d010953e9e8f803e7971f8accd80"
 
-inherit pypi python_hatchling ptest-python-pytest
+inherit pypi python_setuptools_build_meta ptest-python-pytest
 
 do_install_ptest:append() {
       cp ${S}/pyproject.toml ${S}/setup.py ${D}${PTEST_PATH}/
