- The project has a proper pyproject.toml which declares the 
poetry.core.masonry.api 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-metadata, it is by default.

Fix:

WARNING: python3-pytest-metadata-2.0.2-r0 do_check_backend: QA Issue: inherits 
setuptools3 but has pyproject.toml with poetry.core.masonry.api, use the 
correct class [pep517-backend]

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

diff --git 
a/meta-python/recipes-devtools/python/python3-pytest-metadata_2.0.2.bb 
b/meta-python/recipes-devtools/python/python3-pytest-metadata_2.0.2.bb
index 163a363f8..9243f6646 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-metadata_2.0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-metadata_2.0.2.bb
@@ -6,9 +6,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=5d425c8f3157dbf212db2ec53d9e5132"
 
 SRC_URI[sha256sum] = 
"fcd2f416f15be295943527b3c8ba16a44ae5a7141939c90c3dc5ce9d167cf2a5"
 
-PYPI_PACKAGE = "pytest-metadata"
-
-inherit pypi setuptools3
+inherit pypi python_poetry_core
 
 RDEPENDS:${PN} = " \
     python3-pytest \
-- 
2.25.1

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

Reply via email to