From patchwork Fri Feb 16 16:15: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: 39535 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 1F7D3C48260 for ; Fri, 16 Feb 2024 16:16:40 +0000 (UTC) Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by mx.groups.io with SMTP id smtpd.web10.798.1708100190904276971 for ; Fri, 16 Feb 2024 08:16:30 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Nl1hrFC8; spf=pass (domain: gmail.com, ip: 209.85.215.173, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f173.google.com with SMTP id 41be03b00d2f7-5bdbe2de25fso1862684a12.3 for ; Fri, 16 Feb 2024 08:16:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708100190; x=1708704990; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/FFKmH5DTfcgMdYrrQv5b7ycHbr619omXQSEaMSE5UA=; b=Nl1hrFC8XNlyJrZYqBUUHIN9pzNrmjvk0aEHfuqw5geuwFX0dsStbSA5GbwDj9MmvD qzONOxCramwUOoUv09trODQEl7Q9bnogtLxGa7KgoaljnzDTxZGEy03ZfmnxfgpZL355 Br/5q8YpJI+/zgc3sKR8eBJkViIm2LsBDQF59Mikk/xHWIQuiHjQWH3I3miLaSrIvxZ0 vnvsFjUIPYRQPtSldNg7c6m2qv+V+c98myOFt8eswJzqy4r8RN/5yRDGfpoeNEVlcMbq TpTtE/CWj0SXdebr4d8i1rSfilivSTIYEwMOpsXJxMcVHeQ3yTHqnr7S9hdjgd9m5Go3 PUNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708100190; x=1708704990; 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=/FFKmH5DTfcgMdYrrQv5b7ycHbr619omXQSEaMSE5UA=; b=UaLcu/mhFEInoP8gxe88fY0dB92k300z/AQ/36eRnbH1cuZS/sN7/jjrxI8ggXrbUU oX14OzXaY4N0mCYWyAdaYC+JuBSVEx4B+4ubw/bL5zlY0Av1kiSwxzY9zB4b6J25eVMr Pk4cOj4cBUoXn959AWFCGKQfqPfnaW2Yk++Vbaq03CJxo/RHHCtDZ38to3BShVkfs0CF dzIFh7AserPosOAgN2bh8wk8i4h4lZ8P4C6h0zQZLgVXv6vsoQf2TL+Eod6GE2MLjutq MKORYnAJBHkWsTJVRqEvGaOWPJYIybyMNTSEJN9S4VZlbqPBJ/2g+j7WLmk8vM2UR0Nr 0Vug== X-Gm-Message-State: AOJu0YxsbtdYgsJLXQWBkQrTukcd0oUT8ot/TYGDQaEx4GGnEn8bCkpw omXcpoeWHVPYWT4DHUXIOTqoKolY7jxyeS/r+dkdZWoZybI6qIaZJYJo3gXa X-Google-Smtp-Source: AGHT+IHLGOvqL8dX/Ddx6h/8EXLzxXFfwSE1ax9NjPRxzKsw8FR3F3/fIS1vdIEY5vIkINZITIngFw== X-Received: by 2002:a17:90b:1017:b0:299:3236:734 with SMTP id gm23-20020a17090b101700b0029932360734mr2510648pjb.42.1708100189998; Fri, 16 Feb 2024 08:16:29 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0:ef9e:327e:12eb:73bf]) by smtp.gmail.com with ESMTPSA id w3-20020a17090a528300b002990d91d31dsm198925pjh.15.2024.02.16.08.16.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 08:16:29 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Cc: Wang Mingyu , Tim Orling Subject: [PATCH 1/2] python3-pytest: upgrade 7.4.4 -> 8.0.0 Date: Fri, 16 Feb 2024 08:15:54 -0800 Message-Id: <20240216161553.3217554-2-tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240216161553.3217554-1-tim.orling@konsulko.com> References: <20240216161553.3217554-1-tim.orling@konsulko.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 16 Feb 2024 16:16:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/195778 From: Wang Mingyu Changelog: ============= #11842: Properly escape the reason of a skip mark when writing JUnit XML files. #11861: Avoid microsecond exceeds 1_000_000 when using log-date-format with %f specifier, which might cause the test suite to crash. Signed-off-by: Wang Mingyu Signed-off-by: Tim Orling --- .../python/{python3-pytest_7.4.4.bb => python3-pytest_8.0.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-pytest_7.4.4.bb => python3-pytest_8.0.0.bb} (93%) diff --git a/meta/recipes-devtools/python/python3-pytest_7.4.4.bb b/meta/recipes-devtools/python/python3-pytest_8.0.0.bb similarity index 93% rename from meta/recipes-devtools/python/python3-pytest_7.4.4.bb rename to meta/recipes-devtools/python/python3-pytest_8.0.0.bb index 18062c8fb85..994f6cbdaf5 100644 --- a/meta/recipes-devtools/python/python3-pytest_7.4.4.bb +++ b/meta/recipes-devtools/python/python3-pytest_8.0.0.bb @@ -5,7 +5,7 @@ DESCRIPTION = "The pytest framework makes it easy to write small tests, yet scal LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=bd27e41b6550fe0fc45356d1d81ee37c" -SRC_URI[sha256sum] = "2cf0005922c6ace4a3e2ec8b4080eb0d9753fdc93107415332f50ce9e7994280" +SRC_URI[sha256sum] = "249b1b0864530ba251b7438274c4d251c58d868edaaec8762893ad4a0d71c36c" DEPENDS += "python3-setuptools-scm-native" From patchwork Fri Feb 16 16:15: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: 39536 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 1E112C48BEF for ; Fri, 16 Feb 2024 16:17:10 +0000 (UTC) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by mx.groups.io with SMTP id smtpd.web11.806.1708100225385185573 for ; Fri, 16 Feb 2024 08:17:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=D/2ZerW9; spf=pass (domain: gmail.com, ip: 209.85.216.45, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-296dcd75be7so1814134a91.2 for ; Fri, 16 Feb 2024 08:17:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708100224; x=1708705024; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EKymF1tnbOFjYo1S3h+eVOF9vuTYx0NNK7/OcCzAvJ8=; b=D/2ZerW9csCK0MzP6PWKWz3SSMoSjCg9t5mW89C3E8w4klVo0dcT9GH3ZA1p0eEwSi tx/L9QAdgjbSexhMiVqp8LyAFIk44eCJh+W3uK3xpx2aE73qglKxpEs20xvlRqL1dMww UEihl5yToCAWdML0wh4XkpnZvZEMbeFMH/RlgrOM+pjHCrAkFBcBfVXJdaZ0vWfMdlbJ x6ONeP7bhT8a6k1GjnkT+Qvl1YekyGT/p4lKq+hVHMTWO8rBNhyzoxOcf3iarJAeObtV SAE1JLuGBep58NJQdtEENxQZw2q0tvx6uRjA0AgWRqik2x/dpadGew958AbCuUgC+iqN 8nGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708100224; x=1708705024; 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=EKymF1tnbOFjYo1S3h+eVOF9vuTYx0NNK7/OcCzAvJ8=; b=hel8BdXxTkwHprZM7pBAme4CvrnhlhkUXxDYPRvMtXJfzrJHGRMoIST66MuNHWmUBK bBL3G+rtjmEao1c2EbH3vB1QaTHJCnZcxlz0X+rm/tZxcTVp9F0AsMlNlAZi+VfD73nv V4L9V6i9pNWeIJ8DYqQqyHGPOewCqwenR/0JYMFT2OXdS5la7060zHkBnzkWNQdjtxwZ dqZiu+H+DdIZoVdbVzksfKEaXP5GrmID6anVpYcBZudhD2D9TAFXXVTcLxsFSggD19T8 +X/wI47561EB4Vw/x9DHv/LPG4SNeUM5x/fmmu3ADpEVCF+xdWE0J9pSQG1lOnZWPebB ByCA== X-Gm-Message-State: AOJu0Yw5KksBy+Yygf5VQoM/tWGPX1QRtV2kcmHz6Hghl4jQjeYsN1Eh nYIYaRi6D7JCxIthtRQkTQgvlv3/2OAhljUKiH9gEsBwbH15/4Uw8qmSqIEu X-Google-Smtp-Source: AGHT+IHeNv+E9sE+7fdRMhfPlO6VW+u7apTq4svRdTcij1RNnk2uUL478dcNXc8gEwO9I4VG5z6byg== X-Received: by 2002:a17:90a:3ee2:b0:299:2434:e4b1 with SMTP id k89-20020a17090a3ee200b002992434e4b1mr3710688pjc.2.1708100224362; Fri, 16 Feb 2024 08:17:04 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca01:19f0:ef9e:327e:12eb:73bf]) by smtp.gmail.com with ESMTPSA id w3-20020a17090a528300b002990d91d31dsm198925pjh.15.2024.02.16.08.17.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 08:17:04 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 2/2] python3-attrs: skip test failing with pytest-8 Date: Fri, 16 Feb 2024 08:15:56 -0800 Message-Id: <20240216161553.3217554-3-tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240216161553.3217554-1-tim.orling@konsulko.com> References: <20240216161553.3217554-1-tim.orling@konsulko.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 16 Feb 2024 16:17:10 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/195779 tests/test_funcs.py test_unknown test case is failing with pytest 8. Skip it for now until upstream has a fix. https://github.com/python-attrs/attrs/issues/1233 Signed-off-by: Tim Orling --- Tested with core-image-ptest-python3-attrs on qemux86-64. ...funcs-skip-test_unknown-for-pytest-8.patch | 30 +++++++++++++++++++ .../python/python3-attrs_23.2.0.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-attrs/0001-test_funcs-skip-test_unknown-for-pytest-8.patch diff --git a/meta/recipes-devtools/python/python3-attrs/0001-test_funcs-skip-test_unknown-for-pytest-8.patch b/meta/recipes-devtools/python/python3-attrs/0001-test_funcs-skip-test_unknown-for-pytest-8.patch new file mode 100644 index 00000000000..bb69c0f1573 --- /dev/null +++ b/meta/recipes-devtools/python/python3-attrs/0001-test_funcs-skip-test_unknown-for-pytest-8.patch @@ -0,0 +1,30 @@ +From cbe95e1aa6d95195dce13406a6f0522b2964babc Mon Sep 17 00:00:00 2001 +From: Tim Orling +Date: Fri, 16 Feb 2024 07:17:19 -0800 +Subject: [PATCH] test_funcs: skip test_unknown for pytest 8 + +https://github.com/python-attrs/attrs/issues/1233 + +Upstream-Status: Inappropriate [Test case needs to be properly fixed upstream] + +Signed-off-by: Tim Orling +--- + tests/test_funcs.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/test_funcs.py b/tests/test_funcs.py +index 044aaab..0872c31 100644 +--- a/tests/test_funcs.py ++++ b/tests/test_funcs.py +@@ -593,7 +593,7 @@ class TestAssoc: + for k, v in change_dict.items(): + assert getattr(changed, k) == v + +- @given(simple_classes()) ++ @pytest.mark.skip('Broken with pytest 8. See https://github.com/python-attrs/attrs/issues/1233') + def test_unknown(self, C): + """ + Wanting to change an unknown attribute raises an +-- +2.34.1 + diff --git a/meta/recipes-devtools/python/python3-attrs_23.2.0.bb b/meta/recipes-devtools/python/python3-attrs_23.2.0.bb index 7b6a6bd94c9..cdd78c2bd9d 100644 --- a/meta/recipes-devtools/python/python3-attrs_23.2.0.bb +++ b/meta/recipes-devtools/python/python3-attrs_23.2.0.bb @@ -8,6 +8,7 @@ SRC_URI[sha256sum] = "935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19 inherit pypi ptest python_hatchling SRC_URI += " \ + file://0001-test_funcs-skip-test_unknown-for-pytest-8.patch \ file://run-ptest \ "