From patchwork Sat Feb 17 00:14:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39557 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 D9842C48260 for ; Sat, 17 Feb 2024 00:16:02 +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.571.1708128962273932813 for ; Fri, 16 Feb 2024 16:16:02 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SX/HYU4O; spf=pass (domain: gmail.com, ip: 209.85.210.170, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-6e0f803d9dfso955240b3a.0 for ; Fri, 16 Feb 2024 16:16:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128961; x=1708733761; darn=lists.openembedded.org; 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=jg6cAskr6R/zH19wECWa4NR8Z1/d12KBEMYBrMtwO2M=; b=SX/HYU4O/2pJRsNybDb6pSRecyaRMbnuLWT+I7wMeQoeQUryOeJC0Wgn+Ghlvz3fYf llqeaMiH4AzdPuUE0VIMzeVp5RdExfkb+6Rp4Lru/73aKeUuAV2wFa8aN/kbKbUrNFdR OD7mk1C92A+dsnMr8zOek+0xLZjGNFGczMfZ1gtNHQucLLfVqsxw/4lnrFhBST0OBidQ zF4UEq/H4TrndkqE3OQaVC17Mv9BqqcKjrLLgaDdmiCm/Q486oPWjLNHKoQ7CzqLPybF 1Blaqs9C+UZFNsrBhPJ6flgpIFb6hWpV+OntkdYuehpgaJfC9O0947ztke/oTLUgBqs5 FbQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128961; x=1708733761; 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=jg6cAskr6R/zH19wECWa4NR8Z1/d12KBEMYBrMtwO2M=; b=Ifm+16SM3Avosn5gRqKHoaatbDBAMHHQSnsI3RU9AUArCo3WKM9mEkdS+Up1S2CeKL 87A5/oukjnbyJAaShqhQJVISllsBqa2L/MUzRNRX7pWjoIM+r3L3ieTTBnOH7+Pwc/xR +sxYGFJM0zebsOytJmFqtD/wfgKRE70SLEXk+8sMmZnKZtbw/eOs75s44lc0ur733am3 bApBQTLtBoBMgjsGs14+ISXwA1D2d2l3TbPCLupK0PNiMHfbqpxC/wf3EIr6T3ZFGC3y LGL4+Y43PAbKOmOnzxStgqcbsBIshtAzTD6l3ZV/f+QANtBSmFX4H6l0DaJP+NwS44r7 5lTw== X-Gm-Message-State: AOJu0YwJwmSAiRstE77WCbOxsopasjN5mrTeOaog21ni9tby9vpCn2i4 LozbMviqRzj9gPtnsHy4CHSxC87wV6quW2n9oJWww4b7lJRIzD+yQsKADapX X-Google-Smtp-Source: AGHT+IFbVfb8PC1qWw0vwVhYsz7Y4fw7p7HOyODRPscXbguQHd86zrAPPNPGlFvs/JY5kAIYf/wA4Q== X-Received: by 2002:a05:6a00:6c90:b0:6e0:2edd:6ee1 with SMTP id jc16-20020a056a006c9000b006e02edd6ee1mr8253623pfb.22.1708128961502; Fri, 16 Feb 2024 16:16:01 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:01 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 01/60] python3-uritemplate: switch to pytest --automake Date: Fri, 16 Feb 2024 16:14:52 -0800 Message-Id: <8df766926c443526fbd04954318d6a684e23f46d.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108771 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-uritemplate/run-ptest | 2 +- .../recipes-devtools/python/python3-uritemplate_4.1.1.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-uritemplate/run-ptest b/meta-python/recipes-devtools/python/python3-uritemplate/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-uritemplate/run-ptest +++ b/meta-python/recipes-devtools/python/python3-uritemplate/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-uritemplate_4.1.1.bb b/meta-python/recipes-devtools/python/python3-uritemplate_4.1.1.bb index 3c41b1eb4f..e741b6268d 100644 --- a/meta-python/recipes-devtools/python/python3-uritemplate_4.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-uritemplate_4.1.1.bb @@ -14,7 +14,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:14:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39560 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 B8292C48260 for ; Sat, 17 Feb 2024 00:16:12 +0000 (UTC) Received: from mail-oo1-f47.google.com (mail-oo1-f47.google.com [209.85.161.47]) by mx.groups.io with SMTP id smtpd.web10.572.1708128964007869637 for ; Fri, 16 Feb 2024 16:16:04 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XZmxi4ov; spf=pass (domain: gmail.com, ip: 209.85.161.47, mailfrom: ticotimo@gmail.com) Received: by mail-oo1-f47.google.com with SMTP id 006d021491bc7-595d24ad466so1347682eaf.0 for ; Fri, 16 Feb 2024 16:16:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128963; x=1708733763; darn=lists.openembedded.org; 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=bOqOewBcUjmcyJxdSAswK9zPJ8L3khpnTbpdvWTnung=; b=XZmxi4ovJxNNTuZf78xXrrubc7/5w2LRbdQYbeHy6YpeDXUn77lvRBF87OXFsB+RYF 2b/+0scg/5C/eHqgeLNvOuCtEXyu54E6sIYqBWbaPOjpQTGQFm68zxcpebyGlKPZ9JGJ DAKste4ZwlG2kZoQz8c0Fxq+devPbmIBe/3JBYH0XRohBXidTHRDvQgVz5HHKOdQSAEX XbQF+IkK5CzlCuQQMiSQPxIVCQL3KcJekUsJs47HgFLY3GDk0LtWi1PBUDh58Ywlg+CP ivvYto6VtgNg7fyg9Mq9B4sRIzGF7Ml0d7xjiqe1gG3GldNjOWeKB6udL0ueZ6fpxbqg mP3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128963; x=1708733763; 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=bOqOewBcUjmcyJxdSAswK9zPJ8L3khpnTbpdvWTnung=; b=lXb47FJ0X/9IdJDkrhUMxrhOGMNat2euZKMaj6VlQBR0D7CN2ai9kIkObwmNUMvCtF 9sSA1asPdeT+1GTP2Z4l5IefVxIwlenCE4X/WI1jYiZqTQ1cOFEyi03wfTF0HxiqA/gN BmprzAEzVj8CXrvmwuEu0PHlGoUyUQkvY7pff/SRs1WI2RpjQ9a6IW8rf7i7xEghtT5S ZH8dxROvl1JhQPlvqM+Un5fzq3vnZaCfQIk8EYadD4i77c+U2PxOtLkkWaExge496tOS RGkagJKoq5rL6awQc6QSpYXzFN10k1yK7QQlkXIbYTNbwIp3jyKl3VUe/OiudkZte/C7 J5wQ== X-Gm-Message-State: AOJu0YxUTlwS+3LOK2L+5NnIDpvfd6ZzCFhEIL8oNZQLYnWJq+S1Krqb AJFJGUm7VesvvoTyzRDZkwPXNfMzBLRNW2ppbKoBjol8k+F5FHj5kYAgXXcJ X-Google-Smtp-Source: AGHT+IGaftTcg8W7r2w6CKFuj/7L6iuZvoha2+OYVZrngA+OE0ex/7nCZRbOQjrRWfxZI5V/Cx2zcw== X-Received: by 2002:a05:6358:d59e:b0:178:20ea:abb5 with SMTP id ms30-20020a056358d59e00b0017820eaabb5mr7062490rwb.26.1708128963078; Fri, 16 Feb 2024 16:16:03 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:02 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 02/60] python3-unidiff: switch to pytest --automake Date: Fri, 16 Feb 2024 16:14:53 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108772 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-unidiff/run-ptest | 2 +- .../recipes-devtools/python/python3-unidiff_0.7.5.bb | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-unidiff/run-ptest b/meta-python/recipes-devtools/python/python3-unidiff/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-unidiff/run-ptest +++ b/meta-python/recipes-devtools/python/python3-unidiff/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb b/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb index 690acf8634..d77252beac 100644 --- a/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb +++ b/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb @@ -12,7 +12,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { @@ -21,6 +22,6 @@ do_install_ptest() { } RDEPENDS:${PN} += " \ - ${PYTHON_PN}-codecs \ - ${PYTHON_PN}-io \ + python3-codecs \ + python3-io \ " From patchwork Sat Feb 17 00:14:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39564 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 EE28AC5475B for ; Sat, 17 Feb 2024 00:16:12 +0000 (UTC) Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com [209.85.210.52]) by mx.groups.io with SMTP id smtpd.web11.575.1708128965523186167 for ; Fri, 16 Feb 2024 16:16:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LktUHXaK; spf=pass (domain: gmail.com, ip: 209.85.210.52, mailfrom: ticotimo@gmail.com) Received: by mail-ot1-f52.google.com with SMTP id 46e09a7af769-6ddf26eba3cso1720403a34.0 for ; Fri, 16 Feb 2024 16:16:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128964; x=1708733764; darn=lists.openembedded.org; 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=1niHM48yD3aE7X3oOPE0wm4ghdAOh7xiIOfdaCVaGDw=; b=LktUHXaKsD2H0gDpaFVtKoI2VrNO3vIhYyeu6iyI2mGaKGtVd+P1q1MNIVpLPKk5LS Wo1Y2Sb2+3Sc1+homE8EYhWM5q3ZNa4cngD1wJPz3PCYmXFRjULkXv+y4OKGVI9bD1jR p5N47j0qgKqLOTSPn7Pq0Y/2ffvRamb3CP00+h60YF1dBehiR1qXiXi5GiWG+5HAQo2E cKTMhaYE/p9ZYFtUuUdfrrzujpUxd+itDUuNI1wQyQYV1aY2I5aXttTiTnnSJuj03kw3 0/NWZhHdqs1EuFOf7v2YehlD0FzymXtUdeSmXrPxkwmObPui0NM5xrjX3tip2A6qNGmk FbMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128964; x=1708733764; 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=1niHM48yD3aE7X3oOPE0wm4ghdAOh7xiIOfdaCVaGDw=; b=mIaHS75zEfIXUa4Ohjm9ATDQIODDmrwdyINqFLsSjr0fYpmdbcKi2NE7matmv5OLQy egOeAESxB4S70Darxwf3FSlCD8G29wUyYf0e2MADTDCDqLrlnwJHuoS8C6WjJvlL7kDs KwqqTeTkNZI3AOa8B2D5t6s/ngQA2GBpVJbxgsAiY8XJr4sgJyXi3PIyotAorVMTfmtk ZSJ1mQV0xZ/cy4vcE60NVq3Lku1uLYz6tCaLEmCvy89KJavdJWpK4TLDHE7wDzDZpb1w sZ8yvLmJ6zCu3slpOhs0UbJuAdSwsIc8B20Iq5l5uQMYlPjfz6/DMD2HLgeFn3duxcSG SrVQ== X-Gm-Message-State: AOJu0YytrGMxgFZgIyjfFoB7vSTZacW8hh1I0Sm3JWPwQ6a9KfhNUIPA U4wto1JPYXkUKf474cVK8KzuWDMbQ03PFmUb3i7E+UPnxwk2aFggXvkGFBaz X-Google-Smtp-Source: AGHT+IEfzE3jcQOXMWWF3yksQWKDwzTAlVPBxYL97Fb/AC4FXd/F9kMK2rtBverUnVbGIJy9kv7w9w== X-Received: by 2002:a05:6358:e497:b0:176:d2dc:5115 with SMTP id by23-20020a056358e49700b00176d2dc5115mr7119964rwb.20.1708128964402; Fri, 16 Feb 2024 16:16:04 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:04 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 03/60] python3-ujson: switch to pytest --automake Date: Fri, 16 Feb 2024 16:14:54 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108773 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-ujson/run-ptest | 2 +- .../recipes-devtools/python/python3-ujson_5.9.0.bb | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-ujson/run-ptest b/meta-python/recipes-devtools/python/python3-ujson/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-ujson/run-ptest +++ b/meta-python/recipes-devtools/python/python3-ujson/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb b/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb index 8de9b030dd..b5f6be9f27 100644 --- a/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb @@ -13,17 +13,18 @@ SRC_URI += " \ file://0001-setup.py-Do-not-strip-debugging-symbols.patch \ " -DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +DEPENDS += "python3-setuptools-scm-native" RDEPENDS:${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-numbers \ + python3-datetime \ + python3-numbers \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-pytz \ + python3-json \ + python3-pytest \ + python3-pytz \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:14:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39561 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 E1510C48BF8 for ; Sat, 17 Feb 2024 00:16:12 +0000 (UTC) Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mx.groups.io with SMTP id smtpd.web11.576.1708128966391071772 for ; Fri, 16 Feb 2024 16:16:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YyjLMX0p; spf=pass (domain: gmail.com, ip: 209.85.215.175, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-5d8b70b39efso1304129a12.0 for ; Fri, 16 Feb 2024 16:16:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128966; x=1708733766; darn=lists.openembedded.org; 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=jpIkwf8/OimYCD7671dg1qWNL1lk+HaOUWCbfia9s8I=; b=YyjLMX0pWFQzcEAtAjhUZ2vuo+s9gPM1VJ7hMRQUxI2hmTyAogdDGQME40GxfeeSRI luaAe3kJGm1Xx/56DdvEdJpEvsn9pDZmshemLJRcKIMcIB7+e8Czy768WvRA5+REAwIy fxtry0L431Czdj7vzdtoAqDrTkGU/r6Qe4LpkWzZbDCNpIFjdedp1JgPWyE22KdkvTv6 CahLOhkDGtnLhw3OCOkzFGpZwz16qG+Rb8PhfvVhuPVYMBPbJJ7VWAcKPsaMGkvttPID cHJlaBNoclYq4gmYrhcQBPqTRl/7UZCGYGMEl2OtqFeMVMyVMieHSOd07hBhz6bK178i dpBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128966; x=1708733766; 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=jpIkwf8/OimYCD7671dg1qWNL1lk+HaOUWCbfia9s8I=; b=nxpDIBlf8GNSSXvs8iMc+cwBeXlOd+4xP/ps8bQi20s16cJISi40Z1l7N+VDPdMLqu q5vrsmncbzyP57CrX8gRIwtGjedVHHLSLtgP+ta895Zy3QTLqGHPbZWDdwxpestBYdwT FYZzTrP2APBf/1FN2QFw7Na6Snj1WbxUBY7RQ9H5EInDFPq/S24LCbeEBYn0m9mTeIpc /aC4u+N/4hqKVPn+1x5DwUV0Ppnvh5bW7cgnSsZ1V92WPnYr7u/EwQZe+PZn01fHa2nH +uSpRZY5KALyMetgsilwOOCRht5ERkwOKXoTQL21OwI6z05KlZvDiY+pf20+Hi3idHBH Cr4A== X-Gm-Message-State: AOJu0YyJBWDF5UA4CX0k/NG4OL+jHDsAB2Pf2MBhSInKwqlqjYk98iiL HH6rYN2P59/EqSUVTcAo3qw/VJ0uMRdA/MCoiBFrL9squWLOi/mjxuVm/GXW X-Google-Smtp-Source: AGHT+IHvoPr9+innSZcHcs32gq09YuEqk5S9wty6qrbEZWSj5DzKDyyraW4rGNEdkoa6xINSwxoWfw== X-Received: by 2002:a05:6a20:d903:b0:1a0:785e:c99e with SMTP id jd3-20020a056a20d90300b001a0785ec99emr6840701pzb.54.1708128965650; Fri, 16 Feb 2024 16:16:05 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:05 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 04/60] python3-pytest-lazy-fixture: switch to pytest --automake Date: Fri, 16 Feb 2024 16:14:55 -0800 Message-Id: <2f7393705c01c72f8fd8004c5a18cadcfc889ca7.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108774 Signed-off-by: Tim Orling --- .../python/python3-pytest-lazy-fixture/run-ptest | 2 +- .../python/python3-pytest-lazy-fixture_0.6.3.bb | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture/run-ptest b/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb b/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb index 32b5677f1a..9c50528fb0 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb @@ -20,4 +20,7 @@ do_install_ptest() { RDEPENDS:${PN} += "python3-core python3-pytest" -RDEPENDS:${PN}-ptest = " python3-unixadmin" +RDEPENDS:${PN}-ptest = " \ + python3-unixadmin \ + python3-unittest-automake-output \ + " From patchwork Sat Feb 17 00:14:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39559 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 B82C3C48BF6 for ; Sat, 17 Feb 2024 00:16:12 +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.577.1708128968144415722 for ; Fri, 16 Feb 2024 16:16:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KFGYgAdV; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6e09143c7bdso1714292b3a.3 for ; Fri, 16 Feb 2024 16:16:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128967; x=1708733767; darn=lists.openembedded.org; 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=mvgd9cE5IM88WxvmFWUMXAOdl6Zj0J4dyBGU9z4nN20=; b=KFGYgAdV12LN9hHX2yjXGfpUDiLmlhFIyJchOS9B5yRFPyA0DgAjEbo7xAy+AGgRyU xFmRBX1l5Fad2C7UJIwRZKKip57wnCPZc83IDq0JPhGciQBFj6kcVBcpMbZUkeCY7pkV /zTuZfJGDAK2G+OeM7DJqiqgHH2GKRtJRY9jVOOff0KHYKejwhs9FihCcDmPrR3smyRs foDlrTAwqn678rV7/8SNE81FxTYdRy6b3oLF8/i9kcvO1RYV3rk+Lez2T8H10HSirnrd uvMFD3tJ7HalVqGV0bwx4CVES88IfCrvg3FiIborcNiZ6hcPO95ktNg0sEr2Z+DlJYOC 2Biw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128967; x=1708733767; 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=mvgd9cE5IM88WxvmFWUMXAOdl6Zj0J4dyBGU9z4nN20=; b=HAB/JSniCr/niATT/KtX/YI1uY5PDuGJFpKPk7lBmnUrLNjP+UvVFNfb84GQGfXYP4 tL0BZo5DHYtLuMmLnBBBBoUZA9xrM43idEQrlHjvsnz6TWEgZhuKImxqYJ6My9tcbaft RzrW4kZOLygjgwWkHEbWuOR0w4MaQfgSPmr3ldUpaeaOhfGp6W6HXmseAsZZPfktpoBu SjqTGtcWcQg55vDKJBjQO0Q6jRsFVxrRp/xGANWLi4BgRgIM/2j5FtljvvU5mrqFDvQx ZeFqBrT+qXPOTlkIewA6l7AwrBfKSgFOI50qwFaXkmfQaABWSO9llTSA6hZV0nYoz0zp dtFg== X-Gm-Message-State: AOJu0YwhEN+Sl3j6+hPSQOPHfT4fCji0vP+TOHWsioCpngrASI/EgPn8 sp0BaiOhaWPkw9872vZsSlVGTZcI9XikJPkvKXQ0TRhzid9gorL1regNTYut X-Google-Smtp-Source: AGHT+IG8ZgNW5DzYP6yyRnjMJghADrmGpkj51K5H1OtlLcA6Ks9AGdXhCJsXeVTvH1lhpgxpNztWIA== X-Received: by 2002:a05:6a00:cca:b0:6de:1d0b:ae29 with SMTP id b10-20020a056a000cca00b006de1d0bae29mr8336539pfv.0.1708128967294; Fri, 16 Feb 2024 16:16:07 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:07 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 05/60] python3-fastjsonschema: switch to pytest --automake Date: Fri, 16 Feb 2024 16:14:56 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108775 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-fastjsonschema/run-ptest | 2 +- .../recipes-devtools/python/python3-fastjsonschema_2.18.0.bb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest b/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest +++ b/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb index e0be7b6160..6b74f7260c 100644 --- a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb +++ b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb @@ -27,6 +27,7 @@ RDEPENDS:${PN}-ptest += "\ python3-pytest \ python3-pytest-benchmark \ python3-pytest-cache \ + python3-unittest-automake-output \ " RDEPENDS:${PN} += "\ python3-core \ From patchwork Sat Feb 17 00:14:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39562 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 C493CC48BF5 for ; Sat, 17 Feb 2024 00:16:12 +0000 (UTC) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.web11.578.1708128969569429238 for ; Fri, 16 Feb 2024 16:16:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JvgNYteR; spf=pass (domain: gmail.com, ip: 209.85.210.180, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-6e08dd0fa0bso2223962b3a.1 for ; Fri, 16 Feb 2024 16:16:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128969; x=1708733769; darn=lists.openembedded.org; 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=mpYgblcHTzFiwg6sAbIUSGPrDjOgyHP9PTpZCR+5VcQ=; b=JvgNYteR16D+i/hwSb/pOLZ02ibDzNWAvrN9bIG96ogQPHMfaGIDxpdM9tbD+23h07 rH9fGdP8bYxDY5b4bqNnk9vV2NdR4YnKQcqyKpvLIku1Sh+UpGfJUWwpqG9uaBRT/PVh TkhJWvkRO5vmjB1whdYH1aGUMjNwe6FLG0gJzAKa6mjhs+5+p1d8mXkTtyFTr7zkXjZ4 rbmXAOH8ueYbgRQSQOiB7P7Weo+T6JPq6/qUWWfGllEdr8qg+zbLxbp3bSeZ5QewE+w9 siThRsp8e+toegjQCHDJPi43VoF0PnpngVEHtudKhTShlQAyeNqZJw3rT0p6domDxHcc gUtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128969; x=1708733769; 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=mpYgblcHTzFiwg6sAbIUSGPrDjOgyHP9PTpZCR+5VcQ=; b=OS8vXJ9d5Zbh6c/fHqDXar7w+UZa+60Wil8B9arlU3LnlFwgOKZXH4Qp6j4pJn8OYN YBu1GHahpv2vIVNLs67/G+tn+JkQnJAIzR1X7D0qhOfVNOgV2F3NCmub1LKahNN2Yf5O E3R5HIPafBQJOVIKH0axX+ZRG02YQ3jJN1kDI72nRTOvp5FT97GiceLXNMbJ17YFEKy6 2ok5MiORG8cU4CmcyZZ6AK5BlBKVACoRgo//Blf0uC3SvH1L4zXNLruqLye1FvgoJD+h LwVuMfSXYHSk41GoiBnu3DZMWRMASRc+8LsOrX9FLd2iJmsS3OVzhRGFZeZuONOIdaip QpIA== X-Gm-Message-State: AOJu0YznrXvsVxp6ePrHj/5o1GGZsSOfqQWH8sKmyrNeToD2S/jqvFJn sDhd4ZLQaL/r9+LXt5ZPR9ovJnGUFsfnb8QWrLc0D/G/INaSPAxQrMGw9fS/ X-Google-Smtp-Source: AGHT+IFCoPrWNfShnj0mFA7iMryCS3Azi8UbS0WASDrt1fwSzGEShKfN1XEYJdtoe1GMRd5afx9uAw== X-Received: by 2002:a05:6a20:e605:b0:1a0:584e:fda9 with SMTP id my5-20020a056a20e60500b001a0584efda9mr7079934pzb.28.1708128968799; Fri, 16 Feb 2024 16:16:08 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:08 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 06/60] python3-tomlkit: switch to pytest --automake Date: Fri, 16 Feb 2024 16:14:57 -0800 Message-Id: <65c1c96816acd1dffdfdee3ff386ab0f77f7f451.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108776 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-tomlkit/run-ptest | 2 +- .../recipes-devtools/python/python3-tomlkit_0.12.3.bb | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest b/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest +++ b/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-tomlkit_0.12.3.bb b/meta-python/recipes-devtools/python/python3-tomlkit_0.12.3.bb index 89acd77770..d4162a110b 100644 --- a/meta-python/recipes-devtools/python/python3-tomlkit_0.12.3.bb +++ b/meta-python/recipes-devtools/python/python3-tomlkit_0.12.3.bb @@ -18,9 +18,10 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-poetry-core \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-pyyaml \ + python3-poetry-core \ + python3-pytest \ + python3-pyyaml \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:14:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39563 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 E166DC54764 for ; Sat, 17 Feb 2024 00:16:12 +0000 (UTC) Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mx.groups.io with SMTP id smtpd.web11.581.1708128971237863900 for ; Fri, 16 Feb 2024 16:16:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iwBeLUaC; spf=pass (domain: gmail.com, ip: 209.85.215.182, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-5d4a1e66750so1944883a12.0 for ; Fri, 16 Feb 2024 16:16:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128970; x=1708733770; darn=lists.openembedded.org; 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=zdPDVLChaZ1HILML2y28HrHQmSSNry0U9tlkQ15YlBc=; b=iwBeLUaCRjxeYbBjxBs4ysHKWTB1FxnK0RKpFaKyNpfAzaNEuX4jyeUE+wwKzGzOYN Puhz1GQcSuaGJ3Bts10oivLScpf1ypXTHJI8913t6w/lKiWGOktVpkeK2UShIQstV0Ro EWYA9Bx/wgEjvbTP0bT+kLqfB5ofh/OFZUhPgxhfse628NAXlfD9CLoZl/COlKRZuIi3 7iSKqlTmitqzNIWA4AMKPj67JjBmrFUnKwzg6Ask/k3RCnIgQsBx0AoDhR52SRjEZGwh RyhurSh0+KnHmlMBc2FAK4KXOZnB8MmhoVI1GwuH91un+L8X2F7fsE8bx2aURtH14Of0 mQ1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128970; x=1708733770; 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=zdPDVLChaZ1HILML2y28HrHQmSSNry0U9tlkQ15YlBc=; b=CbM0kYR1+IMTmjh7A3jTtjbzZK78MY8Yt85rTUddWZU9ar+Vz4pQ2Lcx/7b4VMpzIp dxjSYiyl9Q/IZGENSNorCjs9fWpCHyK4BBvtJAqI+QPE3LVJgCXY6c3ViTtZ5Ic/Vm0A uda5tTU1Y0QyC/b2PIe2ORKnzPsPTfLNc3UZgNX1oBzMzfi+Df1ThDLlmLttwamRgrNE LHhrzsHugZPWnIL4t8eJsCDhksinm7rqrfmC3SgXoTqOYDr5dGkMTYKXvOgw9WXG1AVn cohYQf1bYegMJKrh1mYm/SwjDrLwwqw9W9k+1SX79d03yRBnytDK9VLAHKv1A2kopAQh PjvQ== X-Gm-Message-State: AOJu0YwOgfr4sFQukiir5ghD6lseNPWQL+hfRvDbAbqQniwiAJZ5hQ0C wu9E8gmMSy/R5lF04XAy8sQP70tONoIJTm4wa4Xkb4JHYz2O9+hkAWXGBzhL X-Google-Smtp-Source: AGHT+IH/2ktB1s4F8lsWPv+uMTVKHA4RUpE1XQ7hEQ8BsOrFN5UMWt37os5SsjNY8jJEtficA2Mibg== X-Received: by 2002:a05:6a21:6802:b0:1a0:817d:80d with SMTP id wr2-20020a056a21680200b001a0817d080dmr4863708pzb.45.1708128970376; Fri, 16 Feb 2024 16:16:10 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:10 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 07/60] python3-inotify: switch to pytest --automake Date: Fri, 16 Feb 2024 16:14:58 -0800 Message-Id: <57d63c932d2434f2d2b122c74fcbe04f43273833.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108777 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- meta-python/recipes-devtools/python/python3-inotify/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-inotify_git.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-inotify/run-ptest b/meta-python/recipes-devtools/python/python3-inotify/run-ptest index 3385d68939..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-inotify/run-ptest +++ b/meta-python/recipes-devtools/python/python3-inotify/run-ptest @@ -1,3 +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/SKIPED/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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-inotify_git.bb b/meta-python/recipes-devtools/python/python3-inotify_git.bb index 2e189ddace..657f610bdd 100644 --- a/meta-python/recipes-devtools/python/python3-inotify_git.bb +++ b/meta-python/recipes-devtools/python/python3-inotify_git.bb @@ -26,7 +26,8 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:14:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39565 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 0819EC54766 for ; Sat, 17 Feb 2024 00:16:13 +0000 (UTC) Received: from mail-oo1-f51.google.com (mail-oo1-f51.google.com [209.85.161.51]) by mx.groups.io with SMTP id smtpd.web11.582.1708128972623610570 for ; Fri, 16 Feb 2024 16:16:12 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IH72gVJT; spf=pass (domain: gmail.com, ip: 209.85.161.51, mailfrom: ticotimo@gmail.com) Received: by mail-oo1-f51.google.com with SMTP id 006d021491bc7-59d7cbf1279so1511353eaf.2 for ; Fri, 16 Feb 2024 16:16:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128972; x=1708733772; darn=lists.openembedded.org; 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=ExntGg6okDQWMaJdtxd79RIiCsg7muG67Soh4AieuZw=; b=IH72gVJT8DRilllsBXNqQnLaxj3OXNKpbfWGFKu0bbY6I/yzWWyidBVYsEdfPGSGUi MhecUnFkMfnBbDfziTO6X8tgeqZqPU3kxCVrKH7RvqUf2W5uVS1KFyoGXB0yoNPaSAg5 Ci5In9HBGWbPrv2oSH/Mmadv6O+yYykjEFc5iGbDO3M55UFmy8x5CqBIlc/lp3+1yTH7 19qRHoJjLU/SoVauYqs/K7/gZdW30CYvob35mdM83XKO7helsjJ4yIYVUUBHgKbFPQ8r gHxgHYSbYtBjzrdPXizeVoWQL8RE7vgobq/Zcbwp1xkVQSrUeydA+h4btOHGPx1ULS+Q NvNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128972; x=1708733772; 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=ExntGg6okDQWMaJdtxd79RIiCsg7muG67Soh4AieuZw=; b=WRLJqCIuYYVyoEof1XmPObSj1C8RQ2S9TKey6EwQJUvFgNpYynt8Ew8g9djVXdhI5c MS3zIoeEbNPDvn4hhcaPY475IOQSVdUp4of1HjMf+jbsIeq5/+xwI0iXdz0/BqHdBImx TfOYEx97rcKU6qIa0gvBiTp6l3l+EJ7vNKlvNZFThCyqY5QUgyw2ke+bP4Fhh4MgOxrv LpHcckU+TBrZzT23XJHZflZqWR2y+CvjjZ9EtXrtrTBj63bmu5n8uD3QYIgRXcQEI5NQ IM/ZbfYIIDeYxEryfi/K+wSt4QkRLkGy+QRmE3318hcZRxwmPIiCGHxH71igxaOHGd8P FKIA== X-Gm-Message-State: AOJu0Yyo663PWr17d/1ZoiEjPHrbIC3/iMbO6Jqc2jsoJ92RBPduYjzN ISmuUKUm3m+klSjvnuBDtUtpK4/WX9yi/oVGx+WCY6GDxbTRDSSqAPebxAaR X-Google-Smtp-Source: AGHT+IEr/RtEAv7Mi02Inj+IjWDLKmrNseddwaPp7FlM+ColsCpkqf9tDN/sqIcdCpaYw9uaRYBZHw== X-Received: by 2002:a05:6358:7246:b0:178:6db3:27d0 with SMTP id i6-20020a056358724600b001786db327d0mr5902761rwa.30.1708128971706; Fri, 16 Feb 2024 16:16:11 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:11 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 08/60] python3-requests-file: switch to pytest --automake Date: Fri, 16 Feb 2024 16:14:59 -0800 Message-Id: <197609f7963a41d0dc2d8008f98428d4a1d87cd2.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108778 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-requests-file/run-ptest | 2 +- .../recipes-devtools/python/python3-requests-file_1.5.1.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-requests-file/run-ptest b/meta-python/recipes-devtools/python/python3-requests-file/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-requests-file/run-ptest +++ b/meta-python/recipes-devtools/python/python3-requests-file/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb b/meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb index 21cdb8c127..7ff984a933 100644 --- a/meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb +++ b/meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb @@ -13,7 +13,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39567 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 00909C48260 for ; Sat, 17 Feb 2024 00:16:23 +0000 (UTC) Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) by mx.groups.io with SMTP id smtpd.web10.575.1708128974220525400 for ; Fri, 16 Feb 2024 16:16:14 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Q3s+YGA6; spf=pass (domain: gmail.com, ip: 209.85.167.181, mailfrom: ticotimo@gmail.com) Received: by mail-oi1-f181.google.com with SMTP id 5614622812f47-3bba50cd318so1850684b6e.0 for ; Fri, 16 Feb 2024 16:16:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128973; x=1708733773; darn=lists.openembedded.org; 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=M6vgUiTVyWl7rWDUsqWKGqh1uom83Mbiw91KpSrbgPA=; b=Q3s+YGA69kiMCEl70i5c7McIb4ZKOk5cKnn8g5g2TiXXHcsnd2mqKy2KF4NUPS05ov YCYl1NqtmfKjh9FKz07DN9ADtNZvfhpqRZkBHOR6nodG5lf13SyuMoFskMMmtYnhL92l 1le5wSacYRwf7EvMGW8JRByEIaBsgOSmNYQMD44/pKgsxqJdMdF5tHpojVgOqrNAojgg vFYWZc9nD54RW3m/fWO/Xfh0DU3G30IGqYnRngLweBKSuyrHFMxUzFmoKkH6TJiPkEki 6wi5N1HUjV+jKqdvlVSnYNgJYBoke7SsPZFaWm/cyJRY3Txisxl1wL8X4CTSVPbcPEKp 8q6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128973; x=1708733773; 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=M6vgUiTVyWl7rWDUsqWKGqh1uom83Mbiw91KpSrbgPA=; b=Ui/+9IenNLdIwgUahHin4IgveW+lOfAsutyp/iVDZwfLAPWyXmG99a4lI1DW+vGhiy GCuPmdNnD888QTYsMgje/sCM+V/q+YKv4nZ0V78UVJR+npBxENOuSh3U1efB7wKC1Vwm 8p/2wJszhKCWJKgt1jnpyT5/aAvin8kcr9xNtbi17lSMFeOJ8H98D8GQ5uCJuD3oneMR jOQqMQ+fCnpWkfOwKgIougloDzSyairjV3FQKlEENAqskUVwNwGmp3CkXeKW7pYQeP1/ ljOR0pkZRQ2qDRsk5m9lXHqtJb6hbRdksCA33/GLrp3095V9dLOPWjrB/NjW6GC/FACc HlRg== X-Gm-Message-State: AOJu0Ywtd31MHgnRI1ZwkBZBDBnRBAt8RAhxOhltURk+91ZeD9P9WGrc /8YnLFLnvehBiwKmosPhYHpfcMtbibPIU+btf0mCOc7jEomvXc2uYEyJ7Ylp X-Google-Smtp-Source: AGHT+IE8/0AjsB7Fd7RxMDPBHSAu/quBWtlctqF4I+iDok7GyYFtt5DRJR/hnJJ4MQlH5qyx+n/HNQ== X-Received: by 2002:a05:6358:e486:b0:176:d0a8:8df with SMTP id by6-20020a056358e48600b00176d0a808dfmr7842878rwb.8.1708128973292; Fri, 16 Feb 2024 16:16:13 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:12 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 09/60] python3-covdefaults: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:00 -0800 Message-Id: <9d8b013470a4327cd2272f1939e22c913a45ff9e.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108779 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-covdefaults/run-ptest | 2 +- .../recipes-devtools/python/python3-covdefaults_2.3.0.bb | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-covdefaults/run-ptest b/meta-python/recipes-devtools/python/python3-covdefaults/run-ptest index 3385d68939..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-covdefaults/run-ptest +++ b/meta-python/recipes-devtools/python/python3-covdefaults/run-ptest @@ -1,3 +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/SKIPED/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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb b/meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb index a0ef2af828..7391c3ae2e 100644 --- a/meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb @@ -16,11 +16,12 @@ S = "${WORKDIR}/git" inherit setuptools3 ptest RDEPENDS:${PN} += " \ - ${PYTHON_PN}-coverage \ + python3-coverage \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39571 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 2FB93C54766 for ; Sat, 17 Feb 2024 00:16:23 +0000 (UTC) Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) by mx.groups.io with SMTP id smtpd.web11.584.1708128975852073477 for ; Fri, 16 Feb 2024 16:16:15 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Je8F4wMi; spf=pass (domain: gmail.com, ip: 209.85.215.171, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-5dc816e4affso2375451a12.2 for ; Fri, 16 Feb 2024 16:16:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128975; x=1708733775; darn=lists.openembedded.org; 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=Wl6SDC7GeZIKndznxOAWYeCpUhM1X7VC5DDMh72Y3pA=; b=Je8F4wMizVafgn1IUHfBUmT7O86VEMWSc35Wr+lffMn7F14yKDAS+QCpq8JBcMKfrC a2xicNIkOD+8lNeRFyqNydIxWSQtxPtXA0270em0SExQRYH3bselfQdf9JFYzHL3a9Ln RNbdttQyiypztSBxpDhWz/nqkpCGzvFUidjtKJK7cfjaIneLi7r+Ltp7HKGPkrEh2gaZ jZtXPWlEBkZsRgZSlu2sbzQc5WGTHP6s1JwkWDrmBPv4cE12SR2FIadd20IjMmSTd90E lyy0SYEiNkfn92HIY+QuLhqL7YWXF93On4E9UfKaIWX3lfxUbuIdaHBTcDgw9iVcpxBj mzuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128975; x=1708733775; 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=Wl6SDC7GeZIKndznxOAWYeCpUhM1X7VC5DDMh72Y3pA=; b=lPQBHs8eesDB0Olfl1eBkPsfI/FNc0xEIYQIuF4kdt36dePrCyo5vl9FFD6HIuknVy vpK3IPApV6kDrR/vu7AsTPfcCAm47OgJa9TKJUSvSCFipL9rQOmk2XbRLUWZbABQ6btm Dul2KXN1VVTuHvozWtnIU0aVtXYr1bB/e8PbOl1JuzjKEfKvGKZdBl8LPfHml6QxOzjz eAlttF7w/0RhJnTvAE5+eNV65mfdV2LBgh0yrWriquRwUs8Z1F63z/zjBZymW3uicsyz +YdDw1FjFHxfekXebYU0stn8c9UNpK7/kodzK2Rg++aCqYhlE/A7cgYf3eV70PuH7pYz vmfQ== X-Gm-Message-State: AOJu0Yx+332pgfr5S5eYrdihspHVVyW77GoqqEb50vkqK2ds+xyOwb8r tGmHHzuGmItn9E5I0MQNhRmHM0phjmWjLRpLBZMDQoc8HZpUltUUd7CkgLbV X-Google-Smtp-Source: AGHT+IHiarsT5aYYRty1ihavvHHCxuIompwZxwswOjv0WOrKvQ2AssSZBO2PDm1UZ3Nt8eaM8ki6xA== X-Received: by 2002:a05:6a20:be9d:b0:19e:c777:5c61 with SMTP id gf29-20020a056a20be9d00b0019ec7775c61mr4877115pzb.22.1708128975141; Fri, 16 Feb 2024 16:16:15 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:14 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 10/60] python3-dominate: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:01 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108780 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-dominate/run-ptest | 2 +- .../recipes-devtools/python/python3-dominate_2.9.1.bb | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-dominate/run-ptest b/meta-python/recipes-devtools/python/python3-dominate/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-dominate/run-ptest +++ b/meta-python/recipes-devtools/python/python3-dominate/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb b/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb index 3bd9d87547..054d5236e5 100644 --- a/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb +++ b/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb @@ -11,7 +11,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { @@ -20,6 +21,6 @@ do_install_ptest() { } RDEPENDS:${PN} += "\ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-threading \ + python3-numbers \ + python3-threading \ " From patchwork Sat Feb 17 00:15:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39569 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 19201C5475B for ; Sat, 17 Feb 2024 00:16:23 +0000 (UTC) Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mx.groups.io with SMTP id smtpd.web10.577.1708128978023902245 for ; Fri, 16 Feb 2024 16:16:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=isbC8SS5; spf=pass (domain: gmail.com, ip: 209.85.215.170, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-5d8b519e438so2436277a12.1 for ; Fri, 16 Feb 2024 16:16:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128977; x=1708733777; darn=lists.openembedded.org; 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=qQU9O1HA6CBqEOln0QKnC/51z7T0sg4TvfyUOlFdTSo=; b=isbC8SS5pS3VIf2+n7wtCW1QtY2ks6JR+6b/7wIpnNmMhrzZ4ysG82piw/1LyWEQ3M eTs2KdnDSsBGRNYnUKGWFzimaPV/yBv4Xcpl80M3aq+fQKr5d+17EA3ULcVRCq42oTma q/fsvnk0YVYemgn0GJ4WuzvH5aZobp2tJAzZQmy4gVdfKwe4qNebhyOn0yD7oDbpG0mi oNacI/i1MoDrnXJReQMENaihf7lV8iK4D54bzALOyBOHiLhlIiDzrr0QVFx8pyIYgT69 +iUpmWjzYfb62X8bkJ2A+7osTacoMhH+Qp8i2+P1FbLOFTQEEDnAgQ2fF/85IhjNw9Sh lQgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128977; x=1708733777; 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=qQU9O1HA6CBqEOln0QKnC/51z7T0sg4TvfyUOlFdTSo=; b=bplj9esP6A6Ar+U2R0TraaDtjV1YmBh+LcwZzr6dSLX/q8U1OelLiq/1yLt6o0AfY2 2Ob7yqEDqtjHBt8o1m3ofpHD0tE1J0443mROkiPL7rgI/rWcEQByXl+pNul34S+zySXe /+fr0VW2TNxq1wCsQXwdZ0MocP8Wjkw+/ljMWYoWubSjVsLzaLG3nRjwt7WmywjZvO3R 4+3WuGQ5n2JCw6ULESSbEfvAJwh7UzHT+ZnE0FIyw6Zo3n/tpnfOeudnwbZVuB7bTDVV CynyFcjiPKhebGURpujVziuXpX7EeeQlVV80icEvZH1bzyvuI/XxFDqWGo5z7WK6fAjp jX/Q== X-Gm-Message-State: AOJu0YxONhyxBHKzwL68DxyxN3vDgzysx7X0pqa4KI5zzxmdbq9NBXeV mVv7ckHcfBDhtWb4+QN4Ly8m0SmZHuy+HuXv3Dz34g7YCU/38qGOPUd7sgUv X-Google-Smtp-Source: AGHT+IFpJoGOxrAvsEyOUuQsrWtcghnvYScSH9c2KFrRukdqIceoVS6Jn1bkwor3lFnn+YSIuCFFuw== X-Received: by 2002:a05:6a21:2d08:b0:1a0:61e4:a952 with SMTP id tw8-20020a056a212d0800b001a061e4a952mr7366582pzb.11.1708128977235; Fri, 16 Feb 2024 16:16:17 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:16 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 11/60] python3-scrypt: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:02 -0800 Message-Id: <169b7ba5dd117b09906920c329c176635625df9a.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108781 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- meta-python/recipes-devtools/python/python3-scrypt/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-scrypt_0.8.20.bb | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-scrypt/run-ptest b/meta-python/recipes-devtools/python/python3-scrypt/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-scrypt/run-ptest +++ b/meta-python/recipes-devtools/python/python3-scrypt/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-scrypt_0.8.20.bb b/meta-python/recipes-devtools/python/python3-scrypt_0.8.20.bb index c386932683..ce0d4de9c4 100644 --- a/meta-python/recipes-devtools/python/python3-scrypt_0.8.20.bb +++ b/meta-python/recipes-devtools/python/python3-scrypt_0.8.20.bb @@ -14,11 +14,12 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " RDEPENDS:${PN} += " \ - ${PYTHON_PN}-ctypes \ + python3-ctypes \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39566 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 00944C48BF5 for ; Sat, 17 Feb 2024 00:16:23 +0000 (UTC) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mx.groups.io with SMTP id smtpd.web11.585.1708128980521366337 for ; Fri, 16 Feb 2024 16:16:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SQiVYwML; spf=pass (domain: gmail.com, ip: 209.85.210.175, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-6e12dbc7843so1143050b3a.3 for ; Fri, 16 Feb 2024 16:16:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128980; x=1708733780; darn=lists.openembedded.org; 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=nclpJulwwi+7IUmloQOOpEa/Q25l5Xi0Kwlhezwm27o=; b=SQiVYwMLet7onSUU4+/No6qoKnACtY/4dNiXdxIWgPeT3wNlAYSw05V7deWzOKK0jK XDHTOD3sl5E2YCu0+LMWS4nn6asSGX8pkp7BnbCu+9e9YjyFcyW/q7LFwBOyrvdam6TE nC0glwAcLU0/z37Jq9L8lRIOlMfeJR+/tMsjM79WKIOkoT9/hTjjrjxebVLsKzgcEDUD TncPga+wNXAvbj6O1GT40QjOSOv7K5KlnEZvovT5Lw2d82cGFxLxLpweEzgNjBpmRCc7 NOokjmeNty9T3+S9CcwsgCozWmEuwHm299ivF2yx1U6de3MEsEaKhGbMbUe4md9cVl7u mrmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128980; x=1708733780; 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=nclpJulwwi+7IUmloQOOpEa/Q25l5Xi0Kwlhezwm27o=; b=kN3E2SUGbnmzz1BvfGpQ/6XbDKzImuvDVd4g1lKclxfFBJ22nlgLi5SJXNeAwIJ3W7 yahzZ7hJVAH5QJLTrlWBCZDh2454HK1tL57tb1rySl9kGwCsFqzHHqoeNUL7M3eHgScF UqVCSMHmvvw3EQjxlK6WDR9MSg1RMtbpqLHZgtBK+fwlRx9rgzCrRiV92BwNjeiCjk9i E20MykDjOiIfG0GzM5c69uhln1Ilp61UTa5yIrJ3aEZzK7fV+h9opfkSWE9DBbH1bmoa j1TqXnI25ZfZt+nAwhL7lPZIac+XIOAIZ47s9iHJBZjJ2PxYW2glt78txPYdnxJmXmt1 VDzA== X-Gm-Message-State: AOJu0YxWQlscothRIts179Y1EkPdGgdDMjowTGVhGrNECvjHHLfXIUMe Rxv5nWz+6Gm4UDORSXgSzvkoXpzGGpjISLLviGxcy4qDblwLVwJPIy0mFWTX X-Google-Smtp-Source: AGHT+IGNNgQYqKedPSV+S3I9WqZBIi4hH3B27k0jQVUc7mWlO3P8ag85Ql6yvNWRHfeRrIZj5AS58w== X-Received: by 2002:a05:6a00:1f0d:b0:6e0:d77b:5a09 with SMTP id be13-20020a056a001f0d00b006e0d77b5a09mr7429090pfb.14.1708128978832; Fri, 16 Feb 2024 16:16:18 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:18 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 12/60] python3-u-msgpack-python: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:03 -0800 Message-Id: <2af9ca84e8505fa5657c61b932daa5bed8947eac.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108782 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../python/python3-u-msgpack-python/run-ptest | 2 +- .../python/python3-u-msgpack-python_2.8.0.bb | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest b/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest index 7110f6bc40..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest +++ b/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest @@ -1,3 +1,3 @@ #!/bin/sh -pytest -o log_cli=true -o log_cli_level=INFO test_umsgpack.py| 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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb b/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb index 8baedcb951..6cde243fe8 100644 --- a/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb +++ b/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb @@ -12,7 +12,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { @@ -20,7 +21,7 @@ do_install_ptest() { } RDEPENDS:${PN} += " \ - ${PYTHON_PN}-datetime \ + python3-datetime \ " BBCLASSEXTEND = "native nativesdk" From patchwork Sat Feb 17 00:15:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39570 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 0BC65C48BF6 for ; Sat, 17 Feb 2024 00:16:23 +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.578.1708128981496677673 for ; Fri, 16 Feb 2024 16:16:21 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TuU64oiP; spf=pass (domain: gmail.com, ip: 209.85.210.174, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6e10303de41so1258219b3a.1 for ; Fri, 16 Feb 2024 16:16:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128981; x=1708733781; darn=lists.openembedded.org; 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=ACtaLyMGRuDKgD8uWyE+qQq/nvUBOPaSJ4CeABJ1Q5g=; b=TuU64oiPZYCYWrl+YJwwcbUsUmJWEROgCvLxVqiEMZ3HczKVL0tCr4G3RxlhaWUj/e ttRLPE5XAzlwnEy+Rt24G7Tndj7SyYgTZenD94HkBxyW8oA8u6nkMK6m3LynMCE8YVHp 2PuLnxDOYje9RPyjycI59vRlVeB3CpBf3Eq9C7JUJHIMG/jjYF/0ITUYs+oBUkfCozJU yd1I7EwSN224VFFPIygRClx/oL7QTkAOeUIf3TQsBdHcIMMclesr+ml3Uqz6MAOptiLi B+4qjYM7043oq8vj1ESiRjL6k9laaS0PXfLORuc+zEdiF2zRb5iiGNTqjSENIH/8YOli Xo5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128981; x=1708733781; 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=ACtaLyMGRuDKgD8uWyE+qQq/nvUBOPaSJ4CeABJ1Q5g=; b=v5J0AzMMWpm6G0I6/F7s4c/T3FgC5mIe8z7jCAzxYERcc33Iqh7NBmkrT8A1Xzu+fB 6R09EZGWrse2uNrl1yd4TTMxq+MrRthBLRDAlOTL74PPjFfZYSJynH/FDI6kH3/62hx5 ZHxSnFbPDaY5w1rWci2i1lvaeC1u9LAdhv3qMZ5QslKAAe4oSBVd5l/Mj71bs8iCdxpp DpfN1Y6aKnMNBg6CC8aMcwZblWlQjoMaA7bJnsOkYlPDmKPWY9gHaMHr8Zq05KkILQoS wlvn3+pjMTa21fFU69lZL6QChGmMQilxpzD/k9ac1F+lOwOVMg+cA4uRBye9m85gp8s1 AhvQ== X-Gm-Message-State: AOJu0YyT71I6M5XlUpkBOdShqqj5JJ/PKR//iuPJ9Hryu5JB9QYhax8u 4xW9QHyi26I4lDBvixyW4StJ8mnLGAWHN7o7/aq3S67f8i4Kvy+806NDKDRs X-Google-Smtp-Source: AGHT+IGH+zS2ucxS2RuGNoz2EbFUoH2sBplX9ne9YaS5RaNA5Zo7LSQupo3gVTmrEe2bZYjS6W/bQQ== X-Received: by 2002:a05:6a20:94c4:b0:19c:6877:9943 with SMTP id ht4-20020a056a2094c400b0019c68779943mr7398060pzb.41.1708128980722; Fri, 16 Feb 2024 16:16:20 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:20 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 13/60] python3-iso3166: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:04 -0800 Message-Id: <904b79913f64e9a29c2cb717b7af47718ee69002.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108783 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- meta-python/recipes-devtools/python/python3-iso3166/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-iso3166/run-ptest b/meta-python/recipes-devtools/python/python3-iso3166/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-iso3166/run-ptest +++ b/meta-python/recipes-devtools/python/python3-iso3166/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb b/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb index b32cfe5956..3aa084d10a 100644 --- a/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb @@ -12,7 +12,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39568 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 2FB24C48BF8 for ; Sat, 17 Feb 2024 00:16:23 +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.588.1708128982967834360 for ; Fri, 16 Feb 2024 16:16:23 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MJGQF2PH; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6e09493eb8eso2923371b3a.1 for ; Fri, 16 Feb 2024 16:16:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128982; x=1708733782; darn=lists.openembedded.org; 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=YoFD7u2diTlPvYr9e6jVXZr52vPhWv6cl3EDoC4rm38=; b=MJGQF2PHvPoupelL5gfDHyPWJZGp6MlG5kR5dT2AjReR4C/cPDOIZg25cifSzeIwG+ EsaZunhD1egVlmUPOf4vQ35LoDR68lA07fvXVioGyGXZuBSkCaKP5ESNcbhP3yMn9L6p O7t768M84M7JVVU6Cj/zdFjwYU0rLv6Uo7r1hvTPLphJktiqK12ZUe6kwLJk+uZkbSVu 4duxjH7OrY7BR1MmGQQKAyIEhamdKOwn+ZjMYx3K1hFbMrquYJBE5U8u7+QXCNjr0hJ0 c0FQ88eOpl8WNQZe6j42oR0IAQKREnWT7AL2fdlGedyWnNBf1uoDpWbr1Qkpjsqbj7Ic Dydg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128982; x=1708733782; 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=YoFD7u2diTlPvYr9e6jVXZr52vPhWv6cl3EDoC4rm38=; b=DJPnVsfzvdtllQE3lXblYBIJrFbUE+RV9cTsnoV/4praZ1HtGmI8LBYuxUPHF5Kli/ pndvOMK0+s0xizvdRtQuN0TxeU462nHqydMVFoGsWi6jlNy7wDDgAbPLUCGTyD3m6ppn amfI70FFonZIHYiHQeQXGjEggnuFAtfROvWol36Fh2UXAvqc+BHtCG7IwviU26Z5qMJe WVFlldCBdIc9SKfB/uVT1Mt9oVm/IWv+aZmnXCTzfN6+qN6vN0bKtnvUhFbe2Gsrb98Q ot0nQblNL3lUSz4ztkE6zXjqyRx3MUcgdBSPNxEhs4HPYVLcXh72HXfFYVaXJeAvTRZE 2zUA== X-Gm-Message-State: AOJu0YzKc1PiAEHgpdCHRJmVxx5XqrkCU2Bl3bOVanxQzn2k28yWOxWt e973SCxpqT9Smd41bsbf8Tu5r+B3CPx1byw+bA06ai6PUngA1wWR+VQTWrEN X-Google-Smtp-Source: AGHT+IEwgPKERsmHtyfEhH212YySjKMyrezBKCXjSpLvXGNKQDCY4Z9F2kPI/351xjvHQFb6QZLxcg== X-Received: by 2002:a05:6a21:3a47:b0:19e:ad09:a571 with SMTP id zu7-20020a056a213a4700b0019ead09a571mr9300637pzb.29.1708128982165; Fri, 16 Feb 2024 16:16:22 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:21 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 14/60] python3-trustme: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:05 -0800 Message-Id: <06501ac3914300a953ad130eadec51c52201e2f9.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108784 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-trustme/run-ptest | 2 +- .../recipes-devtools/python/python3-trustme_1.1.0.bb | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-trustme/run-ptest b/meta-python/recipes-devtools/python/python3-trustme/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-trustme/run-ptest +++ b/meta-python/recipes-devtools/python/python3-trustme/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb b/meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb index e925712f36..ac03bce2b0 100644 --- a/meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb @@ -20,9 +20,10 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-service-identity \ - ${PYTHON_PN}-pyasn1-modules \ + python3-pyasn1-modules \ + python3-pytest \ + python3-service-identity \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39575 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 26CB9C48BF8 for ; Sat, 17 Feb 2024 00:16:33 +0000 (UTC) Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mx.groups.io with SMTP id smtpd.web10.579.1708128984655921995 for ; Fri, 16 Feb 2024 16:16:24 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Z1ECEHYw; spf=pass (domain: gmail.com, ip: 209.85.215.178, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f178.google.com with SMTP id 41be03b00d2f7-5cedfc32250so2078635a12.0 for ; Fri, 16 Feb 2024 16:16:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128984; x=1708733784; darn=lists.openembedded.org; 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=H7d09qwsenzHa1KXceE99asXmILkJn7EnvJZWChRc24=; b=Z1ECEHYwHazkv0SwLGI5avYJaLCE683ZjfQwWlQFzZVHKxXDZrfayFfEBUkC8Mp9rq 4nr3LIWJQz4S8svABLBhxxTwecZJLs9dtUGK7Ze37qDzsH95BT0nL0nArOTa9W7I0Gqe SnmBb9qAVkgjF86KDOzD/X2p+5LlFYoDSVL+wwgUfDNNTcUGehDbDvtTTo31Vm53Fxi9 35kbrc1ix+4Td2IjcqzdoT1d+LBUIH5f2f7WcXkCXRj7Ug3aY7573eo4fb7UOhU6+751 4yexvwMUmmrKgMqPsfsaLXJEXDAEOiJfXlZ4d23Esap44pycpwHjAgv3rkUShxP2OYKn EWDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128984; x=1708733784; 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=H7d09qwsenzHa1KXceE99asXmILkJn7EnvJZWChRc24=; b=tiigqMrefGrbPTfhyTfa3LATD6esfQg0A8viWMsn1Qad10g09joWyr3Oqh8DLv/Ali egNa5PauuztpGShkxCoOVmOY+MtOu+d+ejlAy+xknln4vJbWpZ/vGxdWuU8YCrOfVjrY xpecJsCcMlVfIzEb8rjApiMRO0W5b2ceTfY7pZUTl8l5jguElTY87FDdVqOZpS/GnzOb eiL8O+STNQdPCeYHMay2RbzyHmDK4G7lX8TfiTrDD8dqhK5w9WfVQ4P+aJWHCLpuHqhi HafweJg49ldScjnBMQFn9MpEhWZ6JlweXPaWOaq9bB4wsv2+Pa4F5aqqir/b4WakvpXP JeCQ== X-Gm-Message-State: AOJu0Ywznx+kh0rXWXVqyAJ+WaushH/IVE4cPIJxWzWRovAqfYe50GJ5 gLpHI/QVurnHZbvVwb5/3B/TjcJ8yqwU5kwUpeEFPTa876TOBmCgIJaBfpIY X-Google-Smtp-Source: AGHT+IGReg1ZX0FymPzG6chkLgpisGq0sF+IQKWl9CNzFPjXj2uDxUbeDAtRCvNKMnle7UPc4T0Vfw== X-Received: by 2002:a05:6a21:1507:b0:19e:b15c:c8d0 with SMTP id nq7-20020a056a21150700b0019eb15cc8d0mr6984588pzb.18.1708128983770; Fri, 16 Feb 2024 16:16:23 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:23 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 15/60] python3-asgiref: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:06 -0800 Message-Id: <183b5b931de8e8a484593568395d1238b661b5e8.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108785 * Also replace ${PYTHON_PN} with python3 * Sort RDEPENDS for ptest alphabetically Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-asgiref/run-ptest | 2 +- .../recipes-devtools/python/python3-asgiref_3.7.2.bb | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-asgiref/run-ptest b/meta-python/recipes-devtools/python/python3-asgiref/run-ptest index 3385d68939..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-asgiref/run-ptest +++ b/meta-python/recipes-devtools/python/python3-asgiref/run-ptest @@ -1,3 +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/SKIPED/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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-asgiref_3.7.2.bb b/meta-python/recipes-devtools/python/python3-asgiref_3.7.2.bb index c9081c8cbb..b7fa9f0360 100644 --- a/meta-python/recipes-devtools/python/python3-asgiref_3.7.2.bb +++ b/meta-python/recipes-devtools/python/python3-asgiref_3.7.2.bb @@ -15,10 +15,11 @@ export HOST_SYS inherit pypi ptest setuptools3 RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-asyncio \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-multiprocessing \ + python3-asyncio \ + python3-io \ + python3-multiprocessing \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39577 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 511B4C54766 for ; Sat, 17 Feb 2024 00:16:33 +0000 (UTC) Received: from mail-oo1-f42.google.com (mail-oo1-f42.google.com [209.85.161.42]) by mx.groups.io with SMTP id smtpd.web11.591.1708128986085037768 for ; Fri, 16 Feb 2024 16:16:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=T3YTnei3; spf=pass (domain: gmail.com, ip: 209.85.161.42, mailfrom: ticotimo@gmail.com) Received: by mail-oo1-f42.google.com with SMTP id 006d021491bc7-59a8b9b327aso883182eaf.2 for ; Fri, 16 Feb 2024 16:16:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128985; x=1708733785; darn=lists.openembedded.org; 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=tc9GgzIKlunv9emsz+SUhyILUQE4IaruPfDVuoJQhaY=; b=T3YTnei3gxCvnT8lQmCFaTYq8A1bBgNewbM7d2VbvoezmUvxMkiLxMi8W5U4gnzvUX HofOxqplHZTQxxDpi1I0YES7MMzgc2f6RyGz7FcJKCJghCeOpB6jQxrqbgBpDdtpwyGa QUSU1p+VPAI6reCV25hGWdn5+8YmLR/lt02TRwQmU81iIXn+Bta/YGsTGZOAq23+R3kp IbHMCbWGasglpH0eHk/veCl59G26mh3UTs3vAa/IYN24vbG3KPrOC4BUfOlN3N8/+u6j kA+wY65jQ4lA1bEZk0DLgPux27WKCVpySzhufTC9sF55NvDHn51fFpAWP1SVGqszsYeJ ueaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128985; x=1708733785; 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=tc9GgzIKlunv9emsz+SUhyILUQE4IaruPfDVuoJQhaY=; b=ZkazKphWcSgxYwCn22OrjuCzIeEPH1X2qPHXDHCHct1YZcqDnb0a2kPDrfxhZGJw5j x/DG7YqLrjZ5a3aBIXmARE96LgyVYXO6i6uMO/fdDSVe2z/dNl+eZkvMA2C95UfgTMX/ 5ivfH2IxjH1bYGm5WOuzDKQ4haf5M/x5WNTHnFitOwx9cySvSPF5N2Tw0z8Y6cfi+qEw yKgtjxVdrZ3ZhTBf0MzVmcHTMMK7myu96Pp6CD3BQhzpewppC2e+vrLp6D04lokgenk1 MEQ/He1Ow1v8OvYjb3SoVrGc4OYuwP8jdXxbnCCQ3u6A6iLuHV32hgqilqG+8uR7LLlS N4Pg== X-Gm-Message-State: AOJu0Ywk4XniTuLcSzDncE+HoOJS4JY5FUDmZ3YBJQPhmu99YZBIt9Rh naMJ/M+VO9MWV2MOi+EA8u04so1uJVdVIVFlqh0jsszHCq5IyelpybQ9Kp4l X-Google-Smtp-Source: AGHT+IHfsYiPeq8qsutnaNpYKWqDPu5PV0JEvYwjM5EcWA+JkGC9VUFTRsagSqk70qziIsrnkGCiEg== X-Received: by 2002:a05:6359:411f:b0:178:de46:783c with SMTP id kh31-20020a056359411f00b00178de46783cmr8051099rwc.16.1708128985223; Fri, 16 Feb 2024 16:16:25 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:24 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 16/60] python3-html2text: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:07 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108786 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-html2text/run-ptest | 2 +- .../recipes-devtools/python/python3-html2text_2020.1.16.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-html2text/run-ptest b/meta-python/recipes-devtools/python/python3-html2text/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-html2text/run-ptest +++ b/meta-python/recipes-devtools/python/python3-html2text/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb b/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb index 5b6d040368..d96f61bdc7 100644 --- a/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb +++ b/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb @@ -14,7 +14,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " RDEPENDS:${PN} += "python3-cgitb" From patchwork Sat Feb 17 00:15:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39576 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 45863C54764 for ; Sat, 17 Feb 2024 00:16:33 +0000 (UTC) Received: from mail-oo1-f51.google.com (mail-oo1-f51.google.com [209.85.161.51]) by mx.groups.io with SMTP id smtpd.web10.582.1708128987600902214 for ; Fri, 16 Feb 2024 16:16:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SgwBOvDW; spf=pass (domain: gmail.com, ip: 209.85.161.51, mailfrom: ticotimo@gmail.com) Received: by mail-oo1-f51.google.com with SMTP id 006d021491bc7-59502aa878aso1120653eaf.1 for ; Fri, 16 Feb 2024 16:16:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128987; x=1708733787; darn=lists.openembedded.org; 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=1PzB4oVo3X5jqxgZ2e3hAu4eyIGDD09cQ1dqzGWzL3k=; b=SgwBOvDWo3dnp1MJNTt0Mxs/GdxqMdpD6AR7AgfUUEyBH/2QKud5N4V78xnq9Zdvzg TETS+ygd1BUFXvvV7qHXfMvxylQmRlV7JnGiCwU0VD431heVdXqer3nJkDDVX8HDohv5 BB5CgLuJ/gr+I7ETCOhKSctINvIFQGTgDcp+UcWRYvvL84LZjKQt32YnTqYdN5WqIoUb 8yfdiE69Vzo7c8Y1pKjzqwCPNC3HmwhTGElcq17lNK/eYERztHVZtajwnYvA8ePnrOcc Ne0pRK+0/uVjJJC/P3rIBHi8kM2x+qL8UBQ0QSmBtpS76TdICGnTbjK2pKY0eG6prlU+ /ztw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128987; x=1708733787; 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=1PzB4oVo3X5jqxgZ2e3hAu4eyIGDD09cQ1dqzGWzL3k=; b=p0k5CGMe22k0JNRPd62x37l0v1pQfgXPRzfRu2DzO4nrCx+nUYvbsxXnTi9DNR3B0c esOuh82rj/WDo65WCETdHx3h8Q/NGlcxrFfKmhixryUCe7ICbmI212Ro2xp9omHn+Lre b92A2RyiXJhfycZ1s41NKGe2fxhss8nZXdz9n++F98xeNp1TMFeNUS2yeEJGz1545N5i X6ByNPeW8E2fL0XvwKEfisMeK3JQZWNtyUUpKFOydSpowcYqcN1SDCckEc/OGoIL/0cI gO/zuIKzEopdKSoqTkCa9j+8dm56OB3+ECyYKoSSum4zA4n5tLrrviY7z9JGDF6JFyyW 6BVw== X-Gm-Message-State: AOJu0YwvW5hWciVzsiYQBY2xuN0yqIDMUpU3FZpm7hjT7ysyWLac9ndg /WB6uTMgVp7TLn0pYL6nk5QL8pkqmhrW7GhqcpgVMZ71GjfUwo55Wpq2cHme X-Google-Smtp-Source: AGHT+IEWG/YdtsB0Vow5AEkRW7XwT2Ung+hM7K3d70wiViDK+iEMZrhJoahfU1nkep1BRY53hPjCjQ== X-Received: by 2002:a05:6358:e484:b0:175:4f0f:bbab with SMTP id by4-20020a056358e48400b001754f0fbbabmr6022882rwb.22.1708128986611; Fri, 16 Feb 2024 16:16:26 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:26 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 17/60] python3-pyasn1-modules: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:08 -0800 Message-Id: <9dd77d94739772e0ab50708253a2daf01a5686ba.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108787 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-pyasn1-modules/run-ptest | 2 +- .../recipes-devtools/python/python3-pyasn1-modules_0.3.0.bb | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest b/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.3.0.bb b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.3.0.bb index d158876fcd..ccd6025be1 100644 --- a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.3.0.bb @@ -12,7 +12,7 @@ PYPI_PACKAGE = "pyasn1_modules" inherit pypi ptest setuptools3 -RDEPENDS:${PN} = "${PYTHON_PN}-pyasn1" +RDEPENDS:${PN} = "python3-pyasn1" BBCLASSEXTEND = "native nativesdk" @@ -21,7 +21,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39572 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 26C7FC48BF6 for ; Sat, 17 Feb 2024 00:16:33 +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.web10.583.1708128988897882857 for ; Fri, 16 Feb 2024 16:16:28 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SfZpE+cw; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6e08dd0fa0bso2224180b3a.1 for ; Fri, 16 Feb 2024 16:16:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128988; x=1708733788; darn=lists.openembedded.org; 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=L/2lZZwxjjKYrXRGjfLfkvw73VO+xR7JW2zEZClzXvw=; b=SfZpE+cwkLP44rFuh91RhLotI/zZaUeTGLYIUnBl4IguSPBvC4kK0H73dNYM0RyJPB FZNlP6RAZV4Fuqvy+sllRulEi0KDY7Qo2ol6kToNPtZw7Uj0Py38/DfvpgKQqO2dM18R 5VShBEXyuFb7GP+tPyo0Lmt5c5nK+17Gxtperq+I6Ns1WU3oOXxu6a19VUEsj9b0acdY B1NkpnrrJlD1Fpe3LNj3dZN7tVVLFyZie/Wa7G2Zz2buAV2RbabQ7Kn0Trz7M5XG4Ndj Bmn8J3+eGAfc0fMotydvlo2DUciM7Bt0i0YuQTj3yc3N++3dpbLR285KMCn2TL2vFeCa otRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128988; x=1708733788; 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=L/2lZZwxjjKYrXRGjfLfkvw73VO+xR7JW2zEZClzXvw=; b=S/NUL5R65hnFyr8+NQDKE3kUdli2mx7wRwUVwF70lgPl6oTLtErDx6WBSiriGgAdAQ tkuFUYWuVwCf2hk/Q+KrOh+V5kBb09WspOxW8JgZFNWVilgb5ys7EgtW34Tu9VixLuu3 COAsnWcW9V1wrij1c/UJ8fbdB2lcxI+QFANJDM0SyTxE0+H96Wse3jBsYT7Yp07XGoqz 7AIxLLIIygIVXhD7qDv2YDZxrWG0vvNwHpChlDHxAooj7CJMwlbqrhEynR3a1eqtQDgS heMjBcHV9N7R9I8Ru4vwifJYZnLOdP4hDaWDrdADun+a946uSp7LKYSn7gqxc2NfWpZa GFyA== X-Gm-Message-State: AOJu0YyKpwo9IfF7e+W7DC+c2ZvBJUQ73a/f7ct5xVAAJaC3ShAIDEGP 8vQXGauWmwRbN+zbhgOom0sKfc5Mf4NEQ/hIfrWztoVeMAx9i1yrmGbzNe42 X-Google-Smtp-Source: AGHT+IHz6q45Z9aif99VbeqYr6QfsKxQw7GhIa7c2YwK9CEJ0SMiF4zko3tkno2mhKNj/1YGBQ+e8w== X-Received: by 2002:a05:6a21:3405:b0:19f:c0d3:42c3 with SMTP id yn5-20020a056a21340500b0019fc0d342c3mr7398516pzb.4.1708128988111; Fri, 16 Feb 2024 16:16:28 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:27 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 18/60] python3-intervals: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:09 -0800 Message-Id: <16ebbccddb8944ae4caacaef0fc25de2220d824e.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108788 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-intervals/run-ptest | 2 +- .../recipes-devtools/python/python3-intervals_1.10.0.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-intervals/run-ptest b/meta-python/recipes-devtools/python/python3-intervals/run-ptest index 357d8cb987..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-intervals/run-ptest +++ b/meta-python/recipes-devtools/python/python3-intervals/run-ptest @@ -1,3 +1,3 @@ #!/bin/sh -pytest -o log_cli=true -o log_cli_level=INFO test_intervals.py| 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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb b/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb index abf87c597c..3c5be47806 100644 --- a/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb @@ -14,7 +14,8 @@ SRC_URI += " \ inherit pypi setuptools3 ptest RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39574 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 34B68C48BF5 for ; Sat, 17 Feb 2024 00:16:33 +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.web10.585.1708128990606956996 for ; Fri, 16 Feb 2024 16:16:30 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=V+G1ekWP; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6e0a4c6c2adso1809516b3a.1 for ; Fri, 16 Feb 2024 16:16:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128990; x=1708733790; darn=lists.openembedded.org; 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=amJDr/rAWiDRZGZTJNXZ6lajqN2ZJ5Q9eFiMvWLdlzo=; b=V+G1ekWPpHAap6T0AtSeCViO8ZEpF/kYPeD618sInuuGtF1LMafRITC15YR+G89G1x GOiwTdtb3utJmxmm43WvrQAhA/5VW3JWfwdRxZ0SWTr4gk6I6/9FZw1a3eVIA0f1X3RG +m6M0BXoIMYj0Lu1gAh9PQIENzOJC29/bw0Ps93nyFXt+9H/Ug6KDwrW2a3/PN2/jHgx 8D93UhC45PWZr0NCcX0Yd9gMcoEHTOnQwFEWsMXHMsCevfw4zz/qa7V4AgwxJ8DNbDrA +D9YYjGyPtQLwj4imDD0uKtZbB2AEFdI+XmJlh/xhSY/IMIdsjnD5w+B59wXAeGCgwQJ qPGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128990; x=1708733790; 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=amJDr/rAWiDRZGZTJNXZ6lajqN2ZJ5Q9eFiMvWLdlzo=; b=KfInrAZsaSWzwaYwRKyZw0RSPneUt7Vwnb6D5q6TwpGV9xR1EY/6TjiK0K4MjWGxK7 8qUnJMgpd84aRBPxfuRuWf+BBHHVnW/xhziZp+g8kgeFHD4XczbtgFIG/1IhMhBzGjgX r/CPpc0ijTibO7YMiPGh/xgI8TbtohaiF0OicNaVWBQGMqfT5zWgiTYYnVCd5LpPrIrj YH+TSTfnd2wGz5OC0ttCOGntWjL8Il2+9E7JUinyUK4tEVmNxReNS+odRjhhPUE5z3oM bcAl9Gw5gopVGJ9Ackz5rTPHhNuEnJLoJ7JHZh37CNaZHCEy/Oq3NzUXC0OI8/PLMEmz J6+g== X-Gm-Message-State: AOJu0YwcBwVUQ4Nh/9oQG0SdqjyjqE2IZDl1VpifIsU3ueXy1U7YUgih lWqv4VgY2lvSLPFXQUyPxTB7C+RndWH6dwhYTs9IXgGpKipKQPvOL11ACC8B X-Google-Smtp-Source: AGHT+IFXhx+c3PwFHANiWd5ib883ubaPdJT7SF8gtkVRCZYzSZEug7ku3wRojnuGha8Opm4XDsbirQ== X-Received: by 2002:a05:6a00:2fd1:b0:6db:d2f5:9e28 with SMTP id fn17-20020a056a002fd100b006dbd2f59e28mr6494406pfb.10.1708128989751; Fri, 16 Feb 2024 16:16:29 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:29 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 19/60] python3-py-cpuinfo: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:10 -0800 Message-Id: <966faef096bdd8c157d072d019941e1c6eb61f35.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108789 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-py-cpuinfo/run-ptest | 2 +- .../recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest b/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest +++ b/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb b/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb index 84172c058e..857afd1db7 100644 --- a/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb @@ -17,7 +17,7 @@ SRC_URI += "file://run-ptest \ do_install:append() { # Make sure we use /usr/bin/env python3 for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do - sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT + sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT done } @@ -28,6 +28,7 @@ do_install_ptest() { RDEPENDS:${PN}-ptest += "\ python3-pytest \ + python3-unittest-automake-output \ " RDEPENDS:${PN} += "python3-core python3-ctypes python3-datetime python3-json python3-io python3-mmap python3-multiprocessing python3-netclient python3-pickle python3-pprint python3-shell" From patchwork Sat Feb 17 00:15:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39573 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 3FCCEC5475B for ; Sat, 17 Feb 2024 00:16:33 +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.593.1708128991766483355 for ; Fri, 16 Feb 2024 16:16:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Ju7QvJ3f; spf=pass (domain: gmail.com, ip: 209.85.210.177, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-6da202aa138so1919863b3a.2 for ; Fri, 16 Feb 2024 16:16:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128991; x=1708733791; darn=lists.openembedded.org; 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=aPr/IdN6d/tlZgNnB1qM7kAwl70qoyS+7CZg8G8rbZ4=; b=Ju7QvJ3fKXj0dgpCIq4PD8XvqQePLAFH9yhbPuqpypJQ9Ez/jIbJIas4B0zrpc9Jyx mJBGLDXVEoudYboPgcQbNCz3p4Mqn7pJ56bBJuB9oqtwQbtFeKJJsnqnuKgUjHtsw2ST Jt+kOfn2ttJu5pmkEi25KFzr+/DdxzGNYP+nccwV1ZZozYGxdEEZfthJZ87dJ/yFYIAH Fq+hmbBvmVCJvzmiswrUk5zNq7rOkNLZ/SO6T5nmIugISdwfAtRi4+rs9O+0sKK/nH4N Ou6w8xICsMoUwC/8+Ys2zo35vSR1nTb4EDfgY/Tle+hG/Cves1CwQdQlfw52/LDY4en3 3Nhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128991; x=1708733791; 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=aPr/IdN6d/tlZgNnB1qM7kAwl70qoyS+7CZg8G8rbZ4=; b=VEqxpIaZ5+plf3lZHZMA/rgKWf4Qj20g8eHl/uT3KyIWSdVwvAHYazD4YcbuTNf8KG pZq3AWIydPSQdjPAzEIHJZTKi8ayr62GwRfFsyaBuURUj9xEJ78dRBHQeIbcLDLyuEhA 1QcxuSa5suDXXkzUWa7vQX24mSrbcWI9BlBpkHtYZ2ADAi6jr29K253JlR35BO18d1eh PMjkTamSroW2/tR7OOckC7/AT2xOOd7dezE+AdbyDVOADgqqIRGPuNVFKPJTLECV8j5a UK964jSY3mG2RwDF29K3cvIhhAKz8pjYag3WNvIotVp9eFf0N3FE9rTuJyfAZciPq/3U 5GPw== X-Gm-Message-State: AOJu0YyDvCcQOFwh8XjRQE4B87JnZ6bf8E3kgZgoV0wtSMpZxAdfO3JR koA8tE4MgSOjAPk1BQ7aSq79qaCV8k8viCoNVX5Ff1QXFrqGKIJdyafbhcmF X-Google-Smtp-Source: AGHT+IFdNUvEvPSj9DgsEWDrgw7TorgM/wfhYh94Ej4P25x1Uk7bdxLIecBSqI4rFSdekEZW4K/FpA== X-Received: by 2002:a05:6a00:2d20:b0:6e1:4854:a971 with SMTP id fa32-20020a056a002d2000b006e14854a971mr1978623pfb.29.1708128991018; Fri, 16 Feb 2024 16:16:31 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:30 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 20/60] python3-backports-functools-lru-cache: drop folder Date: Fri, 16 Feb 2024 16:15:11 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108790 This old run-ptest file was skipped when the recipe was dropped in: 620689d4ef python3-backports-functional-lru-cache: remove, not needed for Python 3 Signed-off-by: Tim Orling --- .../python/python3-backports-functools-lru-cache/run-ptest | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-backports-functools-lru-cache/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache/run-ptest b/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache/run-ptest deleted file mode 100644 index b63c4de0d9..0000000000 --- a/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache/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}}' From patchwork Sat Feb 17 00:15:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39579 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 4DC1DC48260 for ; Sat, 17 Feb 2024 00:16:43 +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.web10.589.1708128993631719812 for ; Fri, 16 Feb 2024 16:16:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HcMGhJJZ; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6da9c834646so2386766b3a.3 for ; Fri, 16 Feb 2024 16:16:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128993; x=1708733793; darn=lists.openembedded.org; 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=F0Y5sbSiLs0A4prCaBV7bGmW0QLipM33MOyTwzhqPNI=; b=HcMGhJJZMmFIoWZ8/vHKt5h3/bwKBkXh3X6S4ohkO0wqZ/XyXZJw9WzYYEvGDc24o0 agZ1WuO/upfIMuZV5s2C/LwSNx0p7WeEhg55Cdhgua9P9lv0PptNflR1WSJzGL+0oi+W eWhK+pIWWfWrA+EFBnH5713X/K0QW0shJ5oLuyIU6fQqlD+LhNLfiFjCclCzUeX5hMTF xoq12Fynh2BISybgjSIKdpK+GUQhyUjOVHUSr8NJnvkb9RjdlvXvAz5vs2QdBwGobLCo q9gDcQjAa3/hA9Lu1nHdeJGiGEO2/Zan/hdN4zhQfmI3bJK+t73fDgmhrW25GgIgvQLc jN3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128993; x=1708733793; 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=F0Y5sbSiLs0A4prCaBV7bGmW0QLipM33MOyTwzhqPNI=; b=OH0XYGjfNCxktKIJMuVxz4Ap6FzuHkFU749WnPODRBCtmYopGo0XpvUeBWCOEiyXIA WOnZeU97da+FvG50oU/HWaDrdIAsyEzHvNpjUaTU/a64R3vnFUZekxnqrFDCxyJ4HYWy OOtaea5nrui9jSahQryOSq+qJ1qh9IRkV29yfa757QpuWxNeqAueuqYdLd2RxlCrf+0e BlEPUy4B5VC4xF9TZG1CsevmH9X5rgA1IFGx4cApf/gVViYIA/BPfSKe4VTB2fNqQ7ch szAfoH0kSmHT1AaYa8j8fWj3REb/T2ETRLTeXjpKsVt8C/kji4lvMo1Swj5FcU5lCtgc OBjA== X-Gm-Message-State: AOJu0Yz3wne0oJZ6XU23f7GTWdVWKlZdjDlhWs74q4Hsd8NmlHoxAh46 npya2XafzRFzHnHuzjCMvAP62v37NzG61FtIyE8Jyam0UOVWNSKYirrQhOo7 X-Google-Smtp-Source: AGHT+IFOcmFfCTWJqhJ7FRaVLQLhJJNexfU5YrAwFMym54YN41fwR+dHzAYfDhXR4b3NsTKH9L7Fwg== X-Received: by 2002:a62:ce85:0:b0:6de:3b41:2845 with SMTP id y127-20020a62ce85000000b006de3b412845mr6317915pfg.32.1708128992780; Fri, 16 Feb 2024 16:16:32 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:32 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 21/60] python3-whoosh: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:12 -0800 Message-Id: <4fa3f03f217763b1be77e0dc696cf95b1886083e.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108791 * Also replace ${PYTHON_PN} with python3 * Sort RDEPENDS for ptest alphabetically Signed-off-by: Tim Orling --- .../python/python3-whoosh/run-ptest | 2 +- .../python/python3-whoosh_2.7.4.bb | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-whoosh/run-ptest b/meta-python/recipes-devtools/python/python3-whoosh/run-ptest index 3385d68939..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-whoosh/run-ptest +++ b/meta-python/recipes-devtools/python/python3-whoosh/run-ptest @@ -1,3 +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/SKIPED/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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb b/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb index ed2a6d423f..38d3e1cecd 100644 --- a/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb +++ b/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb @@ -16,13 +16,13 @@ PYPI_PACKAGE_EXT = "zip" inherit ptest pypi setuptools3 RDEPENDS:${PN} += " \ - ${PYTHON_PN}-email \ - ${PYTHON_PN}-multiprocessing \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-pickle \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-stringold \ + python3-email \ + python3-multiprocessing \ + python3-netclient \ + python3-numbers \ + python3-pickle \ + python3-shell \ + python3-stringold \ " SRC_URI += " \ @@ -30,8 +30,9 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-fcntl \ + python3-fcntl \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39584 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 85224C54766 for ; Sat, 17 Feb 2024 00:16:43 +0000 (UTC) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.web11.594.1708128994751462938 for ; Fri, 16 Feb 2024 16:16:34 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mu2DTrl4; spf=pass (domain: gmail.com, ip: 209.85.210.180, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-6e0f803d9dfso955443b3a.0 for ; Fri, 16 Feb 2024 16:16:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128994; x=1708733794; darn=lists.openembedded.org; 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=beytlZbpVqQMBPtFmbaU91TmCNFNWuwSMfCq6ozLrBM=; b=mu2DTrl4nOKL2RfaFzW0nX6XeM4Mu8dh/sBf6aibaybo03rALFAa7y1ZyhBgbb0rF3 Yl6ldaZfGPnfm6PcRryBIKNoyqmyyBXxCzPSsSBjMzJCRm0yFsTC5z2OZH1XQ5o5978G doEUA85jyiABTLtCQ9+O4/qd1t/sYd7VU3bcDsC5Hq0WCl0sv2VYPkMSWha6kHzuqzBz 26zBclVLywEKyj+IZUxlpRiuG9uHusiK/onf9D315iI+3qU0bdNDky5ZQZ5zCZvmDwVz efVNZZFXEwqzkhFXcJYzotJInIT7orhqA01LPPuA/xOp1xzvLYuDMs9XHA2ylBRV5aRn ceCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128994; x=1708733794; 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=beytlZbpVqQMBPtFmbaU91TmCNFNWuwSMfCq6ozLrBM=; b=nb4o5Iywwt/teqUKLkrOMUfoAHn6Z/BaP3WoJt/Yq02akpgc9lPT8vu1SaYMj3Zlvp 3a6y1BCrBe7i2cUNSfDnlgY+1tyqS6xftIoE5MWWwS85Cv/VKOv8Ia0B+BmdfYZI0Y8o E2l7ZDxbbDyAmT9rlBNr9XBA9tUCzs+BppX//dkNhIZfb1donplQQmzrjjthbIvG6SRU aILQDrGKBSASGsKFPNhjd6hWjisFOKgGvmEEF0aXibxnskU/lkDVrdzBvHFSjneO45NZ 58ZvQYr6CeDsf/aGB32cuKzeNa/HxITOwx1LDFttiTF7u6Zrt/lQJRoT0scboVmv/sG7 LK3w== X-Gm-Message-State: AOJu0Yxz8e7XrZF8gpbNCx4VZvQhj47MOTUaFYHc+o6Vg6DKbFOp2Bfu dnt9z7jgEn51OuoIQtkVLkG0gb/w0zYZKdh5zCXy+Va04mAM5PQzQ7o8qsx9 X-Google-Smtp-Source: AGHT+IHzTHZiMEOv+Bz4SyItmNNQcEizKabkFLDx78MbKmdvSi0ThzcY+guLuLQR86kvXUKfMjP5FQ== X-Received: by 2002:a05:6a21:1799:b0:19e:bf18:61fe with SMTP id nx25-20020a056a21179900b0019ebf1861femr7375818pzb.11.1708128994005; Fri, 16 Feb 2024 16:16:34 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:33 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 22/60] python3-xlrd: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:13 -0800 Message-Id: <9f8c60eae5f9d24ea69fdceed96f27b62aa9e749.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108792 Signed-off-by: Tim Orling --- meta-python/recipes-devtools/python/python3-xlrd/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-xlrd/run-ptest b/meta-python/recipes-devtools/python/python3-xlrd/run-ptest index 3385d68939..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-xlrd/run-ptest +++ b/meta-python/recipes-devtools/python/python3-xlrd/run-ptest @@ -1,3 +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/SKIPED/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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb b/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb index 5e63d3c307..8a9af14d3e 100644 --- a/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb @@ -30,6 +30,7 @@ RDEPENDS:${PN} += " \ RDEPENDS:${PN}-ptest += " \ python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39583 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 7CA2BC5475B for ; Sat, 17 Feb 2024 00:16:43 +0000 (UTC) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.web10.591.1708128996378416072 for ; Fri, 16 Feb 2024 16:16:36 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GEuVFbk8; spf=pass (domain: gmail.com, ip: 209.85.210.178, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6e104196e6eso2735800b3a.0 for ; Fri, 16 Feb 2024 16:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128995; x=1708733795; darn=lists.openembedded.org; 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=HMRFj/gxYGc07zmtpUS6qDVivxgF1tknD1yvAjhMFPA=; b=GEuVFbk8CjM8bGsBwpKcnLUpOjbpjFpySxGgdsRjUO/br0/bBKanGaP8r/vY7hcr7O ItgXl1gvmcOXNXmPO49sOsf84CsK8PrqaU24BCYfQ9J43TKbdUdua8Hy8EC8V4OJbYx2 hOIdVH2Ci6OAi2+J9pbfUhWztfG/XxKpB+Axo/z/y5hYI/hrL/q0ODRbpZn18MRlDEej mXfcMDnS23WPM40r5kC8zEjufz2Qqu+Ofyt4zbt1DM8KHvFOLvG6aPUryHl/fAvXeCnb 6sgBetwV/E0PEYYJD3ksxPh1z2kDce+aQg80qdz7CSoC+dsCNH1mSHqog0U1X2YwbodZ 1f8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128995; x=1708733795; 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=HMRFj/gxYGc07zmtpUS6qDVivxgF1tknD1yvAjhMFPA=; b=SA8ydkdH5J98cucJRYPeLyNq5CXjckAlOErkJXkgt4CwQCZWx+LLZyg+WlZ6zHG6w9 sP1StSwtTBATYDbCy4IZs+lRspmc9pS/srjisP6FcJPfD+fKPD65ellhUDq8OzYFj7NM 6a20vFAFGHHpr3Mb0PjPNkre9ZD0frsVJvum5BMC4g9F36X4UBHHFzXuLtscfwtpegxd T6dRpd1t1AXEa+UOwj0hTnrxIQRoTFXlayBLixYoPO8TgOmedL+TXDyb+Pud7TTyQTEc odLuL43IyHf7RgcvfeMuv/iSbhaRq/URcJR4tzZvvIJzys1vR+XlqxxP6rjL2wmzk23R uVlQ== X-Gm-Message-State: AOJu0YyMHDfRgt5xqA8haPPhi8SDuDJK9yMW1CCZbjcKx+3v/hYmjTLx wLUyXAukAE5aPjWesztg8E9L5EAPj2lHYEJ8xeP+diTTt5/fcscZ8vruwod5 X-Google-Smtp-Source: AGHT+IGOhoVFMxlf1T2i1GcgI3sSE966R6kpwu715fVJhm9JepsrhFf1ezFts5t/tvf6c0IDAY8ewQ== X-Received: by 2002:a05:6a00:9085:b0:6db:d978:9047 with SMTP id jo5-20020a056a00908500b006dbd9789047mr7383513pfb.1.1708128995444; Fri, 16 Feb 2024 16:16:35 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:35 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 23/60] python3-dnspython: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:14 -0800 Message-Id: <29991ef4dfe4e898b61237e1d006176f9f259f69.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108793 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../python/python3-dnspython/run-ptest | 2 +- .../python/python3-dnspython_2.5.0.bb | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-dnspython/run-ptest b/meta-python/recipes-devtools/python/python3-dnspython/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-dnspython/run-ptest +++ b/meta-python/recipes-devtools/python/python3-dnspython/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-dnspython_2.5.0.bb b/meta-python/recipes-devtools/python/python3-dnspython_2.5.0.bb index 6b7212b9b5..c5c8d42e2d 100644 --- a/meta-python/recipes-devtools/python/python3-dnspython_2.5.0.bb +++ b/meta-python/recipes-devtools/python/python3-dnspython_2.5.0.bb @@ -12,7 +12,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { @@ -21,15 +22,15 @@ do_install_ptest() { } DEPENDS += "\ - ${PYTHON_PN}-wheel-native \ - ${PYTHON_PN}-setuptools-scm-native \ + python3-wheel-native \ + python3-setuptools-scm-native \ " RDEPENDS:${PN} += " \ - ${PYTHON_PN}-crypt \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-math \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-threading \ + python3-crypt \ + python3-io \ + python3-math \ + python3-netclient \ + python3-numbers \ + python3-threading \ " From patchwork Sat Feb 17 00:15:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39581 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 58E06C48BF8 for ; Sat, 17 Feb 2024 00:16:43 +0000 (UTC) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.web10.593.1708128997669816385 for ; Fri, 16 Feb 2024 16:16:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=U+hhXY0r; spf=pass (domain: gmail.com, ip: 209.85.210.181, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-6e2775c377aso124656b3a.2 for ; Fri, 16 Feb 2024 16:16:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708128997; x=1708733797; darn=lists.openembedded.org; 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=/9a8m2F2dYl7PCCmc02PaCJMzZ3OP4K8UOAaCebfAjg=; b=U+hhXY0rF/XskYROfBTOGvcbtAVa8S8tC7Kgbp8JWambkNA86D694ISdpE4t4ybc7M IlR5btW01ZAvPPNYNlcGYE7WuaXhDUpXmfYAaVkl3nkiopngyjyvSTr+4LbwtT07P1ms TnfohFG8Tc6gcQvQMps8GH/tCa9kKQWH1uGPd5eaconRX+fzmYwu47X2LUSTiCwL6Kun s+LzzGFlILmEf+ph/3AGxlD1Vn714M7ShDnfUuHi4+IkC4aSLt4O4CI7QVDEUYDZyqhJ XG8Jt7ssoVSkBO80lodlSdoxYbECwow/ykIv9xUO6EjkamVYb782JHc4tIP66MGqasLX OnCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708128997; x=1708733797; 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=/9a8m2F2dYl7PCCmc02PaCJMzZ3OP4K8UOAaCebfAjg=; b=qeWM4GhvldSgcHoxFGvCJX3PBNfjSn76QZLcw3B9udgLMahenlSZ9KURg/dLIcnddK HDI0Qh5IXN9EDGqyLgFrgeoh2/CglHRvfqXNUA3K8PNaEATMQSGw4YrKQz1ALAkQKF+0 KZvjiVqQSeXzO4TUyglR0+kkctndHqDepFRcp15nVwxgs9bB4uMdIK7w7D08k43I9i5p kNBrceC1EPNDvnEbn/R5uxy7jAsNwpKblffajIr7OGdQNQc0fdh05PZgVRi/cdXW95mS IJ1G69o6H1oKVDentXZ9YFrqBJKdpkIAXSytztYas83olwzvY1VRbBGGIuw4G8kUTlVm JMfw== X-Gm-Message-State: AOJu0YxAaZBnqmQl9lTkVKafoydHkAk+FuO7KeARrH3I0LvdsOVDLQNH 3oT1/VPrSXI4vSHsRMNtuPYbl2ofNUK0/jIRpepyj6RxFtoAhtLDzzezn1Zv X-Google-Smtp-Source: AGHT+IGuGFFrWzSOy6znDqo/GaoFpJJ34sV2GvrBF3WUscA61SaUj8ZZe3WirbKuMcEIocU/h/hpFA== X-Received: by 2002:a05:6a00:1995:b0:6e1:1843:2e8e with SMTP id d21-20020a056a00199500b006e118432e8emr7220693pfl.0.1708128996911; Fri, 16 Feb 2024 16:16:36 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:36 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 24/60] python3-prettytable: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:15 -0800 Message-Id: <917a2526f5a3d6a11efa444d62fe88880e366988.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108794 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../python/python3-prettytable/run-ptest | 2 +- .../python/python3-prettytable_3.9.0.bb | 21 ++++++++++--------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-prettytable/run-ptest b/meta-python/recipes-devtools/python/python3-prettytable/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-prettytable/run-ptest +++ b/meta-python/recipes-devtools/python/python3-prettytable/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-prettytable_3.9.0.bb b/meta-python/recipes-devtools/python/python3-prettytable_3.9.0.bb index c1e394d9b3..ba75057f59 100644 --- a/meta-python/recipes-devtools/python/python3-prettytable_3.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-prettytable_3.9.0.bb @@ -20,22 +20,23 @@ SRC_URI += " \ " DEPENDS += "\ - ${PYTHON_PN}-hatch-vcs-native \ + python3-hatch-vcs-native \ " RDEPENDS:${PN} += " \ - ${PYTHON_PN}-math \ - ${PYTHON_PN}-html \ - ${PYTHON_PN}-wcwidth \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-compression \ - ${PYTHON_PN}-importlib-metadata \ + python3-math \ + python3-html \ + python3-wcwidth \ + python3-json \ + python3-compression \ + python3-importlib-metadata \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-pytest-lazy-fixture \ - ${PYTHON_PN}-sqlite3 \ + python3-pytest \ + python3-pytest-lazy-fixture \ + python3-sqlite3 \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39582 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 61770C48BF6 for ; Sat, 17 Feb 2024 00:16:43 +0000 (UTC) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mx.groups.io with SMTP id smtpd.web11.601.1708129000831617166 for ; Fri, 16 Feb 2024 16:16:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=E8fapc1o; spf=pass (domain: gmail.com, ip: 209.85.210.175, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-6e0a37751cbso2383098b3a.2 for ; Fri, 16 Feb 2024 16:16:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129000; x=1708733800; darn=lists.openembedded.org; 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=RK7HTse1Xb4J9NchDQBFdYqVuHIZP5mbsV/clgBrpEk=; b=E8fapc1oNqj89Fo0K4zscEFdRfOpFhvm90hy3ybROKCMeVlSegOgdTAtHM4P8gSVGl C7l/mqEUTp7Ai1jGu0/IpCHcmXXjBEcVF1feoKw+nFqlfAv5Vx7CnLRUB//1YlHEk3KD MEeotck8tDzfI7bQVY77rd4qFrCyKVRLI0+yatBhiM/ntDNtgIGox3im4JU7yCu+oyeH 3fNtXStpIN+h6LKUBKf115ZUsGl1opd3DVK1CBalpqKRwSMhvNXaH7ese1BRzZYmH8gu kN4NcyKMpYAfg68P2ABcwKOTYuA0cwsf3VXAYPrp1bF3W0+Chdxb8asbOuZXkRfcqP7N r0ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129000; x=1708733800; 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=RK7HTse1Xb4J9NchDQBFdYqVuHIZP5mbsV/clgBrpEk=; b=vOn7CvXdo2ubF3XZqVh+ChGcg598wWAjB5YcGCFNCiM4mNheMJTauxrxkCg9CzmFSJ yORs/JeAlttXZoquN3mQ8x6M7kAvfgiOLDVSO18XfGwrrj3kf/LhrGu9toXM4UWeAoS2 sFuA2ojzia2qjRszRcyk0bT2KAY7YfKgodMDW2ImDFbIBGKzyeSu/a97O63MT5izO5FS 6KcBby3HRM9vyax8uanJjKdS40x48pWMZ8FkjzR38evigYzIQn7ryJyjiRitSO72tcX4 DM/c6jJ65dKz/xnBIwV6lJOkAxUxEMRh1FSCO/yD8IV4vpKHIEuq1n0AsSALzg1u4UYO 296Q== X-Gm-Message-State: AOJu0Yy4fHHhmSX18yPED4a4csndAddWHkiwPv9Ed8cGycyJ/4XJ8nlj wcvni+GvL7feBcVrDTaDEF33S+JViLB1T3ZZOIv4mgiGRI4GCcgh/X5KFlRq X-Google-Smtp-Source: AGHT+IGVWN0nfI5BjdPMuOickJ9S8HovprUgTxnm5eh3XF1Ru60T/riTpf6vtLlA2a4gbdOK3u+vgw== X-Received: by 2002:a05:6a00:1d06:b0:6df:f7f3:6197 with SMTP id a6-20020a056a001d0600b006dff7f36197mr7161360pfx.34.1708128998844; Fri, 16 Feb 2024 16:16:38 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:38 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 25/60] python3-ptyprocess: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:16 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108795 * Also replace ${PYTHON_PN} with python3 * Sort RDEPENDS for ptest alphabetically * Remove trailing whitespace in run-ptest script Signed-off-by: Tim Orling --- .../python/python3-ptyprocess/run-ptest | 4 ++-- .../python/python3-ptyprocess_0.7.0.bb | 19 ++++++++++--------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest b/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest index 15c3f6282d..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest +++ b/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest @@ -1,3 +1,3 @@ -#!/bin/sh +#!/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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb b/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb index 2a8b8730c4..4abec0a01c 100644 --- a/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb @@ -15,10 +15,10 @@ UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess" S = "${WORKDIR}/${SRCNAME}-${PV}" RDEPENDS:${PN} = "\ - ${PYTHON_PN}-core \ - ${PYTHON_PN}-fcntl \ - ${PYTHON_PN}-terminal \ - ${PYTHON_PN}-resource \ + python3-core \ + python3-fcntl \ + python3-terminal \ + python3-resource \ " BBCLASSEXTEND = "native nativesdk" @@ -30,11 +30,12 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-fcntl \ - ${PYTHON_PN}-terminal \ - ${PYTHON_PN}-resource \ - bash \ + bash \ + python3-fcntl \ + python3-pytest \ + python3-resource \ + python3-terminal \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39580 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 68017C54764 for ; Sat, 17 Feb 2024 00:16:43 +0000 (UTC) Received: from mail-oo1-f53.google.com (mail-oo1-f53.google.com [209.85.161.53]) by mx.groups.io with SMTP id smtpd.web10.594.1708129001216106964 for ; Fri, 16 Feb 2024 16:16:41 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VDx5EfHt; spf=pass (domain: gmail.com, ip: 209.85.161.53, mailfrom: ticotimo@gmail.com) Received: by mail-oo1-f53.google.com with SMTP id 006d021491bc7-59a8b9b327aso883228eaf.2 for ; Fri, 16 Feb 2024 16:16:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129000; x=1708733800; darn=lists.openembedded.org; 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=sJseUfC5HY9slU4CxubCBaNS3nTEIH5Nf2zsSZXvs5w=; b=VDx5EfHtbrXdMkC8jnHXdNlrsPY8ORMOrC8O1KsBiv3X4wx2IvL/gbrRYtPQr4GnL0 vlvsJ2fBZbixs+z9AONxEY6hY4lpRD1Zvi5qYm3sVUyFYiOKpcrMFBJxyCx5KkhOc2w0 sIYhCVAFH/nDRnMPx03e91WdlnjKqO9ShZhpFhFXgMC1gEChmxleZBvgq/EhYoQz5dJ8 3hj4+Ka1fZ39ZgVmIti0d8oNUhfmvpCW6Us4uUt+k6wYWOZNmOKfsEzg2Gld9Q+GrN9I 2DvfzN2moUL7+u9jnmeS3u/6nSKzC4FNv1nZu3L+VEzA7zhhnD13uTYrp9uuvptzdMlX LBcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129000; x=1708733800; 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=sJseUfC5HY9slU4CxubCBaNS3nTEIH5Nf2zsSZXvs5w=; b=mIg2E/MLavo96WvefMYo18ywDHtRarb/vz3zc32JgDVF4eW5L45AezXW8gQgjzI/Us 0Eon/gJVk4Uiy9Uxkdj6LV2CQ3w6cOa4i6R8dEiZKPSrJJ5XZ/6oPOutJKmLSD0PBs4O S6W04aHJ6DQUthZO5Lo4PZcka/Wp92elBTRL7vkau5jZhjfuD8Lw1M5ykRfgQwzo36D9 dvM72nCuSYXIoJqyRZQb8y0mtgHHKqlTeCZJWoRcFi0tLCAEPZVII16JiEK9yNH4f/UV K9mwk71DcRD7wmU0dvfmtAr5D6xHl/KI2VrhVZCK9nFSFYSFVn98BFBzE+fVvV8GxEjL TTlQ== X-Gm-Message-State: AOJu0YwICENRwL5a4okq2fJRbXKZhklheE5RLra/HcOX6jKUAJvP4UnQ XYhc9ttOxx8lxkUMpQ3z5wTOcTkDp8JUSx1dIYAgDndR2CH33IGtcbF386sX X-Google-Smtp-Source: AGHT+IGg9KBqy8+/W8f6k7a8NN1jSzlGXgA1qitQgarNP2eddUot+LmY8ZzHTWiBtBPgSHdaK2Hv2w== X-Received: by 2002:a05:6358:9213:b0:179:ff:2486 with SMTP id d19-20020a056358921300b0017900ff2486mr7361045rwb.29.1708129000298; Fri, 16 Feb 2024 16:16:40 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:39 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 26/60] python3-gunicorn: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:17 -0800 Message-Id: <7f7291aafbbbdd842bb9272b8a0109eef9d0602a.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108796 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-gunicorn/run-ptest | 2 +- .../recipes-devtools/python/python3-gunicorn_21.2.0.bb | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-gunicorn/run-ptest b/meta-python/recipes-devtools/python/python3-gunicorn/run-ptest index 98d73fa037..5ca7e26e8a 100644 --- a/meta-python/recipes-devtools/python/python3-gunicorn/run-ptest +++ b/meta-python/recipes-devtools/python/python3-gunicorn/run-ptest @@ -4,4 +4,4 @@ # ptests to work, so make sure there's at least one nameserver line echo "nameserver 8.8.8.8" >> /etc/resolv.conf -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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-gunicorn_21.2.0.bb b/meta-python/recipes-devtools/python/python3-gunicorn_21.2.0.bb index d765c8fd05..9fd601c999 100644 --- a/meta-python/recipes-devtools/python/python3-gunicorn_21.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-gunicorn_21.2.0.bb @@ -12,9 +12,10 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-eventlet \ - ${PYTHON_PN}-gevent \ - ${PYTHON_PN}-pytest \ + python3-eventlet \ + python3-gevent \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { @@ -22,4 +23,4 @@ do_install_ptest() { cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ } -RDEPENDS:${PN} += "${PYTHON_PN}-setuptools ${PYTHON_PN}-fcntl" +RDEPENDS:${PN} += "python3-setuptools python3-fcntl" From patchwork Sat Feb 17 00:15:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39578 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 4DD28C48BF5 for ; Sat, 17 Feb 2024 00:16:43 +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.602.1708129002601448488 for ; Fri, 16 Feb 2024 16:16:42 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mh53KULV; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6e0a37751cbso2383105b3a.2 for ; Fri, 16 Feb 2024 16:16:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129002; x=1708733802; darn=lists.openembedded.org; 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=rq4EU/vUmkAAmoXvJyIpe+G84iaaMd1mXWoN62CyFVo=; b=mh53KULVPXfWDFt9XHJ1qqgG5kpmx6Se/ieClPfrR3XrLtak7Txf+0nKhIiT3/ZqIL HkRcBgIm9WXTRiep1eFcPr85hbwMVoJMlpdCoF3oNAH0JCvXQib25BSWYRftHgV5klcn zxpLLU74rECa0XKKVmmMEpiBhm4yD2W4U6VZS++jeSCac8IRXfykY8HyaPcH6nOM3ZLG Zs1UQ7rqSKDlr3T0yf45QI4yj7Wyo3vVWDEijX50C3BV1gfPxqSM9wXeBA6cWEvFbMfE HeMvgGe+utW20Isy1y9kHKbum0m+SGzIR7ghDjxVh97F1nZdUajQWvHYrcizU00Qm+/g w1nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129002; x=1708733802; 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=rq4EU/vUmkAAmoXvJyIpe+G84iaaMd1mXWoN62CyFVo=; b=kdPJ2oBC5+aRO6ny2IphW7bkYwQRCuhCRQKgPQREZ9JhbMYz+cCBTvPOs/Q4Py9b27 y18rntHWUY746ZUgA2jKCG4VQ3qGGYtouTP/uHOYZoNyD9bGKZMufxsHbOUr5UC4Ym0y ZHBjVmP4os1K8/M7xOe/6UdLujMN/EayCwHI7qIrzWXsGYi8vXJvpUUPH4LsrMnYcAHY qEuZzEZssy0MdGTbsfK9o7C0GH+2oYsFblKMtJtOZJsU2RLZY0UW4533Fu/XTRuH2Ggn Vnak5/GhRjyuFcSO5xkavuO1TMiLqgcStdloPagkSnVK3KHL9x7pH0WmiIMSmOvMBs8a Rx4Q== X-Gm-Message-State: AOJu0YzE8b0N/HWeACfEYzvhb45VUwvlesHIAeHYBNwpFMP37VBYGbG1 vweX/AxI28IuLU9Oy2AQndBTM5muK5szotNOQI+UKxc7WHJU8xihMGgfxRnf X-Google-Smtp-Source: AGHT+IHZ2j9ivKR8d1MdoU4N7dCoI6uIIGp9tSXGIrxKsDk9lCuju6Ts2Rq14R+U4BQHLqF8O/R1BQ== X-Received: by 2002:aa7:8204:0:b0:6dd:a086:1e0f with SMTP id k4-20020aa78204000000b006dda0861e0fmr6119281pfi.32.1708129001868; Fri, 16 Feb 2024 16:16:41 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:41 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 27/60] python3-pytest-mock: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:18 -0800 Message-Id: <6950d4911ce42ed639b09da6f6387378cb01e135.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108797 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-pytest-mock/run-ptest | 2 +- .../recipes-devtools/python/python3-pytest-mock_3.12.0.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest b/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb b/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb index bad3df11ae..e9a9a4fbc5 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb @@ -15,13 +15,14 @@ SRCREV = "69adc6f76c1a7baf4e7a728da9eec38741d5783e" inherit setuptools3 ptest -DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +DEPENDS += "python3-setuptools-scm-native" RDEPENDS:${PN} += " \ python3-asyncio \ python3-pytest \ python3-pytest-asyncio \ python3-unittest \ + python3-unittest-automake-output \ " S = "${WORKDIR}/git" From patchwork Sat Feb 17 00:15:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39589 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 822CDC48BF8 for ; Sat, 17 Feb 2024 00:16:53 +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.web11.603.1708129004127820244 for ; Fri, 16 Feb 2024 16:16:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JYCmD8SO; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6e0f803d9dfso955489b3a.0 for ; Fri, 16 Feb 2024 16:16:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129003; x=1708733803; darn=lists.openembedded.org; 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=ytoa/tPRMtH1UrVOmYaQ/rQwY+pUPNdlg6lotdx2sUM=; b=JYCmD8SO/OEx6Rkn0jWvHzGDtM+rDmvy5STVsIBocf3ZU38o2hw26s56AXQI7U7Lh+ pic8JjMDOrzZJKqd0MFsXfJjaei/lHHO/qgdTTiCoCMxdyNJCXPAxM2rt4vUtyh/5ojZ W5zsH/TfnRdFGnoK5KQRqfP75iprXeP7ygAMECyJOoQBI5MLXjE3RgId1rc1FU/UbuIE DjILfWpAlr6njxiAPClIDpEmktPEI9bdxVHXm2rND5c8lB6A+rcrZDf4vg/wGNzyIuN5 Y4InWlRRLG97zEgnhVGkmsJMTUcU/Q9fietHozXV8+ej/qU3Ia62Z1BEWqciT0AT9e3g 0e/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129003; x=1708733803; 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=ytoa/tPRMtH1UrVOmYaQ/rQwY+pUPNdlg6lotdx2sUM=; b=Krh34eCFpBGtOfiBEo28eIDk4TzOGhU6F82haT4CakXZL61q3DcA+A9YFQDxtSHgXI e9Q/TTZFpHub0MiAf5FkJFuyZTlgPeScnxcb1mFwxguAABpe2RLkh0ibj/W/RXMGCPXq iAGYVsKQFd4swkynB9CPp1ubOwI9BpFrQ7+SbVQdtBCSr3jftNLQfjTFn60gwjuy9ktI y8e8Q6Fmdnc3OdIkLa2fXs5N1LCj5fHrFMQZmRoEAW9H8XgndT8UBtpycXLVpEcaRhho YH3ddH9FXnD8MTLQAe1hO1wHcBcC5SmrW46X12h08SWg5+Z8tokWd2B+ugHJiOcS9ycU QByg== X-Gm-Message-State: AOJu0YyS8AjAHndJRwKOCKADzljvMxbUDzMJGghdTQaBdrJAEK+uuxyT bDICFuX/Wdr6KV2ZB4dUdLciavzXWTt07EcWHStysD+JVIar6WgSgF57ww6H X-Google-Smtp-Source: AGHT+IF8qfjs+FZNhQUYKnBIM60VO7+Oq7rBGIhV10+yeSpYsEHsTO0thz25U8lwk5gAKpyQ4awqXA== X-Received: by 2002:a05:6a20:d48c:b0:1a0:885e:96d6 with SMTP id im12-20020a056a20d48c00b001a0885e96d6mr4479921pzb.61.1708129003404; Fri, 16 Feb 2024 16:16:43 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:43 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 28/60] python3-pyroute2: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:19 -0800 Message-Id: <9bad15ac1b99a3c47cf99d426ebaff4e05cc324f.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108798 * Sort RDEPENDS for ptest alphabetically Signed-off-by: Tim Orling --- meta-python/recipes-devtools/python/python3-pyroute2/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest b/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest index ea429ba21e..f1c8729f0e 100644 --- a/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest @@ -1,4 +1,4 @@ #!/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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb index 6b340a18ce..740a6d7f73 100644 --- a/meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb +++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.7.10.bb @@ -27,9 +27,10 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-fcntl \ + python3-pytest \ python3-sqlite3 \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39591 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 B20E8C54787 for ; Sat, 17 Feb 2024 00:16:53 +0000 (UTC) Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) by mx.groups.io with SMTP id smtpd.web10.595.1708129005569276988 for ; Fri, 16 Feb 2024 16:16:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=d78V+X5R; spf=pass (domain: gmail.com, ip: 209.85.215.181, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f181.google.com with SMTP id 41be03b00d2f7-5dcc4076c13so1117633a12.0 for ; Fri, 16 Feb 2024 16:16:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129005; x=1708733805; darn=lists.openembedded.org; 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=UMxpbsdByKYtUsTEvNQlUmnwuKT6IIxaPKn5hiPsH/I=; b=d78V+X5RWfsOpO3uoAVMkqNoB9YWUgnLszlNCOJzCxdIGkBrTii/4BJFor8sNDEAJZ oehcpJWney1OGdfiGXMFMaWzEjD0g5Qz9LOn8jjQ1jw+8+mplEfprlVrP95rQB+YKDJc sxCDZeV7MavrsFMhBYcNQMEmr9y9+QlpPKfxH7Qsoyqaq1k5JPs5yokowv0Od+le2XaI 0y5QHYKZkjP/7+5GalIfXizR2F8qBt4EhABrDR4xb1n0N6IumeV1+QEpwZ2Crq1uoGcc Z0VLEPNdEXKHAxxg2Lvq/EsOVWRUlbqhDlZTZUGF2OdBv1TM1Ilc8Vh+Tfqik9orRcPf OK5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129005; x=1708733805; 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=UMxpbsdByKYtUsTEvNQlUmnwuKT6IIxaPKn5hiPsH/I=; b=hNpDjjLk8HxChUQMMNI+R0kAhEaqDh/9B7h5QGPrLKqKvvUs3/gkrZbghepVFNWt3/ 0raK7cp4PxZSGJH3IKJt5rDXb3tw2Hr9vL2vK2KYtHmDGPrfdDwi8EiG9R+n9v0tCz6M 68yIuib55C1fVgr7mDXN4Tl/OH3ievuGm49IRJC7HvEm+VTTqU+18kakGG3hXnbkPmy0 DDVstfhgmLi/pe7OxxVi1lE0s+PmnKdM1J6QzQ64ErhCY9Dw3VFpIYg2aq353YOIR4M6 cYUW36Ox1Zq5zCr2qf5G2ngdKYi9RRfArOnQj7eJu/8ICeQwRWYsyLPnLJKPVDCS5UTP RhXQ== X-Gm-Message-State: AOJu0YyfrLThxGERGVd61MZO+4i6QnzWBJd++3bWxXDAenD+Bcz6H2Ge cPFFpl8ip+8Ex2b1cxdfQqbvfk5QgAnlwJR/tCYWwsIpJ1qMXtAKaPJSDTw/ X-Google-Smtp-Source: AGHT+IH4ael0LuPCdraD6JhknIT6jp3itrAtaOI8L5OvT+iC31WE0jKTVSzjm3O53RfP09A+83rtpw== X-Received: by 2002:a05:6a20:6f03:b0:1a0:85ed:4769 with SMTP id gt3-20020a056a206f0300b001a085ed4769mr5334706pzb.11.1708129004859; Fri, 16 Feb 2024 16:16:44 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:44 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 29/60] python3-smpplib: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:20 -0800 Message-Id: <1b80e81f6140565bc0b21559e985c467b3568d29.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108799 * Also replace ${PYTHON_PN} with python3 * Sort RDEPENDS for ptest alphabetically Signed-off-by: Tim Orling --- .../python/python3-smpplib/run-ptest | 2 +- .../python/python3-smpplib_2.2.3.bb | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-smpplib/run-ptest b/meta-python/recipes-devtools/python/python3-smpplib/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-smpplib/run-ptest +++ b/meta-python/recipes-devtools/python/python3-smpplib/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb b/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb index 25f8f6afdd..7979f04c5b 100644 --- a/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb +++ b/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb @@ -13,15 +13,16 @@ SRC_URI += " \ " RDEPENDS:${PN} += " \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-six \ + python3-logging \ + python3-six \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-unittest \ - ${PYTHON_PN}-profile \ - ${PYTHON_PN}-mock \ + python3-mock \ + python3-profile \ + python3-pytest \ + python3-unittest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39588 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 B2081C54766 for ; Sat, 17 Feb 2024 00:16:53 +0000 (UTC) Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com [209.85.210.45]) by mx.groups.io with SMTP id smtpd.web11.604.1708129007356539470 for ; Fri, 16 Feb 2024 16:16:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=izallsKN; spf=pass (domain: gmail.com, ip: 209.85.210.45, mailfrom: ticotimo@gmail.com) Received: by mail-ot1-f45.google.com with SMTP id 46e09a7af769-6e125818649so1272590a34.1 for ; Fri, 16 Feb 2024 16:16:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129006; x=1708733806; darn=lists.openembedded.org; 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=uUSNfmERJDEjnSu1IZD2CtDCTMnOF7FITersdp67Hac=; b=izallsKNL5BEZqaksaxcRTeez4JmnMeUWkdonWt7/88LerkAD258HKxMjjLqbxS/u4 JEgUBzRpqgOI8jD65ma3pcqF6+N/fG/IFMKNEvdiyozLfTZAH0Jrrzf6c0iQImnY5giN UC5kYvnT3dtrJX1Ckem0OoMaaK3uEg5U7heXiQZwHvnOGiDh4fzrJ0Y36hzD2VtwZIX8 5krxETPgG0fQMydyBjcxPXf/lkAAUXzAAULqqiZ2+8m1zXcPrDw2+i2GcXEiF+wALLm5 xcP7d8xdLfvymgqQestXNwEL4DWUGs9dTBaeA5UTlsc7usUW/3RzN/4yTnatvCmV7LjK z7+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129006; x=1708733806; 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=uUSNfmERJDEjnSu1IZD2CtDCTMnOF7FITersdp67Hac=; b=NzsiKV6voL5tLRJxEmAta8SAbYCtP32eooj5BbPyCj37f0vgL6lv8yUiaken1mT7di I5LXzTORphJTCsluVct/Js0+OVhR2vMb7vePkLOm4JwgHEVK+00blVlJ/GWgbbmBMl69 dX2ZXCcrkSLEznIJcZ6q30Dx40Ndw9wD5IuSUGobtOKreXcbcXCFdwBj4o7+VdNsSPcI 0ZQ+wuaBi3RP36P8OgBZ7oUUPcyiQaJwVubYoF6jmdPG+VJBWWJ3angK+z8cYCzTdBbC yPnZd1ONVAWddoXosbgeWL9pt+Tmm/W9ad0AAUmjvUWhoWrwW/am+ZIeJj5p6ORYp2aB Z/6A== X-Gm-Message-State: AOJu0YxoBaACrZfv8s82HUIOr9ueN3KZhknGE1ezR9t7J8ZZQewsX2PO jZYFmVkgL2+ufMD+yrAtpS4rfgYnaJ0nT8BFG1rzkLIgZs4NaaDugF65AajQ X-Google-Smtp-Source: AGHT+IGSrDE5usdOC0AXreYWjI7gY7OA1zv3YLCWT82nRUdGx8YhnLb8ukSlnuyDBhvv1UG9+LKHjQ== X-Received: by 2002:a05:6359:c8c:b0:178:fe3e:1e35 with SMTP id go12-20020a0563590c8c00b00178fe3e1e35mr7215571rwb.13.1708129006413; Fri, 16 Feb 2024 16:16:46 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:46 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 30/60] python3-pyzmq: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:21 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108800 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-pyzmq/run-ptest | 2 +- .../recipes-devtools/python/python3-pyzmq_25.1.2.bb | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest b/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb b/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb index 658dbe6e25..5793db55f6 100644 --- a/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb @@ -26,13 +26,14 @@ FILES:${PN}-test += "\ " RDEPENDS:${PN} += "\ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-multiprocessing \ + python3-json \ + python3-multiprocessing \ " RDEPENDS:${PN}-ptest += "\ - ${PN}-test \ - ${PYTHON_PN}-pytest \ + ${PN}-test \ + python3-pytest \ + python3-unittest-automake-output \ " do_compile:prepend() { From patchwork Sat Feb 17 00:15:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39586 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 8ED9CC54764 for ; Sat, 17 Feb 2024 00:16:53 +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.web11.605.1708129008709284031 for ; Fri, 16 Feb 2024 16:16:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AQc6e4MW; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6e0eacc5078so2180404b3a.0 for ; Fri, 16 Feb 2024 16:16:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129008; x=1708733808; darn=lists.openembedded.org; 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=CM1O94rGkMFtOaYtcV0OiUgo85sMzv2Z3SCsz3SYOi8=; b=AQc6e4MWSMaE+0NmUE4GctNHSq4W6/qagAXtgK99P4AsOwjMCl68IZZ38OPawOfjy3 VjhyvnGjfwjaWddHpDdLcWuXmaqwkfTCM+sjh2rm4ggv0Nd8MNiqtxAPf5StPK71kcTH A6yMW4pDDRFButaCwa3lj7/gyTTrtGfQICEe1rX4Gm/iprwGi47TN0uEg+pwcZpMSzDA hr/WCM1VGchvN7vsnH+VfFkKIWxG1CB7nSxYJfkoIk89KXE6lH9fPF/Zcj9Y+LH0izXy i2cYVCPJK1STD6mnenRZKfLvhs03PcdekK3KcpRGhofqCvF+9g3XvhbnwbkmvAMYlDyU GnJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129008; x=1708733808; 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=CM1O94rGkMFtOaYtcV0OiUgo85sMzv2Z3SCsz3SYOi8=; b=EbXp9tYp06N7IOfymLzz+skfwySD2Jto02fayeOM47ofsB/ZvANfFJAL6+TBsR4GHr r46OGv01mAhTGLbFiNYf2JAtfz1HrbRNGUAsB0SXIClkMVLFDEarI6b5INnMrxXfcNSm BcrVSIFvz+4127RgG7P/I6Y6/mHPeEVW1amSjZMIbBUFYYXpEaAas7zFjndC15/25xa+ dekk4zfZP73HhG0bRFh1aOEjCJtoIyms/GjP0lUfTFYsgLWEUKzfZDdpLC4Jpr5UCIHV IUkvjZ7E6CcvrIqK1jqweN1wl8msCR9gDEXRKd8y04oqtUAtJVLxhWKK1wyerU8YjkrD 1mUg== X-Gm-Message-State: AOJu0YzHgGlY4kipEL2N/ulBKV4gK+1busMbMCY96eCHuaqIOof/a2Z8 d+tmudH0qqaF280I0YKtvx4DOyUpO8UDWbowpTbUr5khBfZAeb+fFGWCqMiV X-Google-Smtp-Source: AGHT+IFiOg5iwgGgvDfD6koGjOzf4AG6lvi9cI6xOhKGJzp1qFqaKk6SoZPZWhdydJ5yX3icKL/w1Q== X-Received: by 2002:a05:6a00:3d53:b0:6e1:142b:6d4e with SMTP id lp19-20020a056a003d5300b006e1142b6d4emr7660967pfb.15.1708129007898; Fri, 16 Feb 2024 16:16:47 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:47 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 31/60] python3-multidict: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:22 -0800 Message-Id: <58092086ab5b86a1c5c110acd0874900c23627fd.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108801 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-multidict/run-ptest | 2 +- .../recipes-devtools/python/python3-multidict_6.0.4.bb | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-multidict/run-ptest b/meta-python/recipes-devtools/python/python3-multidict/run-ptest index e4f3b623ab..d74acaf564 100644 --- a/meta-python/recipes-devtools/python/python3-multidict/run-ptest +++ b/meta-python/recipes-devtools/python/python3-multidict/run-ptest @@ -1,2 +1,2 @@ #!/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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-multidict_6.0.4.bb b/meta-python/recipes-devtools/python/python3-multidict_6.0.4.bb index b057e05f65..19b94dee02 100644 --- a/meta-python/recipes-devtools/python/python3-multidict_6.0.4.bb +++ b/meta-python/recipes-devtools/python/python3-multidict_6.0.4.bb @@ -18,8 +18,9 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-pytest-cov \ + python3-pytest \ + python3-pytest-cov \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39587 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 8EC07C5475B for ; Sat, 17 Feb 2024 00:16:53 +0000 (UTC) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.web10.596.1708129010390172226 for ; Fri, 16 Feb 2024 16:16:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Aw2N9Ttp; spf=pass (domain: gmail.com, ip: 209.85.210.178, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6e0f5934813so2095192b3a.2 for ; Fri, 16 Feb 2024 16:16:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129009; x=1708733809; darn=lists.openembedded.org; 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=CkvnNv9hISbFpZ1ttbgIre1D44RWav6cpCDOnT0vgqA=; b=Aw2N9Ttpp4cxFOuvuWlQGICtTq+WOA2iXO2dzWhfqrd6N4sZEXe2Lk7MV1DnxBHANk v0sNuHR8T542ODNhyLr7rlM0reZm1cHshF9gd8K6NV7O7w90dRN8hz//Kc95oZ4OyPlp 34o8F6BtbszRjlOLyH1nRR9a1blBziRHEvi3SzqaGzFajzylt6Jk9IBeu9PuRESxMLmq 1+Oe7MDR6L+bQaj9X//+CAwT+Cxh/UE4hTaIs9F5WCoIaTpU8TYsQyNviblChvUrlbPo 8EUbvKzIM9tVLxT7+p6h3WYTA29DBzRXrx7PHoHlmrYVN/3AsNAD0Chu9tWMQMMijaHc aYhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129009; x=1708733809; 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=CkvnNv9hISbFpZ1ttbgIre1D44RWav6cpCDOnT0vgqA=; b=MqAQCUq8xsBFgGm2a6leudkwpmWTqAMuAwwc10RgIzO41PO07WYARh7duPyzdF4p85 32swxCSOQKz9Y1GVHBRbFQj7uc1aog8wNpFrklLO2tcUI8ADiqARUJsfT+p3a7t1nmhz V/aYnTw/PZ41mb0STvH7x1D92P6yQDL8rM4oLZIW33Zmc+uk1QWX03uAUvfprdj09y3v Rs1t9raELdA0XP1tHWGuliBzPhakaXSErpK7tG4/8t1Cod14nKMSu9Y+jFf9yRde9no6 o4rbd10dLwPbNYDLqCLTuqWYGlStW9Nzwc+bKU3BfNQkEgxC1eXhAoNICsJ6QadA0pHF s/kQ== X-Gm-Message-State: AOJu0YxlBy6NjUjreggOTxF3gw4j3u695pptQuuodpDK4+lqVUg4Vo17 /Wo3ZFwoB/1mG649Y2oHokK1IB7xq02rNRxCR+pD1zb6baRpvHeamB63P/a1 X-Google-Smtp-Source: AGHT+IGj2kblcd+N12uayzEFwQLTKSzhbPHBGH9bAqaHO7RnS1dLgCvzfxptI0AQhEbqgY/de4PQPw== X-Received: by 2002:aa7:84cf:0:b0:6e0:3f63:ed64 with SMTP id x15-20020aa784cf000000b006e03f63ed64mr6015047pfn.34.1708129009582; Fri, 16 Feb 2024 16:16:49 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:49 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 32/60] python3-geojson: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:23 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108802 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- meta-python/recipes-devtools/python/python3-geojson/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-geojson/run-ptest b/meta-python/recipes-devtools/python/python3-geojson/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-geojson/run-ptest +++ b/meta-python/recipes-devtools/python/python3-geojson/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb b/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb index 79ad228d1c..742f921e59 100644 --- a/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb @@ -12,7 +12,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39590 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 9B31CC48BF5 for ; Sat, 17 Feb 2024 00:16:53 +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.web11.606.1708129011912700192 for ; Fri, 16 Feb 2024 16:16:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HKbBMbnw; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6e09ea155c5so1000934b3a.2 for ; Fri, 16 Feb 2024 16:16:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129011; x=1708733811; darn=lists.openembedded.org; 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=DJOdZZY41oMZo+Ug/w2KBWljPRc+zcdXC1IpK577V+s=; b=HKbBMbnweirCFdHhkMJwS2cfj7+nVpffdlB9t1BKxK6rvNd3y7s/4JMp0k3Em4oOmJ Xp3lrZ1gm15bsF5+YNe44aQRASjoDdYrRtmq+Z2vYZ+6uLbuyhhTXr7sxNe+GkkIRcUN S/ip2S9HfxejRJEPpsPeLYNq8+RUrbCZfU8b8jaWQEgD/sLpcO+K96fogVDdfJI5oNYG 2Gp2Oc/XgHc4cQscqEE2xbTrWaBDHzKQQG5Q8trxz3jiy63jrKdF+m3ubqyqNUyql0pM VwKP4EhdoOao8BiGTGQw6W2oq9eHaK/Jl71viDjzgSjsM1A29gqp52T4jg/UYraXrXQt E4JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129011; x=1708733811; 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=DJOdZZY41oMZo+Ug/w2KBWljPRc+zcdXC1IpK577V+s=; b=o1mkj2ANdRA2xrAtCZQH+SVwSQMdu3uvNk7wAOWIUJm0oYnDIq/7rgUw4pochGLpak /E0Jsu2OZtj69nonUIZZu4PboXJEqr0Q8Exh3voDHO1+IBRXPG4KoWAkt1wd1lTT8Rnc qK4LnPg5yDUtsas/mw6vhsOHcogD6lC5NgEW7vumlTJQD06akx+IP9uj/nmI1Ik1bVhh O2++OpkSNYC6kx2Zp/Z0mYsVcekcsrnmXs8L3KTCZ0UV1Mb/gyjBtke4yIZBZ2JCZ7AA hFPRmBGq/80TXYmxWUcqWrNJ6qGSObK5IqOslYbEfP807ii5wd0pJAQDr3DUUkFEgaFf 5w5g== X-Gm-Message-State: AOJu0YwYVu2eXsBC1VwH56F2VSNN+D9afOzotjyLd4bxH1PSeficfO/1 VqrxsHF/iJb8bxa/QoGLYxJj7X6JjDLwVLHfRESTZA15ULrwX+pRknnjdcDD X-Google-Smtp-Source: AGHT+IES08uF3LP8mD15FwKGqCaISSVJHN9PiTnkb677bWdWfGdOQqCOzqhxVYMagmAKKZzGvlBYGg== X-Received: by 2002:a05:6a00:1da2:b0:6e1:1843:2e91 with SMTP id z34-20020a056a001da200b006e118432e91mr6956782pfw.9.1708129011001; Fri, 16 Feb 2024 16:16:51 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:50 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 33/60] python3-serpent: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:24 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108803 * Also replace ${PYTHON_PN} with python3 * Remove trailing whitespace Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-serpent/run-ptest | 2 +- .../recipes-devtools/python/python3-serpent_1.41.bb | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-serpent/run-ptest b/meta-python/recipes-devtools/python/python3-serpent/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-serpent/run-ptest +++ b/meta-python/recipes-devtools/python/python3-serpent/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-serpent_1.41.bb b/meta-python/recipes-devtools/python/python3-serpent_1.41.bb index 480e3ab388..941b5ee0f3 100644 --- a/meta-python/recipes-devtools/python/python3-serpent_1.41.bb +++ b/meta-python/recipes-devtools/python/python3-serpent_1.41.bb @@ -11,8 +11,9 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-pytz \ + python3-pytest \ + python3-pytz \ + python3-unittest-automake-output \ " do_install_ptest() { @@ -21,6 +22,6 @@ do_install_ptest() { } RDEPENDS:${PN} += "\ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-numbers \ -" + python3-netclient \ + python3-numbers \ +" From patchwork Sat Feb 17 00:15:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39585 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 82273C48BF6 for ; Sat, 17 Feb 2024 00:16:53 +0000 (UTC) Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mx.groups.io with SMTP id smtpd.web11.607.1708129013195089420 for ; Fri, 16 Feb 2024 16:16:53 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=l6dpNjZh; spf=pass (domain: gmail.com, ip: 209.85.215.179, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-5dca1efad59so2341019a12.2 for ; Fri, 16 Feb 2024 16:16:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129012; x=1708733812; darn=lists.openembedded.org; 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=v2g/BKFplwX13nJJf5cmFIOPomhNFFWX6MEoDQwyvIw=; b=l6dpNjZhe+oX3qZbu+1Rs23bUPFWDwNGfSYhLvbxdRJ3ZwJnipQA8EmyInMoJ6d7rM iVZHRVzIlsY9QSgwWzOFdu7x0EIzwpVuo+ERQe+rczZQRlGe1XaYr2TJZ1OQNBnbnT1v 1q9cI9mKusb+xJzTdoqKwtl2DoPr4v/kc0WS0OzZpzTpl4YEOd6RYr0Krv/ZdlrZoVGm hnFHGsGgjV/8mFvv7wlsOz1C/SZMnkkmDLcacgKEArgQiV2jKeyHMm6nRetzXd8sL8Hx lEVmM5x5q1+HN5sJMUKyjP7nEzwUEuKqs3qwcpItOFVkm5Az3me+ZOnlIZ7DzC+VrNSy nTfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129012; x=1708733812; 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=v2g/BKFplwX13nJJf5cmFIOPomhNFFWX6MEoDQwyvIw=; b=k0ucNbJ3qNGctY0uvUGCKl9drqi1tXPltDpsug4S1lMrhme/Tz5KlEwWfpo3QnN/sr QTW07Y3x2SDHO74YFVnKfy/NNLkObCjHHNFwUP0zeiJtMlzFVopfNmouDtvVtz+riWcY Sn63YE3y1a3/g5rVrl87JVrAIqRO7bC2pPOKPDKQQi3tgITme76rRW8oohrAKyuHEU+C Fip4+xbA712jw+KFSaPFWNXu3o+/tcdmUiP0iWN4sDcfH2ycTR5lCBlJHf8n/mcHGVib H/gJm0bH+pNeUFBG8n1an7OWSNesyCUsXMo0Xt4Snl+ixh5vHB61dAstgDZea8IklOVG Vp+Q== X-Gm-Message-State: AOJu0YywkNPxkX/D+0EZF739HDSng5UYT9MLtHqAzcQUy91CwXkZ20We 8d1cHaScFU5GSJD31SEv4iIIeKIyWs6LIVa1Bbc9SEfs+2MDKsRBPf7qY1r1 X-Google-Smtp-Source: AGHT+IFdVhU5EaBoNVtRMbEZyGGJf+lvAXGndAmavit6gkPxl98G12ArVnHHZAinRZES/OvA30ZSDw== X-Received: by 2002:a05:6a20:93a8:b0:1a0:8578:fa86 with SMTP id x40-20020a056a2093a800b001a08578fa86mr5198551pzh.57.1708129012439; Fri, 16 Feb 2024 16:16:52 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:52 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 34/60] python3-soupsieve: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:25 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:16:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108804 * Also replace ${PYTHON_PN} with python3 * Sort RDEPENDS for ptest alphabetically Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-soupsieve/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest b/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest +++ b/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb b/meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb index 42c07fb4cb..d26a13dfbd 100644 --- a/meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb +++ b/meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb @@ -13,8 +13,9 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-beautifulsoup4 \ + python3-beautifulsoup4 \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39594 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 F00BCC48BF5 for ; Sat, 17 Feb 2024 00:17:03 +0000 (UTC) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.web11.611.1708129015816004890 for ; Fri, 16 Feb 2024 16:16:55 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CCGZu2mg; spf=pass (domain: gmail.com, ip: 209.85.210.178, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6da4a923b1bso2425445b3a.2 for ; Fri, 16 Feb 2024 16:16:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129015; x=1708733815; darn=lists.openembedded.org; 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=s1n8zlI8I3Ug5WhbyRf7mOA7SR89KZc8c6A/d2OcxNs=; b=CCGZu2mgQKNG2D4h4ZQNF31GO73ImDddQA1JHLSjn+wTaMM8yDZ9H0FEoaNN8DPfaV UZ/npY035O+l8RfT4JKpLzcuKMnaJp+oRw0+UNMDz6bpoJIK3DT9ylCntrVvbtI9Z3Vk GJwUuUoX1d+aV44ipZSqCO3Ady8yZNIGC7UZOuq4KCUyVPwKYtkykxxZVGp6hOrXmL7X HkAfVKrEG1lOFsehTEGSlc+L9R0qFrBUW82h22RFSlI7lJYgst0VGkEYhkjtd474yifU h5FefdlxlOjkMyIsdf2n2GE/lT9bJKIlSKCsHcODYLQLr8FfiKAHtjato86waLCcWi04 80uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129015; x=1708733815; 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=s1n8zlI8I3Ug5WhbyRf7mOA7SR89KZc8c6A/d2OcxNs=; b=bRxNwaDtU5uNx7GWqonxc/xem6F7Shy1HdvgLwsM8knLEWq45KP3MZWGVDr7IE1Scc vqjPe+RG6gNKqwMwprpR/boxUJwY2xlFYKbnu1IK3RoYn7ApNaD0O5Zlc9PsX7ADINRz /cMh5JnZHx+I5urBFo3ITVKyMf7c5y8sSjUZ8Um+60MQHOtYM+3jBzlVmLZbFDq3+Eio OIYs0Mwfrtt8wNc5kj2S9/rhrlmf9ybpWL5tAoHWRI1P7GlVyi91TQm0VLUaM4y3PS2b H1plDRQXs0SDKW26yJ6K1Y56C1F2uX3UpxC0tBgOHZ/JBJTWD2Xycz3S+WNT+6J5XRnZ poAA== X-Gm-Message-State: AOJu0Yw2T7NI1s50j0nMpEhcvkloYDFzqfXRL+BUpOgEIXqeuspRUwm+ Rmnig3iUiFo5o4oFhVjS8YnyNMbZTkVHdu4/KnCmIHcWlBfK0tGM3vZOGKjG X-Google-Smtp-Source: AGHT+IHzvKPsu0hrX9lPPELI/DD9Fkx+nO3w1/a4m0OVhM3HCx7NnSsdgh9TQcdTpifx+w2Jk3at1Q== X-Received: by 2002:a62:f251:0:b0:6db:d59c:a5b7 with SMTP id y17-20020a62f251000000b006dbd59ca5b7mr6349479pfl.20.1708129014033; Fri, 16 Feb 2024 16:16:54 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:53 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 35/60] python3-requests-toolbelt: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:26 -0800 Message-Id: <6fbe1dfeee2f178f7adc7d5f83fd0cc8bdb1c8a3.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108805 * Also replace ${PYTHON_PN} with python3 * Sort RDEPENDS for ptest alphabetically Signed-off-by: Tim Orling --- .../python/python3-requests-toolbelt/run-ptest | 2 +- .../python/python3-requests-toolbelt_1.0.0.bb | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest b/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest +++ b/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb b/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb index 2534c1c62c..9cbe4927a2 100644 --- a/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb @@ -14,15 +14,16 @@ SRC_URI[sha256sum] = "7681a0a3d047012b5bdc0ee37d7f8f07ebe76ab08caeccfc3921ce23c8 inherit pypi setuptools3 ptest RDEPENDS:${PN} += " \ - ${PYTHON_PN}-requests (>=2.0.1) \ + python3-requests (>=2.0.1) \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-betamax \ - ${PYTHON_PN}-mock \ - ${PYTHON_PN}-multiprocessing \ - ${PYTHON_PN}-trustme \ + python3-betamax \ + python3-mock \ + python3-multiprocessing \ + python3-pytest \ + python3-trustme \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39598 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 1531BC54766 for ; Sat, 17 Feb 2024 00:17:04 +0000 (UTC) Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by mx.groups.io with SMTP id smtpd.web11.612.1708129016100671561 for ; Fri, 16 Feb 2024 16:16:56 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=h+HZLZuR; spf=pass (domain: gmail.com, ip: 209.85.215.176, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-5dcc4076c13so1117671a12.0 for ; Fri, 16 Feb 2024 16:16:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129015; x=1708733815; darn=lists.openembedded.org; 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=YN039ZwTEx6vOxNE1MuAOBvXNAn94DXL4a4ajxAOeLM=; b=h+HZLZuR0oU1BC4fcM+AmTnjREPwn4jOoft0sMIT4TG/TYgN6ZTLuaLGXBEws1T1wS 2cDPIMpB2FdPE+fHXaxqPITL5H87s4x4lHeTBTWN8NMl3bo6AukpXgNXS1oNNF/A0gc9 DksF40Fojr8rzveVy5dgX8YSf+1WKSHlSagN8nCs7UEDdBVMahJuw74E/I2rrVwweQhf CLtXveK7/+HCP9KxRlAzy96dswpcgUL1TE38vOk0IT4XfE85CMjN1OiAgTZSNaxeL2zl 1Bf2KF7ISBw43DwMtpLd1irfVweHQhoXvJZf5R6R58eOjR88e978rZyWga7ztNBTpPXi JscQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129015; x=1708733815; 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=YN039ZwTEx6vOxNE1MuAOBvXNAn94DXL4a4ajxAOeLM=; b=nSchU8/spTQIbSu0tDU1/TIkVB8BqJNsCjui6rcckGgPK92r0OwaT1Q8pJFk5IZ8LQ 2Nf0ey89DMqYmCshUI8zjKFdV2awsRL6SA7+TK5ZNn8H1B+X0UwIW6aV+HmlQPk4jK3v Sw5wLc8m1nRITUtJDqEzvEMRaCXEvqd7iULeOkiaxeT5E1nrkr+HZGo9HEz0lK6x1N2Z 6q8qkDP6Dj4qtZna+8gW4eCMpAqUVRZrbevqbXgSPbjYPXL+7eKzmIQXSrxu5Q2EgSAy un8m5Z1x6QK9bwlnysAOFymNFJedrvuCpxNgruhwdK2AzYIaaoEfTUYO8O/iUwscUztt WDAA== X-Gm-Message-State: AOJu0Yzp5h31xmqQ7zuxgPKGW4cqHE8bmNtU9AmDlTBuRyagWdPp2hyQ rFcjE5l+MEnHyL4Zz+QJSXwh8NB38CgCDNbriDha0mCiX/W+sc2ZmiNSvFG/ X-Google-Smtp-Source: AGHT+IEddnmVzEesttyX3+G8tffVQHnJRJTdkV7pFAFDeMy/Ng0Y0D3LKeIbHxqpnsSJdka2Qs9kOg== X-Received: by 2002:a05:6a20:c78d:b0:19e:ba42:4ed9 with SMTP id hk13-20020a056a20c78d00b0019eba424ed9mr9562335pzb.1.1708129015345; Fri, 16 Feb 2024 16:16:55 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:55 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 36/60] python3-yarl: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:27 -0800 Message-Id: <9b120060429e1c7eb706fad98f84716dc2d916a7.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108806 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-yarl/run-ptest | 2 +- .../recipes-devtools/python/python3-yarl_1.9.4.bb | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-yarl/run-ptest b/meta-python/recipes-devtools/python/python3-yarl/run-ptest index 3385d68939..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-yarl/run-ptest +++ b/meta-python/recipes-devtools/python/python3-yarl/run-ptest @@ -1,3 +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/SKIPED/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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb b/meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb index d9fe4c0c4c..29897b7f1c 100644 --- a/meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb +++ b/meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb @@ -12,18 +12,19 @@ PYPI_PACKAGE = "yarl" inherit pypi ptest python_setuptools_build_meta DEPENDS += " \ - ${PYTHON_PN}-expandvars-native \ - ${PYTHON_PN}-cython-native \ + python3-expandvars-native \ + python3-cython-native \ " RDEPENDS:${PN} = "\ - ${PYTHON_PN}-multidict \ - ${PYTHON_PN}-idna \ - ${PYTHON_PN}-io \ + python3-multidict \ + python3-idna \ + python3-io \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39592 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 B8FCCC48260 for ; Sat, 17 Feb 2024 00:17:03 +0000 (UTC) Received: from mail-oa1-f53.google.com (mail-oa1-f53.google.com [209.85.160.53]) by mx.groups.io with SMTP id smtpd.web10.601.1708129017903663009 for ; Fri, 16 Feb 2024 16:16:58 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DeLCpIuO; spf=pass (domain: gmail.com, ip: 209.85.160.53, mailfrom: ticotimo@gmail.com) Received: by mail-oa1-f53.google.com with SMTP id 586e51a60fabf-21e45ece781so850977fac.0 for ; Fri, 16 Feb 2024 16:16:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129017; x=1708733817; darn=lists.openembedded.org; 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=S49FiW9UN/MO57zgzl2VBc5/x+2HHRoEOH4u2XfUZw4=; b=DeLCpIuOdsFXYveojTd+0uPUVq1hicyDAvqOatzJVwMRdYETpEEZEoQ0RIgi/ST+Ur s4rDZrLQHa+h6UyxpUBd8tXYA6U+NK17y8Ez3+TJjpSB2Gejrqz0Yu5D0PpyGfCf8/Xz q8kzCxwX2Cn2jFSQr2hj06hWULYiHwDlfaww+m0r1qXVE3MJ2sTUsUgn9w8v1HNDXbYp hNLSPC94FJYZHUrFQU83S7dG4J4EDSsIiN/xaaPfE3KkO2juamT+Qdl56VkFRHHH8f8p jPa1bNjMLR2Wx12iKQw92IQiO0jexuRi8BJ4yhs18GGLtWc4L2/9bTVRi3SQsyKUf5B0 PRUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129017; x=1708733817; 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=S49FiW9UN/MO57zgzl2VBc5/x+2HHRoEOH4u2XfUZw4=; b=fE9yUkbGjhav1G040oOF4+c5+iz5V/kVSrIOoee0YgwGq2JEzS6Ud9b2EV8j22rz3L 6kgu0oAPTIHDCU+5QiVKOM/q4Kkc5aqwEU9XSZ4K6oEyP/Qeq9ohDzIwoCC4cKDScW9U IjbGE6wKXkR+IuBA2mwBO8PzlSiFrxID/ZexzV1FG+wsL71vBV79SDxWzj2+I5bmphzd d/meHKq8uTSzYUr8cMZAGCeyJ3ULfbv1V8XhnekjU1fYas1kEmkNQILYV60CTqUKMKjs KIRkbRepV9rbdzMirx2sGjdoe1TVKPVmo+/uKYIo+6j9oE+Yw2PMPMAC+6k9/GgETjoQ XX0g== X-Gm-Message-State: AOJu0YzLbQ17KXpJAkhs5mzgZKpIUhR2AjLhSXo3zNylxZhKuF88fxKb kVhT+am0PfpKUDMrKSbMjnZEjXKdfbdQ6VtShEmmjrTnFBJyQUEXY6t7FAEi X-Google-Smtp-Source: AGHT+IFeD6N+/bXaoHVRTqTG0gPwqTqIC2o5J9JfQ+xIBjFI8uXlDO2Ft0nCp6hmU8EkbLVgUCtvFg== X-Received: by 2002:a05:6358:485:b0:178:94bc:72f1 with SMTP id x5-20020a056358048500b0017894bc72f1mr7519034rwi.22.1708129016888; Fri, 16 Feb 2024 16:16:56 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:56 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 37/60] python3-cbor2: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:28 -0800 Message-Id: <16ed55c84c4d89bf0a54a28ec1ebd45c763a8db7.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108807 * Also replace ${PYTHON_PN} with python3 * Be consistent with tabs vs. spaces in do_install_ptest Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-cbor2/run-ptest | 2 +- .../recipes-devtools/python/python3-cbor2_5.6.1.bb | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-cbor2/run-ptest b/meta-python/recipes-devtools/python/python3-cbor2/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-cbor2/run-ptest +++ b/meta-python/recipes-devtools/python/python3-cbor2/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.6.1.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.6.1.bb index 2c1b0e67a1..e2493e4e1f 100644 --- a/meta-python/recipes-devtools/python/python3-cbor2_5.6.1.bb +++ b/meta-python/recipes-devtools/python/python3-cbor2_5.6.1.bb @@ -1,5 +1,5 @@ DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)." -DEPENDS +="${PYTHON_PN}-setuptools-scm-native" +DEPENDS +="python3-setuptools-scm-native" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" @@ -15,18 +15,19 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-hypothesis \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-unixadmin \ + python3-hypothesis \ + python3-pytest \ + python3-unittest-automake-output \ + python3-unixadmin \ " do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests + install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ } RDEPENDS:${PN} += " \ - ${PYTHON_PN}-datetime \ + python3-datetime \ " BBCLASSEXTEND = "native nativesdk" From patchwork Sat Feb 17 00:15:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39593 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 D7247C48BF6 for ; Sat, 17 Feb 2024 00:17:03 +0000 (UTC) Received: from mail-oo1-f51.google.com (mail-oo1-f51.google.com [209.85.161.51]) by mx.groups.io with SMTP id smtpd.web10.602.1708129019281968386 for ; Fri, 16 Feb 2024 16:16:59 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XNj9+rUZ; spf=pass (domain: gmail.com, ip: 209.85.161.51, mailfrom: ticotimo@gmail.com) Received: by mail-oo1-f51.google.com with SMTP id 006d021491bc7-59a1896b45eso1031950eaf.1 for ; Fri, 16 Feb 2024 16:16:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129018; x=1708733818; darn=lists.openembedded.org; 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=d8cqdYI/0wtHYtvaJj7k8JTRbN3x5ijE18ary62Cjos=; b=XNj9+rUZIX99BNP8KhHsTWHELCLqTg2lr02AAap4/o2fS0/sAoAeSj2Eb2NHxq+I3q w4YLaEZ9HxzFOJl18Ko9vwQiKlI9Li0KgDPdbJk2Y1cYSnN72+YpYUCTXJzm98lNWAqs ms3KiYi91jatWPOX7i3WHyzlsR95GrR7iWMPYLh0ID/Y7fqYY5Y/BR7m2WNmoyJBjIy0 75P3dHwdsIRW7VbuILFesGWhI6xmMdIIvW9LYFrneUgZzSGK3ODcdA0nersWuAHdPQdc ScCQzjNPKUxbH2XlYTKn3TZ0m0l206UaRDvXsX5Zp/D+cxVmfonuvSo/rZGhQy4BT067 AoaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129018; x=1708733818; 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=d8cqdYI/0wtHYtvaJj7k8JTRbN3x5ijE18ary62Cjos=; b=beYq2kFXlpHQRYWDfJR1MaLcOJwTxSh+SDeU3laSPKbeP/03IJi1CYPVIES+mfsGDJ mpAvRwaJpKYvkuoGk9NPCKW7F/SIUj1BDu8XbU/pjHZ0m5EeeFJd3GhHMHGsIevnI+9A da5xzynfACOpKv6MXh8CsCFMo7ApV1O3qftVh2FANMwKwaG/R2Fwj5YGElttqf+3JH4z 175OoTz1U2kr+KpR38hOllCF9XiKVdMAXYX/+cMsLuLdwjChA8kg8EDYbSbZzYwgscWO NAEvADmrsGOtKn5jMoKfdcP/z/JYKN70GzHvjA3Ixeq8AkK9NgEz6bh3cungiPnD4jr2 qUdg== X-Gm-Message-State: AOJu0Yw28bBVh9PnW6ZflhKMu9poN5CGjFRGErpHt3vZ443Nl5GgIUnU aC7bqGk9Fw6gfYZoURsstN5iGZTxwKJyV1UMGw+VQp9alx83MFD//1C750R5 X-Google-Smtp-Source: AGHT+IHKRz2rHP0ZtzRIs1W5+fsXjFX9NZNMDVzCNDijau2S1tg9g7p4jAV6IRmGg69hGiPA4mHYBg== X-Received: by 2002:a05:6359:c85:b0:179:24ae:25dd with SMTP id go5-20020a0563590c8500b0017924ae25ddmr7399691rwb.25.1708129018273; Fri, 16 Feb 2024 16:16:58 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:57 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 38/60] python3-ansicolors: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:29 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108808 * Also replace ${PYTHON_PN} with python3 * Be careful to point pytest at the test.py file Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-ansicolors/run-ptest | 2 +- .../recipes-devtools/python/python3-ansicolors_1.1.8.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-ansicolors/run-ptest b/meta-python/recipes-devtools/python/python3-ansicolors/run-ptest index 7dc3ef32be..922353a1f3 100644 --- a/meta-python/recipes-devtools/python/python3-ansicolors/run-ptest +++ b/meta-python/recipes-devtools/python/python3-ansicolors/run-ptest @@ -1,3 +1,3 @@ #!/bin/sh -pytest -o log_cli=true -o log_cli_level=INFO test.py| 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}}' +pytest --automake test.py diff --git a/meta-python/recipes-devtools/python/python3-ansicolors_1.1.8.bb b/meta-python/recipes-devtools/python/python3-ansicolors_1.1.8.bb index 0e32443992..b63cc32a23 100644 --- a/meta-python/recipes-devtools/python/python3-ansicolors_1.1.8.bb +++ b/meta-python/recipes-devtools/python/python3-ansicolors_1.1.8.bb @@ -14,7 +14,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39596 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 E3523C48BF8 for ; Sat, 17 Feb 2024 00:17:03 +0000 (UTC) Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) by mx.groups.io with SMTP id smtpd.web10.603.1708129020622663328 for ; Fri, 16 Feb 2024 16:17:00 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UFdtlJdd; spf=pass (domain: gmail.com, ip: 209.85.166.48, mailfrom: ticotimo@gmail.com) Received: by mail-io1-f48.google.com with SMTP id ca18e2360f4ac-7c3e01a7fdeso96691639f.1 for ; Fri, 16 Feb 2024 16:17:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129020; x=1708733820; darn=lists.openembedded.org; 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=xqyswgPlSNrVBnovlEA67PhMJATIDeqQukzFvPtcOuM=; b=UFdtlJddKFRI1Hx3eT0XEYaVkt402tP8rgrP8/fCbjCCqlk7v6zJACAVwyKRawyIuT 6s0s/QJb5jbtyhXt9Yos/OXNJuaRMsP9rstN2pn7pHD91TGGDCYPBqoTmpF3xKbTZqNk M2yyZhqxFey+nFdO2KIabzubRWTud3AUjueK9v32v9WmtEpWtzYZtuCam0CvpkXkVn6n QGO2Vs41uzLONlgdNDKcVsVt6tSBEoFZ1JYtAWLef0MrmxgTdIHErwnL7V0XcUmRdXnE tcy1uAo1wE+w9pB5iSA2i3cERRGQUZp3lIOpNtlaJ9wXsRNELKR4+qp6y9SYJrJWwC3W VCAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129020; x=1708733820; 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=xqyswgPlSNrVBnovlEA67PhMJATIDeqQukzFvPtcOuM=; b=e32LbOPeuQNbBuwrSIG+epyBgKIyziJK/hLChm9V/DJP/E/0fBQZMXrDokwJw2mXAR XBhMOUOvqFqyftsaJGzbg2ksE9dwwIKZkMUHY0giK4qb0ca6sKfpmKsUOwulkLZZ38xC ZXBxpMee/1pXD2GhoAOur1LNjSKfOYZIFkytdJ2fkjTe344kSHIDRVq5K1llmCxaCqOg +3Mevk3lYm1ldzfGOsMnt+JCD8BwqQfq5CcN6eW9+zu3aV8lN1gff/JV0wnNmIyB9ZMr MnT+EsXzrMR6flgGxBGIJuoDyYNQRaqqDFw9ZyrtwGwPL6bJu7MBOJc4JagJcxrKTRHp AhTg== X-Gm-Message-State: AOJu0Yy/5Uaww/ZXkuL+mGSgFTPf/7oinlL/81kH7m4mjtAG3+yHudwL TTgLipltuS3Dr1tKzVO/cvICnQGwoAsf1h2xVUeoaDc2kqDP01//J91kJ/r4 X-Google-Smtp-Source: AGHT+IF5AV5KIwvO+7vrtrLEtf6Mh4W4ikRAxY6OCMPPXSUVH/WF/KGJduE/jnG63JA98WygaqOnKQ== X-Received: by 2002:a5d:934e:0:b0:7c7:2913:d8d1 with SMTP id i14-20020a5d934e000000b007c72913d8d1mr2481929ioo.11.1708129019699; Fri, 16 Feb 2024 16:16:59 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.16.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:16:59 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 39/60] python3-ipy: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:30 -0800 Message-Id: <8e6170e643f6adbdc19ed4d11621830754d400c3.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108809 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- meta-python/recipes-devtools/python/python3-ipy/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-ipy_1.01.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-ipy/run-ptest b/meta-python/recipes-devtools/python/python3-ipy/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-ipy/run-ptest +++ b/meta-python/recipes-devtools/python/python3-ipy/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-ipy_1.01.bb b/meta-python/recipes-devtools/python/python3-ipy_1.01.bb index 8e7b5b987e..36d0b9ae27 100644 --- a/meta-python/recipes-devtools/python/python3-ipy_1.01.bb +++ b/meta-python/recipes-devtools/python/python3-ipy_1.01.bb @@ -19,7 +19,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39595 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 F00F3C54764 for ; Sat, 17 Feb 2024 00:17:03 +0000 (UTC) Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by mx.groups.io with SMTP id smtpd.web11.614.1708129021827421349 for ; Fri, 16 Feb 2024 16:17:01 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Zlg+cNfQ; spf=pass (domain: gmail.com, ip: 209.85.215.176, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-5ce942efda5so1055254a12.2 for ; Fri, 16 Feb 2024 16:17:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129021; x=1708733821; darn=lists.openembedded.org; 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=+GC7OW+DQiibHt1uKFjfciKNNNFAzHZtg39IZ5yd9gE=; b=Zlg+cNfQeb20ts1VxA45CkdONdsZ14bsc0TgGPC0EDW3pRN2HHxgMSVHcrSaBfgwTF uPuUpPDk8BTE16+AO8jDNvQ88/Vi9eHjTFoG1wAjtuStLpEI9xSPAB8jUeMAQWS8+qG+ eYkl0gq5QXiyg5fgJQfG9glvY6sNhL1OAmnuFEzINeFd/Rwu1pB75am1RFyD202yzEOL La58og9VZL7IGS031q3FejlX1pB5mzVYMuFPtr2s2lgGHjYIMlY2iE4gWZ0m5zPxKPBd Vzvx1/5f7al8sSE7zUzCHLpIr0WcV2vAIBOqzfgMZQNKPbf408QK33eTdVGBaBBbGpwL I5OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129021; x=1708733821; 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=+GC7OW+DQiibHt1uKFjfciKNNNFAzHZtg39IZ5yd9gE=; b=Eu8VYhi6vJz8dbhO3O4rCFAq6oaq4IDxnkPD+RXUzBioENZolJbeJYYeOWMlsYTe5X x1ty/pzlgXIa/7Tmsq0yBnT/qZrjHC7tN57PLknnqbDAZZgZGQtQ2wH2/J1KJfi+tWva tkkjGbKJ8sLFndequ8WGg4nVFB1YQlBXyfxN+Niy9bGo/lkIeABUK4J3DUcbL9bV07Jl navr7iyMQChWGoNZrGL3Lr+AF81HPz4ZY+8O9ahgkqx4oUbeAdXUN6r14Q3hAsF4xtnM TqflwjGWxSkGUhRd5I5Ntd7+4Qu9lpccFsGpE14KJyPcBPYhKA0SwxFHTZLd4VBsZf4E 9tuQ== X-Gm-Message-State: AOJu0YxPfzQcIN9ugV1MXiCfMsTaWy0jFMv4nmEbSEvMWtdYR5oS2ikL O1yTuE2Luk0DkCAj6gLKxtX4ZsRIXSvK9LwIWyyfqTa64MZJUDiZ2kqK3CYh X-Google-Smtp-Source: AGHT+IF64yV/2fpWbeoYYMieEtIQluD4qFc/HhsXvmhxC+o7R+8mUTbFRWTJRyVBVmWNc4jHHMIPUA== X-Received: by 2002:a05:6a20:4c96:b0:19e:9a75:7834 with SMTP id fq22-20020a056a204c9600b0019e9a757834mr5504576pzb.33.1708129021110; Fri, 16 Feb 2024 16:17:01 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:00 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 40/60] python3-sqlparse: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:31 -0800 Message-Id: <0e3b117a3bd2ce684cc351d65cc230067d2a7662.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108810 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-sqlparse/run-ptest | 2 +- .../recipes-devtools/python/python3-sqlparse_0.4.4.bb | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest b/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest index 3385d68939..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest +++ b/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest @@ -1,3 +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/SKIPED/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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-sqlparse_0.4.4.bb b/meta-python/recipes-devtools/python/python3-sqlparse_0.4.4.bb index e4ac403eb5..c04971ee8f 100644 --- a/meta-python/recipes-devtools/python/python3-sqlparse_0.4.4.bb +++ b/meta-python/recipes-devtools/python/python3-sqlparse_0.4.4.bb @@ -16,8 +16,9 @@ export HOST_SYS inherit pypi ptest python_flit_core RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-unixadmin \ + python3-pytest \ + python3-unittest-automake-output \ + python3-unixadmin \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39597 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 09A96C5475B for ; Sat, 17 Feb 2024 00:17:04 +0000 (UTC) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mx.groups.io with SMTP id smtpd.web11.615.1708129023509734293 for ; Fri, 16 Feb 2024 16:17:03 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QTSxlyQ9; spf=pass (domain: gmail.com, ip: 209.85.215.174, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-5bdbe2de25fso2198129a12.3 for ; Fri, 16 Feb 2024 16:17:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129022; x=1708733822; darn=lists.openembedded.org; 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=ilKwc2n4lrBTxM1zdcQVq5EpG3+Pt0Kt+j+6YI7b+EQ=; b=QTSxlyQ9uUbWQq2JuiGag6GyT1LQHCk02CXDXYHO2H1g+EuoY5gB7Yh4KNcRbN55Lx Kv2kq5HD8k8yIKmBsZAd2PJQRqRTBW5b089KidW0Cpj1fYevk2jWVKc6Woz8dmrYqx1P po4iIvGxuNTHRLWgd6bHkKqMRNhXeQPPjBvRAPdT9RVMgn5YhhX81vC3vHOPhSFPNir4 TrfjCcg9vx5G/xc6bwDPCcT2VXHLXx17b3bvhas0IyNNQULsQ89rxcPJjjt6ZUHYS+Gj jQvD2JQVUvU4eL46QcWA6mG0LQaYv3y25pVTevmUHUYT6bTK/ixL/YEvZDACzKrm2R0r l82w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129022; x=1708733822; 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=ilKwc2n4lrBTxM1zdcQVq5EpG3+Pt0Kt+j+6YI7b+EQ=; b=u47L/GTt0NE0WI0HXJk4soHmIt+fapBqQQOsK0hWYxRFK7CyoQDJbeFRnZSBxq/h2q olVEJZFsDoXwelQYcm6RblNFwGkmfHG0ZSefkncSUlD3cSxlClaJciZAoyRMw2rnd9/y DSsPK5GTLfVnucpSxr+JpoEwvz+e4VziJEr275WgqEFMOgjQEHg7P+r3QH2FPnl1uPiV nJ3K9ZJXI/dQjODQdJzC7TOt4vNkKCnQpZvtRoNctq0JdjRrhxB2aXq+oIZ4zKvq1dh0 jgHent6mI7tyHo8cXMzk56RQOS6IyJkIr9YDixA85fHrmLbbSk+wiXNgYa2hcenw/jK2 fP+A== X-Gm-Message-State: AOJu0YwlHh0IODGPiioOIPj2/SjPCm6Bu5iMkrd2RNRpsrZ/n87k+aSW CqZJq+LapEoReyKJ7zj0B/CzumV1xlYnvZYiNjH5aG88X6YLd1iZTOBLJU5M X-Google-Smtp-Source: AGHT+IGzX+x6ojs8/M5Lnd9wTZ7giB4Y6gaI1dNFI8EaCITJjTlUAFqLSc+7AZl7IIyC+sXqk/40gg== X-Received: by 2002:a05:6a20:9590:b0:19e:9ca7:7c94 with SMTP id iu16-20020a056a20959000b0019e9ca77c94mr8259312pzb.9.1708129022524; Fri, 16 Feb 2024 16:17:02 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:02 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 41/60] python3-precise-runner: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:32 -0800 Message-Id: <343201517eb389405133166209fd80de72886084.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108811 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-precise-runner/run-ptest | 2 +- .../recipes-devtools/python/python3-precise-runner_0.3.1.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest b/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest +++ b/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb b/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb index 9e5435bada..1fb72de126 100644 --- a/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb +++ b/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb @@ -13,7 +13,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39599 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 0DA0CC48BF6 for ; Sat, 17 Feb 2024 00:17:14 +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.web10.606.1708129024748724107 for ; Fri, 16 Feb 2024 16:17:04 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eWrS9/y9; spf=pass (domain: gmail.com, ip: 209.85.210.176, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6da4a923b1bso2425509b3a.2 for ; Fri, 16 Feb 2024 16:17:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129024; x=1708733824; darn=lists.openembedded.org; 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=tMkPAALShpSGuY2Y/20h7ymEVLWpmBWUb2FpkNlvImU=; b=eWrS9/y9aqVU6YFDOTM7aa7VZ+Mm3uo6vWM4ha1x5MHCJOm2c+sAi8DmEgN4cE8O4X sTI10f1eHb8Vu5rOhvyJaIEFPRzcxNY+pZLW2o2tL0fNvmFVIeTy+zYYgwlZt5eM67IX esh/3j19lIPrKe7Cxz85zNNuKPg8IUgsSIYaGiIowJUifBORqTpqirL79B3qInZb8scb XnO0HT8oROqJHOmlV8YfYNNDKJ0iPSNkcQ7/vERmdPYD7U+TVIF6oYX77X6ERi791yVz N+ZDnrPUKP97uVO17oKX5jFDHQ8XI/pa8BW/kbUj1YOl/gQEp3hM2vHEo2x0/+L1F1WJ QkkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129024; x=1708733824; 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=tMkPAALShpSGuY2Y/20h7ymEVLWpmBWUb2FpkNlvImU=; b=cy3xhMRMsGe3mwHfGquBzt1QDNBbo24MrfRQuRClG5Rt1lC2u8tPQNGEwndd99aNrL dcTHUf4oGGt04pKPGg5P49Ao5V5vYaf/c2USCfeU31VCFQ+FCG/BAGa//JPTnf53kTz6 HPRaq9gfjJAGIR0pLGEJHWeeN4KOiXCd8fxMelGTzabmeIbJsMrxFNUnCObWZ3OKgdjT yQXpWYF5NmwADitX25JYtoJXke0rYGawd8p4GEyhAZD0wAT+Tr0yv9AvvwJSfUF/MZfc gpu3K5EAw3UN2gVcXWmofssOH1SplozYv4A+vhT85Hv0yTXHQ3WqrLMHACrTWFm+GKh0 J6+A== X-Gm-Message-State: AOJu0YyGGGW1cAq6aXISZbEsvgETusdlhBQEy7E1/eF+TWUgHFrEuRL2 Ek5nR9q251NSlmfQCWgPT5y9TQyRzD7R17cQVwchTTXSCJxoBCZYnhTXfexO X-Google-Smtp-Source: AGHT+IFWDE+onJstjK28IJh7tTfJAkB3EJC8Qr63uWQjouU8nA0+x8ZVG6pH7rgpvNQHuV+U6TAqyA== X-Received: by 2002:a05:6a00:1d0a:b0:6e1:bcb:d4d8 with SMTP id a10-20020a056a001d0a00b006e10bcbd4d8mr7210348pfx.7.1708129023963; Fri, 16 Feb 2024 16:17:03 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:03 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 42/60] python3-parse-type: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:33 -0800 Message-Id: <7032a6b5cd52f7d895bd473cc34048cda621cfb1.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108812 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-parse-type/run-ptest | 2 +- .../recipes-devtools/python/python3-parse-type_0.6.2.bb | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-parse-type/run-ptest b/meta-python/recipes-devtools/python/python3-parse-type/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-parse-type/run-ptest +++ b/meta-python/recipes-devtools/python/python3-parse-type/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb b/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb index 99493db322..a7d8cd86ce 100644 --- a/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb +++ b/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb @@ -8,14 +8,15 @@ SRC_URI[sha256sum] = "79b1f2497060d0928bc46016793f1fca1057c4aacdf15ef876aa48d75a PYPI_PACKAGE = "parse_type" inherit pypi ptest setuptools3 -RDEPENDS:${PN} += "${PYTHON_PN}-parse" +RDEPENDS:${PN} += "python3-parse" SRC_URI += " \ file://run-ptest \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39605 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 3EF22C54781 for ; Sat, 17 Feb 2024 00:17:14 +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.616.1708129026358787850 for ; Fri, 16 Feb 2024 16:17:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=S5jjvXTk; spf=pass (domain: gmail.com, ip: 209.85.210.177, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-6e09a890341so1662794b3a.3 for ; Fri, 16 Feb 2024 16:17:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129025; x=1708733825; darn=lists.openembedded.org; 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=saG2ZIHlZgLHdMeLEFFgHct6gb2keqHIDIb6QpYzF68=; b=S5jjvXTk73/TK+cO5sfOesJx3rChJTVK4IfxLVb3zgnH/bUBLg6RI7gZncpQ563U4o mdtXLAzGDxvFYNu8yoRDL846iESaj7cLfi0hJ7AZecJgUtjIP9AYMUstA7TJi1ojlmx7 sIRrMB0JwZbLhFQimyZ54p2mp6uqd2AZxcnDd/Lkl6fTidqacB1LX1CNUWVD4BFHG7ek z0ZylOAlJIPI93HMCj2I5cFBU84QG2k6zsIsDf8CWfXjjwNvh/QCf2l3xOBMvmTpakna iL7h8Bns80hDchhzjMIQzXXivf5BrjmgKX0X53vl7reXkZ0wqyfc95k1La/ttVMm1DV1 bidA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129025; x=1708733825; 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=saG2ZIHlZgLHdMeLEFFgHct6gb2keqHIDIb6QpYzF68=; b=PlEeeoqnBkMvKvtBo1BQ67E+nvYfme0/8GLOwE+uKQHcDAqnDh9i7Ij1SV6KeaNIOA htWHgX7047+O/WBPj26Qhv0PGhjqQOgNn/1GxABUDE9bZh8SxMt/Bm1dVyD895VLVEQr JksZwwuTLDvgoYCEVy9i+SfB0nHGJ2cOAwgfipDBvkgbfbj5s02g4nxJNTWsCR6505hQ T0daDub7HuAfK+hJxlmX9q6xpbOoZgy9FN86HcZrlf7kom3OtXxxu0pRKKKHnlc1V8R/ lyfFDDHIi+W/2UCy0vaLvCCBOpHEdj9vFdIML0j0YzqfgpNS7asYCPDUsje8eVbkZ9QN XWEA== X-Gm-Message-State: AOJu0Yw9Lz6ceG/3HcvntBjIJQgOGqw+4dbtKnuhf5nkyUiAi/nkneTx qlqXSMtbYvWFQwXjyfGAdGmtJ/temZlPvj11gU2rmML+xwCeg5dn+OMg4ewr X-Google-Smtp-Source: AGHT+IGmZ2YC0rLCeDTZenCKcH2g9J4CuREvfwF68iHYZn4n/VEgWj+XmiwccrYjeGuDDouFA8BjCg== X-Received: by 2002:a05:6a00:2d81:b0:6e0:9da7:8cfd with SMTP id fb1-20020a056a002d8100b006e09da78cfdmr8179610pfb.5.1708129025642; Fri, 16 Feb 2024 16:17:05 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:05 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 43/60] python3-inflection: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:34 -0800 Message-Id: <5623734d6837475ded05966751d616fde0a9b259.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108813 * Also replace ${PYTHON_PN} with python3 * Fix some _ vs - errors Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-inflection/run-ptest | 2 +- .../recipes-devtools/python/python3-inflection_0.5.1.bb | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-inflection/run-ptest b/meta-python/recipes-devtools/python/python3-inflection/run-ptest index 0caffb794c..f1c8729f0e 100644 --- a/meta-python/recipes-devtools/python/python3-inflection/run-ptest +++ b/meta-python/recipes-devtools/python/python3-inflection/run-ptest @@ -1,4 +1,4 @@ #!/bin/sh -pytest -o log_cli=true -o log_cli_level=INFO test_inflection.py | 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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb b/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb index ea3b76d511..dbde8963e6 100644 --- a/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb +++ b/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb @@ -14,7 +14,8 @@ SRC_URI +=" \ " RDEPENDS:${PN}_ptest +=" \ - ${PYTHON_PN}_pytest \ + python3_pytest \ + python3-unittest-automake-output \ " do_install_ptest() { @@ -22,6 +23,6 @@ do_install_ptest() { } -RDEPENDS:${PN} += "${PYTHON_PN}-pytest" +RDEPENDS:${PN} += "python3-pytest" BBCLASSEXTEND = "native nativesdk" From patchwork Sat Feb 17 00:15:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39604 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 34922C54764 for ; Sat, 17 Feb 2024 00:17:14 +0000 (UTC) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.web11.617.1708129027792681049 for ; Fri, 16 Feb 2024 16:17:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UKqf2vEk; spf=pass (domain: gmail.com, ip: 209.85.210.181, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-6e104a8e3f7so2192398b3a.1 for ; Fri, 16 Feb 2024 16:17:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129027; x=1708733827; darn=lists.openembedded.org; 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=QV9MK+1pYXvIaaF85NSIjJvJWIb7+SELiYPpN/fm/tA=; b=UKqf2vEkBvoXSkYyh6S94ko/+Z1LcCgPgtsP4ZsNEtFpHSnpXGZFwAA2Vly0E9zaGc 8h9GLtdaP+raSqtFeRh0tWg51gxro5NsVgpEy1NxHAvw0TzHUwtZ8ocG1vw2agcl0EMa tWBcbXNM+mwu+/GQmoRwqWY51/+xSDE/bZ9vR7kV8AqCp17RhHkoA4kfaU0YUcJSYtDM uoKUwAqGfY4RguEa3M2Em0H4/Jno4f+EFk3ZnfzKn+AG3sGE5DVzT/UqVgHLd5sCt9U1 B1LjOzyI8EksknCn0hDYu59NSZJVgbKsQI1wC2ybAMkz4S/k2cKU+T1EJdFX9i5hDrWj XSzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129027; x=1708733827; 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=QV9MK+1pYXvIaaF85NSIjJvJWIb7+SELiYPpN/fm/tA=; b=i8/ESm67mFZS5QSjFoR8EWNwvrjCR4QHq89F33Q57XjKcfGhYypvI7rA4hI4/bl6R4 rgac6h257KQlpnhr38XK3vQQpp75WPJaq8Wfv6sjt6Y9pe9p/etgSyyQvcCY/vzSD2qR BpWLa9zSTC71wT/nuiFT/3zsliYyYiyj8wqa1g18EhANrdxfHPnKA/IidMxyqE2KBYHY vuG5qmUAXXoyRfq8a30tS6Osy/vXY+hrJXgVCHRVaLhGSR9+SZTJpxwI1DVSyMFfKtH2 cgiv0wQEJNuXA2IiYnZJNdf19wrIBLB5uxYW6NyWDeq+pWjaBTiaTyu6HjaKnwg1SoTU UOIA== X-Gm-Message-State: AOJu0Yxzewo1JRjzWqCdwmxvhMRUoMQr3Z5gCEYRRuDBwvMYUZeOsbYK KkLZ8FKWstl5nxwCKvT79rgL9vSMi3t6NjaYMKQ/b+kDtk3uLn9FY+OKDQ47 X-Google-Smtp-Source: AGHT+IHbt6uKLeXQ0SCYDHggOmpQY0iHaCeVM7MonCcuupCT4fipkZnPqhrig4aUjg448mJk5lhPhQ== X-Received: by 2002:a05:6a00:1d90:b0:6e2:3793:b33b with SMTP id z16-20020a056a001d9000b006e23793b33bmr900272pfw.20.1708129027020; Fri, 16 Feb 2024 16:17:07 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:06 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 44/60] python3-blinker: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:35 -0800 Message-Id: <78169fbc891ab79ea49c5b3dc45a0568963411cb.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108814 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-blinker/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-blinker_1.7.0.bb | 5 +++-- .../recipes-devtools/python/python3-inflection_0.5.1.bb | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-blinker/run-ptest b/meta-python/recipes-devtools/python/python3-blinker/run-ptest index 15c3f6282d..69cd362f69 100644 --- a/meta-python/recipes-devtools/python/python3-blinker/run-ptest +++ b/meta-python/recipes-devtools/python/python3-blinker/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-blinker_1.7.0.bb b/meta-python/recipes-devtools/python/python3-blinker_1.7.0.bb index f1d8b4fa95..8f2cf4883d 100644 --- a/meta-python/recipes-devtools/python/python3-blinker_1.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-blinker_1.7.0.bb @@ -9,11 +9,12 @@ inherit pypi python_setuptools_build_meta ptest SRC_URI += "file://run-ptest" RDEPENDS:${PN} += "\ - ${PYTHON_PN}-asyncio \ + python3-asyncio \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { diff --git a/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb b/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb index dbde8963e6..5c6f4e2356 100644 --- a/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb +++ b/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb @@ -13,8 +13,8 @@ SRC_URI +=" \ file://run-ptest \ " -RDEPENDS:${PN}_ptest +=" \ - python3_pytest \ +RDEPENDS:${PN}-ptest +=" \ + python3-pytest \ python3-unittest-automake-output \ " From patchwork Sat Feb 17 00:15:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39601 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 1A2C9C48BF8 for ; Sat, 17 Feb 2024 00:17:14 +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.web11.618.1708129029171137914 for ; Fri, 16 Feb 2024 16:17:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FQk0bAE4; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6e0fc87fc2dso1691120b3a.3 for ; Fri, 16 Feb 2024 16:17:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129028; x=1708733828; darn=lists.openembedded.org; 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=WN0GDaE+A5/4oDhgWGYDNb4Smz8Y6WHuXWDdRy1pRrc=; b=FQk0bAE4CN0+W8Xgr5XL8IhEECuAyeS8x0/GeXOivCLKd5ENlU2vPMMePygXyolA4S gplm20TEPj/ZAs1LMdBJzDdh1J4gbuVLOPa7gGRNlzQZB6SD8qS0E03jlQe5FpANG2dU kC0+ajWzoPGHsdjHFztiqHcb5DZJvtqzPl7Add0PYg7OeXB9HwHDuds5P0Hxyz8bGgC3 aMINUxaMpRpSMYdXypTDQ48B9Icd9O7FmIeTQMYRojZXmUKBMGbxmMIDsK17z/F8obRn yidBz99WOpyOAr2o3NTg8Bl2oD7DRuxitrpjohmSZSKHM+X1uWoUJWnmA/DeAU2VgymQ Xjlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129028; x=1708733828; 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=WN0GDaE+A5/4oDhgWGYDNb4Smz8Y6WHuXWDdRy1pRrc=; b=KrKp0TuUIjAXZ9o6oCCINbtzP9Vme7JfK8+9X6IxafgJpLjTmEyosQgum6p1WmHnuU KEmBxfq2wHg4aRTvAlY8/mt0MRG6JocvF5tpy+lGqeT5G+aPbLSyNrtHov5eWKy5jY2o nqUtx7BG1x2Kz7i5kVejlMxEdhLEMxgA2ezzG8SjA7w2ao6hN0EjqXBarBb03ZW5cmv6 o8OJyBQSZhL/V8kip2V9VB5C/9cX+pQE2K47PM7T41xFoHosa7yP37ldoeCxj/tFjMMn DpkgrQ2KrYdL/O6CA+gfuxoZdwQLFwcvebFMR2W3f2Efj2CXyEh/eu0TjQmz7RRcwrYZ H6lw== X-Gm-Message-State: AOJu0YzOWxfvs34wjRmH2RvhRpmipXkkgqvA4EHJyW3rUGgRpv9//mIj C1rpD04UMjVUhbNQCI8g4Q79nWpv0B7ITooqXtAY8/T/utlHo8svqNdBWC3y X-Google-Smtp-Source: AGHT+IHeAM6tm+7Jik4vWPDDVH8yg6a+g2/SEHbB7Un+QS2PgIQ70lpnhmYI3E/7kT5Hf/3Ofku8DA== X-Received: by 2002:a05:6a00:2190:b0:6e0:a312:1f3 with SMTP id h16-20020a056a00219000b006e0a31201f3mr8489260pfi.27.1708129028383; Fri, 16 Feb 2024 16:17:08 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:08 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 45/60] python3-service-identity: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:36 -0800 Message-Id: <55785398d9c181fe5b71d57ba8237e759c2054e7.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108815 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-service-identity/run-ptest | 2 +- .../recipes-devtools/python/python3-service-identity_21.1.0.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-service-identity/run-ptest b/meta-python/recipes-devtools/python/python3-service-identity/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-service-identity/run-ptest +++ b/meta-python/recipes-devtools/python/python3-service-identity/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb b/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb index c3c26dda38..0a2f2728b7 100644 --- a/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb @@ -20,7 +20,8 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39603 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 19F97C48BF5 for ; Sat, 17 Feb 2024 00:17:14 +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.web10.608.1708129030549837166 for ; Fri, 16 Feb 2024 16:17:10 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OHTvfiJY; spf=pass (domain: gmail.com, ip: 209.85.210.173, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6da202aa138so1920095b3a.2 for ; Fri, 16 Feb 2024 16:17:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129030; x=1708733830; darn=lists.openembedded.org; 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=dY4V8pKH5fCYDfU4xBwo3rYZPuvceDDHVVEKFd3rz7Q=; b=OHTvfiJYjB46AOsxKcrsqYSCvdzYAx6IODRwDL7tzCkVGMlRWSaA75+eSuGxBzUmns 3KAMR9VH24c0S4WIHmxpfD1Rhny8THtxmUS29c7OM/QelLQJuGgOqJ8R9F+Pwq/nSGvQ 9bgh90bQdJIN6uyvd2HhlkEKTVVUapols20i0SGXXX941FlgFtU5XbKOBDj5wRxj8SL/ f1BxDGIsz4Dx8BFpSd0aJuYJYvdt8oBCC49fo2ezmo2TM/RI+EDktoFjj5IHqtyYH9Z7 eGfMYU15AqqDk+CpSbm8pdpsabKZgcVU9v3sw54XEVKvPoDGOzlfCII0tRqERony+/d3 4brw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129030; x=1708733830; 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=dY4V8pKH5fCYDfU4xBwo3rYZPuvceDDHVVEKFd3rz7Q=; b=rpZxVeeD7Ge05NFknm1ZsDMPISiVqnIasmd8lGRTB8kLhqN8ip0mB7jpC0HV40VbPH gWLgnNDfwWBazjUByVRF2k0S6HRrVzE7qjdrOCx05TgPWVjBm2bHxwQeh+7yXCUReYua ffB0Uk0hD4Azx+Dx/6fuJ3qRxuIKXKkf3n4pd26AujGc6VPYCp4Tof9WybrAAgjH1arJ cXZx4sB7OD5REV07b2vX6JcOLPqvyrLC8fZJ+EOPNV0VI9ctwoyFNoJLoC2X65hezGz2 XK5kPRKE7Y8iW13TdXJz+e6D8a5eVsCT9s7GeibOhBzUaw44ArNtRAJE/3/+um1syZlr DsMA== X-Gm-Message-State: AOJu0YwUTBlM/X+6+JVUGMnBvwM8GunulZRniqoNRnyiaR2hjZaCnJHD Awh36iN90fuAYFUkd2sl+asazlYLtknrnDucS+zBLVrsohtrqFeHVR+qgI89 X-Google-Smtp-Source: AGHT+IGgdPxSSyKwve7JnOl3q1eAfKud/r3SUfo/PCCOs357PNralHDnC0qcoXYreGwxil1CQLmzyg== X-Received: by 2002:aa7:81d1:0:b0:6e1:4a02:6217 with SMTP id c17-20020aa781d1000000b006e14a026217mr1851175pfn.22.1708129029787; Fri, 16 Feb 2024 16:17:09 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:09 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 46/60] python3-cachetools: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:37 -0800 Message-Id: <0784edb157890f2c4b99a84fcd9a1c1b2ef29661.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108816 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-cachetools/run-ptest | 2 +- .../recipes-devtools/python/python3-cachetools_5.3.2.bb | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-cachetools/run-ptest b/meta-python/recipes-devtools/python/python3-cachetools/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-cachetools/run-ptest +++ b/meta-python/recipes-devtools/python/python3-cachetools/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-cachetools_5.3.2.bb b/meta-python/recipes-devtools/python/python3-cachetools_5.3.2.bb index 5946c267aa..22060ef049 100644 --- a/meta-python/recipes-devtools/python/python3-cachetools_5.3.2.bb +++ b/meta-python/recipes-devtools/python/python3-cachetools_5.3.2.bb @@ -15,11 +15,12 @@ SRC_URI += " \ " RDEPENDS:${PN} += " \ - ${PYTHON_PN}-math \ + python3-math \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39602 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 26DC1C5475B for ; Sat, 17 Feb 2024 00:17:14 +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.web10.610.1708129032154427260 for ; Fri, 16 Feb 2024 16:17:12 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=l/nFbT4E; spf=pass (domain: gmail.com, ip: 209.85.210.179, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-6e320ebf874so6188b3a.2 for ; Fri, 16 Feb 2024 16:17:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129031; x=1708733831; darn=lists.openembedded.org; 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=TVpX0mIezUFl359M2ifxsclp6u21EzyqVujabdKcdhs=; b=l/nFbT4E+wFdTqNgVaXCh9vKqUh5vD/mESgFISzGyanGKJyUmBds1G1+pWN+D/2D/u 13DIUo8pymQl5vI6X+zUYt7Om/Flfl8UbUkOd10T8LLml6aLsVTUl0dT7HKymNiZmKqI YZQjCVkAWl9IpGjBm04OaN77BpzN6JrVnc+WNOQ4c1VHO/oh5T524Y9WDQSlxzKNogFJ sepHntVubDvwVtKcI6iJgQiNfPfixpUszAKjzU4hBQtollMdZNo0S3Dwu/zO/c/x2SvK Ohm2eYIsm80M/jw0EMCWmxttWrMF3OQdwvPujj36oB38NOsCGNkQGT9IfmZfUBr1QoKQ 7RUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129031; x=1708733831; 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=TVpX0mIezUFl359M2ifxsclp6u21EzyqVujabdKcdhs=; b=mRIFZHGxHqSYBH13f9XTnnRFdscspI0YlZOg/ojXRS06Gv6DopKaXGsX58BtuGEo5y h5zkAsEPlq9gJT7JFwu9HYxGuGBFGLO1hblpziM4gY0Ba2+nupyYwBgzqeZRwqlK6S6G FJg8dXcHv13X9ZmX1KiSr9lf13LPyKg2eULR2h6pvHfmoyXC3ozPP4qfsrX3DerlgESa 0UK2Vj6xkXCY+f0qLi4nhXKeUCwvvHpW+/fz31HahHvulRic4RUKG8/EMD2qcBAZ0AmO rkhi4wYPiCzBUiEWXXT9lzPXg9L+cmEpEbtDCjZbUaH1b/Wa3maTDKljzTuKYbUADNfC QfOQ== X-Gm-Message-State: AOJu0Yx7+ztNOYIR/tsFEpBTlQ327EV8cYzBNBwpHXyi+2MewWYuMnA9 CAyBASZBNqnxUQ0TWPeqlAzisJqHB9z0oh7V3HqRuZbbP1a9xbmWt4JUYS7i X-Google-Smtp-Source: AGHT+IHUvY2D0tnSTmvP4vqfYP8kRXyst/xiyXLTPX3J0YLYVx9rlsBabzkD/RnfNG/BFVdbVk3y2A== X-Received: by 2002:a05:6a20:21d2:b0:19e:cbe9:63a with SMTP id p18-20020a056a2021d200b0019ecbe9063amr5246284pzb.28.1708129031208; Fri, 16 Feb 2024 16:17:11 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:10 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 47/60] python3-simpleeval: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:38 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108817 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-simpleeval/run-ptest | 2 +- .../recipes-devtools/python/python3-simpleeval_0.9.13.bb | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest b/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest index 3385d68939..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest +++ b/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest @@ -1,3 +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/SKIPED/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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb index 35cd19ffef..af2c4a1e2e 100644 --- a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb +++ b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb @@ -12,11 +12,12 @@ BBCLASSEXTEND = "native nativesdk" SRC_URI += "file://run-ptest" RDEPENDS:${PN} += " \ - ${PYTHON_PN}-math \ + python3-math \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39600 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 0D9CDC48260 for ; Sat, 17 Feb 2024 00:17:14 +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.web11.619.1708129033296312250 for ; Fri, 16 Feb 2024 16:17:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=a8PVd+jK; spf=pass (domain: gmail.com, ip: 209.85.210.174, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6e1358dd3a1so1471899b3a.1 for ; Fri, 16 Feb 2024 16:17:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129032; x=1708733832; darn=lists.openembedded.org; 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=8skdxBKhfc4+LxwG5BxuxIjRoWZnhOukAERz75NSwlM=; b=a8PVd+jKioijRBkDf9dYuny+I9Ccm+lRkvYsvn75pKedJ+gP5oYTL+Ht6z+asSydJM ve6k/kmO9Gauh4XtilmEfBgBhqJlJiLh3EjuTDsZlvByHZ3KBxV5nlub8lzdYo2tJuGw pLvK2RqhmgWi5W67UJ40ZCAeW4yPwFBa3hf1gGRH7vIryXrV4djHcd7jLipWHL1+8MfI so+JQ14TzVRk3cZ3UXwrHxSxdOfj/FWsBVh1yD4OwzrqZm2o1kQJkRjfnZx+f/gt93o5 /4A8HWj/oHV5YW+p7B4Q5A+Uj48LH2WzH+VYSJnBwHs6ucxuEfx98N2tQ5C4OeTZk25d MnhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129032; x=1708733832; 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=8skdxBKhfc4+LxwG5BxuxIjRoWZnhOukAERz75NSwlM=; b=dNjsf6Uvc+/yBByufXOTb9qWjq/MNMnfeAZ6BWaUCpP5J4u15FiNZ7aIxlbUMlU8jJ 3jPSbMjoIcRVr47HJQha0pIbT3pyt4XFcuNsr40R0IL+SxneYefOC64B2mRBVIO0xli7 Ddo/L1Bg4WE5ac1ud/93zw3TbhyWSyY9TdigWoVffHMrghZUKKNRU5V8cKtc/fqrC/PR 4kgg+GC1Vp9lpjxSOuRax7SVvDrAzlMAVQv8349ZDJ8hkCfnDNK9VSqGVffS9AM71/MZ 22O4347UDMBXAVuO0DLcA1CVhitSC3bPCffwtJmHUdJfN0aMFopAhlVcq5io3g/Ju9Fg sDqA== X-Gm-Message-State: AOJu0YxG3Oj91YK6bqNt9LPlFom+kEl+9EgABJCMGav8XN7tzUnov0iF awihk+8jxM/N0nXLG1t4EKDLUWdNZG8F8xq3GXOCP2q7bgkNVMPlZjK6QvdG X-Google-Smtp-Source: AGHT+IG3xk9QcORAWPYjIsQLaaYicVIAjdr4d22odQkKq+sK0uWrqa0aM9GT//F9NX3FzwMYSrNjaQ== X-Received: by 2002:a05:6a00:4fd1:b0:6e0:41fa:7a15 with SMTP id le17-20020a056a004fd100b006e041fa7a15mr8038448pfb.22.1708129032563; Fri, 16 Feb 2024 16:17:12 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:12 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 48/60] python3-appdirs: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:39 -0800 Message-Id: <6ac17ac76b343c634a936a868b68e78afab53135.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108818 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- meta-python/recipes-devtools/python/python3-appdirs/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-appdirs/run-ptest b/meta-python/recipes-devtools/python/python3-appdirs/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-appdirs/run-ptest +++ b/meta-python/recipes-devtools/python/python3-appdirs/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb b/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb index 95d1ac05ac..ad07b3b082 100644 --- a/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb +++ b/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb @@ -12,7 +12,8 @@ SRC_URI[sha256sum] = "7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27 inherit pypi setuptools3 ptest RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39607 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 3A3C7C48BF5 for ; Sat, 17 Feb 2024 00:17:24 +0000 (UTC) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mx.groups.io with SMTP id smtpd.web10.611.1708129035445234908 for ; Fri, 16 Feb 2024 16:17:15 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Uphq1kSh; spf=pass (domain: gmail.com, ip: 209.85.210.172, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-6e104a8e3f7so2192470b3a.1 for ; Fri, 16 Feb 2024 16:17:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129035; x=1708733835; darn=lists.openembedded.org; 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=uKXG8Aw3++uLLQ+8bEthuVenQegAWHnkMNzZCdg3a0I=; b=Uphq1kShVUf8jxi1cxpYpg8FLo2ozF+deHJGugbNAcm1sR8Z32fDo7LZ7GOMAKe5vk 5eOGgZUNE3Rly2C/q1Id2BFOg+fisXSnV/zRwMPoBu39zWtYgBA/NDTY3/bEmlBfJPnr u+PcLWJfscufoajL1fJtgHW7eXvjX118MPQdC1MVly0p4BfrPZynHKy01U/QQOXDhP0p K9Wsapqc1w4rxroljqB32HVUqTR2fwk3FrPSgABcg2lEBWOpLwqHDzluAeSl1gF/sJZX UX4YzZZLxkcaKRwx5X8d6F3QXFx36qqV6wjHWEYNu2iwqhHy8S+laCtA/oIHgQNqFiXH sG0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129035; x=1708733835; 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=uKXG8Aw3++uLLQ+8bEthuVenQegAWHnkMNzZCdg3a0I=; b=t2L6CE+hWqFYcORmb6Jh7j7KYD//4MzhBDTJ2oPgo3aOBJ6gfhIUzBfK6HJtIsQ3Ij 57XrHirptIi494KAtzCpnJSCkSLwZ0sBiACUFFgq3HpprXAepYvIB8r1q9Hi0xSoll4I V+rrOK0TuRlAsmKn09wzNTSiH+OUFOagxy27+OsQ9K8qUJVEXcNgoJydLhq//l1IsfHm 90flX5lDikO5gjAxWbvzCRffakek3jtFKguMgUTRo3uShdCGGfGLbFcRuGue544m/J0P EBd4f9IgyMmUTBeiNMWQSVeS2nrkAuPiIj1AWLBlA5v6kgWYt7cozlc5oCQht15hSuZj JLOg== X-Gm-Message-State: AOJu0YwBBNtwi58yMpRNcIjEziM0Ub9M611V9NoRgRRT57xL9o/68kvA /COSbRdANekS1IBkQdPrVV+u6Aq4YZOFKFpxnh5AytdnM0zB3hKfqaAEQ1z+ X-Google-Smtp-Source: AGHT+IFYvjK7pw9Ocmaslof2h9VSdxA2D0KnhA7qSiYB7lJ2s9NOavfR3qLrUGwdsPRTcnivZZ64IQ== X-Received: by 2002:a05:6a00:2d03:b0:6e0:e235:e2ca with SMTP id fa3-20020a056a002d0300b006e0e235e2camr7443742pfb.9.1708129034413; Fri, 16 Feb 2024 16:17:14 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:14 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 49/60] python3-pillow: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:40 -0800 Message-Id: <84b33710f30c3f853442971d891d0963774214c7.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108819 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../python/python3-pillow/run-ptest | 2 +- .../python/python3-pillow_10.1.0.bb | 21 ++++++++++--------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pillow/run-ptest b/meta-python/recipes-devtools/python/python3-pillow/run-ptest index 3385d68939..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-pillow/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pillow/run-ptest @@ -1,3 +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/SKIPED/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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb b/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb index 1cc833e1ba..91b02ea017 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb @@ -27,9 +27,9 @@ DEPENDS += " \ " RDEPENDS:${PN} += " \ - ${PYTHON_PN}-misc \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-numbers \ + python3-misc \ + python3-logging \ + python3-numbers \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \ " @@ -38,13 +38,14 @@ RDEPENDS:${PN}-ptest += " \ ghostscript \ jpeg-tools \ libwebp \ - ${PYTHON_PN}-core \ - ${PYTHON_PN}-image \ - ${PYTHON_PN}-mmap \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-pytest-timeout \ - ${PYTHON_PN}-resource \ - ${PYTHON_PN}-unixadmin\ + python3-core \ + python3-image \ + python3-mmap \ + python3-pytest \ + python3-pytest-timeout \ + python3-resource \ + python3-unittest-automake-output \ + python3-unixadmin\ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ " From patchwork Sat Feb 17 00:15:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39611 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 6D6DBC48BF8 for ; Sat, 17 Feb 2024 00:17:24 +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.621.1708129036526930267 for ; Fri, 16 Feb 2024 16:17:16 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VG18xasj; spf=pass (domain: gmail.com, ip: 209.85.210.176, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6e11a779334so1707070b3a.0 for ; Fri, 16 Feb 2024 16:17:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129036; x=1708733836; darn=lists.openembedded.org; 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=C/y4DfXnuN2OjXxSDXp2fyt+2Q29Ji81a4CsvGAtN0U=; b=VG18xasjwd8NTGDYidgse4SiaVg+glSFLosbumiEBOCqFFloIJkJ3ixX/WwdKjFl1Q CtMqOs0Cmu14C1O3lJpzRbFXY/ngqjscz+8v+pkcx5DssvkTmez5Wcz06LOKkL+l0IZk S1CA1x4x5DRl2qftU2bZGk+BGExhCrIDo6DOK3rXy6uzK4WKC4uWH8eJGPDD4rXl/yVC Gicfz/1Wa629IAdINNnPPIAp5I2UoIeCxUEb0eoHuoEITLlYJR6qg94ajxgQp8aijDLF 7egeJ9yLhiF/nS8NE7uiQLlA3t9UD2R5WqOd3Xr+I3LA1C5tuRYmp9U/hmmj170Ngk6R CYJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129036; x=1708733836; 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=C/y4DfXnuN2OjXxSDXp2fyt+2Q29Ji81a4CsvGAtN0U=; b=H2WPucmJap5VGDv2idm+RZS9K6ZufqDZ8P0hwoHp7XygCfvTUaOFen+hGpsnDvw6nU aJ4iAxmzItb9M50+kEuDp3y4p007P+ZpxyzSMpdENR7urK4RYeEbjDfLXKVFa7axCZzt YtGWkvhoA2ruH5vSefn3dHwzoi02KoZ3daZET47XZdySWW82jhPD+Bjv/+5OPmqB2/nL GO0B54xALbPKRqDUuUIzuUmTYT6LCjGB19CZyijKp4MIdGK7We4dRZeaSDSns1r1j2Iu PSM08BFSEXjVTt68yW5Qiy1SL9yYTGN5FgOhME761BY1gCJYxYco1Qi1xGghy2EWlwqB w0uw== X-Gm-Message-State: AOJu0YxmBia4Rvib3eVjjNhW4DgkxuwTxqpsStljHk809EGvC7K5BZ5c sLvpwh5N+9EGEzHXNacoSfRiknAAhNnRrpjWZf2Yr10G5p3Ft5cVpqafiUBJ X-Google-Smtp-Source: AGHT+IFcwVkHGot58kv1iv8Pm1AzplUCL5PFP48QuNSG7SLmpK9iIZVPCEcmtrwfBMlgeyYyhAZI2w== X-Received: by 2002:a05:6a20:9c97:b0:19e:5ac2:a342 with SMTP id mj23-20020a056a209c9700b0019e5ac2a342mr8901821pzb.17.1708129035748; Fri, 16 Feb 2024 16:17:15 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:15 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 50/60] python3-semver: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:41 -0800 Message-Id: <94a11779526e752b5d59a0231abaf846208eb5bb.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108820 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- meta-python/recipes-devtools/python/python3-semver/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-semver_3.0.2.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-semver/run-ptest b/meta-python/recipes-devtools/python/python3-semver/run-ptest index cd2bc8537c..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-semver/run-ptest +++ b/meta-python/recipes-devtools/python/python3-semver/run-ptest @@ -1,3 +1,3 @@ #!/bin/sh -pytest -o log_cli=true -o log_cli_level=INFO tests/test_semver.py --disable-warnings| 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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb b/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb index f90ea0c9dc..25222bb5ff 100644 --- a/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb @@ -17,7 +17,8 @@ SRC_URI += " \ DEPENDS += " python3-setuptools-scm-native" RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39612 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 61411C54766 for ; Sat, 17 Feb 2024 00:17:24 +0000 (UTC) Received: from mail-oo1-f44.google.com (mail-oo1-f44.google.com [209.85.161.44]) by mx.groups.io with SMTP id smtpd.web10.613.1708129038220736169 for ; Fri, 16 Feb 2024 16:17:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=amWqrW5g; spf=pass (domain: gmail.com, ip: 209.85.161.44, mailfrom: ticotimo@gmail.com) Received: by mail-oo1-f44.google.com with SMTP id 006d021491bc7-59a1a03d09aso852908eaf.3 for ; Fri, 16 Feb 2024 16:17:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129037; x=1708733837; darn=lists.openembedded.org; 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=u2mfxGaPyBqTtvtbOlFjtqZ+mtitv9QOab4ZBZhWjnM=; b=amWqrW5gzZfVcornxWO5zLWNX7QV4e801gECjjDAQCb8I1SN5xUYUC2fHEU58e1KkP qZ0K3C9NPNRgZXUcGnbmaSo9j0sDvowN3Qr7ysA3pFI0du3g1ZiCbrgT1qy4wOTJe0SK cHqza7XqjXa/PeOrqZxT9uZv8XuAMeJbnnPS2NKU2DI58Cl9HCIa9x5tU9+ePGE5r5gF AWdyHtw6Voi+T0AnhyheOwc7eoYya/GUr2OLtK0PESE+VajF1F9nxGc+sIWYMf9reU3m wwoJQ5aJLFi48Ukvv6qgu+6ar7QiYpwmiOrliX3p2nkQgAaesET6hZP/5HXPScP0FcBS Qp0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129037; x=1708733837; 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=u2mfxGaPyBqTtvtbOlFjtqZ+mtitv9QOab4ZBZhWjnM=; b=kNiAaOWe6VwL89TwpnblRL8FP3TOEOdq0DKN8uCzxieLzNJ5gZNxxyrf/+M6vLEmpc eyb29myqTBqUnBxdLtyx3uvLJHtTpo5INo+uKupTPILDZia1d0t62ws4bbfQzZz6qmmL 18n6qAc/Sj+AOiKw0Gm8oaskXEYOQ1bjBq0ZhUWvs+1Jdpu4nXjZxjtrmgx4N3klfiRR NjiuFPByuxN7a3Z8vQltmethK/E4MMCqM/a/XtBsR0oWsOevpdfKvOdeDn+FnhRY41VV krgtGXcfnlo8WkRlfttQiZXX7cYDKF9j7usMMEUeH63V5A/0mBkiL2b0Fj+IqjWWLQ1B ZSsA== X-Gm-Message-State: AOJu0Yy4Aiiu9zSigaUHmLnYslET6QBTUQwHux64Dtqkt4PYJ8KItOF8 aCRNfE25gf2PlFNHHjjm4O84lu4upca45OR9JJiycKEmiEdIqMW48zPBaqsN X-Google-Smtp-Source: AGHT+IFvLmeCJpXg7iBCdFTMPJLfKxo3Z3zO5qCg2KVztqTQca7a8Vog1FGHgI+66zh3tIxvYvf+gQ== X-Received: by 2002:a05:6358:8087:b0:178:7986:a586 with SMTP id a7-20020a056358808700b001787986a586mr7847752rwk.5.1708129037308; Fri, 16 Feb 2024 16:17:17 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:17 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 51/60] python3-platformdirs: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:42 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108821 * Also replace ${PYTHON_PN} with python3 * Sort RDEPENDS for ptest alphabetically Signed-off-by: Tim Orling --- .../python/python3-platformdirs/run-ptest | 2 +- .../python/python3-platformdirs_4.2.0.bb | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest b/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest +++ b/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-platformdirs_4.2.0.bb b/meta-python/recipes-devtools/python/python3-platformdirs_4.2.0.bb index ea25f878cc..19c95b374a 100644 --- a/meta-python/recipes-devtools/python/python3-platformdirs_4.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-platformdirs_4.2.0.bb @@ -12,15 +12,16 @@ SRC_URI[sha256sum] = "ef0cc731df711022c174543cb70a9b5bd22e5a9337c8624ef2c2ceb8dd inherit pypi python_hatchling ptest DEPENDS += " \ - ${PYTHON_PN}-hatch-vcs-native \ + python3-hatch-vcs-native \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-appdirs \ - ${PYTHON_PN}-covdefaults \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-pytest-mock \ - ${PYTHON_PN}-pytest-cov \ + python3-appdirs \ + python3-covdefaults \ + python3-pytest \ + python3-pytest-cov \ + python3-pytest-mock \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39608 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 47872C48BF6 for ; Sat, 17 Feb 2024 00:17:24 +0000 (UTC) Received: from mail-oo1-f43.google.com (mail-oo1-f43.google.com [209.85.161.43]) by mx.groups.io with SMTP id smtpd.web10.615.1708129039843793294 for ; Fri, 16 Feb 2024 16:17:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UXmL23Rn; spf=pass (domain: gmail.com, ip: 209.85.161.43, mailfrom: ticotimo@gmail.com) Received: by mail-oo1-f43.google.com with SMTP id 006d021491bc7-59a8b9b327aso883302eaf.2 for ; Fri, 16 Feb 2024 16:17:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129039; x=1708733839; darn=lists.openembedded.org; 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=XGPlIUKBGMfcOT/i7MsYXVGM5gFOCkyd6fs8boE05wc=; b=UXmL23RnSGrIpGQfL57vYfeBZGbbmHZNuRS9L/+lefv8fhf0xq6TtPS1orJYrOHXr7 uTBlhaEdBn+M4cjrf7YCQSEWiWXVFm2BK/ipPVXLw//xOZJznSbGJLLrBAl7tTeS/qux yh4jLHnCr35Vu6iWabIkqP5qZ3w5+F55EFkTwx5Pa6Z6SfPGaRpla8Hevwm6/vkyyOsX 6RmMIzd2BJw/mm+yrNdYY8tIplF2JgzEMf1liWIy5Dxdc7Hd75geQSXxmss5MJWCeSu8 yLfk58AbpEjD9egrQl9aNMhRKmUWjSZ52RcAn9zlswR+tFetYeCgA6ApiqQilAyGRpVk 4ubw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129039; x=1708733839; 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=XGPlIUKBGMfcOT/i7MsYXVGM5gFOCkyd6fs8boE05wc=; b=LE2ylDYr29yTYtUV5pYgLYwomeSuSBcdkhxR4l0UeaoQOlzcrJWTUQil6orRcl+AE8 7uSAP3Npq7GPe6Wa+/Wql1rTYi4BmbS5bXFPFjyDvXKL8/RkL7UGT9ssgOVL5tF+CFge MgDc7tEsB9yQBiUblOfcuWGZU0ac28sz9WbBTU1vuAhuLFusC/B45NsawJasRgRzA0nl cwXOrRCmk9OyKAS40hxeQ2LbTRx9rFE3YQIOMqqOqzXn0xsYYGv5b13QYXtYKhjbBaP9 EI/CGdU7gqcFR8ssHSvFqCPUgWvR2PRUWf1sB7wVUl0ZcIlxUs1Ikqe6TdqErmym9fbt 9HxA== X-Gm-Message-State: AOJu0YwkGaIWQyuRAyq0zt6E8fVk+ezK/X05vE4mLM4zmgSCrKqaHNH0 Joc19OQzqbLKiJhtWwnCX6Ajk+hkwSy0LUCBvRooK6MwE1WQJm0FLtDhDeK1 X-Google-Smtp-Source: AGHT+IHAf6PDLecgEMiQR9f+aDStOhI6M0ewkGqDpyj6/XHdrRBUzT9Hf75aCvN4gnBsE8gwrjsNMw== X-Received: by 2002:a05:6359:411f:b0:178:de46:783c with SMTP id kh31-20020a056359411f00b00178de46783cmr8053680rwc.16.1708129038727; Fri, 16 Feb 2024 16:17:18 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:18 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 52/60] python3-polyline: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:43 -0800 Message-Id: <21ffc77956755f0d8ab74b81ba6c6408bb520bf2.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108822 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- meta-python/recipes-devtools/python/python3-polyline/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-polyline/run-ptest b/meta-python/recipes-devtools/python/python3-polyline/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-polyline/run-ptest +++ b/meta-python/recipes-devtools/python/python3-polyline/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb b/meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb index 2eae0caf9c..4abe167f7b 100644 --- a/meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb @@ -16,7 +16,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39609 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 478DAC5475B for ; Sat, 17 Feb 2024 00:17:24 +0000 (UTC) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.web10.616.1708129040716164173 for ; Fri, 16 Feb 2024 16:17:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Eu6FfOiX; spf=pass (domain: gmail.com, ip: 209.85.210.180, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-6e08dd0fa0bso2224419b3a.1 for ; Fri, 16 Feb 2024 16:17:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129040; x=1708733840; darn=lists.openembedded.org; 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=fq8TLBzDTDuFMOA4+b/Qw1l5Q4v3aYdV01GupbeK8mY=; b=Eu6FfOiXPQC5yvPMxu48iwit8GDQ7hBHpV1psv9YAajL+XdhYVvOY7oFLKp8na0pTw ENqkzci2z5Y+a9L493l3cC4bIZA8sKHmP+NJvaTz9n9g4vgzAWCip2XkOrRXaKCCZ/1g UXgofDOjTcAgM1xqUTkWFW8pq0KJizvvpCfqELLuBMt4F50DH540KFG0bAiqiATZfdXv eLowygmaPrOiYgENGbDp9iIHi3kFEvDJ65QTqV6mKQ1v7PUs1wEMob4lK7BddpG5zlWL LYGT1rsUhzS55WLpEKMLZeLXhVPOL8PoY1drscxiaua42peZJNgVJAGweormst9R1Fwt Nxcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129040; x=1708733840; 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=fq8TLBzDTDuFMOA4+b/Qw1l5Q4v3aYdV01GupbeK8mY=; b=uKBgPgjehDasS2M8TKIr9FV97/t/RA1QVy7h3meBhttOm5UYr0OuFOQ1C9yTM4cU/E hy8nJb8D/o7OH+nY4yNAZSbYMUUfis+kI/NaNkuzIcgDQS24ZyCNndkLWVo1DVi02X4A 1LdIql/aayDAXxMT8W5sZmR34q/P8GlFjxPmu9r2vvlEi9d34P95s0GzKaqofYGh1U1N AlePUtyauPUlzC6N+f6WGwOOhc3JvXd0bpN98jGecM05RAn4QMvqsUxhrn8bkND3kT1j tmeGwLGW0DOFxJuAVmufWv1kdiXYj+NP7g5pU8sBOZaXtPVqq607ghQGrlY9/X83sazu T5Cg== X-Gm-Message-State: AOJu0YyTfmjcFA4kU8w1mv7pl/WJyg7DRn73BABcBJc9FIi+Sug+Q1/h S0mP/641I3YMjuVT0vhCvbbQTGY3727/ZbKHuPVlhqxHWNhMt2bKC7FVfPo+ X-Google-Smtp-Source: AGHT+IGfiUndg/fdmnbiPOnGCckG6MxKPPE4t7P0hUugJ469uWH9ewf6jsvtDN2+otbucxv0dxZbHw== X-Received: by 2002:aa7:88cd:0:b0:6e0:4b81:907b with SMTP id k13-20020aa788cd000000b006e04b81907bmr12707859pff.10.1708129039959; Fri, 16 Feb 2024 16:17:19 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:19 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 53/60] python3-betamax: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:44 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108823 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- meta-python/recipes-devtools/python/python3-betamax/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-betamax_0.8.1.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-betamax/run-ptest b/meta-python/recipes-devtools/python/python3-betamax/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-betamax/run-ptest +++ b/meta-python/recipes-devtools/python/python3-betamax/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-betamax_0.8.1.bb b/meta-python/recipes-devtools/python/python3-betamax_0.8.1.bb index feb9ab3e27..468a1075b1 100644 --- a/meta-python/recipes-devtools/python/python3-betamax_0.8.1.bb +++ b/meta-python/recipes-devtools/python/python3-betamax_0.8.1.bb @@ -19,7 +19,8 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39610 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 52BEDC54764 for ; Sat, 17 Feb 2024 00:17:24 +0000 (UTC) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.web11.626.1708129041898598741 for ; Fri, 16 Feb 2024 16:17:21 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cOO4K5ht; spf=pass (domain: gmail.com, ip: 209.85.210.180, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-6da9c834646so2387102b3a.3 for ; Fri, 16 Feb 2024 16:17:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129041; x=1708733841; darn=lists.openembedded.org; 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=X7EykmVwTp1ldHn+MdqSOYmd9W9NRvO8u3k8TRRNX+k=; b=cOO4K5htwVJpgtvk9UskTecsSZ1W4Ntzs4wl8dY2SNpNc7OCZfWnKM3J04lDiSGz4K fH2Ys+mwVFAlWyAgSSRLsWlTnt20UrOYiPNbq9lq0evSrTMcrScn8BXEF3s8Au1dDQKt alO9k5E53c9cPohK7gtRmSCbGe2/BHtK/bgD29fK6YnEhVKeV/4+H+PAJ1KVvGS5UJrB DmatHD/dcdcKsYxN90BjYMhQBTcU4ZPukdzspaWafkAmcBvuj9FwXzqBFMmXI+Znj6UC selMwTmqMmqIdd6p28cYAXBbdOqytUC53Rcby3mV2hl7T3nY5Rk1e7hLlw5rXHvJ7LE1 8N4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129041; x=1708733841; 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=X7EykmVwTp1ldHn+MdqSOYmd9W9NRvO8u3k8TRRNX+k=; b=Ikwhsjix9KyKDmBAfmOmQAdg4QsG76t7J4QuHAy/GGAYI7Bbd6IMrVeqEjTeRV1cFu jNEq6IDQ9+erY7PwbiTLFA+16ygsBbiZhrbkc+yd13dVn1X7QU9QAEFVwxjdNVfmq46i Inf+1wgBMVfJ6btLKDq/Ry+6Vf8TWTyBthE6dlu4mP+XXicjCkxo68NLIRwUfjKBqVGj +pVe6RvXn5Dm4Kw0Q2Z2cWNk3nBwOOAqtePCLRKBvBDClPI6VURINFm2I6h+D44xlflf zJuj/2U4O22y9OXh3tngpkug/+rRdxy5o1WJwN6l0d46M7AM+uGmQ11Ked1wNDcJsVbj u08w== X-Gm-Message-State: AOJu0Yyl3pAGFfKVSLGNcZpQsmYgVN+ocJonFfvEbSCuwT9Yww83BKQP KBymQ97QCFrMKZyUXMEPYjhME7sffTKmO8ILBs7USwI6C+zgUXIuSTWNAGDS X-Google-Smtp-Source: AGHT+IHpW4ThOmDUDKTZpQjC/jN9WqMnl/BWsDlDuqSqtQP4XzVD4myHDcmJiJIWBRlFQ/j9Cj9VNQ== X-Received: by 2002:a05:6a00:4f59:b0:6e1:7e8:7a55 with SMTP id lc25-20020a056a004f5900b006e107e87a55mr6451444pfb.31.1708129041124; Fri, 16 Feb 2024 16:17:21 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:20 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 54/60] python3-pytoml: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:45 -0800 Message-Id: <0dc564a5cf8576c9ee7d1d6ca8f2a628ce73ed61.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108824 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-pytoml/run-ptest | 2 +- .../recipes-devtools/python/python3-pytoml_0.1.21.bb | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pytoml/run-ptest b/meta-python/recipes-devtools/python/python3-pytoml/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-pytoml/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pytoml/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb b/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb index 0f04a12039..1717085967 100644 --- a/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb +++ b/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb @@ -16,12 +16,13 @@ SRC_URI += " \ " RDEPENDS:${PN} += " \ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-stringold \ + python3-datetime \ + python3-stringold \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39606 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 3A1DEC48260 for ; Sat, 17 Feb 2024 00:17:24 +0000 (UTC) Received: from mail-oo1-f48.google.com (mail-oo1-f48.google.com [209.85.161.48]) by mx.groups.io with SMTP id smtpd.web11.627.1708129043398190167 for ; Fri, 16 Feb 2024 16:17:23 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TKyLczIx; spf=pass (domain: gmail.com, ip: 209.85.161.48, mailfrom: ticotimo@gmail.com) Received: by mail-oo1-f48.google.com with SMTP id 006d021491bc7-59927972125so1611101eaf.3 for ; Fri, 16 Feb 2024 16:17:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129042; x=1708733842; darn=lists.openembedded.org; 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=/veOXdZK9VZsQHdEYcZpfVmGdTkITElCNHaZ32Sg0Nc=; b=TKyLczIxM/ALb9Br+zcpOgm8IZoTqTjwOYCj4G+QqKowXHQND+QSYJt+pBGUlC3nkn GrkA35uMGqzI7jC+R3EWKd1Wb9T1MYI59BHn9kPXZBbtx+WhN5Ek/gMIfmKE+8j2WSQr p7dXn1ymDTu0KguYHPhHI6GSVmJ/8fQIj2/DDBc5KUW5x5MzuukaNV2tY0vB/BrKq6bZ lcri86ARLS5KT3kooYMwfXbt7sH+hJcykLEpsDXZ8DNUuIro7aTncr06amKO7jp4AhK1 R4YrRTFkuFNUebRuhk4TRe0Fz04t56thgU76HDIJXN0yRkJiNn7VsLxa0g/AXFn1F7ST YHjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129042; x=1708733842; 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=/veOXdZK9VZsQHdEYcZpfVmGdTkITElCNHaZ32Sg0Nc=; b=sE55o8xq7ga4pea06WgqKC7CwTr1yweb1wpmMud/are1+VNHe/kAuu5yfe4x1yA1we AF2V4fipfkor7IEKDK8SXtC9z4NBq5EQDxY3Wt+r64WnaaWyOM7hFnglM/w5xRLaxw6W 4qUIs675uC3WiJrckxCPKKkDhwyNo2IuFCR512I0GgcJOC8ZaoB97hf6nw4cG96QZcqb SxloOBQxxx0U1y1bcuO6j29BEfUMl/GMaNXIFwmyKraHOF6hb1666JCu7pAZUjPlB0oX aCJjB/Cf7/JZu1KSNzw/6VY96Fe+x2QLX0zJvZiugcnoqTMBVT3zMieF0x5cHwuvNyNr Gk/A== X-Gm-Message-State: AOJu0YzdybSii7eHNhDdORz/MiVrleHQ9tBGYMGoW7KPnXhH2tMcKH5i mM7HBCTzeE9S+SILJDaB3cv51t7fPMdXlC+tPPe5UsXBvjApmBVLXfYpk3MN X-Google-Smtp-Source: AGHT+IFmyoA3dXX2fUtc+C51Se6uI4x/QIToXS3og5eWUN+U1onyWRFBYof+9K06kWemGgIKdwpCNg== X-Received: by 2002:a05:6358:6f1a:b0:17b:2bc6:e970 with SMTP id r26-20020a0563586f1a00b0017b2bc6e970mr2212175rwn.25.1708129042474; Fri, 16 Feb 2024 16:17:22 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:22 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 55/60] python3-pyserial: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:46 -0800 Message-Id: <7d8bc95a672c8b11103be4f2d5aa06b9d86bc311.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108825 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../python/python3-pyserial/run-ptest | 2 +- .../python/python3-pyserial_3.5.bb | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pyserial/run-ptest b/meta-python/recipes-devtools/python/python3-pyserial/run-ptest index e301963f96..b651411db7 100644 --- a/meta-python/recipes-devtools/python/python3-pyserial/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pyserial/run-ptest @@ -1,4 +1,4 @@ #!/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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb index 15646235df..ade137a385 100644 --- a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb +++ b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb @@ -37,14 +37,14 @@ FILES:${PN}-win32 = " \ " RDEPENDS:${PN} = "\ - ${PYTHON_PN}-fcntl \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-stringold \ - ${PYTHON_PN}-threading \ + python3-fcntl \ + python3-io \ + python3-logging \ + python3-netclient \ + python3-numbers \ + python3-shell \ + python3-stringold \ + python3-threading \ " BBCLASSEXTEND = "native nativesdk" @@ -54,7 +54,8 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39614 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 6667AC48BF5 for ; Sat, 17 Feb 2024 00:17:34 +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.628.1708129044752734663 for ; Fri, 16 Feb 2024 16:17:24 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=g1z8lIDP; spf=pass (domain: gmail.com, ip: 209.85.210.177, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-6de3141f041so2102594b3a.0 for ; Fri, 16 Feb 2024 16:17:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129044; x=1708733844; darn=lists.openembedded.org; 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=tOc5o9fv12Cnfir2XNpD18iQLKzNFewJxuAJS8DftnI=; b=g1z8lIDPU/jw3U1Lge+7s398glzrTJ9Kbo0zSwRISeKZRyRQ9WOkj5SRpTUHxaTLWG lyaF3dxXAb+rbMHsaRCmaQ0KpICqU/rne0iUBspRYMX2H8rZv6Fiyaebhi0kVgu4H6Q0 VUIfrKS4m8Roa+qeKAYdV0MT+oBCurS/cNbiT9XtSD3Ok+Lc/9hJAlf/vB+w5jY3Scre bRtOyDu4TBJxSzQF/U/TtaXlntkhsCHJtPEveqNZZQaUasKCNukrNbRI+lVWQcjdW2+Y cHp+eCy0DZcBo9w9I7Kbd5HZ6hkhefvVG82pPuuc4Lx1FdpLGfQ4Cnuley72Bvw/2Pv9 z+zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129044; x=1708733844; 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=tOc5o9fv12Cnfir2XNpD18iQLKzNFewJxuAJS8DftnI=; b=phBlnQaZeR2FXbS9E2BZGTawIA0i+rZqAMrd7mVfSJ5/nYxOfWrxNBBAx1+tkk26e5 OKlUDQZ4309l5+D3GbHJC0jNcCbgfYbSLZ85EQH8Pj3ELoYD2UlhFHojXmXdICqboDe6 7NtzvOYB1Wg8aHXXB//jx3msaFczdd+L2h5uT8U64ZT9GyXk9tipCq3mdwEA6SfDpmEQ 0KzAm8vcP2ojS2c92U8N+XsyuvlVNFvDzyOc4FG/9fnj3HSTL8XkLy3SCmUeX8XtYUG5 w8nR1ikoGR1NvhrFYganzXkk/NFpb0kI9jNWmHIkPupfnBnWGYwU9mbsCBLZOFcRQGEb I21A== X-Gm-Message-State: AOJu0Yz3x6+/v8ZqqPZ6DmpUA6CYRUQbRCZOQ0zdtURym24/3uVJurE6 uDbEq1YTCImiKsuc6isgwQhMlNCe4/S2FzdnI2suZChSGP8eDlS40zJM/wKT X-Google-Smtp-Source: AGHT+IEpN21Fe0X1I3N7tlHAWl8/hXna16+Z00KjFGtyZ+s6izhVlkf0rAkwjGJRF3uJwG5zKJpsaw== X-Received: by 2002:a05:6a00:9399:b0:6dd:c3fd:45fb with SMTP id ka25-20020a056a00939900b006ddc3fd45fbmr7860512pfb.24.1708129043994; Fri, 16 Feb 2024 16:17:23 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:23 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 56/60] python3-typeguard: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:47 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108826 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-typeguard/run-ptest | 2 +- .../recipes-devtools/python/python3-typeguard_4.1.5.bb | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-typeguard/run-ptest b/meta-python/recipes-devtools/python/python3-typeguard/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-typeguard/run-ptest +++ b/meta-python/recipes-devtools/python/python3-typeguard/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-typeguard_4.1.5.bb b/meta-python/recipes-devtools/python/python3-typeguard_4.1.5.bb index 53a02dc4bc..000620ef73 100644 --- a/meta-python/recipes-devtools/python/python3-typeguard_4.1.5.bb +++ b/meta-python/recipes-devtools/python/python3-typeguard_4.1.5.bb @@ -17,9 +17,10 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-typing-extensions \ - ${PYTHON_PN}-unixadmin \ + python3-pytest \ + python3-typing-extensions \ + python3-unittest-automake-output \ + python3-unixadmin \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39615 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 87286C5475B for ; Sat, 17 Feb 2024 00:17:34 +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.617.1708129046130666378 for ; Fri, 16 Feb 2024 16:17:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Tbuslgxe; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6e10e50179bso1946504b3a.1 for ; Fri, 16 Feb 2024 16:17:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129045; x=1708733845; darn=lists.openembedded.org; 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=mtBSct6lnjLiVFI9huXMJ5nXIsaCH4wBBP9+bGQUcQc=; b=TbuslgxeJ1QPfmkug8/aMFhtdzZAA/0R6loTssBiAFrpVrpvU0URCEn4z+5Xau+w3i 5Plo6F0eQcIR5w9fpt4PTxXSE8C1wl3tgjGVypVRGzC5sMq+Eyfoy9POZY0gbSeNGMw9 /gHDTNTizjcUnIB+b9NoxwNKog4WOYSmwoy6JXQHITnHUOUqUjmV/Myugu6puHFF77aS zVAL6jY4ZKsy54+ciNWYg49vqs94ystpKDWcfQptZg9Wt0enG1Nt4zcQjW90xwaLgX9i pPD3Cdz4/zAjKir7xP8PAP+dfVB/XyvtokzvnLr1Rt/kZcrBIJGb4eRzaNaFv8jlPBf9 THGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129045; x=1708733845; 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=mtBSct6lnjLiVFI9huXMJ5nXIsaCH4wBBP9+bGQUcQc=; b=VwUeLbO3tIyXSuVISwybsoCyuMbXXoh2FvnuK7gt6RDD6dz2RWphHK0a2HUOEWprXe Xkyehj+DrIkoYkl/Ixc7Mv6DHA0SincBssDqkQfuOnAbMDfqbrSQwIttxbHVRCd+56Sm WRtt4LTKIs9Z/UV37lXi4Ch33V0nOyCPrJyJqwitRO5VGZNHHCXrn24gyPHxEX0I1yxg uVdjrgrBHLbdIQ6mwmcQMZGSNKeBGkT2Tfso9Phr7HlPYliJ4neZOVSsKZTZus5IMEjj UX+c0NFOtlFbzXiFgNb6PcNFShyeJ1nnYmZySoTIXtE12pjRCDNYRIZ2HGaHLk2o/MxN N1ow== X-Gm-Message-State: AOJu0YxNN2R4wCPukmBNsbdQKR0gJBSdiCrRwBBQb31OU79vAxYrdie0 Ssdaf1kM0I1bUK6kZM+HpksobVnoHYCRKVBvuq5h6EC8RApbxHI2TUVY5yYT X-Google-Smtp-Source: AGHT+IG9PIo7RDyOnuwy/Jf8l37tCxbcNx11+6OXqiX6inwDdCfHtvY3qJfTKGx8LR0qZTM+DZ5Dzw== X-Received: by 2002:a05:6a20:6f8e:b0:19e:4a68:46d0 with SMTP id gv14-20020a056a206f8e00b0019e4a6846d0mr7326546pzb.60.1708129045361; Fri, 16 Feb 2024 16:17:25 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:25 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 57/60] python3-execnet: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:48 -0800 Message-Id: <18c5feb1d6c159b9b972ee048ae1b2f63570d396.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108827 Signed-off-by: Tim Orling --- meta-python/recipes-devtools/python/python3-execnet/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-execnet/run-ptest b/meta-python/recipes-devtools/python/python3-execnet/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-execnet/run-ptest +++ b/meta-python/recipes-devtools/python/python3-execnet/run-ptest @@ -1,3 +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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb b/meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb index a934d1c461..78a15d3572 100644 --- a/meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-execnet_2.0.2.bb @@ -24,6 +24,7 @@ do_install_ptest() { RDEPENDS:${PN}-ptest += "\ python3-pytest \ + python3-unittest-automake-output \ " RDEPENDS:${PN} += "python3-core python3-crypt python3-ctypes python3-fcntl python3-io python3-shell python3-threading" From patchwork Sat Feb 17 00:15:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39616 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 7F477C48BF6 for ; Sat, 17 Feb 2024 00:17:34 +0000 (UTC) Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mx.groups.io with SMTP id smtpd.web11.632.1708129047352791269 for ; Fri, 16 Feb 2024 16:17:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=d948jCVF; spf=pass (domain: gmail.com, ip: 209.85.215.178, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f178.google.com with SMTP id 41be03b00d2f7-5d8b70b39efso1304650a12.0 for ; Fri, 16 Feb 2024 16:17:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129046; x=1708733846; darn=lists.openembedded.org; 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=FaVfmDHbDZu3xG2A5Mtwi+xHXL1VoYza2JZwsli4A+A=; b=d948jCVFdOKzAoxEFL4ikFfVLQJEkwrjxdXEb73pc8HKp6CymH7XQxybvBS04f7ME3 IqetqcPgQg8OEIZF1P1jnI8GfgMVh9eYFH4ngTBVEv+Y1NtUKRfkfv3kYAYLOh/KkGW3 y622HjpNtJRAbR1nr20Gl3gV222ZEemZZfRV2xXEZTrYaK6B1zJFlthIx/4keRVy+ahV +I19oYptHwZsHC70Omf627s62RzcRG3bI/DjeqpxS9u6UE/XgOrDBytMLQ78NpRNAt/8 M4mwckCQ77+zoUIN/YFdycxZxIzM5LrF8M7LVRjdyGdches7lCdInJwsqT78vcvMeLFE Ulag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129046; x=1708733846; 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=FaVfmDHbDZu3xG2A5Mtwi+xHXL1VoYza2JZwsli4A+A=; b=hOetW7hsO28uaVqm6LCSWDKy03BHLdbLuwZwy+qx8UR1z++JvfP77BI1O7d/KFwkG/ 53QxnTtdeXIwHdhOZ6L7EGTy8iIeZvIIlHsqcLKYXVw2fmIxICX4gQHmwf7ZualGBpXz I7Wu/w8N5fTUoATuJ61i87aBLWDIzE/WjOWdCGq+gjyRu3Es8U5yh6mlYV8BdoL6p/rg MiKloScexm/hZP627MjTE3QmRaLFbJ/1qpU6hl7Wg1Ikw+v+fLn0Bn0lnuXlY1Uy0Sj9 9zjjk0nvI+Pkiqeo16labRbJx4rENOCh/4EHwNdV9MUC42PPmCqMQwTjb+BMeCx0JIlU nKoQ== X-Gm-Message-State: AOJu0Yy1mb4fuIZp7ln3hgCPx20EaaP72JhI+5f44W2O33LU9jy6EhSQ P8Uyk+MImLSRunsuq8owak9f9syrYNHOACUrUa3RxkPYsiL9CUczQcFB0J4L X-Google-Smtp-Source: AGHT+IEKSVtXvnvd8DUuQJUu13Xw1j1xDfKN2JPRCLkNMR1Qr10hP11cADyTPYix2yVafKPqtAjyNg== X-Received: by 2002:a05:6a21:8ccc:b0:19c:881d:78e6 with SMTP id ta12-20020a056a218ccc00b0019c881d78e6mr7158628pzb.42.1708129046583; Fri, 16 Feb 2024 16:17:26 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:26 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 58/60] python3-pyyaml-include: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:49 -0800 Message-Id: <23d168a9449dbce282168b8bce5792e99cca2c4c.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108828 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- .../python/python3-pyyaml-include/run-ptest | 2 +- .../python/python3-pyyaml-include_1.3.2.bb | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest b/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest index 3385d68939..8d2017d39c 100755 --- a/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest @@ -1,3 +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/SKIPED/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}}' +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb index 9bfaa21946..3a5bd99a78 100644 --- a/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb +++ b/meta-python/recipes-devtools/python/python3-pyyaml-include_1.3.2.bb @@ -2,7 +2,7 @@ SUMMARY = "Extending PyYAML with a custom constructor for including YAML files w HOMEPAGE = "https://github.com/tanbro/pyyaml-include" LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504" -DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +DEPENDS += "python3-setuptools-scm-native" SRCREV = "36b6975aa8fc7a6cbf37de40aa2ed6d996b2f7be" SRC_URI = " \ @@ -20,9 +20,10 @@ do_install_ptest() { } RDEPENDS:${PN} += " \ - ${PYTHON_PN}-pyyaml \ + python3-pyyaml \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " From patchwork Sat Feb 17 00:15:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39613 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 66642C48260 for ; Sat, 17 Feb 2024 00:17:34 +0000 (UTC) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.web11.634.1708129048659901561 for ; Fri, 16 Feb 2024 16:17:28 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dU58BwDl; spf=pass (domain: gmail.com, ip: 209.85.210.180, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-6e0fc87fc2dso1691208b3a.3 for ; Fri, 16 Feb 2024 16:17:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129048; x=1708733848; darn=lists.openembedded.org; 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=cyD72Q8ayNSD6xJ+RyBt0AQ/3raqnWF1XdA5Uk1RxHk=; b=dU58BwDlGf0Or+l8f/jM2YheRl1d/Nyigs6bKXbZknldmgXFlxrUR9DSsMqqjHcybT suTy4R+PMNoNPMQinpJjfyqI9ZRbNBElsbTDOygok+sGhinzm3qDYhRE3YKorryiWof8 VSLcglVFusNi2KhhnvPFSLI3Wx8YQfsNiMpESuW0a3AIvXEc/qdyVO8Gio3duezHC8AB qDf6IZ/Fn+SH5YL54t2AIWy4oLgqyMk6T/KZxTSafy6jVdxUSVzrtixRXJ8WP8HCo6Gb Whsk/LFEy51cWTIvmMWdTqMAA+nYuHxCIwUkHnQprSiC7wcoZ/d1HQ5zsvJAjM1kFZAq StMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129048; x=1708733848; 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=cyD72Q8ayNSD6xJ+RyBt0AQ/3raqnWF1XdA5Uk1RxHk=; b=T4k99tAeBQ6xr+g/KqrLYjLe8DzmF8wsKr6OcG4+zf+u9dkPfIXXqKQ0VGO2LxLj2t A4wVQxfknz6MzLWVqy41zhB2z487UgPlJ8ongcRyHDrAP+EZSwLVsHnr5WQWbwRu+ZpP YLoMbZeobGJow0ZK16lrLkIfXwRdo3BlZoRpEXOsxiYjMlVcfrJHaSbRjXc40XbvdZ/1 txJlGxzo03wlnnuHb1f0HY7XlKHoTFFKwtdsQEGZNA5DehvJcdRNabdtRjmKAuNyxwLj E7YN9O79QyW5AFAB8YYIONjqX+8+wmY6nZWF2w5mwZSXl9j/uNkkmqKXnGUAbKdYjdau xsjA== X-Gm-Message-State: AOJu0Yz22nr8JKpQtyCdIl8BxOJ1ekgGnDD8ae4XrVL1DZ80vER3wHRR WLvN5dB9J2/UzzA9fISHPd2e2UPm638ObvY3NolChv8QKBhcD0h5tkBpvg/a X-Google-Smtp-Source: AGHT+IGYbia2/z7wcAeO2x5IcnNU4ZysmilOjmAhlY9yBrh6+QOMKdHMACun0k4VNCYTbvcp78J0Bg== X-Received: by 2002:a62:e10d:0:b0:6e2:9ff2:19b1 with SMTP id q13-20020a62e10d000000b006e29ff219b1mr471608pfh.13.1708129047889; Fri, 16 Feb 2024 16:17:27 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:27 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 59/60] python3-xxhash: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:50 -0800 Message-Id: <558e9c55f5534f1cd79bfb75954dea87eb4c7e85.1708127759.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108829 * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling --- meta-python/recipes-devtools/python/python3-xxhash/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-xxhash_3.4.1.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-xxhash/run-ptest b/meta-python/recipes-devtools/python/python3-xxhash/run-ptest index e398fa8ca0..72c918c1a1 100644 --- a/meta-python/recipes-devtools/python/python3-xxhash/run-ptest +++ b/meta-python/recipes-devtools/python/python3-xxhash/run-ptest @@ -1,3 +1,3 @@ #!/bin/sh -pytest tests/test.py -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/SKIPED/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}}' +pytest --automake tests/test.py diff --git a/meta-python/recipes-devtools/python/python3-xxhash_3.4.1.bb b/meta-python/recipes-devtools/python/python3-xxhash_3.4.1.bb index 4050d12eb9..be9ce005ea 100644 --- a/meta-python/recipes-devtools/python/python3-xxhash_3.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-xxhash_3.4.1.bb @@ -14,7 +14,8 @@ SRC_URI += " \ inherit pypi python_setuptools_build_meta ptest RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Sat Feb 17 00:15:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 39617 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 73EB8C48BF8 for ; Sat, 17 Feb 2024 00:17:34 +0000 (UTC) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.web11.635.1708129051200259083 for ; Fri, 16 Feb 2024 16:17:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GHyWgozq; spf=pass (domain: gmail.com, ip: 209.85.210.178, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6e0aa4bb62fso1568412b3a.1 for ; Fri, 16 Feb 2024 16:17:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708129050; x=1708733850; darn=lists.openembedded.org; 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=L5DBVqnUzwqE62otUyIs/MftHxzv6/UQY5jJgLDcpcw=; b=GHyWgozqi42/1GGqB+3Zt7vAwKZfqpn2yEImfRtSNHiHIjK/EbItzT45iZmw3Nnd2M 8fY2vLYsOaQSn6agIThfwMaJD9N1PMAHujK36ErKaW4O49Hn4ZIb1dqsNyqUZeMBIy3Y 98uCvjS7D7XBcCsycRQuQsnNiiw+D/Zh1thwdXQIO8CCDjQqkl++wv6EtH/aFb+WmpC5 G5b12PqZRbNBe2TOfgZ6YDwbxMUDLXGe5ailV7LBn/BtuqEo8VM3WilfYnfSaBQP5vA1 9zxUULacHu/T3DABLHZ1GGFHJyh6F7epPP9GGqFQbV3nNbdu7+J560bZR37GpH6pnleB xuOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708129050; x=1708733850; 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=L5DBVqnUzwqE62otUyIs/MftHxzv6/UQY5jJgLDcpcw=; b=XzChUB1ZVJ6t5sIZemBOw1YoYYYbUuJkWD/1uzdQJ+t+g3OJFB+WvnMR40s3lkiJcf FB8gFfA4/28MZ0DsDM7G5S36DIVURoFeMjtDhddra5WXPYraUAMk+Q6clO2RkBkwcDIb U2SLucXDuyue5gwMEe78LX3inos+IXAb3flHVORQ6ZplCf9Ugk6CoRMQ8WfRCeKXBsVD yHNeRwuR6S6IFlhYpGXB61LYzIvxZLPlCPMIn5VmZl7gGKK+wFmMcJEKGCMWXiBE2qpu Lo6C0UwET5Izl8anM44um3hzhgbofKp87qXOkwxvhP2EY4Tra15vRdvNdi9U2sInMYbV zfsA== X-Gm-Message-State: AOJu0YwAwNBRk8jV/gE3PBftqqQJ8wmjb88lTGODC9zo079LTyEX/vwx ozgudbI4Y0yf2yyYp7y3UX632et1IktcqA5cprEKPHXaTI/sBlPrgclELS2i X-Google-Smtp-Source: AGHT+IHZ2GH5E+fNu04FpsgRFVyjvaIQtKxR+1wtQwylcKeOuuzYJjOi68+zydqTYVMybOtq9ArQSA== X-Received: by 2002:aa7:84d8:0:b0:6e2:497f:abb6 with SMTP id x24-20020aa784d8000000b006e2497fabb6mr545738pfn.0.1708129049547; Fri, 16 Feb 2024 16:17:29 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0::d846]) by smtp.gmail.com with ESMTPSA id kt22-20020a056a004bb600b006e0825acbc3sm514781pfb.77.2024.02.16.16.17.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:17:29 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 60/60] python3-pylint: switch to pytest --automake Date: Fri, 16 Feb 2024 16:15:51 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Sat, 17 Feb 2024 00:17:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108830 * Also replace ${PYTHON_PN} with python3 * Sort all REDEPENDS alphabetically * Drop trailing whitespace Signed-off-by: Tim Orling --- .../python/python3-pylint/run-ptest | 2 +- .../python/python3-pylint_3.0.3.bb | 56 ++++++++++--------- 2 files changed, 30 insertions(+), 28 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pylint/run-ptest b/meta-python/recipes-devtools/python/python3-pylint/run-ptest index 2a4e87e03a..ed424cb879 100644 --- a/meta-python/recipes-devtools/python/python3-pylint/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pylint/run-ptest @@ -1,3 +1,3 @@ #!/bin/sh -pytest --benchmark-disable -vv --minimal-messages-config tests/test_functional.py | 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}}' +pytest --benchmark-disable -vv --minimal-messages-config --automake tests/test_functional.py diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb b/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb index cc33edd829..eb4b9e897f 100644 --- a/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb @@ -10,34 +10,36 @@ SRCREV = "1a5ffc1f447b77071ffe18a9c6836c09147ee2ed" inherit python_setuptools_build_meta ptest -RDEPENDS:${PN} += "${PYTHON_PN}-astroid \ - ${PYTHON_PN}-dill \ - ${PYTHON_PN}-isort \ - ${PYTHON_PN}-mccabe \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-platformdirs \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-pkgutil \ - ${PYTHON_PN}-difflib \ - ${PYTHON_PN}-netserver \ - ${PYTHON_PN}-tomlkit \ - " +RDEPENDS:${PN} += "\ + python3-astroid \ + python3-difflib \ + python3-dill \ + python3-isort \ + python3-json \ + python3-mccabe \ + python3-netserver \ + python3-numbers \ + python3-pkgutil \ + python3-platformdirs \ + python3-shell \ + python3-tomlkit \ + " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-core \ - ${PYTHON_PN}-git \ - ${PYTHON_PN}-py \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-pytest-benchmark \ - ${PYTHON_PN}-pytest-runner \ - ${PYTHON_PN}-pytest-timeout \ - ${PYTHON_PN}-pytest-xdist \ - ${PYTHON_PN}-requests \ - ${PYTHON_PN}-statistics \ - ${PYTHON_PN}-tomllib \ - ${PYTHON_PN}-typing-extensions \ - " + python3-core \ + python3-git \ + python3-py \ + python3-pytest \ + python3-pytest-benchmark \ + python3-pytest-runner \ + python3-pytest-timeout \ + python3-pytest-xdist \ + python3-requests \ + python3-statistics \ + python3-tomllib \ + python3-typing-extensions \ + python3-unittest-automake-output \ + " S = "${WORKDIR}/git" @@ -46,7 +48,7 @@ do_install_ptest() { cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript - # regression_distutil_import_error_73.py fails to run see + # regression_distutil_import_error_73.py fails to run see # https://lists.openembedded.org/g/openembedded-devel/topic/103181847 rm ${D}${PTEST_PATH}/tests/functional/r/regression_02/regression_distutil_import_error_73.py }