From patchwork Fri Feb 16 15:22:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 39532 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 578B9C48260 for ; Fri, 16 Feb 2024 15:23:31 +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.21345.1708097004839682907 for ; Fri, 16 Feb 2024 07:23:24 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.161.51, mailfrom: straka.derek@gmail.com) Received: by mail-oo1-f51.google.com with SMTP id 006d021491bc7-59d489e8d68so309510eaf.2 for ; Fri, 16 Feb 2024 07:23:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708097003; x=1708701803; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WysB4CPIx2pjdcYAN5DRcxp69Zrzud9milxFg6fjO9k=; b=J/CuN04Gf5rEb/fw+shwUtDbjbDAn4Tsb5VwQxLMUsAdiK6ytKRWWaOMO0wge8qur8 6uN4SB6RxTAKpop2RHeQRaYWVQ2q+OdvOtvi/P5InfqZ/urGpLLfJyYCAx8hGXNsjoet /gO3S8s6skr0M6ZOol1F3xqR+0d0661ai8YiDOp/zvl8s6MzAs3XYQaEZvcuaihlqSNX 05K3okRc4rjJyiAOzEJ11BDfL4BkMVYhKMFNBndY2UcWVP8qfANm7hTrlBvdJgUKYJFd pfBG9luW7+qhQNYDi8vE/6TjQ7AhEWtb7E+84E/c+Kq5XEHdDgyWH6Idk9J3BM5BYhFY gvSA== X-Gm-Message-State: AOJu0Yy9Re5GaCacn5I9lwHa9LWKLmvBDRE1PdJb/AzvtdAZuKr2HRUR Q4DXStbpsxGRLuHMLqIaQeeRwyWJAA0d/tnA3Js134dL40+QIpL2nwQsAq6fopU= X-Google-Smtp-Source: AGHT+IEeyjxi6qriH0uBjn05YB3R2f+pFoxXkYH9kBeHKOvMKhQewZ+aJYJ/s0nbzAwZYNwdH/zt5Q== X-Received: by 2002:a4a:bb07:0:b0:59f:91de:26ce with SMTP id f7-20020a4abb07000000b0059f91de26cemr3360896oop.8.1708097003440; Fri, 16 Feb 2024 07:23:23 -0800 (PST) Received: from sparta.internal.asterius.io (c-73-228-213-122.hsd1.mn.comcast.net. [73.228.213.122]) by smtp.gmail.com with ESMTPSA id k1-20020a4a9101000000b0059a14309a29sm13648oog.16.2024.02.16.07.23.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:23:22 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [meta-python][PATCH 1/3] python3-appdirs: add ptest into PTESTS_FAST_META_PYTHON items Date: Fri, 16 Feb 2024 15:22:58 +0000 Message-Id: <20240216152300.2587130-1-derek@asterius.io> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 16 Feb 2024 15:23:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108767 Verified successful test run using bitbake meta-python-image-ptest-python3-appdirs on qemu86-64 root@qemux86-64:/usr/lib/python3-appdirs/ptest# ./run-ptest ============================= test session starts ============================== platform linux -- Python 3.12.1, pytest-7.4.4, pluggy-1.3.0 rootdir: /usr/lib/python3-appdirs/ptest collected 3 items PASS: test/test_api.py::Test_AppDir::test_dirs PASS: test/test_api.py::Test_AppDir::test_helpers PASS: test/test_api.py::Test_AppDir::test_metadata ============================== 3 passed in 0.19s =============================== Signed-off-by: Derek Straka --- meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 44704208e..a96009ab9 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -7,6 +7,7 @@ # # ptests which take less than ~30s each PTESTS_FAST_META_PYTHON = "\ + python3-appdirs \ python3-ansicolors \ python3-asgiref \ python3-aspectlib \ @@ -62,7 +63,6 @@ PTESTS_SLOW_META_PYTHON = "\ " PTESTS_PROBLEMS_META_PYTHON ="\ - python3-appdirs \ python3-betamax \ python3-dnspython \ python3-fastjsonschema \ From patchwork Fri Feb 16 15:22:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 39533 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 588EDC48BC4 for ; Fri, 16 Feb 2024 15:23:31 +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.21346.1708097006185641964 for ; Fri, 16 Feb 2024 07:23:26 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.161.47, mailfrom: straka.derek@gmail.com) Received: by mail-oo1-f47.google.com with SMTP id 006d021491bc7-598699c0f1eso568308eaf.2 for ; Fri, 16 Feb 2024 07:23:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708097004; x=1708701804; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Tc+bVrcSfav3CjvbmfLgOmf4fi4VtRnlwtfgJIrUxYc=; b=uvL5jutgcdukdydgMtBCcXBls6I/q+OG0J63KERUxTZYQoX/HZqF73olgkvO2g/7us qi27zazaF9RmEm112EB0Sdp5a+VK2hZnOYVmPYJhw+CPzFHZ1dyJOpo/ey5cRDN/Rvvx 4x81dIgQyXHMb6h1eQJKkNQAc218rTOtnnBNRVb94bPCr1So1RhErcu+cxMB/KCZhP+D jRD4Xjsy8nQE/fJBMctGQBIZEB0jUsNxmf7diljTOJaRSLeRh8w6r0A/MWizn938ZD+y ZwDRbqk0gtF/2CdXcZo2QjjHSNHBsB62k4C+uexZa3JNKAbsgMLXswkAcECdQP8hNemZ zxSw== X-Gm-Message-State: AOJu0Yzm+z3eQKh/p6JPD4Wazsygsf3fLnyIxhhkJTT0RGKyzcFu8GwG iupB4XSJXz0PZcnXbX+0kkiXGsX5ZbQu6LINpWFddEMdTpUspHOvXQwyLHhXa+Y= X-Google-Smtp-Source: AGHT+IELk/pyl98qYUOj/X+LrLVH3tPpgmVnkjdxD3nwqSnhu7GUGDmlDHXI2QiG5fC/yGssNynMvw== X-Received: by 2002:a4a:6245:0:b0:59d:c3a:d6a0 with SMTP id y5-20020a4a6245000000b0059d0c3ad6a0mr5474299oog.4.1708097004637; Fri, 16 Feb 2024 07:23:24 -0800 (PST) Received: from sparta.internal.asterius.io (c-73-228-213-122.hsd1.mn.comcast.net. [73.228.213.122]) by smtp.gmail.com with ESMTPSA id k1-20020a4a9101000000b0059a14309a29sm13648oog.16.2024.02.16.07.23.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:23:24 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [meta-python][PATCH 2/3] python3-yarl: add ptest into PTESTS_FAST_META_PYTHON items Date: Fri, 16 Feb 2024 15:22:59 +0000 Message-Id: <20240216152300.2587130-2-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240216152300.2587130-1-derek@asterius.io> References: <20240216152300.2587130-1-derek@asterius.io> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 16 Feb 2024 15:23:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108768 Verified successful test run using bitbake meta-python-image-ptest-python3-yarl on qemu86-64 1106 passed, 5 xfailed in 22.83s. xfailed tests are known failures upstream Signed-off-by: Derek Straka --- meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index a96009ab9..67e861ba8 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -55,6 +55,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-uritemplate \ python3-xmltodict \ python3-xxhash \ + python3-yarl \ " PTESTS_SLOW_META_PYTHON = "\ @@ -86,5 +87,4 @@ PTESTS_PROBLEMS_META_PYTHON ="\ python3-whoosh \ python3-ujson \ python3-xlrd \ - python3-yarl \ " From patchwork Fri Feb 16 15:23:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 39534 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 65F5FC48BEF for ; Fri, 16 Feb 2024 15:23:31 +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.web10.21348.1708097007117616824 for ; Fri, 16 Feb 2024 07:23:27 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.161.48, mailfrom: straka.derek@gmail.com) Received: by mail-oo1-f48.google.com with SMTP id 006d021491bc7-59fa37c33dbso238757eaf.2 for ; Fri, 16 Feb 2024 07:23:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708097006; x=1708701806; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VRs0u1AQtrBKtlnF1ElyRotMGoLu0llOk0n/0IgY1VU=; b=xDFvB+uxf93/nCdANRmYdhw5itFP/cae4s3dk9GvxsxMBJJ9z464rl/aaSIQU+w8qj w59piLEbeNuCjtse6vc9FnbI0dKjgSQ39FKK4V+HcKyLzRl52ahcKZbL5Ng1dO4WL0Xy qQRtB+Abv/oNdvm4EVATdLXjbYjFo/hcgoySmyz1Zkf+DETUfRZ0tEwE3ogxnDp/9zhe SxUre6lhUFvUv/jr0rSzcW4KjcNOEq/QnxNJkLFqALmA5KcwR/HMUy379KQzZzA0iASn kUxqkEjXWEjupskYxwRewkqQfxmLPWoB5f5t71pYAJGJcqoYEJmtSFl0ORUu15Kcu6HB mD7w== X-Gm-Message-State: AOJu0YzebiN/OQRdcXtaENZrDi+ezRvlQsNzouXEw85daoBnWh65cD4G obBXf8nYI5jDwyu/RMenVNWUugwOBcP0GUzDHl9VNYhf6HRA3S472QSsOZXjr5I= X-Google-Smtp-Source: AGHT+IE6Zt0nGRqU5zkuX01uLVEqQkk1KZHx1lugMjnKrmFE4MbJIVFCSBY3Ru5FK0z4ZoWft7070A== X-Received: by 2002:a4a:384f:0:b0:59a:96a1:289d with SMTP id o15-20020a4a384f000000b0059a96a1289dmr5662799oof.3.1708097006061; Fri, 16 Feb 2024 07:23:26 -0800 (PST) Received: from sparta.internal.asterius.io (c-73-228-213-122.hsd1.mn.comcast.net. [73.228.213.122]) by smtp.gmail.com with ESMTPSA id k1-20020a4a9101000000b0059a14309a29sm13648oog.16.2024.02.16.07.23.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:23:25 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [meta-python][PATCH 3/3] python3-ujson: add ptest into PTESTS_FAST_META_PYTHON items Date: Fri, 16 Feb 2024 15:23:00 +0000 Message-Id: <20240216152300.2587130-3-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240216152300.2587130-1-derek@asterius.io> References: <20240216152300.2587130-1-derek@asterius.io> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 16 Feb 2024 15:23:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108769 Verified successful test run using bitbake meta-python-image-ptest-python3-ujson on qemu86-64 291 passed in 9.08s. Signed-off-by: Derek Straka --- meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +- meta-python/recipes-devtools/python/python3-ujson/run-ptest | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 67e861ba8..598548262 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -50,6 +50,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-soupsieve \ python3-sqlparse \ python3-tomlkit \ + python3-ujson \ python3-u-msgpack-python \ python3-unidiff \ python3-uritemplate \ @@ -85,6 +86,5 @@ PTESTS_PROBLEMS_META_PYTHON ="\ python3-trustme \ python3-typeguard \ python3-whoosh \ - python3-ujson \ python3-xlrd \ " diff --git a/meta-python/recipes-devtools/python/python3-ujson/run-ptest b/meta-python/recipes-devtools/python/python3-ujson/run-ptest index b1539453a..b63c4de0d 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 -python3 tests/test_ujson.py +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}}'