From patchwork Tue May 2 16:50:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 23278 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 83540C7EE2A for ; Tue, 2 May 2023 16:50:14 +0000 (UTC) Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com [209.85.219.50]) by mx.groups.io with SMTP id smtpd.web11.1305.1683046208141566425 for ; Tue, 02 May 2023 09:50:08 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=Awii6Tsy; spf=pass (domain: baylibre.com, ip: 209.85.219.50, mailfrom: tgamblin@baylibre.com) Received: by mail-qv1-f50.google.com with SMTP id 6a1803df08f44-5eefa0a5561so41651576d6.1 for ; Tue, 02 May 2023 09:50:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1683046207; x=1685638207; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=QyKGYy2is6/M7GZe5WwGpJy2t6WYA+meQces4bMGIhc=; b=Awii6TsyuvCtb11Fo0KJOI0V3TGX8by27jNOo56+GL4CvPep7VMg4ZVvi7wDdA9Kvw DQyS6vNaWUWlyznqisFgYwzjunVYZwQ/95kziSvcXw2CAR3SpLH2gmV7NrXGxfrQhYCf d+JJy0V+9pqTSx5QgfyqjRSgJkakwhTw1WztIi94MGpza58YuMQHj3Xsv5iJ1j5wCBXh Y+l5oq7Qo8UPNRbUXu5GbdeHN7H+EnjXeNstV0KuGBXc2E+P5qSwhJ0kqRjowT2VEoC5 2EHNihXcTdf4vHpY1KGQDJNaNDdXDv7vfnFq5d00txDgxY4EMXkJi04EA/0F1z1TX07N BKHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683046207; x=1685638207; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QyKGYy2is6/M7GZe5WwGpJy2t6WYA+meQces4bMGIhc=; b=k9s3r9KHrqjrH5MKqHrXPftNW0kzGLZMEWnvWybfP1ViktRR96oPHQ1zUQwkAy7zd2 p8+7fXs3EiFhoC3Z4KRiPE9hVwdx0CPk7T3smd77ujjvucmPqfec3kInbVL7TuT7BeNl fDZWgkBJJrKlKB7GmvGCR9haDeSssYfC7wBEx0mL2ZUZ/JUbP6F19/dOO8vxmZYoqyXy aIn8LuGkPmk3WvA1Y00IcpVaWVd+WYi+XqT9UO6aSyW/Att54biillc82r3qtBGGPfZy d0A7479hLqKDxakD1TwzUfE1ZBPtkKk7w5zMb8XuP49HnCIOlmQQ4IWBp5df4F9/cIaf bKtQ== X-Gm-Message-State: AC+VfDxtOC/Pq+xvSTmDxhPFi558KopwZ53PdKoqfFj2BGnMmrqI6kd6 2KELqouDQjTShX3w/7/w0zVvi+ChGFiZ8TheKck= X-Google-Smtp-Source: ACHHUZ6g+d3s7Ff1TLgtuVoUBrhHXD0GIGDX+gW+bq3Lvd9F938MhvUWpWdDUcidp2Kql+rjLFS0mg== X-Received: by 2002:a05:6214:62b:b0:5ef:4763:2f61 with SMTP id a11-20020a056214062b00b005ef47632f61mr6229286qvx.20.1683046207072; Tue, 02 May 2023 09:50:07 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id u9-20020a0cf889000000b0061b5afbd8e8sm1531777qvn.52.2023.05.02.09.50.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 09:50:06 -0700 (PDT) From: Trevor Gamblin To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 1/6] python3-platformdirs: Add recipe Date: Tue, 2 May 2023 12:50:00 -0400 Message-Id: <20230502165005.880470-2-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230502165005.880470-1-tgamblin@baylibre.com> References: <20230502165005.880470-1-tgamblin@baylibre.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 02 May 2023 16:50:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102266 Signed-off-by: Trevor Gamblin --- .../python/python3-platformdirs/run-ptest | 3 ++ .../python/python3-platformdirs_3.5.0.bb | 35 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-platformdirs/run-ptest create mode 100644 meta-python/recipes-devtools/python/python3-platformdirs_3.5.0.bb diff --git a/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest b/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest new file mode 100644 index 000000000..b63c4de0d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest @@ -0,0 +1,3 @@ +#!/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-devtools/python/python3-platformdirs_3.5.0.bb b/meta-python/recipes-devtools/python/python3-platformdirs_3.5.0.bb new file mode 100644 index 000000000..b5ff369d0 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-platformdirs_3.5.0.bb @@ -0,0 +1,35 @@ +SUMMARY = "A small Python module for determining appropriate platform-specific dirs" +HOMEPAGE = "https://github.com/platformdirs/platformdirs" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a" + +SRC_URI = " \ + git://github.com/platformdirs/platformdirs.git;branch=main;protocol=https \ + file://run-ptest \ +" + +SRCREV ?= "dcb56802714f5570236c86d03773ff881be6e39f" +SRC_URI[sha256sum] = "7954a68d0ba23558d753f73437c55f89027cf8f5108c19844d4b82e5af396335" + +inherit python_setuptools_build_meta ptest + +DEPENDS += " \ + python3-hatch-vcs-native \ + python3-setuptools-scm-native \ + python3-toml-native \ +" + +S = "${WORKDIR}/git" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-appdirs \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-pytest-mock \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/Tests + cp -rf ${S}/tests ${D}${PTEST_PATH}/ +} + +BBCLASSEXTEND = "native" From patchwork Tue May 2 16:50:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 23273 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 721FDC7EE25 for ; Tue, 2 May 2023 16:50:14 +0000 (UTC) Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) by mx.groups.io with SMTP id smtpd.web11.1306.1683046208970369830 for ; Tue, 02 May 2023 09:50:09 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=v3C418Hy; spf=pass (domain: baylibre.com, ip: 209.85.222.173, mailfrom: tgamblin@baylibre.com) Received: by mail-qk1-f173.google.com with SMTP id af79cd13be357-74de7635180so376912085a.3 for ; Tue, 02 May 2023 09:50:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1683046208; x=1685638208; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=eRht0OD6q/zsHx1lw0ejDwqDH/ay1ddbl55nCW/qYbo=; b=v3C418HyvhgwFO+J3UzXUFDs0urV0LX+7T48QsqKzJv6+oXI9nm/kwl6MVsEEyCB5d o6l7iF5j4uLhDwYzHD5AbQqHhE3T7kHNXmu0y9uRrQJ7M8ncsEcsPExpE9XpyB6dMVcF aYC7bUZZoVzi8I4rOPnYQXr9bWlvBxOjWxVC1mMDO/jU+Z1tsmBLfPTSkIcvIO6NewDr PogEIMv9XzF89p9PKZNBIewE7KEgJL63Vahlcc99+aH4nzgAADOTG1hxLkfynzc5zyp0 CYs85RMUiR+Fs0NfwNjdpLGssQaZ1Gasyd3H+Y9HAxPNUu9DTSxU0Td8CymSP6RHM1Cg bMbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683046208; x=1685638208; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eRht0OD6q/zsHx1lw0ejDwqDH/ay1ddbl55nCW/qYbo=; b=b9nV4OhJpA4rEmGVchtrUD1JBtYo1Pl90fPLFgvynbN5CaSh4oYW+g81QE8iMElbzL wCzzMpNW//yd2/hhMsfLJS5zlReVDq5UzPO25OwOey3HsIG5NuodgKwSnuYooN3udW1/ dG1pVDbdCv738HQonZyk/2IUKVGGavAW4BoquzOqLsxLigFnASX4uHoGCwSqiwn73IrR jZ1BPbj4g8yADYT9pLU3NcgAhpgsHiNcY86u2iOl3GuYQnT5p95Ma+v/lszsc+6TZVew UaK2rKx4yE29MmcaLx4Z5JRi2bcKrU2zzkt35e61W7co6jEWk/O0TFJr7zpzLp3oQQkP mdDQ== X-Gm-Message-State: AC+VfDyk8gp78gNEJTSh1Ow5zQrKn4TkyitgAenaIjAmJOzvN8akoT36 /su8+EdqgEdBC3IZuGSntSGZmQsDsWvecGZNoys= X-Google-Smtp-Source: ACHHUZ56GVzNKWC+EgW7hJP8BVV+abjNjzBo2FDdoZH2yA78QLaEwoFiVOATDN80s4qW7W981s0DGg== X-Received: by 2002:a05:6214:2265:b0:61b:6872:1459 with SMTP id gs5-20020a056214226500b0061b68721459mr3433276qvb.49.1683046207937; Tue, 02 May 2023 09:50:07 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id u9-20020a0cf889000000b0061b5afbd8e8sm1531777qvn.52.2023.05.02.09.50.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 09:50:07 -0700 (PDT) From: Trevor Gamblin To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 2/6] python3-pytest-mock: Add recipe Date: Tue, 2 May 2023 12:50:01 -0400 Message-Id: <20230502165005.880470-3-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230502165005.880470-1-tgamblin@baylibre.com> References: <20230502165005.880470-1-tgamblin@baylibre.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 02 May 2023 16:50:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102267 Signed-off-by: Trevor Gamblin --- .../python/python3-pytest-mock/run-ptest | 3 +++ .../python/python3-pytest-mock_3.10.0.bb | 26 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest create mode 100644 meta-python/recipes-devtools/python/python3-pytest-mock_3.10.0.bb diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest b/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest new file mode 100644 index 000000000..b63c4de0d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest @@ -0,0 +1,3 @@ +#!/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-devtools/python/python3-pytest-mock_3.10.0.bb b/meta-python/recipes-devtools/python/python3-pytest-mock_3.10.0.bb new file mode 100644 index 000000000..c4e672f33 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-mock_3.10.0.bb @@ -0,0 +1,26 @@ +SUMMARY = "Thin-wrapper around the mock package for easier use with pytest" +HOMEPAGE = "https://github.com/pytest-dev/pytest-mock/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = " \ + file://LICENSE;md5=b2ddb1e69238461b7e4ef2a84d874109 \ +" + +SRC_URI = " \ + git://github.com/pytest-dev/pytest-mock;branch=main;protocol=https \ + file://run-ptest \ +" + +SRCREV ?= "6c03dfd4240de4a178bab67c0a32fba28d8bcf91" + +SRC_URI[sha256sum] = "fbbdb085ef7c252a326fd8cdcac0aa3b1333d8811f131bdcc701002e1be7ed4f" + +inherit setuptools3 ptest + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +S = "${WORKDIR}/git" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests ${D}${PTEST_PATH}/ +} From patchwork Tue May 2 16:50:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 23275 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 7B2B3C7EE22 for ; Tue, 2 May 2023 16:50:14 +0000 (UTC) Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) by mx.groups.io with SMTP id smtpd.web11.1307.1683046209580312193 for ; Tue, 02 May 2023 09:50:09 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=gx/JL8Fw; spf=pass (domain: baylibre.com, ip: 209.85.222.176, mailfrom: tgamblin@baylibre.com) Received: by mail-qk1-f176.google.com with SMTP id af79cd13be357-74e462a540aso188255985a.1 for ; Tue, 02 May 2023 09:50:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1683046208; x=1685638208; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Ny1Eb7h6BYAdiTh3a+SMiPlQx5wRweupU97HjBnlYqE=; b=gx/JL8Fw+UiGEqnISGV9/wAX5vT3bkCM3mQvJfFNSHTvcSSZMGlrIQw8+PmvD7tJM0 zClRKwIBllIMK7txSi7eDg1rT5yFg09Xqz17E92q/8a3cui8cS1ufqJW4343JPJBD920 gDkU9GexPNn4B1ZCCRms0Q09582piS8kv676TrSxyRBkdwCXejdGbOUXQIyNA6+uQjnK tUaB34NhNOiGJoxWwrcCJM29UHxfFafwMMXwBVfdkT9A0yfx7ZyivctMExPbxPFhi6Xf EsVKmRTDdvCqoOvjWGc0+hJED6beL4HXNF7Ub4jA6W9Yavb4z1WI7EKLVrGr2p107WGy B40Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683046208; x=1685638208; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ny1Eb7h6BYAdiTh3a+SMiPlQx5wRweupU97HjBnlYqE=; b=PSlUawCM362L6mvT54zr9X7wZvMu2XnaJMIOo8TteaiEggGwNc300NCKC/BZqqzf1u GPfaLhx41th3UMlKz5705gUc7Q817wDRNDwhkmtSM8GMQCCd6+Wh9HwDvVMvXwL3MUnf 4/fMBbdwfGfJs65Fm4ZXA5LO4vjh3o6/+8GTKx5WraahlOnSrydniQLSquRQheXF9ZEl 4XSGx/zkHUIR4VEHv+SBfBeWuxa/UHyDZpZtTzmrApd/K3GGaemdLqP5u5IRiq1cFyWl G1GjxafWJzHASsd7NmPODHjOff6VPWu8ftVyf4xWn/OZ3YQEGozBDI2/c4lU8nQrxJGM WWkQ== X-Gm-Message-State: AC+VfDzysof6AzXg6pkA5mrSpVJuo4G+K4Exj/hs2aTHIjGaC3dSIADH /W1c+C5+FCMLAKG3X4TcqWuNgAPB1hsMNqv2DzQ= X-Google-Smtp-Source: ACHHUZ43eceUfvpAwealXiWNyOnPTKts8WKxufm/z5TNWPuPKv8cJlofF4eeLzTMuUQd17umNCeu6w== X-Received: by 2002:ad4:5de5:0:b0:5ef:642e:7cd2 with SMTP id jn5-20020ad45de5000000b005ef642e7cd2mr6222750qvb.7.1683046208583; Tue, 02 May 2023 09:50:08 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id u9-20020a0cf889000000b0061b5afbd8e8sm1531777qvn.52.2023.05.02.09.50.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 09:50:08 -0700 (PDT) From: Trevor Gamblin To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 3/6] python3-tomlkit: Add recipe Date: Tue, 2 May 2023 12:50:02 -0400 Message-Id: <20230502165005.880470-4-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230502165005.880470-1-tgamblin@baylibre.com> References: <20230502165005.880470-1-tgamblin@baylibre.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 02 May 2023 16:50:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102268 Signed-off-by: Trevor Gamblin --- .../python/python3-tomlkit/run-ptest | 3 +++ .../python/python3-tomlkit_0.11.8.bb | 23 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-tomlkit/run-ptest create mode 100644 meta-python/recipes-devtools/python/python3-tomlkit_0.11.8.bb diff --git a/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest b/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest new file mode 100644 index 000000000..b63c4de0d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest @@ -0,0 +1,3 @@ +#!/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-devtools/python/python3-tomlkit_0.11.8.bb b/meta-python/recipes-devtools/python/python3-tomlkit_0.11.8.bb new file mode 100644 index 000000000..71a43c455 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-tomlkit_0.11.8.bb @@ -0,0 +1,23 @@ +SUMMARY = "Style preserving TOML library" +HOMEPAGE = "https://pypi.org/project/tomlkit/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82" + +SRC_URI[sha256sum] = "9330fc7faa1db67b541b28e62018c17d20be733177d290a13b24c62d1614e0c3" + +inherit pypi python_poetry_core ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-poetry-core \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-pyyaml \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} From patchwork Tue May 2 16:50:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 23274 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 7F43DC7EE26 for ; Tue, 2 May 2023 16:50:14 +0000 (UTC) Received: from mail-qv1-f49.google.com (mail-qv1-f49.google.com [209.85.219.49]) by mx.groups.io with SMTP id smtpd.web11.1308.1683046210442137901 for ; Tue, 02 May 2023 09:50:10 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=FXpEhn8B; spf=pass (domain: baylibre.com, ip: 209.85.219.49, mailfrom: tgamblin@baylibre.com) Received: by mail-qv1-f49.google.com with SMTP id 6a1803df08f44-61a35fdf61dso13199686d6.2 for ; Tue, 02 May 2023 09:50:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1683046209; x=1685638209; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=kgWg5MGjg4fwjM1wnWpAgj9huAH9usshZd2b4rAAy5o=; b=FXpEhn8BR8804Sjj5W+WAJKO/CSXNDv8ueoC1z1lx3ejqsIGTXGQpP2wlwv7pLjam+ hymgtln0KnD6US+/KwcECLkYPR2vIi2c4hXr2oEolZ2Eei2iBQa0jeqKr9HxPhrjpFsO L2PV7vq6QsySpI5BrDYtDGkGmCI9Ch5Q22+KttHImAN7HcZYJCjOV2yT6Iq0mQOKdPmI KAaZnMk/zTJLd+JqjoWsdb7YZ4TPQ8oGzWRK1bgaX4mU3EX2L3BDZfgnVZBfBOkMijx9 8DYxNalthZ71QUdj58bgFsBFL3sFo83U7wy4K20pVt51C+sfOE9FM+hpbjZbWc50NIFK yeHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683046209; x=1685638209; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kgWg5MGjg4fwjM1wnWpAgj9huAH9usshZd2b4rAAy5o=; b=ZR6wJlv2SuI/4MhRHwvJ5UgFBVB7RNI0z6lxFm+skMRhTwavrpl+cS5Y2votDNCiwD QawAs4zPVTqJ7qNhhgyfmSsqFoSkfxKDf+tzLb1frGLSbI7N+pxW3fzK4xtNxhsSY8dz pzuKSPcQNdmgwQfwGAffLTZomHkVLQ5Hao0nmrJzuZmrJyahHHYkwdUx3I/phYktwjRg zo3Zo1AEYivIAIru7aTBxW/SNQ3eTp8CkN2NumET+OYGDBcZ7EoBjWmW29JGESuE29O1 CIufpNhvK3owkr7EEhcpdGz/wnsYC9EgZjJy714TJrYeadmxH6rO0l+UTzY0lbkwZbrG rIOA== X-Gm-Message-State: AC+VfDzIvNB3SnxkJB6w5D4yKLvHeaX2b5g5WyIo0A/HIa09y2MfOmN4 /2WGQrgcrLxugnwrMH5FLQZ43Qi420B+9E6JOD4= X-Google-Smtp-Source: ACHHUZ667thSTZ4Q6i/EjuSW4NJmVtiyIZw794aw1C436Xbd+ps545ZH8Yq6xpaWGGHHZw2HUnX++w== X-Received: by 2002:a05:6214:ca1:b0:5e8:ea1c:69fe with SMTP id s1-20020a0562140ca100b005e8ea1c69femr6228938qvs.42.1683046209325; Tue, 02 May 2023 09:50:09 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id u9-20020a0cf889000000b0061b5afbd8e8sm1531777qvn.52.2023.05.02.09.50.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 09:50:09 -0700 (PDT) From: Trevor Gamblin To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 4/6] python3-pylint: upgrade 2.14.5 -> 2.17.3 Date: Tue, 2 May 2023 12:50:03 -0400 Message-Id: <20230502165005.880470-5-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230502165005.880470-1-tgamblin@baylibre.com> References: <20230502165005.880470-1-tgamblin@baylibre.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 02 May 2023 16:50:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102269 Change pylint to inherit python_setuptools_build_meta instead of setuptools3. Also add a patch to remove hard-coded version depdendencies for wheel and setuptools from the pyproject.toml, otherwise the following error occurs during do_compile: | ERROR Missing dependencies: | wheel~=0.37.1 | setuptools~=62.6 Release note links: 2.17.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.17/index.html 2.16.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.16/index.html 2.15.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.15/index.html 2.14.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.14/index.html Signed-off-by: Trevor Gamblin --- ....toml-Remove-hard-coded-dependencies.patch | 30 +++++++++++++++++++ ...int_2.14.5.bb => python3-pylint_2.17.3.bb} | 5 ++-- 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-pylint/0001-pyproject.toml-Remove-hard-coded-dependencies.patch rename meta-python/recipes-devtools/python/{python3-pylint_2.14.5.bb => python3-pylint_2.17.3.bb} (72%) diff --git a/meta-python/recipes-devtools/python/python3-pylint/0001-pyproject.toml-Remove-hard-coded-dependencies.patch b/meta-python/recipes-devtools/python/python3-pylint/0001-pyproject.toml-Remove-hard-coded-dependencies.patch new file mode 100644 index 000000000..55d42b101 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pylint/0001-pyproject.toml-Remove-hard-coded-dependencies.patch @@ -0,0 +1,30 @@ +From 843d050f1bf889b81fa8fc3e7a1350385c8348ec Mon Sep 17 00:00:00 2001 +From: Trevor Gamblin +Date: Mon, 1 May 2023 11:32:24 -0400 +Subject: [PATCH] pyproject.toml: Remove hard-coded dependencies + +The upstream pyproject.toml has hard-coded dependencies on specific +versions of wheel and setuptools. This breaks builds of pylint +2.17.3, so patch it to remove the pinned versions. + +Upstream-Status: Pending + +Signed-off-by: Trevor Gamblin +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index e4b63c660..0ee21e0eb 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools~=62.6", "wheel~=0.37.1"] ++requires = ["setuptools", "wheel"] + build-backend = "setuptools.build_meta" + + [project] +-- +2.40.0 + diff --git a/meta-python/recipes-devtools/python/python3-pylint_2.14.5.bb b/meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb similarity index 72% rename from meta-python/recipes-devtools/python/python3-pylint_2.14.5.bb rename to meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb index 738b9250c..b85f77503 100644 --- a/meta-python/recipes-devtools/python/python3-pylint_2.14.5.bb +++ b/meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb @@ -3,9 +3,10 @@ HOMEPAGE= "http://www.pylint.org/" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" -SRC_URI[sha256sum] = "487ce2192eee48211269a0e976421f334cf94de1806ca9d0a99449adcdf0285e" +SRC_URI += "file://0001-pyproject.toml-Remove-hard-coded-dependencies.patch" +SRC_URI[sha256sum] = "761907349e699f8afdcd56c4fe02f3021ab5b3a0fc26d19a9bfdc66c7d0d5cd5" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += "${PYTHON_PN}-astroid \ ${PYTHON_PN}-isort \ From patchwork Tue May 2 16:50:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 23277 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 6C8FEC77B7E for ; Tue, 2 May 2023 16:50:14 +0000 (UTC) Received: from mail-qv1-f49.google.com (mail-qv1-f49.google.com [209.85.219.49]) by mx.groups.io with SMTP id smtpd.web10.1309.1683046211277712019 for ; Tue, 02 May 2023 09:50:11 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=vZKeSyoM; spf=pass (domain: baylibre.com, ip: 209.85.219.49, mailfrom: tgamblin@baylibre.com) Received: by mail-qv1-f49.google.com with SMTP id 6a1803df08f44-5ef6135d2a8so19258646d6.3 for ; Tue, 02 May 2023 09:50:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1683046210; x=1685638210; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=JrZuHx77Tp1GZhiS9w/9F9nwUhdlQQdju884mo+xqzE=; b=vZKeSyoMM3hayH4xRUMKgjbuezvGUUstWJkJpj1H8brpLe5rBrEM5Gt80jE879U0Tx p+hJBBcXEc0Bv2x1ZkR8sei5tUotekjQYckmhlLaACCKgbYV3VumCCPv3h/ln8Njt+10 VWemuYku025xv80YAsWH9jwt7pSscf70U0kCXHJbriC3ECVklwIgmQzHstuSrTc2jjKM kO3suF6ULhmsiJ/+BauGFFQgoq9RklwLg5YFe7dGpcuq3LKr85o0DHIKOg1aYrEBO/hZ 0Z6h8fckUeQFrPTehV7QwSj8Qcub1SjQvwqCgLBKcZd2qy2hfT4JQQCp7rg8qvIg6G7a 0BRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683046210; x=1685638210; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JrZuHx77Tp1GZhiS9w/9F9nwUhdlQQdju884mo+xqzE=; b=bH2546b7e8Qpq9aSWm+ErwCF+PvvzSuDwyfxVD8ydtUziz6mZkLfS+9TNxRl9Bz33k N4yAThvtsSMYRDo71P5is53IukdYS4ck2Lm7p7DEIG9xQyK7oy8lR4cwSxDjo0WGEsQC fcgALgJZTebG6ufVQFg7CVILwkoky2L6tCM7gDSQE0jh/XZBVRpX4dl5e2vJ+4kJJXfR ljNBt86zU3loB7HkHij3tw02UbgEa2x7rqS5n4r5h7ph8XHlPPdz0zB9/LJN8GFrG4lb GwxNT97sN2dcbkKEQuBjKMWpiW2nX1eVzEcuY0g8EfZmwAcXONEReBgsRaNSfhY99tc/ kXpw== X-Gm-Message-State: AC+VfDzGJLML2l1Nq4qla0PoVxMT/sFVrqVCSkzPm+ZurgwMiHNBqTbV hmE0kolPyq96sxCRDcVebGSMy5SZuXUY6tjrwoM= X-Google-Smtp-Source: ACHHUZ5FQLgKProE3DY4x7vqtnwT54PE4rbY81sBiQDT28gbBBbjjUXOxjzalmA7M3T0G4GFL++SaA== X-Received: by 2002:a05:6214:21aa:b0:600:5dbc:c31a with SMTP id t10-20020a05621421aa00b006005dbcc31amr5844798qvc.7.1683046210169; Tue, 02 May 2023 09:50:10 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id u9-20020a0cf889000000b0061b5afbd8e8sm1531777qvn.52.2023.05.02.09.50.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 09:50:09 -0700 (PDT) From: Trevor Gamblin To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 5/6] python3-pylint: add ptest Date: Tue, 2 May 2023 12:50:04 -0400 Message-Id: <20230502165005.880470-6-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230502165005.880470-1-tgamblin@baylibre.com> References: <20230502165005.880470-1-tgamblin@baylibre.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 02 May 2023 16:50:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102270 Signed-off-by: Trevor Gamblin --- ....toml-Remove-hard-coded-dependencies.patch | 10 ++----- .../python/python3-pylint/run-ptest | 3 ++ .../python/python3-pylint_2.17.3.bb | 30 +++++++++++++++++-- 3 files changed, 32 insertions(+), 11 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-pylint/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-pylint/0001-pyproject.toml-Remove-hard-coded-dependencies.patch b/meta-python/recipes-devtools/python/python3-pylint/0001-pyproject.toml-Remove-hard-coded-dependencies.patch index 55d42b101..267e4c30d 100644 --- a/meta-python/recipes-devtools/python/python3-pylint/0001-pyproject.toml-Remove-hard-coded-dependencies.patch +++ b/meta-python/recipes-devtools/python/python3-pylint/0001-pyproject.toml-Remove-hard-coded-dependencies.patch @@ -1,21 +1,15 @@ -From 843d050f1bf889b81fa8fc3e7a1350385c8348ec Mon Sep 17 00:00:00 2001 +From c5c415a240189ac6730ba95de0bb5883dfb53609 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Mon, 1 May 2023 11:32:24 -0400 Subject: [PATCH] pyproject.toml: Remove hard-coded dependencies -The upstream pyproject.toml has hard-coded dependencies on specific -versions of wheel and setuptools. This breaks builds of pylint -2.17.3, so patch it to remove the pinned versions. - -Upstream-Status: Pending - Signed-off-by: Trevor Gamblin --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml -index e4b63c660..0ee21e0eb 100644 +index bd542646b..2c0ed9485 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ diff --git a/meta-python/recipes-devtools/python/python3-pylint/run-ptest b/meta-python/recipes-devtools/python/python3-pylint/run-ptest new file mode 100644 index 000000000..b63c4de0d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pylint/run-ptest @@ -0,0 +1,3 @@ +#!/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-devtools/python/python3-pylint_2.17.3.bb b/meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb index b85f77503..58f0616fc 100644 --- a/meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb +++ b/meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb @@ -3,10 +3,14 @@ HOMEPAGE= "http://www.pylint.org/" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" -SRC_URI += "file://0001-pyproject.toml-Remove-hard-coded-dependencies.patch" -SRC_URI[sha256sum] = "761907349e699f8afdcd56c4fe02f3021ab5b3a0fc26d19a9bfdc66c7d0d5cd5" +SRC_URI += " \ + git://github.com/pylint-dev/pylint;branch=main;protocol=https \ + file://run-ptest \ + file://0001-pyproject.toml-Remove-hard-coded-dependencies.patch \ + " +SRCREV ?= "389e14c36819cb87190fd412d3f366a3283f0078" -inherit pypi python_setuptools_build_meta +inherit python_setuptools_build_meta ptest RDEPENDS:${PN} += "${PYTHON_PN}-astroid \ ${PYTHON_PN}-isort \ @@ -17,3 +21,23 @@ RDEPENDS:${PN} += "${PYTHON_PN}-astroid \ ${PYTHON_PN}-difflib \ ${PYTHON_PN}-netserver \ " + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-dill \ + ${PYTHON_PN}-git \ + ${PYTHON_PN}-platformdirs \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-pytest-benchmark \ + ${PYTHON_PN}-statistics \ + ${PYTHON_PN}-tomlkit \ + ${PYTHON_PN}-tomllib \ + " + +S = "${WORKDIR}/git" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript +} From patchwork Tue May 2 16:50:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 23276 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 8BC4DC7EE29 for ; Tue, 2 May 2023 16:50:14 +0000 (UTC) Received: from mail-qv1-f53.google.com (mail-qv1-f53.google.com [209.85.219.53]) by mx.groups.io with SMTP id smtpd.web10.1310.1683046211974603411 for ; Tue, 02 May 2023 09:50:12 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=TrfgaXSh; spf=pass (domain: baylibre.com, ip: 209.85.219.53, mailfrom: tgamblin@baylibre.com) Received: by mail-qv1-f53.google.com with SMTP id 6a1803df08f44-5f95cedb135so18267126d6.1 for ; Tue, 02 May 2023 09:50:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1683046211; x=1685638211; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Gkm+UwBotn2Oy1ENr13yXOxIiWiWLkdjfvnGGl5u2dU=; b=TrfgaXSh8IR3iGsoXFSxdXArDihpkD7dadwE31h29t45AJczikixbmDlsx67Fvh0z3 5RgyUz/P8PRm2JkuClkhRY9AY1v2vW9RMagKUt4FI6FVjmG/89DsJb/lwo+817smw0RC IDDqARYimXiWTY7qZJgMqLdAXXV4D3deeYIV3m44nQzCraA2eL8t17cu2iZkEtT8xQ/R 880V27n+A/aVVrQ8dj+ygwGuCLIEcm09UqUg+9m+aLH15gRXSM7JlbIdARFdx/KFcArW dkX+G9/j1WWXbK7n5153Z+sDLxQYOKEfAflxExJCLqgumO9Ff3zjGRKfvKuIUoUfrDUp 7yWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683046211; x=1685638211; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Gkm+UwBotn2Oy1ENr13yXOxIiWiWLkdjfvnGGl5u2dU=; b=b+fsxio4WeT6NlNVH7QMJ3xq+VOPN7xxLk/rRs+eKgYdKSKIVdYGHYRJwCa8OvKbF5 0QleHf36+YRtjKOPvZYQdcmPq93KdYu9IrcHKpNa5Esq2wxdaZISlmu2TXGEw+uq5c9r vpr+LHya3fmRcDFiV8z9SEvfZgkKtnLURnp1kZyo4krm0p9tXhYR1BCwqekoM9FR15oV RCYOH8b6g6P0HVAvG88FeqQqY0OgoHejVQofi7+EOmeXfKmz93iP21eC56SANoPxUsH4 XtMWZLJXKDh7onfibubQ2D+YLoGhT8S+YEgmcNN2iiMld4Aa/K+0m7Ida3LG2t11jVxn avLw== X-Gm-Message-State: AC+VfDxVI2lR04sdqICQA+lH8fLdd6pjluK0wJ/3DE9p3VuPj02+2FX4 V6RxWM9QZuLe7OKdi/BApa9kPqLhvq3L6L/Vxgg= X-Google-Smtp-Source: ACHHUZ6Oz3C2bqolF2x2QCLwG0HDi8fhWSWMneKYRFdzb8n/ib2atvkPiWzgmAjt/IAV0Hi4mjMQYg== X-Received: by 2002:a05:6214:2422:b0:5a6:1571:1eb with SMTP id gy2-20020a056214242200b005a6157101ebmr6968507qvb.27.1683046210887; Tue, 02 May 2023 09:50:10 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id u9-20020a0cf889000000b0061b5afbd8e8sm1531777qvn.52.2023.05.02.09.50.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 09:50:10 -0700 (PDT) From: Trevor Gamblin To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 6/6] ptest-packagelists-meta-python: Add new tests Date: Tue, 2 May 2023 12:50:05 -0400 Message-Id: <20230502165005.880470-7-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230502165005.880470-1-tgamblin@baylibre.com> References: <20230502165005.880470-1-tgamblin@baylibre.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 02 May 2023 16:50:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102271 Add ptests for python3-pylint, python3-platformdirs, python3-pytest-mock, python3-tomlkit. Signed-off-by: Trevor Gamblin --- meta-python/conf/include/ptest-packagelists-meta-python.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index ef5d20bcd..f5935e4a9 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -23,13 +23,16 @@ PTESTS_FAST_META_PYTHON = "\ python3-ipy \ python3-iso3166 \ python3-parse-type \ + python3-platformdirs \ python3-polyline \ python3-precise-runner \ python3-prettytable \ python3-ptyprocess \ python3-pyasn1-modules \ + python3-pylint \ python3-pyroute2 \ python3-pyserial \ + python3-pytest-mock \ python3-pytoml \ python3-requests-file \ python3-requests-toolbelt \ @@ -39,6 +42,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-smpplib \ python3-soupsieve \ python3-sqlparse \ + python3-tomlkit \ python3-u-msgpack-python \ python3-unidiff \ python3-uritemplate \