From patchwork Tue Apr 1 09:48:25 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lei Maohui X-Patchwork-Id: 60379 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56D0AC36014 for ; Tue, 1 Apr 2025 09:48:51 +0000 (UTC) Received: from esa1.hc1455-7.c3s2.iphmx.com (esa1.hc1455-7.c3s2.iphmx.com [207.54.90.47]) by mx.groups.io with SMTP id smtpd.web11.15067.1743500922157805582 for ; Tue, 01 Apr 2025 02:48:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@fujitsu.com header.s=fj2 header.b=acAGN+fg; spf=pass (domain: fujitsu.com, ip: 207.54.90.47, mailfrom: leimaohui@fujitsu.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj2; t=1743500922; x=1775036922; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=JVo7B2yOi0RBrEYzBioS0vpEn8OAkrWcoTAtlCTfnN8=; b=acAGN+fgiA2dhO7hcZMFFtO4mD4oKCziM2sE56iJ3tUP6V7OXBabKvh8 0p4r5lwxk+QvpZQHn+RGkQAe9QwRVU57p+fG6VPRpdtcSLe21eMBGShAr sN1m2e/FnSA0J0By/JyKwPh/oqgv9pKjdtXdsadDFb/9/70BooBeQootb vMZkJ4ptAXcXXysTnoGvU787EuCvqHsPh16S9V9peWwVQ5/X/2I9RtIbq gYASfofzEZ2IBfyKRDUO9Fn6ymM2jAx+Y9SgdsTwbZ15emLhVpwkAPq/I 6qMwhTqP/dOUC5bDyVqzmeQMIOpQF3qziTLc3R0bN6fs+/Kc1bouRWx6p g==; X-CSE-ConnectionGUID: akk4H0vORIKT8tjbQhwW4w== X-CSE-MsgGUID: 4FgUe7PzQWySnZOrj669vw== X-IronPort-AV: E=McAfee;i="6700,10204,11390"; a="195130978" X-IronPort-AV: E=Sophos;i="6.14,293,1736780400"; d="scan'208";a="195130978" Received: from unknown (HELO oym-r2.gw.nic.fujitsu.com) ([210.162.30.90]) by esa1.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Apr 2025 18:48:40 +0900 Received: from oym-m3.gw.nic.fujitsu.com (oym-nat-oym-m3.gw.nic.fujitsu.com [192.168.87.60]) by oym-r2.gw.nic.fujitsu.com (Postfix) with ESMTP id B3ACBD4C2B for ; Tue, 1 Apr 2025 18:48:37 +0900 (JST) Received: from edo.cn.fujitsu.com (edo.cn.fujitsu.com [10.167.33.5]) by oym-m3.gw.nic.fujitsu.com (Postfix) with ESMTP id 70CF6D73D3 for ; Tue, 1 Apr 2025 18:48:37 +0900 (JST) Received: from G08FNSTD190088.g08.fujitsu.local (unknown [10.167.135.33]) by edo.cn.fujitsu.com (Postfix) with ESMTP id 9DD6C1A0078; Tue, 1 Apr 2025 17:48:36 +0800 (CST) From: Lei Maohui To: Bruce Ashfield Cc: openembedded-core@lists.openembedded.org, Lei Maohui Subject: [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 -> 24.11.1 Date: Tue, 1 Apr 2025 17:48:25 +0800 Message-Id: <20250401094825.1938-1-leimaohui@fujitsu.com> X-Mailer: git-send-email 2.38.1.windows.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 01 Apr 2025 09:48:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/214011 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 --- ...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] = "ecb3d768f32202af770477b8b65f318fa4f566c22948673a977b00d589dd80f6" inherit pypi python_setuptools_build_meta ptest-python-pytest +DEPENDS += " \ + python3-pdm-native \ + python3-pdm-backend-native \ +" + RDEPENDS:${PN}:class-target = "\ python3-stringold \ "