- The project has a proper pyproject.toml which declares the 
setuptools.build.meta PEP-517 backend.

- The PyPi package name (defaults to PN without the python3- prefix), so there 
is no need to set PYPI_PACKAGE as pytest-timeout, it is by default.

Fix:

WARNING: python3-pytest-timeout-2.3.1-r0 do_check_backend: QA Issue: inherits 
setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct 
class [pep517-backend]

Signed-off-by: alperak <[email protected]>
---
 .../recipes-devtools/python/python3-pytest-timeout_2.3.1.bb   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 
a/meta-python/recipes-devtools/python/python3-pytest-timeout_2.3.1.bb 
b/meta-python/recipes-devtools/python/python3-pytest-timeout_2.3.1.bb
index b56c26aad..fe9d814c0 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-timeout_2.3.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-timeout_2.3.1.bb
@@ -3,10 +3,8 @@ HOMEPAGE = "https://github.com/pytest-dev/pytest-timeout/";
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=d8048cd156eda3df2e7f111b0ae9ceff"
 
-PYPI_PACKAGE = "pytest-timeout"
-
 SRC_URI[sha256sum] = 
"12397729125c6ecbdaca01035b9e5239d4db97352320af155b3f5de1ba5165d9"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} = "python3-pytest"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#111715): 
https://lists.openembedded.org/g/openembedded-devel/message/111715
Mute This Topic: https://lists.openembedded.org/mt/107811312/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to