From: Khem Raj <raj.khem@gmail.com>
To: richard.purdie@linuxfoundation.org,
"Maohui Lei (Fujitsu)" <leimaohui@fujitsu.com>,
Martin Jansa <martin.jansa@gmail.com>
Cc: Alexander Kanavin <alex@linutronix.de>,
Jose Quaresma <quaresma.jose@gmail.com>,
Anuj Mittal <anuj.mittal@intel.com>,
"openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 -> 24.11.1
Date: Wed, 2 Apr 2025 17:50:25 -0700 [thread overview]
Message-ID: <32d1e8f3-5dbb-48a4-b33b-b9f1c790a4da@gmail.com> (raw)
In-Reply-To: <5a0c2b8fb787bdf7d433e8b0c0835f75c2b34df4.camel@linuxfoundation.org>
[-- Attachment #1: Type: text/plain, Size: 4797 bytes --]
On 4/2/25 4:09 AM, Richard Purdie via lists.openembedded.org wrote:
> On Wed, 2025-04-02 at 10:31 +0000, Maohui Lei (Fujitsu) wrote:
>>
>>> -----Original Message-----
>>> From: Martin Jansa<martin.jansa@gmail.com>
>>> Sent: Wednesday, April 2, 2025 6:04 PM
>>> To:richard.purdie@linuxfoundation.org
>>> Cc: Lei, Maohui/雷 茂慧<leimaohui@fujitsu.com>; Alexander Kanavin
>>> <alex@linutronix.de>; Jose Quaresma<quaresma.jose@gmail.com>; Anuj
>>> Mittal<anuj.mittal@intel.com>;
>>> openembedded-core@lists.openembedded.org
>>> Subject: Re: [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 ->
>>> 24.11.1
>>>
>>> On Wed, Apr 2, 2025 at 11:59 AM Richard Purdie via
>>> lists.openembedded.org
>>> <richard.purdie=linuxfoundation.org@lists.openembedded.org> wrote:
>>>> On Wed, 2025-04-02 at 17:07 +0800, leimaohui via
>>>> lists.openembedded.org
>>> wrote:
>>>>> 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"
>>>>>
>>>>> Signed-off-by: Lei Maohui<leimaohui@fujitsu.com>
>>>>> ---
>>>>> ...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%)
>>>>>
>>>>> diff --git
>>>>> a/meta/recipes-devtools/python/python3-webcolors_24.8.0.bb
>>>>> b/meta/recipes-devtools/python/python3-webcolors_24.11.1.bb
>>>>> similarity index 70%
>>>>> rename from meta/recipes-devtools/python/python3-
>>>>> webcolors_24.8.0.bb
>>>>> rename to meta/recipes-devtools/python/python3-
>>>>> webcolors_24.11.1.bb
>>>>> index c5ed4bd7d3..cda63d2a35 100644
>>>>> --- a/meta/recipes-devtools/python/python3-webcolors_24.8.0.bb
>>>>> +++ b/meta/recipes-devtools/python/python3-webcolors_24.11.1.bb
>>>>> @@ -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] =
>>> "ecb3d768f32202af770477b8b65f318fa4f566c22948673a977b00d589dd80f
>>> 6"
>>>>> inherit pypi python_setuptools_build_meta ptest-python-pytest
>>>>>
>>>>> +DEPENDS += " \
>>>>> + python3-pdm-native \
>>>>> + python3-pdm-backend-native \
>>>>> +"
>>>>> +
>>>> ERROR: Nothing RPROVIDES 'python3-webcolors-dev' (but
>>>> meta/recipes-devtools/python/python3-webcolors_24.11.1.bb
>>>> RDEPENDS
>>> on or otherwise requires it) No eligible RPROVIDERs exist for
>>> 'python3-webcolors-dev'
>>>
>>>
>>>> That recipe isn't in core.
>>> Looks like you've accidentally copied the 2nd error about RPROVIDES
>>> not the
>>> first one about PROVIDES.
>>>
>>> The main error is about python3-pdm which is in
>>> meta-oe/meta-python/recipes-devtools/python/python3-pdm_2.22.4.bb
>> Thank you, but how can we solve this kind of issue that 24.11.1
>> version of python3-webcolors depends on packages out of core
> Sometimes we have to move recipes to oe-core for this reason, or we
> move the recipe to meta-oe. It depends what is using it and which layer
> it really belongs in.
In this case, I think we need to bring pdm module to core, since
webcolors is needed by jsonschema which is used in selftests and also in
dtschema which is used by validation feature for linux-yocto, so moving
webcolors out would not be right thing to do here.
> Cheers,
>
> Richard
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#214260):https://lists.openembedded.org/g/openembedded-core/message/214260
> Mute This Topic:https://lists.openembedded.org/mt/112043451/1997914
> Group Owner:openembedded-core+owner@lists.openembedded.org
> Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
--
-Khem
[-- Attachment #2: Type: text/html, Size: 8775 bytes --]
next prev parent reply other threads:[~2025-04-03 0:50 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-02 9:07 [OE-core] [PATCH v4 01/10] gst-devtools: upgrade 1.24.12 -> 1.26.0 Lei Maohui
2025-04-02 9:07 ` [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 -> 24.11.1 Lei Maohui
2025-04-02 9:56 ` Richard Purdie
2025-04-02 10:03 ` Martin Jansa
2025-04-02 10:31 ` Maohui Lei (Fujitsu)
2025-04-02 11:09 ` Richard Purdie
2025-04-03 0:50 ` Khem Raj [this message]
2025-04-03 1:31 ` Maohui Lei (Fujitsu)
2025-04-02 9:07 ` [OE-core] [PATCH v4 02/10] gstreamer1.0: upgrade 1.24.12 -> 1.26.0 Lei Maohui
2025-04-02 9:48 ` Jose Quaresma
2025-04-02 9:57 ` Maohui Lei (Fujitsu)
2025-04-02 9:07 ` [OE-core] [PATCH v4 03/10] gstreamer1.0-libav: " Lei Maohui
2025-04-02 9:07 ` [OE-core] [PATCH v4 04/10] gstreamer1.0-vaapi: " Lei Maohui
2025-04-02 9:07 ` [OE-core] [PATCH v4 05/10] gtreamer1.0-rtsp-server: " Lei Maohui
2025-04-02 9:07 ` [OE-core] [PATCH v4 06/10] gstreamer1.0-plugins-base: " Lei Maohui
2025-04-02 9:07 ` [OE-core] [PATCH v4 07/10] gstreamer1.0-plugins-good: " Lei Maohui
2025-04-02 9:07 ` [OE-core] [PATCH v4 08/10] gstreamer1.0-plugins-ugly: " Lei Maohui
2025-04-02 9:07 ` [OE-core] [PATCH v4 09/10] gstreamer1.0-python: " Lei Maohui
2025-04-02 9:07 ` [OE-core] [PATCH v4 10/10] gstreamer1.0-plugins-bad: " Lei Maohui
-- strict thread matches above, loose matches on Subject: below --
2025-04-01 9:48 [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 -> 24.11.1 Lei Maohui
2025-04-01 10:20 ` Alexander Kanavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=32d1e8f3-5dbb-48a4-b33b-b9f1c790a4da@gmail.com \
--to=raj.khem@gmail.com \
--cc=alex@linutronix.de \
--cc=anuj.mittal@intel.com \
--cc=leimaohui@fujitsu.com \
--cc=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=quaresma.jose@gmail.com \
--cc=richard.purdie@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox