python3-webcolors: upgrade 24.8.0 -> 24.11.1
PATCH v2 1/2 python3-webcolors: upgrade 24.8.0 -> 24.11.1
Fix the issue that:
| Traceback (most recent call last): | File "/mnt/test/build_auh/tmp/work/core2-64-poky-linux/python3-webcolors/24.11.1/recipe-sysroot-native/usr/lib/pyth on3.13/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook | raise BackendUnavailable( | ...<4 lines>... | ) | pyproject_hooks._impl.BackendUnavailable: Cannot import 'pdm.backend'
python3-webcolors has migrated to pdm-backend
| diff --git a/pyproject.toml b/pyproject.toml | index 6fcec77..9f2dfa9 100644 | --- a/pyproject.toml | +++ b/pyproject.toml | @@ -1,65 +1,110 @@ | [build-system] | -requires = ["setuptools>=61.0"] | -build-backend = "setuptools.build_meta" | +requires = [ | + "pdm-backend", | +] | +build-backend = "pdm.backend"
---
...n3-webcolors_24.8.0.bb => python3-webcolors_24.11.1.bb} | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-webcolors_24.8.0.bb => python3-webcolors_24.11.1.bb} (70%)meta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +6 -1
@@ -3,10 +3,15 @@ HOMEPAGE = "https://pypi.org/project/webcolors/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=cbaebec43b7d199c7fd8f5411b3b0448" -SRC_URI[sha256sum] = "08b07af286a01bcd30d583a7acadf629583d1f79bfef27dd2c2c5c263817277d" +SRC_URI[sha256sum] = "ecb3d768f32202af770477b8b65f318fa4f566c22948673a977b00d589dd80f6" inherit pypi python_setuptools_build_meta ptest-python-pytest +DEPENDS += " \ + python3-pdm-native \ + python3-pdm-backend-native \ +" + RDEPENDS:${PN}:class-target = "\ python3-stringold \ "
Signature · 1 line
2.43.0
PATCH v2 2/2 python3-pdm python3-pdm-{backend,build-locked}: move from meta-python
python3-pdm and python3-pdm-backend are dependencies of python3-webcolors python3-pdm itself depends on python3-pdm-build-locked
--- meta/conf/distro/include/maintainers.inc | 3 +++ .../python/python3-pdm-backend_2.4.3.bb | 14 ++++++++++++++ .../python/python3-pdm-build-locked_0.3.5.bb | 14 ++++++++++++++ .../python/python3-pdm_2.22.4.bb | 16 ++++++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-pdm-backend_2.4.3.bb create mode 100644 meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb create mode 100644 meta/recipes-devtools/python/python3-pdm_2.22.4.bb
meta/conf/distro/include/maintainers.inc +3 -0
@@ -665,6 +665,9 @@ RECIPE_MAINTAINER:pn-python3-numpy = "Trevor Gamblin <[email protected]>" RECIPE_MAINTAINER:pn-python3-packaging = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-pathspec = "Ross Burton <[email protected]>" RECIPE_MAINTAINER:pn-python3-pbr = "Zang Ruochen <[email protected]>" +RECIPE_MAINTAINER:pn-python3-pdm = "Khem Raj <[email protected]>" +RECIPE_MAINTAINER:pn-python3-pdm-backend = "Khem Raj <[email protected]>" +RECIPE_MAINTAINER:pn-python3-pdm-build-locked = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-python3-pefile = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-python3-pip = "Zang Ruochen <[email protected]>" RECIPE_MAINTAINER:pn-python3-pluggy = "Tim Orling <[email protected]>"
meta/recipes-devtools/python/python3-pdm-backend_2.4.3.bb new file +14 -0
@@ -0,0 +1,14 @@ +SUMMARY = "The build backend used by PDM that supports latest packaging standards" +HOMEPAGE = "https://github.com/pdm-project/pdm-backend" +LICENSE = "MIT" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4a564297b3c5b629a528b92fd8ff61ea" + +SRC_URI[sha256sum] = "dbd9047a7ac10d11a5227e97163b617ad5d665050476ff63867d971758200728" + +inherit pypi python_setuptools_build_meta + +PYPI_PACKAGE = "pdm_backend" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +BBCLASSEXTEND = "native nativesdk"
meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb new file +14 -0
@@ -0,0 +1,14 @@ +SUMMARY = "pdm plugin to publish locked dependencies as optional-dependencies" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=19382cdf9c143df4f00b9caa0b60c75a" + +SRC_URI[sha256sum] = "ab2f381e00d79841d46be2e6909c265038b9fa951de2bf551ca6adb7f6844201" + +inherit pypi python_setuptools_build_meta + +DEPENDS += " python3-pdm-backend-native" + +PYPI_PACKAGE = "pdm_build_locked" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +BBCLASSEXTEND += "native nativesdk"
meta/recipes-devtools/python/python3-pdm_2.22.4.bb new file +16 -0
@@ -0,0 +1,16 @@ +SUMMARY = "A modern Python package and dependency manager supporting the latest PEP standards" +HOMEPAGE = "https://pdm-project.org/latest/" +LICENSE = "MIT" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2eb31a2cc1a758c34b499f287dd04ef2" + +SRC_URI[sha256sum] = "8483f3d2285039cea7e07c5ba6ac7e1fcba358129f8831fb75065a797d27b923" + +inherit pypi python_setuptools_build_meta + +DEPENDS += " \ + python3-pdm-backend-native \ + python3-pdm-build-locked-native \ +" + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.43.0
Re: [OE-core] [PATCH v2 2/2] python3-pdm python3-pdm-{backend,build-locked}: move from meta-python
Quoted 5 lines · leimaohui via lists.openembedded.org
python3-pdm and python3-pdm-backend are dependencies of python3-webcolors python3-pdm itself depends on python3-pdm-build-locked
Signed-off-by Lei Maohui <[email protected]>---
Hi Lei,
Thanks for your patch.
meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb line 4
Quoted 7 lines
meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb new file +4
-0@@ -0,0 +1,14 @@ +SUMMARY = "pdm plugin to publish locked dependencies as optional-dependencies" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=19382cdf9c143df4f00b9caa0b60c75a" +
We have a warning on the autobuilder about this, as it lacks the HOMEPAGE link:
WARNING: python3-pdm-build-locked-0.3.5-r0 do_recipe_qa: QA Issue: Recipe python3-pdm-build-locked in /srv/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb does not contain a HOMEPAGE. Please add an entry. [missing-metadata]
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1333/steps/13/logs/stdio
Can you fix this please?
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
RE: [OE-core] [PATCH v2 2/2] python3-pdm python3-pdm-{backend,build-locked}: move from meta-python
Quoted 43 lines
-----Original Message-----
From: Mathieu Dubois-Briand <[email protected]>
Sent: Thursday, April 3, 2025 4:12 PM
To: Lei, Maohui/雷 茂慧 <[email protected]>; Khem Raj <[email protected]>; Richard Purdie <[email protected]>
Cc: [email protected]
Subject: Re: [OE-core] [PATCH v2 2/2] python3-pdm python3-pdm-{backend,build-locked}: move from meta-pythonQuoted 6 lines · leimaohui via lists.openembedded.org
python3-pdm and python3-pdm-backend are dependencies of python3-webcolors python3-pdm itself depends on python3-pdm-build-locked
Signed-off-by Lei Maohui <[email protected]>---
Hi Lei,
Thanks for your patch.
meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb line 1
Quoted 4 lines
meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb new file +1
-0@@ -0,0 +1,14 @@ +SUMMARY = "pdm plugin to publish locked dependencies asoptional-dependencies"
meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb line 3
Quoted 2 lines
meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb new file +2
-0+LICENSE = "MIT" +LIC_FILES_CHKSUM ="file://LICENSE;md5=19382cdf9c143df4f00b9caa0b60c75a"
meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb line 4
Quoted 1 line
meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb new file +1
-0+We have a warning on the autobuilder about this, as it lacks the HOMEPAGE link:
WARNING: python3-pdm-build-locked-0.3.5-r0
do_recipe_qa: QA Issue: Recipe python3-pdm-build-locked in/srv/pokybuild/yocto-worker/a-full/build/meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb does not contain a HOMEPAGE. Please add an entry. [missing-metadata]
Quoted 4 lines
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1333/steps
/13/logs/stdioCan you fix this please?
Sorry for the late reply, please refer to v3 patch
Quoted 5 lines
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com