From patchwork Thu Jan 20 11:40:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Anavi X-Patchwork-Id: 2706 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 0CEFBC433F5 for ; Thu, 20 Jan 2022 11:40:40 +0000 (UTC) Received: from voyager.superhosting.bg (voyager.superhosting.bg [79.124.30.14]) by mx.groups.io with SMTP id smtpd.web10.10524.1642678837225160637 for ; Thu, 20 Jan 2022 03:40:38 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@anavi.org header.s=default header.b=Efb2oyWO; spf=permerror, err=parse error for token &{10 18 spf.securedserverspace.com}: parse error for token &{10 18 _netblocks4.securedserverspace.com}: limit exceeded (domain: konsulko.com, ip: 79.124.30.14, mailfrom: leon.anavi@konsulko.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anavi.org; s=default; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fBpbXrm6cZY4V2of3tRB5qV0irIE46PzNOSPtlYS6fo=; b=Efb2oyWOl6/WKbP3kBFfcPJNkN Vgo0eIx6/Ni1EyFiSnAYD5YHt0xF8fdeLgqoxNzyA8zQ/7rmO8po+BAgrA11+bHQEYebIXQv6m1WA 1EyM3y+lc95dOUbNTWH9M5FWh9D/Y5eXORfR8pb1J+9gAlhFAeiR5KuRI4rk+FFC9UVw9BOaWDcJY 6YcVoHTwLVhlhJ7gDUkH0H/L+vy0l8J35N2iKiEVQdjy55vTq/nVieuCYeoRe5Uadl697m0lgM368 FsN67SXkdbmUM/mxpaVbRX+hDCEfFcnP9Vq9Nr30DIJ1uXAOuyozHyN3N+LdlF4NizdMRA2WABElk jcV7Svqg==; Received: from lan.nucleusys.com ([92.247.61.126]:48770 helo=tone.k.g) by voyager.superhosting.bg with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1nAVnt-00098G-1B; Thu, 20 Jan 2022 13:40:35 +0200 From: Leon Anavi To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi Subject: [meta-python][PATCH 1/2] python3-simpleeval: Upgrade 0.9.10 -> 0.9.12 Date: Thu, 20 Jan 2022 13:40:26 +0200 Message-Id: <20220120114027.1857045-1-leon.anavi@konsulko.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-OutGoing-Spam-Status: No, score=-0.5 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - voyager.superhosting.bg X-AntiAbuse: Original Domain - lists.openembedded.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - konsulko.com X-Get-Message-Sender-Via: voyager.superhosting.bg: authenticated_id: leon@anavi.org X-Authenticated-Sender: voyager.superhosting.bg: leon@anavi.org X-Source: X-Source-Args: X-Source-Dir: 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 ; Thu, 20 Jan 2022 11:40:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/94956 Upgrade to release 0.9.12: - Remove Cyclic references (memory leak) - Add left & right shift operations (<< and >>) - Switch to GH actions & CodeCov.io for CI tests - Add extra contributors details - Reformat w/ Black + isort, and have linting of those in CI Signed-off-by: Leon Anavi --- ...simpleeval_0.9.10.bb => python3-simpleeval_0.9.12.bb} | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-simpleeval_0.9.10.bb => python3-simpleeval_0.9.12.bb} (78%) diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb similarity index 78% rename from meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb rename to meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb index 36512cba9..8ad6acc87 100644 --- a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb +++ b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb @@ -3,8 +3,7 @@ HOMEPAGE = "https://pypi.org/project/simpleeval/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENCE;md5=dc9277482effe59b734b004cbcc1fee7" -SRC_URI[md5sum] = "f175fc12d408487ca26fa3905e0a6691" -SRC_URI[sha256sum] = "692055488c2864637f6c2edb5fa48175978a2a07318009e7cf03c9790ca17bea" +SRC_URI[sha256sum] = "3e0be507486d4e21cf9d08847c7e57dd61a1603950399985f7c5a0be7fd33e36" inherit pypi setuptools3 ptest @@ -14,12 +13,18 @@ SRC_URI += " \ file://run-ptest \ " +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-math \ +" + RDEPENDS:${PN}-ptest += " \ ${PYTHON_PN}-pytest \ " + do_configure:prepend() { sed -i -e "/use_2to3=True,/d" ${S}/setup.py } + do_install_ptest() { cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ } From patchwork Thu Jan 20 11:40:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Anavi X-Patchwork-Id: 2707 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 DC2ECC43219 for ; Thu, 20 Jan 2022 11:40:41 +0000 (UTC) Received: from voyager.superhosting.bg (voyager.superhosting.bg [79.124.30.14]) by mx.groups.io with SMTP id smtpd.web08.10584.1642678839768090944 for ; Thu, 20 Jan 2022 03:40:41 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@anavi.org header.s=default header.b=tHMu6Kis; spf=permerror, err=parse error for token &{10 18 spf.securedserverspace.com}: parse error for token &{10 18 _netblocks4.securedserverspace.com}: limit exceeded (domain: konsulko.com, ip: 79.124.30.14, mailfrom: leon.anavi@konsulko.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anavi.org; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=2IKuoIEzSJr6ruiPg1jetnr38aZP5Axvmt/UozXo3gY=; b=tHMu6KisO/fIJojyGRr38l5kfp 5AioKmxcGUUZiTCxmo9viC62LXQu5DpB/c0UaQ8VbCMnhCVQJHwsaIDMfv260qzD2KOfIuV7dwwHb nRBqPntFERNcYHDNAKJKTWiEHNfkUt2brSKZNEFSKr5ateGtUYsGmuAYnqFqJdpsRv++jECN4GsAy XljPAqn61TGQbvXotUqxidTabtphJLtERBsvKby/jfh9IrwvcQEzG+Jf6Rh5mueP0gFmUBMt1L/oT ZPihmgj/w/C1+WLS2Wny9XhrpKlKCOrlgqRoDpxFnm75GqI30lnTqeGqE0YQGyM37YwT3maF7KiPT HGdmNt/Q==; Received: from lan.nucleusys.com ([92.247.61.126]:48770 helo=tone.k.g) by voyager.superhosting.bg with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1nAVnv-00098G-L3; Thu, 20 Jan 2022 13:40:37 +0200 From: Leon Anavi To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi Subject: [meta-python][PATCH 2/2] python3-twine: Upgrade 3.4.1 -> 3.7.1 Date: Thu, 20 Jan 2022 13:40:27 +0200 Message-Id: <20220120114027.1857045-2-leon.anavi@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220120114027.1857045-1-leon.anavi@konsulko.com> References: <20220120114027.1857045-1-leon.anavi@konsulko.com> MIME-Version: 1.0 X-OutGoing-Spam-Status: No, score=-0.5 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - voyager.superhosting.bg X-AntiAbuse: Original Domain - lists.openembedded.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - konsulko.com X-Get-Message-Sender-Via: voyager.superhosting.bg: authenticated_id: leon@anavi.org X-Authenticated-Sender: voyager.superhosting.bg: leon@anavi.org X-Source: X-Source-Args: X-Source-Dir: 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 ; Thu, 20 Jan 2022 11:40:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/94957 Upgrade to release 3.7.1: - Fix broken link to packaging tutorial - Add support for core metadata version 2.2, defined in PEP 643. - Add support for Python 3.10 - Show more helpful messages for invalid passwords - Allow the --skip-existing option to work with GCP Artifact Registry - Add a helpful error message when an upload fails due to missing a trailing slash in the URL - Generalize --verbose suggestion when an upload fails Signed-off-by: Leon Anavi --- .../python/python3-twine_3.4.1.bb | 14 ----------- .../python/python3-twine_3.7.1.bb | 23 +++++++++++++++++++ 2 files changed, 23 insertions(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-twine_3.4.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-twine_3.7.1.bb diff --git a/meta-python/recipes-devtools/python/python3-twine_3.4.1.bb b/meta-python/recipes-devtools/python/python3-twine_3.4.1.bb deleted file mode 100644 index 111366dba..000000000 --- a/meta-python/recipes-devtools/python/python3-twine_3.4.1.bb +++ /dev/null @@ -1,14 +0,0 @@ -DESCRIPTION = "Utilities for interacting with PyPI" -HOMEPAGE = "https://twine.readthedocs.io/" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a3d1106b253a8d50dd82a4202a045b4c" - -SRC_URI[sha256sum] = "a56c985264b991dc8a8f4234eb80c5af87fa8080d0c224ad8f2cd05a2c22e83b" - -inherit pypi setuptools3 - -DEPENDS += "\ - ${PYTHON_PN}-setuptools-scm-native \ -" - -BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python3-twine_3.7.1.bb b/meta-python/recipes-devtools/python/python3-twine_3.7.1.bb new file mode 100644 index 000000000..bcc881e44 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-twine_3.7.1.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Utilities for interacting with PyPI" +HOMEPAGE = "https://twine.readthedocs.io/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a3d1106b253a8d50dd82a4202a045b4c" + +SRC_URI[sha256sum] = "28460a3db6b4532bde6a5db6755cf2dce6c5020bada8a641bb2c5c7a9b1f35b8" + +inherit pypi setuptools3 + +DEPENDS += "\ + ${PYTHON_PN}-setuptools-scm-native \ +" + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-importlib-metadata \ +" + +do_compile:prepend() { + echo "from setuptools import setup" > ${S}/setup.py + echo "setup()" >> ${S}/setup.py +} + +BBCLASSEXTEND = "native"