From patchwork Tue May 2 12:30:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 23250 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 3FD4CC77B73 for ; Tue, 2 May 2023 12:31:00 +0000 (UTC) Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com [209.85.160.171]) by mx.groups.io with SMTP id smtpd.web10.127638.1683030656115923618 for ; Tue, 02 May 2023 05:30:56 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=2vIhc6uz; spf=pass (domain: baylibre.com, ip: 209.85.160.171, mailfrom: tgamblin@baylibre.com) Received: by mail-qt1-f171.google.com with SMTP id d75a77b69052e-3ef38864360so40642421cf.2 for ; Tue, 02 May 2023 05:30:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1683030655; x=1685622655; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=FJOpxCWdWuxj7Zmq84M8PeUCOCN/2e1OCgYcDrHcQy0=; b=2vIhc6uzkgTWgUIt76qBpPobxplSSp3d+agAWPoxHWWR8ygYR81sdPWZRwugmmA13W CVRFe8iUuddxHCGXt24bZFleEajbeAqLd+2pfbZ77bbmYpHmKBQdZHNsIPSFS1rr/lY7 U+ktkt8rOlsgU2Xg4R3N8Bcfu4nQXgc+Lz9gcRROztCpjngThyNiZErxsOd3bbV6BGl2 ntPwfLfR/U1KKndVADDppETN1HeP9M6qPDJeD/ASumsA8yf+aE/pJ+A60VnvppDNvxb7 d+mDTn3EI0Fbf4wuduuvJHBruwS7CoVuG9rtO7AEOzXraC0jitswO32L2thEXTffVvRv u23w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683030655; x=1685622655; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FJOpxCWdWuxj7Zmq84M8PeUCOCN/2e1OCgYcDrHcQy0=; b=FX2uV4OHucE5a5+dDnanKAModo2aoy2rYMcunDeFyk8ItiRuidJSDsOjGuaUzpvDX3 Mlk+ufMO3iN1dy7lM/B0mrM5PpQ7CALT460xeBZRAmka4THSgvBX12C4VSe/AfuK5BCu EO+UA0YoEELJqO2M6kWEo7w7BrZzXratesr3xyvXOphcgyeU2vM2IbuTwaabLTejEymq 1LxEHSgSEO4d+FJEfmw4vCKPnBp7HQZTljsKBARGxh8Ps6Gxu7pNIPXSX2lhVLwPSdop 2kWR9kwjkAQC7Clfax5Ef479M4h6mOyDvCzyXd9PD2R2eG58uzTGPX4aZLtzyE+REa6P Hjwg== X-Gm-Message-State: AC+VfDwdoqS2a0m6drQkjaLxaxT3ew1hPg9LYOw5NCg05pW5dpyiomgY RHlcYRkXLp+cz/uwv3Dnr7eH2Bi6K5h7AVgbSyY= X-Google-Smtp-Source: ACHHUZ54oCaRgedo4Vn0MvVYpfyG/vNJ29FdLcVONXzehh4TC3C0nOFdRZgdWxza6sZQ1oX/Khydug== X-Received: by 2002:ac8:5b04:0:b0:3ef:5587:9414 with SMTP id m4-20020ac85b04000000b003ef55879414mr22555604qtw.2.1683030654935; Tue, 02 May 2023 05:30:54 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id h12-20020ac8548c000000b003e38c9a2a22sm10173876qtq.92.2023.05.02.05.30.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 05:30:54 -0700 (PDT) From: Trevor Gamblin To: openembedded-core@lists.openembedded.org Subject: [OE-core][PATCH 1/3] python3-calver: Add recipe Date: Tue, 2 May 2023 08:30:51 -0400 Message-Id: <20230502123053.604642-1-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.0 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, 02 May 2023 12:31:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/180724 calver is "a setuptools extension for automatically defining your Python package version as a calendar version." It is required for python3-trove-classifiers (another new recipe), which in turn is required for the upgrade of python3-hatchling from 1.13.0 to work. Signed-off-by: Trevor Gamblin --- .../python/python3-calver_2022.6.26.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-calver_2022.6.26.bb diff --git a/meta/recipes-devtools/python/python3-calver_2022.6.26.bb b/meta/recipes-devtools/python/python3-calver_2022.6.26.bb new file mode 100644 index 0000000000..b4a7472ae3 --- /dev/null +++ b/meta/recipes-devtools/python/python3-calver_2022.6.26.bb @@ -0,0 +1,10 @@ +SUMMARY = "Setuptools extension for CalVer package versions" +HOMEPAGE = "https://github.com/di/calver" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI[sha256sum] = "e05493a3b17517ef1748fbe610da11f10485faa7c416b9d33fd4a52d74894f8b" + +inherit pypi python_setuptools_build_meta + +BBCLASSEXTEND = "native nativesdk" From patchwork Tue May 2 12:30:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 23252 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 5F855C77B7E for ; Tue, 2 May 2023 12:31:00 +0000 (UTC) Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) by mx.groups.io with SMTP id smtpd.web11.127030.1683030656647511060 for ; Tue, 02 May 2023 05:30:56 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=j/qobRUT; spf=pass (domain: baylibre.com, ip: 209.85.160.174, mailfrom: tgamblin@baylibre.com) Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-3f1f1a7ecb7so33116181cf.1 for ; Tue, 02 May 2023 05:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1683030655; x=1685622655; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=4NOKkS4016Cd8cQBOP+q5g/a7fU75onSoL2lH/Hzzlc=; b=j/qobRUT9QB9j8Ch8dQkHV5F1QeM2fYLQP1logMZZ+GeCJKD1oW1VJ+frrn6JLAu6m 4g2SdxOBsd2L97b1/gckatxiuGJd4KkzRiDeegYq2nlv7Dqrmu8CN9hvPdmZ1dLbpV0C XPHcLk2vC9CkrCdp+NhloI43FubB1S6kxTOxPqTiyn8YBOr5wgSmN0+/dyrXjMiM/CsE x9R7dS1xr7Dnfikl0M605rp+dDedf6LWzBjiJrFoYC1vHD7/fL6FedQNiznas16CkP7B ExYZCweNWrxXo98WCpyjhgoDHGOFXHF63W7MBWDzxdtncVFLjQveLg7cREFc6+A92a5h TOog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683030655; x=1685622655; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4NOKkS4016Cd8cQBOP+q5g/a7fU75onSoL2lH/Hzzlc=; b=F9RwYRhmVbUnbNhgzmE6tnmVCkbJ6iISBv7Yx7u9hERwpZjAStNAnruPReb7hlMQAU tFxD/nfs52/K2S7eeEdZYlE8S3BgPElJ4YNjNIJD42Oc2ctloBa7TAoJL3VRyiDu8XK6 zTd+L56DHRl6FlPjbUKsuaBVbjL0XIDYVxicpbMMBsTTXADUPGCAVBq+kx0AZYK/J84u WV7YHuHlOD0ZdZpTjqsn/FuqqEHh1zE5ucztxh4teNWqFYpzqfnRdickrgJm2bec+O0u ++6yIGnRnDZ6AOe9i4KkH6TS1S7cZhJWBAXl3tx7af8oMVWw0fNXrsuvqOtxbAQPtIF1 rdfA== X-Gm-Message-State: AC+VfDwr+VpMYpLZvMQMaOKwiF1JII4+izJSVC4pTJ6aSp3VWiT05CNN KlN08lReYEjquvas5DI74zFXd7WnLCX51EycEhs= X-Google-Smtp-Source: ACHHUZ5V/qT0DNpZM0bmUzkn0uD4dq1ehOdtjzJ/s651g6NpUgcpeLx8dUkqj4yhQRDJVQYc9y9yWg== X-Received: by 2002:ac8:5e4b:0:b0:3f0:abab:87ef with SMTP id i11-20020ac85e4b000000b003f0abab87efmr26727454qtx.10.1683030655577; Tue, 02 May 2023 05:30:55 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id h12-20020ac8548c000000b003e38c9a2a22sm10173876qtq.92.2023.05.02.05.30.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 05:30:55 -0700 (PDT) From: Trevor Gamblin To: openembedded-core@lists.openembedded.org Subject: [OE-core][PATCH 2/3] python3-trove-classifiers: Add recipe Date: Tue, 2 May 2023 08:30:52 -0400 Message-Id: <20230502123053.604642-2-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230502123053.604642-1-tgamblin@baylibre.com> References: <20230502123053.604642-1-tgamblin@baylibre.com> 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, 02 May 2023 12:31:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/180725 python3-trove-classifiers is "Canonical source for classifiers on PyPI.". It is required to update python3-hatchling from the current version (1.13.0) in oe-core, and depends on python3-calver (another new recipe). Also add ptests. Signed-off-by: Trevor Gamblin --- .../distro/include/ptest-packagelists.inc | 1 + .../python3-trove-classifiers/run-ptest | 3 +++ .../python3-trove-classifiers_2023.4.29.bb | 26 +++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-trove-classifiers/run-ptest create mode 100644 meta/recipes-devtools/python/python3-trove-classifiers_2023.4.29.bb diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index 78750a0d98..cbbf84f2d4 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc @@ -64,6 +64,7 @@ PTESTS_FAST = "\ python3-pluggy \ python3-pyasn1 \ python3-pytz \ + python3-trove-classifiers \ python3-wcwidth \ python3-webcolors \ qemu \ diff --git a/meta/recipes-devtools/python/python3-trove-classifiers/run-ptest b/meta/recipes-devtools/python/python3-trove-classifiers/run-ptest new file mode 100644 index 0000000000..8d2017d39c --- /dev/null +++ b/meta/recipes-devtools/python/python3-trove-classifiers/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake diff --git a/meta/recipes-devtools/python/python3-trove-classifiers_2023.4.29.bb b/meta/recipes-devtools/python/python3-trove-classifiers_2023.4.29.bb new file mode 100644 index 0000000000..4bbcea5489 --- /dev/null +++ b/meta/recipes-devtools/python/python3-trove-classifiers_2023.4.29.bb @@ -0,0 +1,26 @@ +SUMMARY = "Canonical source for classifiers on PyPI (pypi.org)." +HOMEPAGE = "https://github.com/pypa/trove-classifiers" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI[sha256sum] = "8adcc06f1eb7c495f0bdceb698bd9c044b3e57b0d5767d99ec4b6b17c9bbe957" + +inherit pypi python_setuptools_build_meta ptest + +DEPENDS += " python3-calver-native" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +BBCLASSEXTEND = "native nativesdk" From patchwork Tue May 2 12:30:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 23251 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 40A61C7EE21 for ; Tue, 2 May 2023 12:31:00 +0000 (UTC) Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) by mx.groups.io with SMTP id smtpd.web11.127031.1683030657200315118 for ; Tue, 02 May 2023 05:30:57 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=DH5cgtvR; spf=pass (domain: baylibre.com, ip: 209.85.160.176, mailfrom: tgamblin@baylibre.com) Received: by mail-qt1-f176.google.com with SMTP id d75a77b69052e-3ef33f12995so17793281cf.3 for ; Tue, 02 May 2023 05:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1683030656; x=1685622656; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=5UVPqz6/bvliLDEl+XRZnS2W2VMYCOndALHgHiFrsCM=; b=DH5cgtvRSSVzYoWQaizv0RIrlxXnDOB9Rvy0kDsnXdYJFqpHHqCZLSVxiOdfwaiJFt 3aIpAQvch3S/ISM6Y86t5YiWHh22A/Bu6SXJJqqx/2AU7wJvGtpm2/Ni1wd8HZRsOVvj KnfjuBiei9h7vPW6WpTF3Ijvy2NexXrjFRRTRj6b1tasaQoajJ+91I58y2umX3yYl9+T DYSBacTPhS4g2jEmqArEqek6519FJVCOlCGWyoEBj99DxApzWsIk2D/ykmHTHC04nLv+ ns0O3ctqezx61Vt8FrOufXjqe8trY6dt8a3d2aAjZYw/nEHC0p12leZK0Ixjvaq2YSxj ZMLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683030656; x=1685622656; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5UVPqz6/bvliLDEl+XRZnS2W2VMYCOndALHgHiFrsCM=; b=PR2axhcFtTSxYVvHYKItX6togSYWvzjY/DpDLIFZcOODZTFaVmRnrza/0pjhqQBWJ7 1pfoxvopfpumCmIE+DYkXd1IughdmHLiCXeXoCxfttBkPm6dSfhWzKlx7dLdCQwT7q2B FtfGpTbHDOqVlub657W/QDBKrd8T+SfRzBoaS1SazGUCO6nPcnwKtcrCz7/81bEds471 abs2QNjBIaJPnSX1jqDfxJsfgx1kY7G8AsMs+/sbFIMBmqpMBrH+TAWUVqVhrOgaVp4e bwU54GJ8VXebtk2c9/Ssg+pzhfqyQLR0kwNRVi+/fkocUVQscqflRTvTfBWNnRqYZ7Ix H6Eg== X-Gm-Message-State: AC+VfDz1eqABbqVZLTtIkuH/xpIeg1zLzenw9n7O3hF2ATlxpUgF2Xda ZcWBhr5KafmQnbz6232+X+2mCBPTZkzN4MYJQbk= X-Google-Smtp-Source: ACHHUZ74tfnVYGgsgRFCtYOMmRW21iCqpy/bmza4nQD5ma+OAi9hZrL9gfoFxiuK+xAOB13RkBOx0A== X-Received: by 2002:a05:622a:4d3:b0:3ef:37d5:49e0 with SMTP id q19-20020a05622a04d300b003ef37d549e0mr26968936qtx.21.1683030656230; Tue, 02 May 2023 05:30:56 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id h12-20020ac8548c000000b003e38c9a2a22sm10173876qtq.92.2023.05.02.05.30.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 05:30:55 -0700 (PDT) From: Trevor Gamblin To: openembedded-core@lists.openembedded.org Subject: [OE-core][PATCH 3/3] python3-hatchling: upgrade 1.13.0 -> 1.14.1 Date: Tue, 2 May 2023 08:30:53 -0400 Message-Id: <20230502123053.604642-3-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230502123053.604642-1-tgamblin@baylibre.com> References: <20230502123053.604642-1-tgamblin@baylibre.com> 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, 02 May 2023 12:31:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/180726 This upgrade depends on python3-calver and python3-trove-classifiers, which have new recipes being submitted. Signed-off-by: Trevor Gamblin --- ...ython3-hatchling_1.13.0.bb => python3-hatchling_1.14.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python3-hatchling_1.13.0.bb => python3-hatchling_1.14.1.bb} (72%) diff --git a/meta/recipes-devtools/python/python3-hatchling_1.13.0.bb b/meta/recipes-devtools/python/python3-hatchling_1.14.1.bb similarity index 72% rename from meta/recipes-devtools/python/python3-hatchling_1.13.0.bb rename to meta/recipes-devtools/python/python3-hatchling_1.14.1.bb index 17e7f86ba6..a3d2b741b1 100644 --- a/meta/recipes-devtools/python/python3-hatchling_1.13.0.bb +++ b/meta/recipes-devtools/python/python3-hatchling_1.14.1.bb @@ -5,10 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cbe2fd33fc9297692812fc94b7d27fd9" inherit pypi python_hatchling -DEPENDS += "python3-pluggy-native python3-pathspec-native python3-packaging-native python3-editables-native" +DEPENDS += "python3-pluggy-native python3-pathspec-native python3-packaging-native python3-editables-native python3-trove-classifiers-native" DEPENDS:remove:class-native = "python3-hatchling-native" -SRC_URI[sha256sum] = "f8d275a2cc720735286b7c2e2bc35da05761e6d3695c2fa416550395f10c53c7" +SRC_URI[sha256sum] = "55fbc88cbd0d96c09c3e9392b51db513fd4cb4caf47615d65f935a5ef1756133" do_compile:prepend() { export PYTHONPATH=src