Message ID | 20240809163101.8416-4-alperyasinak1@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [meta-python,01/12] python3-service-identity: switch to PEP-517 build backend | expand |
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"
- 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 <alperyasinak1@gmail.com> --- .../recipes-devtools/python/python3-pytest-timeout_2.3.1.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)