From patchwork Thu Apr 13 09:15:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 22598 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 E87BAC77B76 for ; Thu, 13 Apr 2023 09:16:21 +0000 (UTC) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mx.groups.io with SMTP id smtpd.web10.8221.1681377371922597275 for ; Thu, 13 Apr 2023 02:16:12 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=AEUrhMlR; spf=none, err=SPF record not found (domain: bgdev.pl, ip: 209.85.221.47, mailfrom: brgl@bgdev.pl) Received: by mail-wr1-f47.google.com with SMTP id e7so3425348wrc.12 for ; Thu, 13 Apr 2023 02:16:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1681377370; x=1683969370; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YHzhmsWqktLrOA5BE240SCWGZ+llExqrezYIcVr/Xao=; b=AEUrhMlRYienIJdUmW9QFJWqdpFPiAprJRY5XqMawV7Y8scV18L22kImDLd6YlfmMm kV2dPLOGuYQZzpYSPkjmSxBalPk48vgDqA4RoVbBAG/EtQ5V2k2QkU0yHVLoGFThSVFQ FbpaW3nP4CHcb0LMgwrYqC7xfLpsnh6rLoNyCyfR5f2bJVo5hv0fowN26wwshRF9zS97 JXauWp5ejqjzL0p1TXJvb/8F3qNo06nfhBKSSTqFHL4KjSDc6iRlebNchuG/P3IQaj7t PSRNTr5xfSSLyjcc/fhTcB7r23cLpHSMT4zs9ArJh4S5aV+RqzaTL0F/rUF5kxLKu5O4 J6ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681377370; x=1683969370; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YHzhmsWqktLrOA5BE240SCWGZ+llExqrezYIcVr/Xao=; b=DDI1GHrktTDtx0MeqKwnFOZfbYExLlqyuJApUN76P2tAcZvGMZsrc4tLrF6pm/26zB UcABcnCMQNEQZ3YJK/Knpavo38rHpKob1vklcwOSBCqqzQxZyg2w1EPXlfbdcH2NpAQk 5IThXhkPRrStAuuCPFAzu/A0IuoHAKTKFbpMzFrJkcMDY69Sbl4KNUChBUpr9uj7ongL bnfVvDJxsGJoVaiNvMxNcGvskVeXlUkiOV8mC6QQHbISbkhr9Ed3m8HAk+545FfzBqDT 5PvV6lzYjf4367A5QDYY73aLV6nIQpU+g0r560GnsOMrlxIpPUNnI6Gjeng4/apMST7v BtkA== X-Gm-Message-State: AAQBX9f7wQC9fKvmi1BRFnaAzBAiPntf3dgSNp3P7O61xWlrBAueWqAp 3tnC0mR5mGtNBxtccQ/Q/v7LeQ== X-Google-Smtp-Source: AKy350YuIn9I7Evu6S1C1L2mbS1axljreAGtf3k2xJ+doZ4W86qjQ/jHROF81L/c/FLQsY/Kcpu8hw== X-Received: by 2002:adf:eb8b:0:b0:2f4:8e52:b603 with SMTP id t11-20020adfeb8b000000b002f48e52b603mr983113wrn.64.1681377370450; Thu, 13 Apr 2023 02:16:10 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:814c:fc8a:da02:39ad]) by smtp.gmail.com with ESMTPSA id e16-20020a5d4e90000000b002f2782978d8sm851479wru.20.2023.04.13.02.16.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Apr 2023 02:16:10 -0700 (PDT) From: Bartosz Golaszewski To: Khem Raj , Bruce Ashfield , openembedded-core@lists.openembedded.org Cc: Bartosz Golaszewski Subject: [OE-core][PATCH 1/5] python3-pyproject-hooks: add missing run-time dependencies Date: Thu, 13 Apr 2023 11:15:53 +0200 Message-Id: <20230413091557.10659-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230413091557.10659-1-brgl@bgdev.pl> References: <20230413091557.10659-1-brgl@bgdev.pl> 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 ; Thu, 13 Apr 2023 09:16:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/179962 From: Bartosz Golaszewski JSON module is required at run-time by pyproject-hooks. Signed-off-by: Bartosz Golaszewski --- meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb b/meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb index 9aca5918ec..e3893d51cb 100644 --- a/meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb +++ b/meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb @@ -14,6 +14,8 @@ BBCLASSEXTEND = "native nativesdk" # Bootstrap the native build DEPENDS:remove:class-native = "python3-build-native" +RDEPENDS:${PN} += "python3-json" + do_compile:class-native () { python_flit_core_do_manual_build } From patchwork Thu Apr 13 09:15:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 22602 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 01E98C77B78 for ; Thu, 13 Apr 2023 09:16:22 +0000 (UTC) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by mx.groups.io with SMTP id smtpd.web11.8161.1681377372739407905 for ; Thu, 13 Apr 2023 02:16:13 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=LNmkdRJg; spf=none, err=SPF record not found (domain: bgdev.pl, ip: 209.85.221.49, mailfrom: brgl@bgdev.pl) Received: by mail-wr1-f49.google.com with SMTP id v6so13494505wrv.8 for ; Thu, 13 Apr 2023 02:16:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1681377371; x=1683969371; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VLHIsSRGAJnNyaYCSpFG01ZFDSgWH/7g85Tp8EgU4/U=; b=LNmkdRJghzMB3Yzp4gWfwxmo7OoC620g31I4tcGxPcXb4mFcCS3nMHVPcnc/1qtDFH JBXlQLt3Y8RMetXBZ4WjFTSDxMfkp2eUmDnwH1o2HVGeWUYDU14WqXwBK/30drry6qGf 2/PPIk83eSJlC8LnswwfgOsHW+qHrGof0C+13KEDPvKwofMVFyNzjef8nBOnxLKWLNFb 6k9k5R3rmUrlUbvhEHEmD8KYS8rBTA9k0X+u/0G9zKX5sU0OGkMPgrSe7RuxvOyXtrmS C2FK/Vt8U2McaA1xOS6B+Q2N89Ey7oBUsWdj7hhsGxyCs4JrGou48617BFtLYm4ETJno Wvtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681377371; x=1683969371; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VLHIsSRGAJnNyaYCSpFG01ZFDSgWH/7g85Tp8EgU4/U=; b=N2uedM62yN5Tv2VFEw51aI4Z0WmO8RFNEUNjd3P5A7iyi/XUJcc+VNm1LB8cHu3/ta dpkEJS0rvol+C1i0UFBqTbL1oTfo1Ngr/bdq09iYt/Yjpb09WHJWyx/DDz5TtESDQJL0 I74D77wdu8+C9/9Ud0WXHaEDZk5k5Y5idsCW3mIF6NDF5VUyQqSv68/KsIdkPkyT2R3f MveFjNw+72jUL53PqHJmRnqCgOAIHasN2rd0yZ34KCFwCWsJMUZ1QEDE7BvqfTVLiiEM YU9gejepQTKxdNsP/4H27X8JY6SsrvMt0v1XM0Cm9XsZNEafH0WuorqLAlXrtVjYB/eS S3cg== X-Gm-Message-State: AAQBX9dncKb/aV9UHR4n7jOcjc/uhh0KqkYHRuCyr3WygWbAF/1AnWXY sS1I3uRL0KPFDjX4xEI3sHg7x7/V55n1VouThfI= X-Google-Smtp-Source: AKy350baueh68gsY0MNylG29AbiigwMBHVxg7VSZEHA2Jql+GDLxh2ds06QSH2ngsQe+hR4B5QyI3A== X-Received: by 2002:adf:f98e:0:b0:2f4:cfb4:57f7 with SMTP id f14-20020adff98e000000b002f4cfb457f7mr1024032wrr.61.1681377371276; Thu, 13 Apr 2023 02:16:11 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:814c:fc8a:da02:39ad]) by smtp.gmail.com with ESMTPSA id e16-20020a5d4e90000000b002f2782978d8sm851479wru.20.2023.04.13.02.16.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Apr 2023 02:16:10 -0700 (PDT) From: Bartosz Golaszewski To: Khem Raj , Bruce Ashfield , openembedded-core@lists.openembedded.org Cc: Bartosz Golaszewski Subject: [OE-core][PATCH 2/5] python3-packaging: add missing run-time dependencies Date: Thu, 13 Apr 2023 11:15:54 +0200 Message-Id: <20230413091557.10659-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230413091557.10659-1-brgl@bgdev.pl> References: <20230413091557.10659-1-brgl@bgdev.pl> 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 ; Thu, 13 Apr 2023 09:16:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/179963 From: Bartosz Golaszewski python3-profile is required by python3-packaging at run-time. Signed-off-by: Bartosz Golaszewski --- meta/recipes-devtools/python/python3-packaging_23.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3-packaging_23.0.bb b/meta/recipes-devtools/python/python3-packaging_23.0.bb index 7b69c880c1..c3d748911c 100644 --- a/meta/recipes-devtools/python/python3-packaging_23.0.bb +++ b/meta/recipes-devtools/python/python3-packaging_23.0.bb @@ -11,6 +11,7 @@ BBCLASSEXTEND = "native nativesdk" # Bootstrap the native build DEPENDS:remove:class-native = "python3-build-native" +RDEPENDS:${PN} += "python3-profile" do_compile:class-native () { python_flit_core_do_manual_build From patchwork Thu Apr 13 09:15:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 22599 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 0009BC77B77 for ; Thu, 13 Apr 2023 09:16:21 +0000 (UTC) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mx.groups.io with SMTP id smtpd.web10.8223.1681377373848198564 for ; Thu, 13 Apr 2023 02:16:14 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=Xp3nO4ms; spf=none, err=SPF record not found (domain: bgdev.pl, ip: 209.85.221.54, mailfrom: brgl@bgdev.pl) Received: by mail-wr1-f54.google.com with SMTP id j11so17152061wrd.2 for ; Thu, 13 Apr 2023 02:16:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1681377372; x=1683969372; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hv4jMx5HYbZJ3JV/pRpC6ui8Z+mNc+LyW1/O/76aS6Q=; b=Xp3nO4ms0SDoaXzyKT1IpZn0dRuTcRbozZfnBJglAKG3VAM09PwOisEuTGUlpb/Xy8 bVCCeV4RKfpGolXoFEHNqd6bzpvccGurKomeDvLc53KY2qw6ReftFhym4h37pCyHzHmY ni08gOOzT+IyqGKDonViN98BaxHPahj8eAC0NBXYAzbTMM14u9uGCsvSRDC5n+RJ8lFM tsjDo6KxwySwTCrlslq2VUnYeQf2G33AjqgxmEaI5308VXIEMcVTKZD0d6c8IepWvckU ub6rWEEkFzmE27ULCIYJSVkrbDd/X+CE8rkuq7+gECT6dexMKNj7+0j+VyeoRyfjbDxz HrKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681377372; x=1683969372; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hv4jMx5HYbZJ3JV/pRpC6ui8Z+mNc+LyW1/O/76aS6Q=; b=bIs8E3gmZ/NXDB3DJE1RfPlCcFkg1v/bcbOurc/2M3ZYMAw56QeGduK9XW+8LI8UHz 3NVMwDDZXvxo8pO7yhrh8U5S1Wlr4IBOnX+NaiF2S8ghVKhv18g4OCDqZTRjv4oYt7ex 5aqncF7JHyIor3Bvfz7YhcN08huNJoAr8ddK3/dT3ozUm++0+K2P0fYWH7nEYN539QIz MUAlBuQw1UV7YkMfDlzH1nmgqR4ixeimHE8FE4L+fJ3oEQL7g9zsNucNDyOaNh55cZov 1ifZ/dI5cAb/sTpoo+yZXgoWRetKIN5Yr/DBGkqaFtNtl07O61ch3EHpq0qeRUaqWL34 foCQ== X-Gm-Message-State: AAQBX9dqUL5prjQml+LopatPvBx43+KK/Mi5X4oBuGBNOjN0amNWiCRw tDYTj0LjJkWA7zbQZvec+hS6Jw== X-Google-Smtp-Source: AKy350a7Psg7C1RwtD/hNa/0jPxMk7H/0OM0IV6huGE5J/ePUDsSj10x6SFuNdTP2g6o219DWaeWjQ== X-Received: by 2002:adf:eacf:0:b0:2db:bdc2:f8da with SMTP id o15-20020adfeacf000000b002dbbdc2f8damr673665wrn.71.1681377372306; Thu, 13 Apr 2023 02:16:12 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:814c:fc8a:da02:39ad]) by smtp.gmail.com with ESMTPSA id e16-20020a5d4e90000000b002f2782978d8sm851479wru.20.2023.04.13.02.16.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Apr 2023 02:16:11 -0700 (PDT) From: Bartosz Golaszewski To: Khem Raj , Bruce Ashfield , openembedded-core@lists.openembedded.org Cc: Bartosz Golaszewski Subject: [OE-core][PATCH 3/5] python3-manifest: add tomllib Date: Thu, 13 Apr 2023 11:15:55 +0200 Message-Id: <20230413091557.10659-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230413091557.10659-1-brgl@bgdev.pl> References: <20230413091557.10659-1-brgl@bgdev.pl> 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 ; Thu, 13 Apr 2023 09:16:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/179964 From: Bartosz Golaszewski Add the TOML parsing module from the standard library to the manifest. Signed-off-by: Bartosz Golaszewski --- .../python/python3/python3-manifest.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json index 498402af42..9e91270a50 100644 --- a/meta/recipes-devtools/python/python3/python3-manifest.json +++ b/meta/recipes-devtools/python/python3/python3-manifest.json @@ -829,6 +829,7 @@ "stringold", "syslog", "terminal", + "tomllib", "threading", "tkinter", "unittest", @@ -1179,6 +1180,22 @@ ], "cached": [] }, + "tomllib": { + "summary": "Provides an interface for parsing TOML", + "rdepends": [ + "core", + "datetime", + "stringold" + ], + "files": [ + "${libdir}/python${PYTHON_MAJMIN}/tomllib/" + ], + "cached": [ + "${libdir}/python${PYTHON_MAJMIN}/tomllib/_re.*.pyc", + "${libdir}/python${PYTHON_MAJMIN}/tomllib/_types.*.pyc", + "${libdir}/python${PYTHON_MAJMIN}/tomllib/_parser.*.pyc" + ] + }, "unittest": { "summary": "Python unit testing framework", "rdepends": [ From patchwork Thu Apr 13 09:15:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 22600 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 E40CEC77B61 for ; Thu, 13 Apr 2023 09:16:21 +0000 (UTC) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mx.groups.io with SMTP id smtpd.web10.8224.1681377374438276775 for ; Thu, 13 Apr 2023 02:16:14 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=oh8ArINa; spf=none, err=SPF record not found (domain: bgdev.pl, ip: 209.85.221.45, mailfrom: brgl@bgdev.pl) Received: by mail-wr1-f45.google.com with SMTP id q6so2046341wrc.3 for ; Thu, 13 Apr 2023 02:16:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1681377373; x=1683969373; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=e70GyXyT5rR+Y7WS9BWUzz7W3/z1ndNr4Fv4KAWNvX8=; b=oh8ArINavz1+ad933muL4y6S8wD2R711g7yo35P7OH9phNx6qs4FGqoto2ll6jsjyK sBGlf5VMvembVy7KPgeThFEVcBAhfXxVyQXlM7v4oURQKvwq4HHeH3pNDUmDX1q8YRVL BUE+7HU9I2CmrozevVFdnMZPAy9Bs2zhYkfD7/BHQy9m7fD4/tIk9pDLtGsYObLyDcoJ ++F7aovmS2yJlG+CW4bLZOr+ncKZALF/69acZ0UUkl1KmQJqgkT5ZqOD0+FZSMPYu+9J BrQaG6IcaiNq8pbCYgFUH6ut83+vEw5PH4xgIcTP+inhJmXcK5mNpkaScm2O+4etTEjC Zmzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681377373; x=1683969373; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=e70GyXyT5rR+Y7WS9BWUzz7W3/z1ndNr4Fv4KAWNvX8=; b=DUVp/wUOL0IWeIEGpZr+U7lLpjD+GyyNTfo6VWq+nUyRumxKyb0IK9a/oDVaa+pteM DOLh45uEAxBF3NgfyEId5+eCwTL3o0h7BImf30qQJIkkD4vsidUyqWBw5EmdNqHW1HfZ Hkpwd0yW/dcVlUjDKYDImB48T8WluNtEJVTYNkFByVouRhNqy/w1ZIDnB14h0wjtbFgS Q1kzsuYj0SQCAFKmULSBf6Fj/5IQiRzWv4NF2Xwu3S6k4EnkD/4q3wCHBq2APUW2C659 NdyEuuDjdn4uo/eHcFMdzDNTQrTpMTD22NLLLWUyMAXydgt/NqILnRPbB/Kz+spjyzUc W4Sg== X-Gm-Message-State: AAQBX9dAiB6iRvgJDbIef1BKmxpWQKZPuT2P+jD6+CZ0VJexhOdDerEA 8i8cq1DQvUeDOndUU+aGRqyWxHzCGqE4BXjWhH8= X-Google-Smtp-Source: AKy350bpzdZ7dN5qQLilmF4A9WjWKGZsB+Q1tc81umdGLp4hrK1S1YnAOGS0Fn0LNFQHLlmXDvjiHA== X-Received: by 2002:adf:dc8d:0:b0:2f5:83a8:a9a9 with SMTP id r13-20020adfdc8d000000b002f583a8a9a9mr1056948wrj.16.1681377373033; Thu, 13 Apr 2023 02:16:13 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:814c:fc8a:da02:39ad]) by smtp.gmail.com with ESMTPSA id e16-20020a5d4e90000000b002f2782978d8sm851479wru.20.2023.04.13.02.16.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Apr 2023 02:16:12 -0700 (PDT) From: Bartosz Golaszewski To: Khem Raj , Bruce Ashfield , openembedded-core@lists.openembedded.org Cc: Bartosz Golaszewski Subject: [OE-core][PATCH 4/5] python3-manifest: add ensurepip Date: Thu, 13 Apr 2023 11:15:56 +0200 Message-Id: <20230413091557.10659-5-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230413091557.10659-1-brgl@bgdev.pl> References: <20230413091557.10659-1-brgl@bgdev.pl> 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 ; Thu, 13 Apr 2023 09:16:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/179965 From: Bartosz Golaszewski Add the pip bootstrapping module from the standard library to the manifest. This module is a run-time requirement of python3-build. Signed-off-by: Bartosz Golaszewski --- .../python/python3/python3-manifest.json | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json index 9e91270a50..f278b18775 100644 --- a/meta/recipes-devtools/python/python3/python3-manifest.json +++ b/meta/recipes-devtools/python/python3/python3-manifest.json @@ -610,6 +610,28 @@ "${libdir}/python${PYTHON_MAJMIN}/__pycache__/imaplib.*.pyc" ] }, + "ensurepip": { + "summary": "Support for bootstrapping the pip installer", + "rdepends": [ + "asyncio", + "compile", + "core", + "ctypes", + "image", + "io", + "mmap", + "plistlib", + "pprint", + "unixadmin", + "xmlrpc" + ], + "files": [ + "${libdir}/python${PYTHON_MAJMIN}/ensurepip/" + ], + "cached": [ + "${libdir}/python${PYTHON_MAJMIN}/ensurepip/_uninstall.*.pyc" + ] + }, "fcntl": { "summary": "Python's fcntl interface", "rdepends": [ @@ -800,6 +822,7 @@ "distutils", "doctest", "email", + "ensurepip", "fcntl", "html", "idle", From patchwork Thu Apr 13 09:15:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 22601 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 E6DBAC77B6F for ; Thu, 13 Apr 2023 09:16:21 +0000 (UTC) Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by mx.groups.io with SMTP id smtpd.web11.8163.1681377375378316206 for ; Thu, 13 Apr 2023 02:16:15 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=liGS3NSs; spf=none, err=SPF record not found (domain: bgdev.pl, ip: 209.85.221.42, mailfrom: brgl@bgdev.pl) Received: by mail-wr1-f42.google.com with SMTP id g5so16887427wrb.5 for ; Thu, 13 Apr 2023 02:16:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1681377374; x=1683969374; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=j9k06+VfSpqfGkNMQfngh8+HwWzLk0mBUDU8ovHtWAo=; b=liGS3NSs1Fl24V8nNbyuOpmfhMdpF8lV+xY+nqAdEsK5baIYrpdanYsgxfbEI3G8+/ WDRmOXjp0pJBhGOr31/lRCarxdYXDy9TAclLD7usO9KFDJQCY41LuUq+DReu8jlPaFo6 afsfFfGbnc+Vtvweui4g12Ub67xOcz4ht1WcMS+Q31xhG3U5O7DrR6z+jf24H6PhIsIJ UYqJBneSKFg22aw6n8KuClpxnvyvCUuQ/UCrn5YPZzI1Ddy/osPGxAFfjPQjcW3GPrIF zSdetuG5X6/6ENY2a3m+OzfgwffU/TuLBydAIPR+QKSoHcHHiMv1yI5cGP+IR2oqvdiC QybQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681377374; x=1683969374; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j9k06+VfSpqfGkNMQfngh8+HwWzLk0mBUDU8ovHtWAo=; b=IIKlkfazr9J1cF06ttRKBOS7szLp74nxyvzZ7DdFPlItq2Z4FipW0de82IpAxQE9Dj zs0LSWpWye63cQWsXcC95aP1ojCD4UFwo61QTyrtvnfFS/6SeM+PhDyIfNYydEpDIyGP TTT4WxFouPeMzLoULl2/Fn1ViqXqxT6mUT0rI0bRqoAtEOMIIzUNT03r5jUIgaFgQde5 etzdHJ1NSKXwr5CEgnOF7z98epQOD0jf2wKmZbJ+dlUl34hnxkvylgZ2qr/yd1Y6NppQ ZE+gsUstjNgMNhbbG4nc8uphijR6ntv05IlIvPyA1n0+0iKEBYnZ45EY170zSykMtZsZ bepw== X-Gm-Message-State: AAQBX9e/kxzmFIpR9aOilRSuTlQu36IMq5z3k33H0eEtB+PJWCSf6IoU fbdQH/vyQAW6PX0O4dSrztxnDw== X-Google-Smtp-Source: AKy350bDCGaLOIq9OQwtEEKwBIGl7E7MSTWx6/AmGNf5o2/F/dFHOBenwxelxS4XZnhkqbe1HR64EA== X-Received: by 2002:a5d:55cf:0:b0:2f5:aadb:4642 with SMTP id i15-20020a5d55cf000000b002f5aadb4642mr901444wrw.41.1681377373908; Thu, 13 Apr 2023 02:16:13 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:814c:fc8a:da02:39ad]) by smtp.gmail.com with ESMTPSA id e16-20020a5d4e90000000b002f2782978d8sm851479wru.20.2023.04.13.02.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Apr 2023 02:16:13 -0700 (PDT) From: Bartosz Golaszewski To: Khem Raj , Bruce Ashfield , openembedded-core@lists.openembedded.org Cc: Bartosz Golaszewski Subject: [OE-core][PATCH 5/5] python3-build: add missing run-time dependencies Date: Thu, 13 Apr 2023 11:15:57 +0200 Message-Id: <20230413091557.10659-6-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230413091557.10659-1-brgl@bgdev.pl> References: <20230413091557.10659-1-brgl@bgdev.pl> 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 ; Thu, 13 Apr 2023 09:16:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/179966 From: Bartosz Golaszewski python3-build has several run-time dependencies that are missing from the recipe. This makes it impossible to use the module in self-hosted images. Add missing RDEPENDS. Signed-off-by: Bartosz Golaszewski --- meta/recipes-devtools/python/python3-build_0.10.0.bb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-build_0.10.0.bb b/meta/recipes-devtools/python/python3-build_0.10.0.bb index 770a32023d..b446fa391d 100644 --- a/meta/recipes-devtools/python/python3-build_0.10.0.bb +++ b/meta/recipes-devtools/python/python3-build_0.10.0.bb @@ -18,6 +18,15 @@ do_compile:prepend:class-native() { export PYTHONPATH="${S}/src" } -RDEPENDS:${PN} += "python3-packaging python3-pyproject-hooks" +RDEPENDS:${PN} += " \ + python3-compression \ + python3-difflib \ + python3-ensurepip \ + python3-logging \ + python3-packaging \ + python3-pyproject-hooks \ + python3-tomllib \ + python3-venv \ +" BBCLASSEXTEND = "native nativesdk"