Skip to contentSkip to conversation

python3-ipython: switch to PEP-517 build backend

PATCH New alperak 1 participant 1 message Aug 7, 2024

lore
Share & tools
lore

alperak

author
#0 lore raw

PATCH 1/1 python3-ipython: switch to PEP-517 build backend

- 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 ipython, it is by default.

Fix:

WARNING: python3-ipython-8.26.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with _build_meta, use the correct class [pep517-backend]

---
 meta-python/recipes-devtools/python/python3-ipython_8.26.0.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-ipython_8.26.0.bb +1 -3
index 6cea3d988..6f35d9548 100644
@@ -3,8 +3,6 @@ HOMEPAGE = "https://ipython.org"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING.rst;md5=59b20262b8663cdd094005bddf47af5f"
 
-PYPI_PACKAGE = "ipython"
-
 SRC_URI[sha256sum] = "1cec0fbba8404af13facebe83d04436a7434c7400e59f47acf467c64abd0956c"
 
 RDEPENDS:${PN} = "\
@@ -25,4 +23,4 @@ RDEPENDS:${PN} = "\
     python3-stack-data \
 "
 
-inherit setuptools3 pypi
+inherit python_setuptools_build_meta pypi
Signature · 1 line
2.25.1