From patchwork Fri Apr 11 00:41:50 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 61140 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 E193CC3601E for ; Fri, 11 Apr 2025 00:42:06 +0000 (UTC) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mx.groups.io with SMTP id smtpd.web10.14016.1744332126115654155 for ; Thu, 10 Apr 2025 17:42:06 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DWT+YuSN; spf=pass (domain: gmail.com, ip: 209.85.210.174, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-736a72220edso1459091b3a.3 for ; Thu, 10 Apr 2025 17:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744332125; x=1744936925; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=uFhnIk+6g8bFvEIj2XJvSGe8Xb8FzCsiPn7wExuuQ6k=; b=DWT+YuSNLylRwtpWLj/VsJNmatE9CGY6eRk7OcX8yBQGuJIc6BncjjXScuV1xaCBtp Zw0xFkBZcxMQEIMfvmCFCxCvuouy4glbOu5FDqh2xK22HM+GcRirk9bzzLfQph5Pe4d7 cpbqmoMdhYShAZY6OKkGiufiWnaDOpSaQ/0C7aT5qn3j11UP581wqgfojj02TURafdMV ihnT7yA1oCQPx7moSo/zhIxa3aN2COfTUshh+OWRKftfQk7qXjjdKZdvdXQxd2gs+Ucc yglCuatcn3D8KTHg1DuRu8wWK86bZbA1z6d0a70oAJoDcXxT3Uwd4WU4cG+Y81uOctw/ Lflw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744332125; x=1744936925; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uFhnIk+6g8bFvEIj2XJvSGe8Xb8FzCsiPn7wExuuQ6k=; b=E9Lrxox0SRA9FFSAM9NIVi49KipbjoqdJwl8LBE1UeWFlpRzOLL6KcUDrRqhKelLCT 28l+Uw2/otXz6656MuUlMaOaZIp30bu/KHOwKyA1zaOH1jbE3NeXqHnNkriyrmfuwuHW 3OZIchs7raSY2vXLxilDAekJugK8ywlf01WhOA75zLfaxRq/CBGtp1Vn3IpQ68sHuVkb 0RW1/ZQy2vQlfiOjd+yqYKtLiJsyLIyraSA9ckoSlq5u+73IwfF/5kpNYWp54On6GGmK lpc/O3kEX8vcQAjwtbeIlPip1qiE2IdCsMj8DKc48GbovgViA0ypPkhMFpmjyljzse7x RjbA== X-Gm-Message-State: AOJu0Yxr/PBrGyAg9vQMc2jfSmNc8UqKTxXIT1KG5/E3W+sSJ/pjeUah t92qk8/17lECzxUxypO/C532MpRtgZLTSgx1KlwDvREKkNo3vqdk5ZIjBkyz X-Gm-Gg: ASbGncvB1fB7kfz30KsDuzoT+ZJ8TlrPnUPxnhRKTV86Pk9Ak2suR9TiuVTV9rx7G1B 3hTvZJPMjMH3M6MdocYuF996r11XONB7vjnvcaXLrk+6o5pPD6QdNYydG4XJs/wb6Sxw4IWsNve UpPgMYrZTpdd7pl5ubwuSVauCVmGg+Dp6Xa7BKW2Se0x5pQv4B0NIB36Pp/XLuGMn+2HBTitvs0 Nn/iNNf38inBv3M1LFRBAm8lsPKb4UfLUwwFUWmgt4TUG5ayl8ylvA5lHN1sa9vIR679oz1mZhg W6AoFiFTBqixiNvKHqM3DIPDq7cL+P+S X-Google-Smtp-Source: AGHT+IEJl27TpMrjLuv0b4eLTPJPV43vxhYY0Ns1npS0DrOERLXKxzJ5w7KmdW2fgyNxb1MDp30s8A== X-Received: by 2002:a05:6a20:9c97:b0:1f5:79c4:5da6 with SMTP id adf61e73a8af0-2017978093dmr1263685637.5.1744332125034; Thu, 10 Apr 2025 17:42:05 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::c043]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73bd21c6464sm226987b3a.64.2025.04.10.17.42.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Apr 2025 17:42:04 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Rob Woolley Subject: [meta-oe][meta-python][PATCH 01/12] qhull: Add recipe Date: Thu, 10 Apr 2025 17:41:50 -0700 Message-ID: <20250411004201.3826913-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.49.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 ; Fri, 11 Apr 2025 00:42:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116775 This recipe is needed to build latest version of matplotlib python module when internal vendored modules are not used which is preferred here, avoids complicating recipe to counter meson's wrap logic Signed-off-by: Khem Raj Cc: Rob Woolley --- .../recipes-extended/qhull/qhull_2020.2.bb | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-oe/recipes-extended/qhull/qhull_2020.2.bb diff --git a/meta-oe/recipes-extended/qhull/qhull_2020.2.bb b/meta-oe/recipes-extended/qhull/qhull_2020.2.bb new file mode 100644 index 0000000000..4533b0a337 --- /dev/null +++ b/meta-oe/recipes-extended/qhull/qhull_2020.2.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "library to compute convex hulls, Delaunay triangulations and Voronoi diagrams." +HOMEPAGE = "http://www.qhull.org/" +SECTION = "libs" +LICENSE = "Qhull" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=484ee0cacf0472e8b40225b116f6296c" + +SRC_URI = "http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz" +SRC_URI[sha256sum] = "b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e" + +CFLAGS += "-fPIC" + +EXTRA_OECMAKE += "\ + -DCMAKE_SKIP_RPATH=ON \ +" + +inherit cmake + +# The QhullTargets-noconfig.cmake checks for the executables despite not +# needing to execute them for the build. Staging bindir to the sysroot +# allows us to pass the check without building qhull natively +SYSROOT_DIRS:append = " \ + ${bindir} \ +" From patchwork Fri Apr 11 00:41:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 61141 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 D3F5BC3601E for ; Fri, 11 Apr 2025 00:42:16 +0000 (UTC) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mx.groups.io with SMTP id smtpd.web10.14017.1744332126957892502 for ; Thu, 10 Apr 2025 17:42:07 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ByuqmKff; spf=pass (domain: gmail.com, ip: 209.85.210.170, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-736e52948ebso1631200b3a.1 for ; Thu, 10 Apr 2025 17:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744332126; x=1744936926; darn=lists.openembedded.org; 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=7GXUvNu575NOkmJXeAs5GI5mfCwyFTFirFI5isEuzUU=; b=ByuqmKffboQ0kqEgRCoSD9m7PHD3LfClGIVg9hJWaZIfoic0sBvXTDV12L8NPapIUY CHKoO51C+8CXcuve4WDeZEY5iVgWVgU/sBphbTTZrpy1mcSza17seO6zmC727U0R056+ rI75QgjOPou7ekaQN/kN1YEolwj0B+PpvVUYe6T5o1Gt6kyXkvD4diHMmXzP7buy8rZe i/spImVmXt6XQs8S9dp7DHzA9c2pXD/ioeUpxkS8uARKYXt5tnZ6B7f2iui3Zld9Yr4i X6QIkichd6dNIlARLszuGDGNq5GvCRCps2uiE40QDnvkNw+EnsXlrngpP97JiTXrhVEm dU1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744332126; x=1744936926; 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=7GXUvNu575NOkmJXeAs5GI5mfCwyFTFirFI5isEuzUU=; b=uduTTlkR06i9OdKcN/FKZn8KIGbmpfW95iJqza/duZO32OLzitrC4yyVLRS1IEgXjL SJdx4azyMJ0sP4txvcBBcBTutLDf36sG7yTJvoHssSoiHhA6d5X2zfmCfRPXi7zOawEN tNsXcqS24FBdseSYgjUEFNbfVUOi9LAoMSz2ec1BNi5wRhHctlIDC4BvV8RGPZ/ZLeV2 ziRcHQh7jC7Ci4r7UR9i7z7+W5FDJGI5GLUIiDM+1wJrhwRD+jI9qcN3QwuVfYBlLKaq sG2vfgKA6tpMrJFrICO6twqB20Kp/elr+/S5OaFrCDPqYzPKZlpbMAXVIHuIf5oArRWk Xs9w== X-Gm-Message-State: AOJu0Yy9uJTnHD42IJmT9FNIxrzIW9E3RztN857rDVS7VUrIFDxgXE3z d3KymO8FdrgLL23uN7bUpmVsfln71HgFaOR+KOyo4CK46jUi5AIK+3h6M5lO X-Gm-Gg: ASbGncvGLZ2AKcE73Ap7snFDp1Oytf8KYntbUK0oN5SOH0YzGkNmuxC63Dkexj0ScfS cGemy+Kya0qR5QQqGdu4f7zTwPnEImOqTGSHDwJ/vjFCKqRLa5ZY8y3oTw+TXn122jyiNzFvvo+ hfoK1hJr6prOihR+RgyFsYLwO+jn7AEoxXYdy4VcqHB/c8YKA3Me6hTuv6Dg4ubsdgNQfaiYVH8 CHmt5dxHeIyQU7FhHj3XDTAkqh8o1unRHNoPUCtMeomh7mIuKztOIgAg3OU/KQlULhp81RAvVPf MkpjKAHOar+6ilxTlojBToANbE5PkbWF X-Google-Smtp-Source: AGHT+IEj8GLU2YIwpVKzzcoPz14zlzDaVFjpyePjzR81ypEfgp3Hrw7egDSZo1spifQ4ulEmLlAZ2w== X-Received: by 2002:a05:6a00:b89:b0:736:562b:9a9c with SMTP id d2e1a72fcca58-73bd12b1a09mr1194131b3a.18.1744332125984; Thu, 10 Apr 2025 17:42:05 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::c043]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73bd21c6464sm226987b3a.64.2025.04.10.17.42.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Apr 2025 17:42:05 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 02/12] tftpy: switch to PEP-517 build backend Date: Thu, 10 Apr 2025 17:41:51 -0700 Message-ID: <20250411004201.3826913-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250411004201.3826913-1-raj.khem@gmail.com> References: <20250411004201.3826913-1-raj.khem@gmail.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 ; Fri, 11 Apr 2025 00:42:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116776 Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/tftpy_0.8.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/tftpy_0.8.5.bb b/meta-python/recipes-devtools/python/tftpy_0.8.5.bb index b2c7467df6..3ff5f47d8a 100644 --- a/meta-python/recipes-devtools/python/tftpy_0.8.5.bb +++ b/meta-python/recipes-devtools/python/tftpy_0.8.5.bb @@ -10,4 +10,4 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=22770e72ae03c61f5bcc4e333b61368d" SRC_URI[sha256sum] = "dd38e3744530d0c30fa1c715d7fa454319bc8d399bb40c05839cc771f05d0e6c" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta From patchwork Fri Apr 11 00:41:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 61142 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 D1A38C369A8 for ; Fri, 11 Apr 2025 00:42:16 +0000 (UTC) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mx.groups.io with SMTP id smtpd.web11.14145.1744332127859810151 for ; Thu, 10 Apr 2025 17:42:07 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Ip9S3Gou; spf=pass (domain: gmail.com, ip: 209.85.210.177, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-7369ce5d323so1274128b3a.1 for ; Thu, 10 Apr 2025 17:42:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744332127; x=1744936927; darn=lists.openembedded.org; 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=7ZK/7XHnvCLlPzn7hjwj2oY2vgSUHloL8qi1rkbEo0g=; b=Ip9S3GouWQUSd5k6w1Gq9cLiUqTejky0gCtEuM78Q/WPdYFNC+Vw3d4z5ccp/jNj75 x1B7+FoUlHfp87Yqi0qVa236jLXjzCO01RWsF/N1nup9jH7aB7DzJMuJ4BTSa81AkoVv E9/p1H6Gu36F8g8Z3Yz7uReBC4YvoFtnTN4qsgoFMBULHiagsw/75H4N3VAdeQUVlyS4 PiWnkiIrdJ6aNxZmQEWh5q9bbbMwlnhQwxMUbQey846b+sgjzk4E03nsOukSPw3xy8+r ATAALZyBkK17SE8jTYQXpBQgjB067iIYbh/4Ph5qLMvVz48+RG/yVBENaqNgsvQlhgHD iSXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744332127; x=1744936927; 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=7ZK/7XHnvCLlPzn7hjwj2oY2vgSUHloL8qi1rkbEo0g=; b=S3qaYen6C3Cc3Kcs2PBX5guiz1gFx4gA9My/SGiVzi87COmsVogdXc0gvRIzQVX8ta LHOghfWxwjVLJ2VrpIbYHxqFL4kMhMtOnxCvJlVSVKKYKbhsiWun/pmiafLZOfS8l9gy ypn+7ZDp7f9yA4lcnl5cJD+HNgmR7k5Qn9822eC+SNed5K8umC/C7Zi8JPnkmpTfT09X pK6/ArXiJBQ1Ud40C6zyWrLR5SHmhy4WMFAZsgJupqVcCUIqk1l/eE+1r7fGp13PwJzo UiUeiak6VWqxe3C5iBGI6Vnr0PoLj+z/5Lhkl5QvlRKoy5NZ4XtPBnST7R3jO0v6f/69 rnaQ== X-Gm-Message-State: AOJu0YxWuwmqP4KtPPxhO/MvO7mW1wLXtK+D4yU9edCXHlr1XvMz3h5G LNDQRE8zAEpalmjmy5OiWPwWSMQ1QNHtDl7VTHB7AtyWxmyrWtzRV0Lg/K0m X-Gm-Gg: ASbGncv03WHtLJSBHnXA8ipaCyJVLiYjMYwnUHmieb4kHqKkEMqTs6SsDSEN8Js/m/Q TzRcfZ7tE5wTQzpaX1FL7loDznqvSsK/RyosNcw6ol1EKtCQy2jLZtqlcNm1zpBMBlQz41yVijn 0AsUyWy+qNZoDE8MwI6Qxrc/FwHKiBpvwrUWya7K6BQHqpE90l2NmjrPKwJWsLLgaBLwEIdYtdK emmlfbOxHPQBaaAhV6z8C+M+Gz/1YWy9w4bFYCK2YgZBKCdEiqrsCGr6/YO0bMvV2jIv0lndGxF yoLc0Y8sMCOxAxgmFJklvHe9gbsQrHfiVXNxfLl/78I= X-Google-Smtp-Source: AGHT+IG/0+dnJXQ152pBFB1WEmAlvAZ8GI8qQ8ln6jOWL3lbYl6Xqs7ShYYSKIOHNKHBenbBPieRuQ== X-Received: by 2002:a05:6a00:3a16:b0:736:450c:fa54 with SMTP id d2e1a72fcca58-73bd11dbfc7mr987273b3a.6.1744332126935; Thu, 10 Apr 2025 17:42:06 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::c043]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73bd21c6464sm226987b3a.64.2025.04.10.17.42.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Apr 2025 17:42:06 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 03/12] python3-fastnumbers: Switch to PEP-517 build backend and enable ptest Date: Thu, 10 Apr 2025 17:41:52 -0700 Message-ID: <20250411004201.3826913-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250411004201.3826913-1-raj.khem@gmail.com> References: <20250411004201.3826913-1-raj.khem@gmail.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 ; Fri, 11 Apr 2025 00:42:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116777 test run takes < 1min, added to PTESTS_FAST_META_PYTHON Signed-off-by: Khem Raj --- .../conf/include/ptest-packagelists-meta-python.inc | 1 + .../python/python3-fastnumbers_5.1.1.bb | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index ca91065af0..58f53dedc7 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -22,6 +22,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-dasbus \ python3-dominate \ python3-execnet \ + python3-fastnumbers \ python3-flask \ python3-flexcache \ python3-flexparser \ diff --git a/meta-python/recipes-devtools/python/python3-fastnumbers_5.1.1.bb b/meta-python/recipes-devtools/python/python3-fastnumbers_5.1.1.bb index 28ef40fa05..3a92fe0ab4 100644 --- a/meta-python/recipes-devtools/python/python3-fastnumbers_5.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-fastnumbers_5.1.1.bb @@ -7,4 +7,13 @@ PYPI_PACKAGE = "fastnumbers" SRC_URI[sha256sum] = "183fa021cdc052edaeede5c23e3086461deb7562b567614edf71b29515f5fa4b" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta ptest-python-pytest + +DEPENDS += "python3-setuptools-scm-native" + +RDEPENDS:${PN}-ptest += "\ + python3-ctypes \ + python3-hypothesis \ + python3-numpy \ + python3-typing-extensions \ + " From patchwork Fri Apr 11 00:41:53 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 61144 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 D033FC369A6 for ; Fri, 11 Apr 2025 00:42:16 +0000 (UTC) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.web10.14018.1744332129140684961 for ; Thu, 10 Apr 2025 17:42:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ExqCi/k9; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-7369ce5d323so1274138b3a.1 for ; Thu, 10 Apr 2025 17:42:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744332128; x=1744936928; darn=lists.openembedded.org; 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=5EqtalLp31NiTdsLpJyrag6UvKK7k7RKmKCy0s7hx1o=; b=ExqCi/k9hmfPAXJTuCjIJJ5TAPzIG7ecg90VDe+mUBOGezCp16FieAm4O5xcWhPPOk fR9OEHFUXpQMGdUPV4uAGMrNEh9+JHjMX57Jx8HEM1hevQgsCVXo/fevSV06DgxSX+9J RkrWsV5ewjE7MLp29NiefdAEo/9OlD5sdQ5eEL2CWZV27Zkx6uUUJp3jyjzpOYjKyfa6 tJwAy6xssxlU78/w9TFh1B0Kjos1T+24q1Op7SAcB1iKfhpDaCCY/S7mUwxBO8APDTqF KsS0bYJoUP9FVVeSv/Y+Ps9V+9StCY131KUuUfluMYc2YaLDihuTjgZaZPexRZfs4p+j 90rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744332128; x=1744936928; 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=5EqtalLp31NiTdsLpJyrag6UvKK7k7RKmKCy0s7hx1o=; b=spscqifaN40Q8HFIF5TuZVhc3QEKU/uoXQUaxd3R/v2TuubWPFOJZ6c3F3K5hHL0Di ayVpQ69kVtDEjoaYD7krSaF53GliMLJzw6XlyUosETCaaFyuCofyeeSiAcM/oFVQWB5a WviN/Ngbgw7aYOZoGE0drLeW/drDBixFxcUZa8/i2zztq+wmwIE+WUjYdcSeOTN2oX2u ucQNAq0U1QJT93/6PGqDk8xO/V/BlaJVRJq9qqdkrgITILHb1BpmNgz6VNnVQwx/YG0Y KkWikrBcEM5tLOAc5MNdR2a88B0ZjH0Ry0gG4IyFhteuBYVsslKf2AoW6xhelX3zSGMn lc7A== X-Gm-Message-State: AOJu0Yz3yGqJQUqRDD5c2V7B7AeLV+nqYdupXNpIeuv7/33UT0DbG92H lNtc44XOuK4a8a2bGwa0XPzgDAsHnKrd8qA/tQUPGQK7sL7BidnHUkokBqgB X-Gm-Gg: ASbGnctOmZq4PcTCe+OZVsnHbNXvHG+1qS6FPk0Vo+h+UoBCBo/UvcAdxzJXyr7qLac kyllAIeGzNrsvUJGRO0bwOl4N0d0h9DwkDxwnDtyTarDkbs0TPpd3EH6oDd6wXHCE7uj4XgCmhF ClpYqCjQPFhx0R1axWHU36ADmVZ6EbKknu4zOEzijtRsSfC6Y2fT41Xl9pNMI9P8k8pgzeO7jEq 0SYx3vaIMVew76QrCJEc4OA47Hf6dz1tMihEjzqbs+kt32Ad++QAW9D7wp6rX6q+wqJc4hmmjxS jPTcoAUpW6xraixqoI3GkqEQKlrv07oZ X-Google-Smtp-Source: AGHT+IE7FLB8sl33o9InhO3o3cSCf4d6EAov/0HR539aut0qaTmom0Bk+/oKDrlwAol+y4xqRijvuA== X-Received: by 2002:a05:6a00:4644:b0:730:95a6:375f with SMTP id d2e1a72fcca58-73bd1199eaamr1286571b3a.3.1744332128178; Thu, 10 Apr 2025 17:42:08 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::c043]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73bd21c6464sm226987b3a.64.2025.04.10.17.42.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Apr 2025 17:42:07 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 04/12] python3-pyzstd: Switch to PEP-517 build backend Date: Thu, 10 Apr 2025 17:41:53 -0700 Message-ID: <20250411004201.3826913-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250411004201.3826913-1-raj.khem@gmail.com> References: <20250411004201.3826913-1-raj.khem@gmail.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 ; Fri, 11 Apr 2025 00:42:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116778 Add ptest support while here Signed-off-by: Khem Raj --- .../ptest-packagelists-meta-python.inc | 1 + ...-setuptools-dependency-from-74-to-79.patch | 27 +++++++++++++++++++ .../python/python3-pyzstd_0.16.2.bb | 3 ++- 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-79.patch diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 58f53dedc7..bdb4482dc5 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -70,6 +70,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-pytoml \ python3-pyyaml-include \ python3-pydbus \ + python3-pyzstd \ python3-rapidjson \ python3-requests-file \ python3-requests-toolbelt \ diff --git a/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-79.patch b/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-79.patch new file mode 100644 index 0000000000..8fc26bd90b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-79.patch @@ -0,0 +1,27 @@ +From e648bb2439cad0d2ce47875edc7944d0b446fdb4 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 9 Apr 2025 14:38:31 -0700 +Subject: [PATCH] Bump setuptools dependency from 74 to 79 + +Upstream sticks to 0.74 since setuptools have dropped msvc9compiler +support beyond that which is needed for python 3.9 on windows. We +do not have this problem on Linux + +Upstream-Status: Inappropriate [OE-specific] +Signed-off-by: Khem Raj +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index dd885e4..9f273b3 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,6 +1,6 @@ + [build-system] + # setuptools 64+ support --build-option + # setuptools 74+ drops distutils.msvc9compiler required for Python 3.9 under Windows +-requires = ["setuptools>=64,<74"] ++requires = ["setuptools>=64,<79"] + backend-path = ["build_script"] + build-backend = "pyzstd_pep517" diff --git a/meta-python/recipes-devtools/python/python3-pyzstd_0.16.2.bb b/meta-python/recipes-devtools/python/python3-pyzstd_0.16.2.bb index c1abd59f60..e1c24404e8 100644 --- a/meta-python/recipes-devtools/python/python3-pyzstd_0.16.2.bb +++ b/meta-python/recipes-devtools/python/python3-pyzstd_0.16.2.bb @@ -8,9 +8,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aedb5a2679cd1552fb61c181ef974b9e" PYPI_PACKAGE = "pyzstd" +SRC_URI += "file://0001-Bump-setuptools-dependency-from-74-to-79.patch" SRC_URI[sha256sum] = "179c1a2ea1565abf09c5f2fd72f9ce7c54b2764cf7369e05c0bfd8f1f67f63d2" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta ptest-python-pytest # clang-16 with -flto segfaults on arm, therefore ignore flto for now do_configure:append:arm:toolchain-clang() { From patchwork Fri Apr 11 00:41:54 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 61143 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 E0F07C369AA for ; Fri, 11 Apr 2025 00:42:16 +0000 (UTC) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.web10.14019.1744332130348677436 for ; Thu, 10 Apr 2025 17:42:10 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FqKly9h0; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-736aaeed234so1167126b3a.0 for ; Thu, 10 Apr 2025 17:42:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744332129; x=1744936929; darn=lists.openembedded.org; 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=Awq7CSsaGaVyPPpT1rR9mNl/M3CrPRW48azLSqfV5X8=; b=FqKly9h0LKHMNsTn8NeBg6+K2Mn58ZpaKIClh5EozwOGjA/jpwDEoo1JEU7Mkfp6wP BDXPXMuullVy1SUuq28VOP0jMB1zNUPd2eQPIMS3T40ICLih5LUaZk0UdAt3kmIA1TGK fqHjBdnZBNEhLc8b+g/cJ9gfpLUlTl5BU50XGaAJLfdlj/YcHfhl6eXl8Blu57/HcwKZ TPiWPdSp0cpq39jOnbRd9P8JTtXX1FBVcmlwKR+o4Bp7T5Y5rgi47nK68prO9mLItK2G XJRVcV4Wz6U6sLZcS+i2KbLh0JQikcUq/NKKRL/jEMYnWw6famVKmWF0z7cFuMBDStmF We+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744332129; x=1744936929; 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=Awq7CSsaGaVyPPpT1rR9mNl/M3CrPRW48azLSqfV5X8=; b=I95mF97Ipjevi3Qhi2RZ9gGWshWuN9qzU7vTPWMDASHNSqYD8ngl359syFmBDrkuM1 Qpz0qr4n+dvO5UbJvQ72awy+Ukj0wByt0L1ir8RUjQw9tMCJwxpGSUlSk+IZ1aGdppyk hbdj0lpLQ0ZzsfthjnSHpMl/Tbm7jGFBPZv+VDrZN0gb2w3Gl0t8sbP6B+TWm7r/VQqe Ch5gv2D+6XcVdknZc2z2cBIXqSzi7kxAtd/YKEEz8jWyGd2ixiSyqtDsUml1Ez9KvU5e 3i+L8HkhaBNmahM5LsCMNpGRhkYUgoQyrBiFlzGStMIBT3lAe4qjsOSX3HDWi3Ti3EJX qlhw== X-Gm-Message-State: AOJu0Ywiz1l+rj80RIfB2+BJ5xW2m4h7HHfwoKCZU5j3dSlzc65DT22+ OeJ5wQ8rWleACdhALsZngLuWZuREaz0kesf7K7mksTAEAw31ryWXgKCNhfub X-Gm-Gg: ASbGnct+VooKUdum0+Hx9M/IveFYlQzZVI4gdRv/5n/NzSKcBvGOtZSC9y5fNf73R0k DF5+5cwusnVo10aFzq8Pb+eohUYkTxfUo50JyaWxNgp+IXOl2gZSGOCpfT8r3um6YDJ4qXuvdtx M4NM0XC5ai3BOC72oL2zY+g0A3t23g549G0Le+HN03QrcNIS+WyXxeYAYG6MX9McyA1tr4AYOTo NZ489UVVqEw8zlyuKmBu+kmKj2wSzwXRLW2Ahc1mANjyxSQXHt8SvkYpPFJNF5p0UPU8te3BGRf hvK/kJGIonB+DabzEQUrBhDsSOZxJevh X-Google-Smtp-Source: AGHT+IGeEd4CI+Zs1rZaTseHiLYv5iEikWpCflWxYAeGWf7f7BUqJkL0g4uudzI0ieyr4d9oDlSd+A== X-Received: by 2002:a05:6a00:890:b0:739:4a30:b902 with SMTP id d2e1a72fcca58-73bd1199eb5mr1145753b3a.2.1744332129400; Thu, 10 Apr 2025 17:42:09 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::c043]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73bd21c6464sm226987b3a.64.2025.04.10.17.42.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Apr 2025 17:42:08 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 05/12] python3-gpt-image: Use PEP-517 build backend Date: Thu, 10 Apr 2025 17:41:54 -0700 Message-ID: <20250411004201.3826913-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250411004201.3826913-1-raj.khem@gmail.com> References: <20250411004201.3826913-1-raj.khem@gmail.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 ; Fri, 11 Apr 2025 00:42:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116779 Switch to using ptest-python-pytest and add it to PTESTS_FAST_META_PYTHON Signed-off-by: Khem Raj --- .../include/ptest-packagelists-meta-python.inc | 1 + .../python3-gpt-image/python3-gpt-image/run-ptest | 3 --- .../python3-gpt-image/python3-gpt-image_0.9.0.bb | 15 +-------------- 3 files changed, 2 insertions(+), 17 deletions(-) delete mode 100755 meta-python/recipes-extended/python3-gpt-image/python3-gpt-image/run-ptest diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index bdb4482dc5..03b4d685f1 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -31,6 +31,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-geojson \ python3-google-auth-oauthlib \ python3-gpiod \ + python3-gpt-image \ python3-gunicorn \ python3-html2text \ python3-httptools \ diff --git a/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image/run-ptest b/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image/run-ptest deleted file mode 100755 index b63c4de0d9..0000000000 --- a/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' diff --git a/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb b/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb index 01e8091f6f..941d92f55b 100644 --- a/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb +++ b/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb @@ -5,25 +5,12 @@ SUMMARY = "GPT Image (pure python)" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=db5f8de88d13d0917db21293d0e82e1d" -SRC_URI += "\ - file://run-ptest \ -" - DEPENDS += "python3-pip" PYPI_PACKAGE = "gpt_image" SRC_URI[sha256sum] = "c06d8efc7cf8d6f3954c1c3d8544f494aa95da37fe04e38a9699ad3f57455f7e" -inherit pypi setuptools3 python3native ptest - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ -" +inherit pypi python3native python_setuptools_build_meta ptest-python-pytest do_install:append() { rm -fr ${D}${libdir}/python*/site-packages/gpt-image/__pycache__ From patchwork Fri Apr 11 00:41:55 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 61147 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 EE93FC369AB for ; Fri, 11 Apr 2025 00:42:16 +0000 (UTC) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx.groups.io with SMTP id smtpd.web11.14146.1744332131682478783 for ; Thu, 10 Apr 2025 17:42:11 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CNt4auHR; spf=pass (domain: gmail.com, ip: 209.85.210.179, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-7390d21bb1cso1406358b3a.2 for ; Thu, 10 Apr 2025 17:42:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744332130; x=1744936930; darn=lists.openembedded.org; 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=IYALoadFiLicczeUCU1OmOd7ouoB8E57XvzZOQPfZUg=; b=CNt4auHRaUKn4jKiY57H2U3MCcipn1N+bQFb2NHWLBmkHiz7ABV6PE+LHjm96g7Kad Y9StcqxMAN6jJTBbcUsz7g1yqXwbJeQIf0+LjrnlxEr40zJLVxoKh2MpN0uU2VD4oD0z mk/GJjAYb3NlJTMOtjUV36qbmCDXWU2e9NtDaqyaaye6NgI4qnGbSnVFULIxA2cmrKeg nPhdF6yzC8KSladmxaBxSDgwvLjf7XXwC61IOXkV5bINqzUV6wYGg5aW2kNHMb50pWpo NlEZ9mtyfDCwHxxnV/abL+YFXHzan718LWIhk1E0qgUcneE/G66wrC6NXZU5S6ffhpPh b2bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744332130; x=1744936930; 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=IYALoadFiLicczeUCU1OmOd7ouoB8E57XvzZOQPfZUg=; b=ixTEKsiKttNZH2xli8EP/cy+enR/UsDE8zng1yNqoey3kiF9Vu/A4DhN9/BTHfkTNl M02ZDReK6/h6kg3TSnU4QWsRj9W4Afl/tGz0qZyrcoa5WHHYBX1t15kOfOytSrjYq59s 1BqfdrmhoyQ3lPcLjHEQlp9FMJfx8DH96jDrY3gVnsX+dpT8/jlkg9vLoNmWyZB9rVZM OkdotjU/gEZ+C9yjMLnUGQ23zyP/QzraAfzoEBrusNJO1A5UuiRl+b0lJbn3mPgZf2xE ryhzBjAwDMM4y1zq041wt/ApUVHHUL2ysr6tkep6MLePzpHnhxsN+PmnekYTW8U53zph FzEw== X-Gm-Message-State: AOJu0YxlWX2gRCUI2VP9Em9etr1S914JazcgZktB5060Jvhov9J/+lOx OcBQPA4R/rT1lCvjTEdIwGylj9jdVMUJQY2RHwCYwScOlSewBSrW5zZL97Ej X-Gm-Gg: ASbGncvEnbWAwJanenRj+TQHRxrWgC7QSHgP/5zHcimEQDrpUbSwEaU1DwiHc4eJouJ N+CvuL4chyaUFM6NTxIh1+kHYeCdzfbydjkwsASrkoGJ98e3W6GmmzX67KBvL5Sis2/EbCu2K/l coNskSJfZ2jSeOnleBYp36uqC2gA18gYJThaWAYgkS5J5AP3ZPzsZBs9HawWMwOHkpsXNlfGIp1 oHLGxxCn35onf/EvOK3zps/YfgD5+ogjVXM8+XbjAGc0hVp794ZjLasK15B9DzKRGlhuDXIZOLq iPY7bgUvYrFHEcNNeYmFfAn77Ls/NZ0D X-Google-Smtp-Source: AGHT+IGLl+wZoYufJFcsV0VaEdUNkFnosiT8fVQ2Oc/miLaLMw2TcRQRnxf2DmmeRUbihnszisXMtA== X-Received: by 2002:a05:6a00:21c4:b0:736:ba49:97bb with SMTP id d2e1a72fcca58-73bd11a8470mr1049526b3a.5.1744332130425; Thu, 10 Apr 2025 17:42:10 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::c043]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73bd21c6464sm226987b3a.64.2025.04.10.17.42.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Apr 2025 17:42:09 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Trevor Gamblin Subject: [meta-python][PATCH 06/12] python3-matplotlib: Upgrade to 3.10.1 Date: Thu, 10 Apr 2025 17:41:55 -0700 Message-ID: <20250411004201.3826913-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250411004201.3826913-1-raj.khem@gmail.com> References: <20250411004201.3826913-1-raj.khem@gmail.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 ; Fri, 11 Apr 2025 00:42:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116780 - Adjust for move to meson build system. - Use system freetype and qhull - Add ptest insfrastructure, they do not pass yet - Add a patch to fix build on 32bit machines Signed-off-by: Khem Raj Cc: Trevor Gamblin --- ...-width-height-to-match-definitions-i.patch | 45 +++++++++++ ...external-dependency-tarballs-via-mes.patch | 47 ++++++++++++ .../matplotlib-disable-download.patch | 75 ------------------- .../python/python3-matplotlib/run-ptest | 3 + .../python/python3-matplotlib_3.10.1.bb | 49 ++++++++++++ .../python/python3-matplotlib_3.7.2.bb | 70 ----------------- 6 files changed, 144 insertions(+), 145 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-matplotlib/0001-Change-types-for-width-height-to-match-definitions-i.patch create mode 100644 meta-python/recipes-devtools/python/python3-matplotlib/0001-Do-not-download-external-dependency-tarballs-via-mes.patch delete mode 100644 meta-python/recipes-devtools/python/python3-matplotlib/matplotlib-disable-download.patch create mode 100644 meta-python/recipes-devtools/python/python3-matplotlib/run-ptest create mode 100644 meta-python/recipes-devtools/python/python3-matplotlib_3.10.1.bb delete mode 100644 meta-python/recipes-devtools/python/python3-matplotlib_3.7.2.bb diff --git a/meta-python/recipes-devtools/python/python3-matplotlib/0001-Change-types-for-width-height-to-match-definitions-i.patch b/meta-python/recipes-devtools/python/python3-matplotlib/0001-Change-types-for-width-height-to-match-definitions-i.patch new file mode 100644 index 0000000000..bf73bf9a22 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-matplotlib/0001-Change-types-for-width-height-to-match-definitions-i.patch @@ -0,0 +1,45 @@ +From b19715aeafcf8440466553d01717924add1eabf4 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 9 Apr 2025 23:17:12 -0700 +Subject: [PATCH] Change types for width/height to match definitions in + BufferRegion + +This is found with clang + +Fixes +../matplotlib-3.10.1/src/_backend_agg_wrapper.cpp:253:17: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int' in initializer list [-Wc++11-narrowing] + +Upstream-Status: Submitted [https://github.com/matplotlib/matplotlib/pull/29894] +Signed-off-by: Khem Raj +--- + src/_backend_agg.h | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/_backend_agg.h b/src/_backend_agg.h +index 0e33d38dfd..dcbd7e1496 100644 +--- a/src/_backend_agg.h ++++ b/src/_backend_agg.h +@@ -131,12 +131,12 @@ class RendererAgg + + virtual ~RendererAgg(); + +- unsigned int get_width() ++ int get_width() + { + return width; + } + +- unsigned int get_height() ++ int get_height() + { + return height; + } +@@ -206,7 +206,7 @@ class RendererAgg + void restore_region(BufferRegion ®); + void restore_region(BufferRegion ®ion, int xx1, int yy1, int xx2, int yy2, int x, int y); + +- unsigned int width, height; ++ int width, height; + double dpi; + size_t NUMBYTES; // the number of bytes in buffer + diff --git a/meta-python/recipes-devtools/python/python3-matplotlib/0001-Do-not-download-external-dependency-tarballs-via-mes.patch b/meta-python/recipes-devtools/python/python3-matplotlib/0001-Do-not-download-external-dependency-tarballs-via-mes.patch new file mode 100644 index 0000000000..144bfac185 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-matplotlib/0001-Do-not-download-external-dependency-tarballs-via-mes.patch @@ -0,0 +1,47 @@ +From a6b0bc129de493f57bf79005c48a8d4ca0df68c2 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 9 Apr 2025 17:34:55 -0700 +Subject: [PATCH] Do not download external dependency tarballs via meson + +They are fetched by bitbake fetcher already + +Upstream-Status: Inappropriate [ OE-Specific ] + +Signed-off-by: Khem Raj +--- + subprojects/freetype-2.6.1.wrap | 7 +------ + subprojects/qhull.wrap | 9 ++------- + 2 files changed, 3 insertions(+), 13 deletions(-) + +diff --git a/subprojects/freetype-2.6.1.wrap b/subprojects/freetype-2.6.1.wrap +index 763362b..74ecb13 100644 +--- a/subprojects/freetype-2.6.1.wrap ++++ b/subprojects/freetype-2.6.1.wrap +@@ -1,10 +1,5 @@ + [wrap-file] +-source_url = https://download.savannah.gnu.org/releases/freetype/freetype-old/freetype-2.6.1.tar.gz +-source_fallback_url = https://downloads.sourceforge.net/project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz +-source_filename = freetype-2.6.1.tar.gz +-source_hash = 0a3c7dfbda6da1e8fce29232e8e96d987ababbbf71ebc8c75659e4132c367014 +- +-patch_directory = freetype-2.6.1-meson ++directory = freetype-2.6.1 + + [provide] + freetype-2.6.1 = freetype_dep +diff --git a/subprojects/qhull.wrap b/subprojects/qhull.wrap +index c52b07d..30b6904 100644 +--- a/subprojects/qhull.wrap ++++ b/subprojects/qhull.wrap +@@ -1,9 +1,4 @@ + [wrap-file] +-# Also bump the cache key in `.circleci/config.yml`. +-# Also update the docs in `docs/devel/dependencies.rst`. +-directory = qhull-8.0.2 +-source_url = https://github.com/qhull/qhull/archive/v8.0.2/qhull-8.0.2.tar.gz +-source_filename = qhull-8.0.2.tgz +-source_hash = 8774e9a12c70b0180b95d6b0b563c5aa4bea8d5960c15e18ae3b6d2521d64f8b ++directory = qhull-2020.2 + +-patch_directory = qhull-8.0.2 ++patch_directory = qhull-2020.2 diff --git a/meta-python/recipes-devtools/python/python3-matplotlib/matplotlib-disable-download.patch b/meta-python/recipes-devtools/python/python3-matplotlib/matplotlib-disable-download.patch deleted file mode 100644 index aea8f62ea7..0000000000 --- a/meta-python/recipes-devtools/python/python3-matplotlib/matplotlib-disable-download.patch +++ /dev/null @@ -1,75 +0,0 @@ -Disable automatic downloading of components! - -Upstream-Status: Inappropriate [disable feature] - -Signed-off-by: Mark Hatle - -Update patch to fit on 3.7.2. - -Signed-off-by: Trevor Gamblin - -diff --git a/setup.py b/setup.py -index 0bea13fa6f..f39d8fc871 100644 ---- a/setup.py -+++ b/setup.py -@@ -327,13 +327,7 @@ setup( # Finally, pass this all along to setuptools to do the heavy lifting. - "pillow>=6.2.0", - "pyparsing>=2.3.1,<3.1", - "python-dateutil>=2.7", -- ] + ( -- # Installing from a git checkout that is not producing a wheel. -- ["setuptools_scm>=7"] if ( -- Path(__file__).with_name(".git").exists() and -- os.environ.get("CIBUILDWHEEL", "0") != "1" -- ) else [] -- ), -+ ], - extras_require={ - ':python_version<"3.10"': [ - "importlib-resources>=3.2.0", -diff --git a/setupext.py b/setupext.py -index a898d642d6..474172ff8f 100644 ---- a/setupext.py -+++ b/setupext.py -@@ -66,40 +66,7 @@ def get_from_cache_or_download(url, sha): - BytesIO - The file loaded into memory. - """ -- cache_dir = _get_xdg_cache_dir() -- -- if cache_dir is not None: # Try to read from cache. -- try: -- data = (cache_dir / sha).read_bytes() -- except IOError: -- pass -- else: -- if _get_hash(data) == sha: -- return BytesIO(data) -- -- # jQueryUI's website blocks direct downloads from urllib.request's -- # default User-Agent, but not (for example) wget; so I don't feel too -- # bad passing in an empty User-Agent. -- with urllib.request.urlopen( -- urllib.request.Request(url, headers={"User-Agent": ""}), -- context=_get_ssl_context()) as req: -- data = req.read() -- -- file_sha = _get_hash(data) -- if file_sha != sha: -- raise Exception( -- f"The downloaded file does not match the expected sha. {url} was " -- f"expected to have {sha} but it had {file_sha}") -- -- if cache_dir is not None: # Try to cache the downloaded file. -- try: -- cache_dir.mkdir(parents=True, exist_ok=True) -- with open(cache_dir / sha, "xb") as fout: -- fout.write(data) -- except IOError: -- pass -- -- return BytesIO(data) -+ raise IOError(f"Automatic downloading is disabled.") - - - def get_and_extract_tarball(urls, sha, dirname): diff --git a/meta-python/recipes-devtools/python/python3-matplotlib/run-ptest b/meta-python/recipes-devtools/python/python3-matplotlib/run-ptest new file mode 100644 index 0000000000..e99c96b342 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-matplotlib/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake --pyargs matplotlib diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.10.1.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.10.1.bb new file mode 100644 index 0000000000..d6523e7770 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.10.1.bb @@ -0,0 +1,49 @@ +SUMMARY = "matplotlib: plotting with Python" +DESCRIPTION = "\ +Matplotlib is a Python 2D plotting library which produces \ +publication-quality figures in a variety of hardcopy formats \ +and interactive environments across platforms." +HOMEPAGE = "https://github.com/matplotlib/matplotlib" +SECTION = "devel/python" +LICENSE = "PSF-2.0" +LIC_FILES_CHKSUM = "\ + file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74 \ +" + +DEPENDS = "\ + freetype \ + libpng \ + python3-pybind11 \ + qhull \ +" + +SRC_URI += "file://run-ptest \ + file://0001-Do-not-download-external-dependency-tarballs-via-mes.patch \ + file://0001-Change-types-for-width-height-to-match-definitions-i.patch \ + " +SRC_URI[sha256sum] = "e8d2d0e3881b129268585bf4765ad3ee73a4591d77b9a18c214ac7e3a79fb2ba" + +inherit pypi pkgconfig python3targetconfig meson ptest-python-pytest + +EXTRA_OEMESON += "-Dsystem-freetype=true -Dsystem-qhull=true" + +# LTO with clang needs lld +LDFLAGS:append:toolchain-clang = " -fuse-ld=lld" + +FILES:${PN}-ptest += "${PYTHON_SITEPACKAGES_DIR}/matplotlib/tests" +FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/" + +RDEPENDS:${PN} = "\ + freetype \ + libpng \ + python3-numpy \ + python3-pyparsing \ + python3-cycler \ + python3-dateutil \ + python3-kiwisolver \ + python3-pytz \ + python3-pillow \ + python3-packaging \ +" + +BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.7.2.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.7.2.bb deleted file mode 100644 index 72c369100a..0000000000 --- a/meta-python/recipes-devtools/python/python3-matplotlib_3.7.2.bb +++ /dev/null @@ -1,70 +0,0 @@ -SUMMARY = "matplotlib: plotting with Python" -DESCRIPTION = "\ -Matplotlib is a Python 2D plotting library which produces \ -publication-quality figures in a variety of hardcopy formats \ -and interactive environments across platforms." -HOMEPAGE = "https://github.com/matplotlib/matplotlib" -SECTION = "devel/python" -LICENSE = "PSF-2.0" -LIC_FILES_CHKSUM = "\ - file://setup.py;beginline=293;endline=293;md5=20e7ab4d2b2b1395a0e4ab800181eb96 \ - file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74 \ -" - -DEPENDS = "\ - freetype \ - libpng \ - python3-numpy-native \ - python3-pip-native \ - python3-dateutil-native \ - python3-pytz-native \ - python3-certifi-native \ - python3-setuptools-scm-native \ - python3-pybind11-native \ -" -SRC_URI[sha256sum] = "a8cdb91dddb04436bd2f098b8fdf4b81352e68cf4d2c6756fcc414791076569b" - -inherit pypi setuptools3 pkgconfig - -# Stop the component from attempting to download when it detects a missing -# dependency -SRC_URI += "file://matplotlib-disable-download.patch \ -" - -# This python module requires a full copy of freetype-2.6.1 -SRC_URI += "https://downloads.sourceforge.net/project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz;name=freetype;subdir=matplotlib-${PV}/build" -SRC_URI[freetype.sha256sum] = "0a3c7dfbda6da1e8fce29232e8e96d987ababbbf71ebc8c75659e4132c367014" - -# This python module requires a full copy of 'qhull-2020' -SRC_URI += "http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz;name=qhull;subdir=matplotlib-${PV}/build" -SRC_URI[qhull.sha256sum] = "b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e" - -# LTO with clang needs lld -LDFLAGS:append:toolchain-clang = " -fuse-ld=lld" -LDFLAGS:remove:toolchain-clang:mips = "-fuse-ld=lld" -LDFLAGS:remove:toolchain-clang:riscv64 = "-fuse-ld=lld" -LDFLAGS:remove:toolchain-clang:riscv32 = "-fuse-ld=lld" -RDEPENDS:${PN} = "\ - freetype \ - libpng \ - python3-numpy \ - python3-pyparsing \ - python3-cycler \ - python3-dateutil \ - python3-kiwisolver \ - python3-pytz \ - python3-pillow \ - python3-packaging \ -" - -ENABLELTO:toolchain-clang:riscv64 = "echo enable_lto = False >> ${S}/mplsetup.cfg" -ENABLELTO:toolchain-clang:riscv32 = "echo enable_lto = False >> ${S}/mplsetup.cfg" -ENABLELTO:toolchain-clang:mips = "echo enable_lto = False >> ${S}/mplsetup.cfg" - -do_compile:prepend() { - echo [libs] > ${S}/mplsetup.cfg - echo system_freetype = True >> ${S}/mplsetup.cfg - ${ENABLELTO} -} - -BBCLASSEXTEND = "native" From patchwork Fri Apr 11 00:41:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 61145 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 EF85CC369AD for ; Fri, 11 Apr 2025 00:42:16 +0000 (UTC) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web11.14147.1744332132617567757 for ; Thu, 10 Apr 2025 17:42:12 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lnlJNg8F; spf=pass (domain: gmail.com, ip: 209.85.210.173, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-736ad42dfd6so1165077b3a.3 for ; Thu, 10 Apr 2025 17:42:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744332132; x=1744936932; darn=lists.openembedded.org; 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=z+V66ubYZSUliSZ14b62FgB4SGYGOr6jJD0a1fLgXEU=; b=lnlJNg8FcxZAdVHZ484PihwPrQ9zwTmalh0EKR5ii+kNXO0d6DhkO1QeEXYz9J4nIn gHF5Mhv16kh1nVf68gHnhIqLiizsJUi+EoFn7us94ilERaTxexmkIa40O0jqIKda0+Ef +cclmfE08Kqyy/NYH6+4pwkrlxChFpvWJqzCxdKOLvgaPuilJy6u55JrrMwMum8olIJA uRaphaQNRGAxe29a50V+CkVY9pD+Qzd12EdOL6ygUXIBsefB7bxiMLQwi9UjJDCoY5/d Pw5CSlZ5ZPWEBihd5a/tTkzZ8/0UhAh6KKd8/SQ64yi4vdwaegralN22YCgrCoNeIxTp bD5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744332132; x=1744936932; 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=z+V66ubYZSUliSZ14b62FgB4SGYGOr6jJD0a1fLgXEU=; b=cWHqe4g4eHlcczmkpYjydXGPMeNsDAd9SiPsvNclgIlBhRmSc9/POUOjQtBIaQZzo+ 2s75et17kSyd1h4ZkR9jBdPbioiTGGXFByON7gS3vMtQCvuncjS3nY27QZxmg7UXxp5z o4caVHQGKe8xmXdR84o8iYcTwA9rCy0nj2pLmifIwNoHk5Vv0oblGEPjJR7IHvTHUrg5 OfZD0/fBHULVNtPZMCI+ofvsWw4f9ykL343GB9RgplQ6XGEn1it42BVF81oWcfMRN8iG mRkfUy2P9bXtFd6bF1H+L6BP5taLqx4smbDmiHjua5ulp4Xa+nYi0M8jBqbBvFqPe4WA f/VQ== X-Gm-Message-State: AOJu0Yz/uZVVeC+qnhlSmdSQrAjg+M0FKX3pObgtsckbwo5COUJflCc/ Q9lDZ6pzYdnIQfBFuURyw90eAdDdSCiGrTZzIftYHXXJly9oeD0n+mcBARPZ X-Gm-Gg: ASbGncvhLeABckMKzUPqnE9d5H/m24wupB6ByzQo5isuUiGJ7uL6gJc5XMpnjypAwC0 LY3y2OnOLcWRPakGAbNwzMgt6a4BJsNpPop+J32FGr1y7f1pTuUA8SOx17I9Ed9hpe4782c8VFK B043x1AOjK2VXb8bVbmHeDqyq6rSWon7qZFezHgKwyBqIOoPh6rB+Nx3JyOO5Tzautxl/E7JvrS 5UDLOi2oGqWpn+UsUNqrjl4KngwKelamG8X8eBidDS20qJgQsb3eOsmM9MfgZ0jc8FtUy9aBK7F MOjFvWLRlkGjsCc3YPMsW+sMsPqxd7FB X-Google-Smtp-Source: AGHT+IGohwl2YyLHanmAl8EesYHaF1L4J8d8FMhwjhdSvMMQelNCagLCEoJN4TTfbhqFMHPcR0vW7g== X-Received: by 2002:a05:6a00:3a0d:b0:736:53ce:a32c with SMTP id d2e1a72fcca58-73bd126b810mr960983b3a.17.1744332131618; Thu, 10 Apr 2025 17:42:11 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::c043]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73bd21c6464sm226987b3a.64.2025.04.10.17.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Apr 2025 17:42:10 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 07/12] python3-charset-normalizer: Switch to PEP-517 build backends Date: Thu, 10 Apr 2025 17:41:56 -0700 Message-ID: <20250411004201.3826913-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250411004201.3826913-1-raj.khem@gmail.com> References: <20250411004201.3826913-1-raj.khem@gmail.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 ; Fri, 11 Apr 2025 00:42:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116781 Add ptest support but do not enable them as they all do not pass yet Signed-off-by: Khem Raj --- ...yproject.toml-Relax-version-for-mypy.patch | 25 +++++++++++++++++++ .../python3-charset-normalizer_3.4.1.bb | 7 +++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Relax-version-for-mypy.patch diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Relax-version-for-mypy.patch b/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Relax-version-for-mypy.patch new file mode 100644 index 0000000000..d544caaa17 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-Relax-version-for-mypy.patch @@ -0,0 +1,25 @@ +From 57b626d6d8c247c9203dde51a988b9401abe065c Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 9 Apr 2025 23:44:44 -0700 +Subject: [PATCH] pyproject.toml: Relax version for mypy + +It asks for mypy <= 1.14.0 but we have 1.15.x +already in meta-python + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index bbb8227..ad42715 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools", "setuptools-scm", "mypy>=1.4.1,<=1.14.0"] ++requires = ["setuptools", "setuptools-scm", "mypy>=1.4.1,<=1.16.0"] + build-backend = "setuptools.build_meta" + + [project] diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb index b13524c227..4f9b09ef93 100644 --- a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb @@ -3,9 +3,12 @@ HOMEPAGE = "https://github.com/ousret/charset_normalizer" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05" +SRC_URI += "file://0001-pyproject.toml-Relax-version-for-mypy.patch" SRC_URI[sha256sum] = "44251f18cd68a75b56585dd00dae26183e102cd5e0f9f1466e6df5da2ed64ea3" -inherit pypi setuptools3 +DEPENDS += "python3-setuptools-scm-native python3-mypy-native" + +inherit pypi python_setuptools_build_meta ptest-python-pytest PYPI_PACKAGE = "charset_normalizer" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" @@ -13,8 +16,10 @@ UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" RDEPENDS:${PN} += " \ python3-core \ python3-logging \ + python3-mypy \ python3-codecs \ python3-json \ " +RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-charmap-gb18030 glibc-charmaps" BBCLASSEXTEND = "native nativesdk" From patchwork Fri Apr 11 00:41:57 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 61146 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 096D6C369AC for ; Fri, 11 Apr 2025 00:42:17 +0000 (UTC) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mx.groups.io with SMTP id smtpd.web11.14148.1744332133596588816 for ; Thu, 10 Apr 2025 17:42:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=U/PV9Y/T; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-7369ce5d323so1274167b3a.1 for ; Thu, 10 Apr 2025 17:42:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744332133; x=1744936933; darn=lists.openembedded.org; 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=cqSyYCCuqlzJsz/rV1G6M1dHcvfJATkHSfS55uOAicU=; b=U/PV9Y/T93huwmUZ91Opq+VUFGoWgpHb0h8hkGwbH9Yny5JK0yqOxYJQCVtgI5Mrol MMW3cleo/YUOZDmqpsPP6EKileR4z6YWhg+DjWPBzpHS2nMV5PxRf5D3l9Uqtc0zXOM+ cUAvTzKGcBviEnW45Z/27CbpcMinMQ63GPG5+sLDhDG659zMeEkYOs1g4MjJ0o+C5cxt tPKZXNYo1gMSKSu7eWZB23EPyAfHi1Mr8eEx3264oAGDytMvQbBXHD68DkO0dQL8wCzb RRnOmfeRdL+hZyljEqYULqWv2zoMC2ms64fwmeWWFEGG9J0Vr33VMnHnZzpIp3XX93TK XtCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744332133; x=1744936933; 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=cqSyYCCuqlzJsz/rV1G6M1dHcvfJATkHSfS55uOAicU=; b=tgMn7GXF9/61ynCyLlXkdg3FhNhAeXQCcpVF693to5KOmRvomcfyqzHiLHlRu8JlLn VGw1np8da0jQLSJoDI6DJWkkDNYBYNmo5cGkigVEtj+l1CcfLvdiw/W22sEea/NREo40 hbu4TvtQEny+hieVGhRwYCvquXRuIvpNeHa4ltAdkV+7J/LI3KLR6mfx63oku3/rbpCw yalBVpvlLw7CyAIqWS5qOu4gqzM9feKcWXsCy3H9WvkzKKse0BEFCyeGeHP/ffNB/rCG W2krAquODR1PHk3ztpzBFgwx5wT8ssGD1SRCajJc+VNrhatV16oZ2dkEN4kh2Uu+ztiP 01hQ== X-Gm-Message-State: AOJu0Yyi/Q/117+I35D61jgglAKZ0XMbk87XsAzFCmap9hYEN5U8pbHn 9z9X+l+O9kJXRdzAUzU4DUtG9rrSUUcKy2I01M41RH/AGdtrcdb/APVrcPwa X-Gm-Gg: ASbGnctW+vASue/pZilTe/9f/EdKU84/UXSNDbtn/ikFhEYnb71JO1HF956dOFfgjpX zZa7l01zP2l6PF2VvsqX+fhCS/IVst2sP2plrVL0Iq3Nvcuyb1DdTnpiD5Z2eonqb7OJhp8Q3L0 ynY31Ck5mc4hbxdTdpYCkW+RBVaUCHtNDLjtMUa4WnzDUwOVR+LGhJzKh20QWsrfFmd/rc5LoY1 odNXLODI/pn5smVcA+CocG0jA/pt5TQ1PcK7xFuQ0RYIKymxI3EyQxpjNVc5G/wf5VET2fdzV27 mr1wg+5K51vpm05FGZnaDTY1zoQvUZBs X-Google-Smtp-Source: AGHT+IEVX3cmulbNKkpAiuCFXZ/B6rYsE2wrjjj3hO4np36/le1llUpu6l6kowfzNq78NsVZAePCCA== X-Received: by 2002:a05:6a00:b8a:b0:736:339b:8296 with SMTP id d2e1a72fcca58-73bd126735amr1216895b3a.18.1744332132742; Thu, 10 Apr 2025 17:42:12 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::c043]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73bd21c6464sm226987b3a.64.2025.04.10.17.42.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Apr 2025 17:42:12 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 08/12] python3-pyais: Add recipe Date: Thu, 10 Apr 2025 17:41:57 -0700 Message-ID: <20250411004201.3826913-8-raj.khem@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250411004201.3826913-1-raj.khem@gmail.com> References: <20250411004201.3826913-1-raj.khem@gmail.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 ; Fri, 11 Apr 2025 00:42:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116782 Ptests take < 1mins on qemux86-64/kvm Signed-off-by: Khem Raj --- .../ptest-packagelists-meta-python.inc | 1 + .../python/python3-pyais_2.9.2.bb | 29 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pyais_2.9.2.bb diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 03b4d685f1..47a6430c96 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -57,6 +57,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-precise-runner \ python3-prettytable \ python3-propcache \ + python3-pyais \ python3-pyasyncore \ python3-pydantic \ python3-pydantic-core \ diff --git a/meta-python/recipes-devtools/python/python3-pyais_2.9.2.bb b/meta-python/recipes-devtools/python/python3-pyais_2.9.2.bb new file mode 100644 index 0000000000..a1ae92985a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyais_2.9.2.bb @@ -0,0 +1,29 @@ +SUMMARY = "AIS message decoding" +HOMEPAGE = "https://github.com/M0r13n/pyais" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=79d9e278b76e3e5b3358cd70b328173c" + +SRC_URI = "git://github.com/M0r13n/pyais;protocol=https;branch=master" + +PV .= "+git" +SRCREV = "9ce53ae21f19e8dc6e7b841dd0ccc246898730ea" + +S = "${WORKDIR}/git" + +inherit python_setuptools_build_meta ptest-python-pytest + +PYPI_PACKAGE = "pyais" + +do_install_ptest:append() { + install -d ${D}${PTEST_PATH}/examples/ + install -Dm 0644 ${S}/examples/*.py ${D}${PTEST_PATH}/examples/ + install -Dm 0644 ${S}/examples/*.nmea ${D}${PTEST_PATH}/examples/ + install -Dm 0644 ${S}/examples/*.ais ${D}${PTEST_PATH}/examples/ +} + +RDEPENDS:${PN} = "python3-attrs python3-bitarray" +RDEPENDS:${PN}-ptest += "\ + python3-coverage \ + python3-mypy \ + python3-pytest-cov \ + " From patchwork Fri Apr 11 00:41:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 61148 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 0A4E6C369AF for ; Fri, 11 Apr 2025 00:42:17 +0000 (UTC) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.web11.14150.1744332135061613537 for ; Thu, 10 Apr 2025 17:42:15 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QGdIUN2q; spf=pass (domain: gmail.com, ip: 209.85.210.176, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-736b350a22cso1206000b3a.1 for ; Thu, 10 Apr 2025 17:42:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744332134; x=1744936934; darn=lists.openembedded.org; 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=ryRhy49rb7uZ5EJ4bYjPtRauYUCPnOjiqtA3pZc4OTM=; b=QGdIUN2qrlGf3JofZdSGdDMfxiIOuD6dADZKcm9ERGFlHPZY9v8DbmrKOujAnuEJDL ZnUdMQGFGLzPckFezFUQxVoEAyUTYpa9WXqEfClrwGG5X80SCmdnbiHk4ZZ68zTfHRzn +YGOuEV7h0O4vDk79knM8fxbGuNtM3Z3Tl55fhG2wuu9ii+T0Fe/LMDeZiSKagfL/Ql8 nrH7T4raNHv5hnkDH6dLCK4J0WsPdGMs2xSARO9sI6ZMYOWJnlv0FIKA067zibWmF3kH X4ag6ylgun8gxwVK6suwS6g0/t0mHfi4McfKtq5Kk+EwLDS9ADiwLCe+HhVKbYoTEP8R ac8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744332134; x=1744936934; 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=ryRhy49rb7uZ5EJ4bYjPtRauYUCPnOjiqtA3pZc4OTM=; b=nKKM1sXBUB3ZqyH75Gh6IoAXgjHbcfDNX3vC+/Avp4C1oSxZn4AVsL+Wwix3+TZFg5 b5/FBWjNl9U5EGCQbj7E5b8oZXT8zHlChcViEmnMZAa1LQIXD5TW6RvoKTGg+hERv8tz /23LbkUJo/6eycBvS+WIHYnr5XPudHoHzzkwIKaJQkbWfFjhIQAAV7AICbU79hhByytR qkFLRmaejqBAvAyCpHFamGVRBtxMjj4vZTcnLB9ERP9tCDbgI7ZkXrCva+qtw7N4Dc1Y w96pizuFxMtNy3Xh5gNKtaHHDTgsWFpPuHCLyo2sNRjxgq16JfOVHBmkYEKDSAHRRbLo +4RA== X-Gm-Message-State: AOJu0YyA/mQhO9mX608s4Y3/bEnngLC+ptRhhu4x1+npaNGcvMRs4mWr /cuSHj1QTa447J7daCTRDdKLitcVGjY9UUafIX4yXXGrvh01eYv6RJUuZk11 X-Gm-Gg: ASbGnctpxAc9Kb0hiweDHuTHJTCBkcYK12VNbXqiugZvmghh+L0VYoan24i3GeQ6ZSs RWNb9R6kMRtxR10XBy8GA88FhRVgF+A9l77oOGf70Wz+FrdspNg92tNYklQQDcRGr1QR/mBVnwR bGYs4pm5ScHalprn7TIhs0mAGMPHo2GY9UdFEhnkw3AXM5UfLU7FFUqxzhISF/lJ53oGUyJ2fVc 8bkgXxk9WNX5OqbR3sttRFfBYpEvlHzZsnR/DUMfwq3Cx1hINM/aG61Yvx5tdMwjlOHucnAOFfQ 2R/7vGlbjPO4Mh/ghiksYPH6j663M8Nc X-Google-Smtp-Source: AGHT+IHm1U2ws9wvLdPk1EIZ/1H9mJ2wst9q5L9+BcyUy0MB4b2es7K25DNWroVLMjMim/gkjZVo8w== X-Received: by 2002:a05:6a00:14c6:b0:736:33fd:f57d with SMTP id d2e1a72fcca58-73bd126b42emr1058173b3a.17.1744332134048; Thu, 10 Apr 2025 17:42:14 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::c043]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73bd21c6464sm226987b3a.64.2025.04.10.17.42.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Apr 2025 17:42:13 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 09/12] python3-schedule: Switch to using PEP-517 build backend Date: Thu, 10 Apr 2025 17:41:58 -0700 Message-ID: <20250411004201.3826913-9-raj.khem@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250411004201.3826913-1-raj.khem@gmail.com> References: <20250411004201.3826913-1-raj.khem@gmail.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 ; Fri, 11 Apr 2025 00:42:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116783 Add and enable ptests Signed-off-by: Khem Raj --- .../conf/include/ptest-packagelists-meta-python.inc | 1 + .../recipes-devtools/python/python3-schedule_1.2.2.bb | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 47a6430c96..99e0bfe115 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -76,6 +76,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-rapidjson \ python3-requests-file \ python3-requests-toolbelt \ + python3-schedule \ python3-semver \ python3-serpent \ python3-service-identity \ diff --git a/meta-python/recipes-devtools/python/python3-schedule_1.2.2.bb b/meta-python/recipes-devtools/python/python3-schedule_1.2.2.bb index ecf6bfd4c1..c1be5f9e22 100644 --- a/meta-python/recipes-devtools/python/python3-schedule_1.2.2.bb +++ b/meta-python/recipes-devtools/python/python3-schedule_1.2.2.bb @@ -5,6 +5,11 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=6400f153491d45ea3459761627ca24b2" SRC_URI[sha256sum] = "15fe9c75fe5fd9b9627f3f19cc0ef1420508f9f9a46f45cd0769ef75ede5f0b7" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta ptest-python-pytest + +do_install_ptest:append() { + install -Dm 0644 ${S}/test_schedule.py ${D}${PTEST_PATH}/test_schedule.py +} RDEPENDS:${PN} += "python3-datetime python3-logging python3-math" +RDEPENDS:${PN}-ptest += "python3-pytz" From patchwork Fri Apr 11 00:41:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 61149 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 1F45BC369B0 for ; Fri, 11 Apr 2025 00:42:17 +0000 (UTC) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mx.groups.io with SMTP id smtpd.web11.14151.1744332136136783987 for ; Thu, 10 Apr 2025 17:42:16 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=g2r0JXwW; spf=pass (domain: gmail.com, ip: 209.85.210.169, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-736c1cf75e4so1038346b3a.2 for ; Thu, 10 Apr 2025 17:42:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744332135; x=1744936935; darn=lists.openembedded.org; 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=Ld930SNzNf17J+Uf+0VFT5lOwoiRA+9qTpYXctMg/XY=; b=g2r0JXwWJu6ZgyOCszSrDwtXsTjYgjj07hVifKRO06URsRe25fhCfYMGxcbAsLEXed MnH5CkoRK+xfTWARRjU89ZgZNoAetFtYaM1exkitS4dKJYGe28m3dB8qwdTGWAp1BBN+ 0ysOhPWRmpKJGZtjsIkj8htrIMK4KYMNZ2IEgPmWCkucWv8lUekNpZkgXeFwnjL7Ubpi LvrBO0UMP2OJI0is70oR1Mm9oaUNjyGN7QSGPww1VI2jQ/Eo7Bc4Ui4W3dF9hw1O3pSG Q4TPssQgzovSdH/jbCCqvYyTU1zq3TRFbxVik684nip9CqJ/VoKSGL/8wSxXc+W0ESZr HH8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744332135; x=1744936935; 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=Ld930SNzNf17J+Uf+0VFT5lOwoiRA+9qTpYXctMg/XY=; b=iD20NOToi4Ob2uUAtk7kfhxIdUikrOGPkpV76s/MOnt9YrmW/3/NCYMSvADAp5qhBL 1p/toMglVjPyjHaDbpt/KC/Yw9HrhBqZShlwq2Ij3mU8n92sNoz/ObuHFujOAitnBU1z cQn8Qw+Ko9rZzO6Dhe6M4aaLUxEgXHjE1I/WdTT2JYgQJA3XCDz/eYvqh5xyxkMrGdXS kqT0lFYAHkdyikacMD6UsLKp4trhUhurKzg6PzBJcX6/WZY0muRks2j5PlUxLctbkXsJ BmniDs3RYcgkOixOgiID5omIGxCJ4mu/ud1abRnAgzlkXhjUs6Or5ZExRzRlHP7tK2Cq Dfzg== X-Gm-Message-State: AOJu0YzxB529fGYHqAvskmtg7vO5TFyZzhSfK4H7/MdY+kWN/lia3OJC DJx0VLE45dGI+qo86lU7ZBU+UWmxp2b0Lsh0FQ8ktfNDO+6SxGBwzwtiCJZx X-Gm-Gg: ASbGncsgfGFkhc44aBjgWttwNbzgyhVukk+oUZ2zAQ2SUIoEUGsjrS68qSbNrV8Tyje vyb8Unmy/o5oAQrgTQFsr4mpn84Fbi3CaCifITKEBZ7n1TP8GIkfUngU1n1T9Z41x79vNpgTsMO n7Z30FSpwwUWvUg2AkwFGk2UWjBWLiEj3ObCkJNpv1XwGtNqcN477AJ2MyMyXQLPDk1kQhFpjbw 4Igo37+cYkRZlrnrnknlTIO+AB7nloEirNVPp7LcBg56qFC0iWFWUWPYcNU8u6X3cqE7mDiiSIW 5tuctRt1nxbA3k/rcTFdTNTDi6IRmRMP X-Google-Smtp-Source: AGHT+IE1MeD31wHHNc/qaiFhaqZJZ0OUmMhHnMu4XR5PZVJWPOUvkVbF6ikDx4590fQ2eHOIgi1uKQ== X-Received: by 2002:a05:6a00:3901:b0:736:4d44:8b77 with SMTP id d2e1a72fcca58-73bd11e210emr1392794b3a.8.1744332135178; Thu, 10 Apr 2025 17:42:15 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::c043]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73bd21c6464sm226987b3a.64.2025.04.10.17.42.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Apr 2025 17:42:14 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 10/12] python3-uinput: Switch to PEP-517 build backend Date: Thu, 10 Apr 2025 17:41:59 -0700 Message-ID: <20250411004201.3826913-10-raj.khem@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250411004201.3826913-1-raj.khem@gmail.com> References: <20250411004201.3826913-1-raj.khem@gmail.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 ; Fri, 11 Apr 2025 00:42:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116784 Add ptests Signed-off-by: Khem Raj --- meta-python/conf/include/ptest-packagelists-meta-python.inc | 1 + meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 99e0bfe115..caeb1ae6a3 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -92,6 +92,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-typeguard \ python3-typing-inspection \ python3-tzdata \ + python3-uinput \ python3-ujson \ python3-u-msgpack-python \ python3-unidiff \ diff --git a/meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb b/meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb index 7c1eb85264..164a6e902a 100644 --- a/meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb @@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "853697344b64df5537d4ae32ba6fbcf0515d51a9010910f5d501995903 PYPI_PACKAGE = "python-uinput" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta ptest-python-pytest DEPENDS += "udev" RDEPENDS:${PN} += " \ From patchwork Fri Apr 11 00:42:00 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 61150 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 0F693C369A6 for ; Fri, 11 Apr 2025 00:42:27 +0000 (UTC) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mx.groups.io with SMTP id smtpd.web10.14024.1744332137077584166 for ; Thu, 10 Apr 2025 17:42:17 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gcZgOToK; spf=pass (domain: gmail.com, ip: 209.85.210.169, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-736c3e7b390so1352257b3a.2 for ; Thu, 10 Apr 2025 17:42:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744332136; x=1744936936; darn=lists.openembedded.org; 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=d1of0wgCXrJNJz1YWQ+slG/ZGAqySsTwInmzsa3BuMY=; b=gcZgOToKtG/NhYpFO2Fg9C5yxkB5OOBPWO9gO6W1o9SUZmKS7b1fHvtploVto0ahz6 rzQm4H5LQpa0z8FBlSXPL+t85gnzUBJdRQbZAF2TE35zFaod1hGIbUYHxFj7tkIdOjSk go5CukPJ1DZ+hi6lLlcwndXavvYxe1u73mdg6RZhtAQ21LGb+pgunvRMvYGWmvlGEMBk Dn7FTfHWTjZ7qROn57n1kMbCdOpdke2KiZynHxVJlUiMhnpf0F7kfhhfbvrKT7ZRK6Yx y+NBzp1fnuBr5JcOh9ubSj+0OH/iHZelgnZ5mCF8Bn4V3XVjXUA3Pb1Cn9SFkPeleNp2 oyRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744332136; x=1744936936; 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=d1of0wgCXrJNJz1YWQ+slG/ZGAqySsTwInmzsa3BuMY=; b=D0gHp+5DSxuap9NHaW2a/av5A3mMrTMD4+/JmhlyAEBCJSK32r9CQUqN3ye7HoouoQ hyiqfvsKDf9iahgzwG+xFssGvyxYc+OLNJftyZ3yBBBV0ioQa3ZIQKRguZSiWLtIwiU8 /R5GEeBoUnTAzxDUAGr4vgWbi87e1e5uwv/QtVJkWAVgl91cTgIP2JUMVbg7Zka9ytUd iN1cNZ6uce/JnuXsAIocNRyI6QbKHvLqdBqRXnWRzV78q4L09g1y1c6UtnDWncJ3tvPN jG9wqvHP5n7bUNLLTDFZ5dDRr1rQfr3YXOOc8w6jQXcaNC965QtK9zzXy+jouJgZs8uT dpyA== X-Gm-Message-State: AOJu0YzITh+P+gBtQSl92bXqAIZgOgsE6JK5dflTuBc9uMdA2OxIvup9 YBTdk3f23ryHB/PawtM+fXPVWp/Fyw2axz2I16Zre42G4HS95Dgsmum65Rv6 X-Gm-Gg: ASbGncuazr90AomR35ZtLe/h1+XN3qb0tgZGcpg6kGXv66d7WE8PGpPurI4ohSRJWFL 5QeJuSkXA3d8jGkmnHFyXAmljhMnvRdzTPZVivpCwQPQLVSTc3c19AynTHnLBqs17Nffp/5eRmo UvkxUUJdMJsFXRax1ibt+/cDhHFkT3SbfB+T47QhZ0B5LwTTo1qSJlORGGWo5sGb2VjSQQEToYq IuVLdTS7bzY433AJn8qeCsWkypIi6xn/PTLVRlSGAYRhHmnirM67eO9h/AcAwqpJtKPMnmPC2uj e+J25gZqDtysVm3PwnqkPShkBjNtJPsH X-Google-Smtp-Source: AGHT+IFIPkWKCfG85nukypr7BD18H1oec6qXarvQPQwTW5Or/ThnHSqVjGUr62NDno7yPMdW2hymTg== X-Received: by 2002:a05:6a21:999b:b0:1f5:86ce:126a with SMTP id adf61e73a8af0-201799906f2mr1338562637.40.1744332136171; Thu, 10 Apr 2025 17:42:16 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::c043]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73bd21c6464sm226987b3a.64.2025.04.10.17.42.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Apr 2025 17:42:15 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 11/12] pamela: Switch to using PEP-517 build backend Date: Thu, 10 Apr 2025 17:42:00 -0700 Message-ID: <20250411004201.3826913-11-raj.khem@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250411004201.3826913-1-raj.khem@gmail.com> References: <20250411004201.3826913-1-raj.khem@gmail.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 ; Fri, 11 Apr 2025 00:42:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116785 Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/pamela_1.2.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/pamela_1.2.0.bb b/meta-python/recipes-devtools/python/pamela_1.2.0.bb index ff87e187ca..d343458aea 100644 --- a/meta-python/recipes-devtools/python/pamela_1.2.0.bb +++ b/meta-python/recipes-devtools/python/pamela_1.2.0.bb @@ -6,7 +6,7 @@ SRC_URI[sha256sum] = "0ea6e2a99dded8c7783a4a06f2d31f5bdcad894d79101e8f09322e387a PYPI_PACKAGE = "pamela" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta RDEPENDS:${PN} = "libpam" From patchwork Fri Apr 11 00:42:01 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 61151 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 0F666C3601E for ; Fri, 11 Apr 2025 00:42:27 +0000 (UTC) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mx.groups.io with SMTP id smtpd.web11.14152.1744332138454013240 for ; Thu, 10 Apr 2025 17:42:18 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=l6mWsZ1w; spf=pass (domain: gmail.com, ip: 209.85.214.170, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-2241053582dso19870425ad.1 for ; Thu, 10 Apr 2025 17:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744332137; x=1744936937; darn=lists.openembedded.org; 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=1VE5JnvSDiw0jDvbKj/Y11HOf7ETL4kkTj8RcHUlNhA=; b=l6mWsZ1wPbaz399rwlMjd4xPGOIQ8VOGfK26GOYELrW14TGXr/NUms2+xB4aSDka1V 80ApU27+g1QuX+HVp5y7DR82qeL7k6Ly25EHPHnQL+Xq5JvjSfx915MZ5qQMavWeMgfQ 3GPrRLujXz3jHAUKTWPIOAxS0iV67QCqA2PwHxnEJz5vHr9u/8RqA6N+p26m9XNUzGLH xebzso7r69AWPR5MkV0c2eijZzCMMj9EIUvxuGAzDSlDJRV1ReytdT9S/pW5AD0c4wWG UiDSSMNrV6l1VpHMEaAdN5VjsbwFobmrRvoSi8XChHL7LovyiTq/0R80p1q4aooyVTBA d0cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744332137; x=1744936937; 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=1VE5JnvSDiw0jDvbKj/Y11HOf7ETL4kkTj8RcHUlNhA=; b=BU/QKm7KzQ9KJHwYPzac/GSmXepeG97D6aAYWhaj7GApsa1h1EweiXeYpADW2P6/Y6 A+VfiR7fY4xbznQ5NdFEZzYp1VXLi+NN3wPxOV+2648J5KHHwO+SH6QlABKhYXMu8rif 7mQNDOObx+OCs4cxmx66Hr5FHiy2RvBnnK50ZGpohA2UDgD4nJ8VF0OO4pZ+GABUaG3J xjtageuVS4cyvwqG3bo4xOzXGWfZEbVZuf0TqIXjWJ8VhHdr2qIDbxCXl8x+DEO45c+D /CdumCvbYQ/SMY8I2NfZyl9D51FTburh4vQzQZ1LMipGVZ33ifnk/ia54SB68nWClfVQ T2jA== X-Gm-Message-State: AOJu0Yy5nu4lr5o0mgSpigvv7cFc60zkjJbftOXQlcpy4XZ5diJMT1Rx GKRBVjR7dgIEvQ013jV/06uyOtq3x6Nacgjc72wb2QroyP5KGtFtYvt/XpKh X-Gm-Gg: ASbGncslSOprs+V2ucfdNi3mT65cHRMDGEGiytJ82ygOPHP6P3sfUesrtoeRu9SWw2I ZLMAq/lc9bZBUZeuoZkcjyfY5/3dO0R2bimGItfwnn6VwSMNnE9OjGTjLGWf+aqoLeohU/LVZeZ BcOtfDqf+E9PSpIPDwZTJYiWQdfoFH3oPQagUE7hM790tfgwO4dNh6u4v3I52WTz2YZkyc6C0Bi pEaN8QdwVJch3beYdB5sxyU27Dt4KxPeHBlPhysmKJAkZ4TjdFsVIhAZ6aBRFtQH3Z+36d6TAxN DLWusNwWPqJYac0QXTqqlHio/Hrxha1z X-Google-Smtp-Source: AGHT+IF3Y1OdBm6Bd1+oFq5jr6guiw+KiLm3YYSyvSouH1zIcxFakqnJgnqRef2BsWDhlDIKh3UV8g== X-Received: by 2002:a17:903:3c68:b0:224:1001:677c with SMTP id d9443c01a7336-22bea4a19f8mr10788825ad.9.1744332137304; Thu, 10 Apr 2025 17:42:17 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::c043]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73bd21c6464sm226987b3a.64.2025.04.10.17.42.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Apr 2025 17:42:16 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 12/12] python3-twitter: Switch to use PEP-517 build backend Date: Thu, 10 Apr 2025 17:42:01 -0700 Message-ID: <20250411004201.3826913-12-raj.khem@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250411004201.3826913-1-raj.khem@gmail.com> References: <20250411004201.3826913-1-raj.khem@gmail.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 ; Fri, 11 Apr 2025 00:42:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116786 Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-twitter_4.15.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-twitter_4.15.0.bb b/meta-python/recipes-devtools/python/python3-twitter_4.15.0.bb index 19c4b8680c..c35b97a9e4 100644 --- a/meta-python/recipes-devtools/python/python3-twitter_4.15.0.bb +++ b/meta-python/recipes-devtools/python/python3-twitter_4.15.0.bb @@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "1345cbcdf0a75e2d89f424c559fd49fda4d8cd7be25cd5131e3b57bad8 PYPI_PACKAGE = "tweepy" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += "\ python3-pip \