From patchwork Fri Dec 4 06:38:26 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107264 Received: from mail-dy1-f179.google.com (mail-dy1-f179.google.com [74.125.82.179]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.2323.1796366310661563041 for ; Thu, 03 Dec 2026 22:38:30 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=D5MB+ExA; spf=pass (domain: gmail.com, ip: 74.125.82.179, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f179.google.com with SMTP id 5a478bee46e88-3282db206d3so1285613eec.0 for ; Thu, 03 Dec 2026 22:38:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796366310; x=1796971110; 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:content-type; bh=AK2lSy61MQDCm/7a0cljuuLV0U9dtS2475HhcaegYgk=; b=D5MB+ExAPCQsNdlKPJbXs7t11GsJt2jBVEgAqdbvxKhkDZ8THnLHBtkLbXumKb6mTS RlKTCORRefL49HJ2+i7G8OQ3X9ME77fKncNZurR3/BmDOsIlWpCC7cGvYAAg7p3gH0+r CmPEyIip//fBE6F/olUTajUtgRPT30ipLtqoxN125DpIGmURgvTn1ztc3/sKmmbTQr2t /K3U/I90COZHy6tUMRz47+GDqa3OvWuj1z5NdEwM4znYqotVFqTMUlDZiBgJW/sOTIwC 0v1z+0554n7EN2nPgrupSC5EYyfZ64IpsP9r/x8GEZDde5l5Gh7LK/n1RMWqzVfP6KaL d14g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796366310; x=1796971110; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state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PoW2enBTVariSlZ O3GliYY41s52wnkCNQm4Lh35d3xci+3kY5CG+V/WTXbxDemoqIfY0GWMUMzjKS0w5DxHAl717Vx ZqvQ10XPEb0tx3elbfEZROAY/rdmldx6VoKN0VLfFFunwyaYR0Jq9stFKBulEsV+B6d0cDx1TtT yo+obxTZa4H8uCSXMXMgr1tl8AvVT1z1JjelEr0ZUXJRTOglEKvvQeoSnYFVg3/66Izpo6mWUMT wjR2s7vaKEe20ZjkY+EV4PmGNluZC9vvjECxuFyRnC+2Z/HvkW168ywva4/iQmGe+MT/MZyh0BV g++u0Ft4T1XXiYXXKyToU8QvERTHCc6htvPgycH/H04tiaGffkOn5n0TWn02wKqxOVT0qMcBxbU geVw X-Received: by 2002:a05:7301:9c07:b0:387:3d9a:d2d4 with SMTP id 5a478bee46e88-3875212ff89mr1111687eec.19.1796366309835; Thu, 03 Dec 2026 22:38:29 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-387521e5c89sm6841805eec.18.2026.12.03.22.38.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 22:38:29 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 1/2] python3-betamax: Leave out the live GitHub gzip test in ptest Date: Thu, 3 Dec 2026 22:38:26 -0800 Message-ID: <20261204063827.2452990-2-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204063827.2452990-1-khem.raj@oss.qualcomm.com> References: <20261204063827.2452990-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 04 Dec 2026 06:38:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/134008 tests/regression/test_gzip_compression.py deletes its cassette in tearDown, so every run sends a real request to https://api.github.com/repos/github3py/fork_this/issues/1 and asserts that the reply is gzip encoded. GitHub's error replies (404, and the unauthenticated limit of 60 requests per hour per IP) carry no Content-Encoding, so the test fails with assert r.headers.get('Content-Encoding') == 'gzip' AssertionError: assert None == 'gzip' whenever the API does not return the issue. It failed in 4 of the last 12 Yoe CI runs on qemux86-64. Leave it out like test_hooks.py, which records live httpbin.org requests. Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-betamax/run-ptest | 6 ++++-- 1 file changed, 4 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 0acad79f97..9bf5e1ce42 100644 --- a/meta-python/recipes-devtools/python/python3-betamax/run-ptest +++ b/meta-python/recipes-devtools/python/python3-betamax/run-ptest @@ -10,5 +10,7 @@ fi # tests/integration/test_hooks.py records live https://httpbin.org requests # (no cassettes are shipped for it) and fails whenever the service resets -# the connection, so leave it out. -pytest --automake --ignore=tests/integration/test_hooks.py +# the connection, so leave it out. test_gzip_compression.py likewise records +# api.github.com on every run. +pytest --automake --ignore=tests/integration/test_hooks.py \ + --ignore=tests/regression/test_gzip_compression.py From patchwork Fri Dec 4 06:38:27 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107265 Received: from mail-dy1-f169.google.com (mail-dy1-f169.google.com [74.125.82.169]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.2324.1796366311439134473 for ; Thu, 03 Dec 2026 22:38:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=GAfkjOgK; spf=pass (domain: gmail.com, ip: 74.125.82.169, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f169.google.com with SMTP id 5a478bee46e88-38692f62b22so1224755eec.0 for ; Thu, 03 Dec 2026 22:38:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796366311; x=1796971111; 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:content-type; bh=gFpZgThJy3vNHjqO0RqZkPzHrdKDQdv9iWNYThiC+Qw=; b=GAfkjOgKOYo9V08OLm7vH4wQqB/ExHmp54n8pIeGGB4d8NddjSfKUjChY0ler1ZLtg 9g8NxTWC/fMi71ZELSDslXfUibbrqCjUAbw+tMGFdK9yr39KfF0J4zI3vsbi0btpVSl7 nhi5+Ux864DHXV9fdyB6Jo0RraU3BVbenhAvUuwvbraV8cx8r5w/bEfc5R55nnB1ziDe 4CFHDTuNVTUqoP1zwbdXSk0XMHWa2VTLS17SieHCTO01H2/oTW9iOss54rT2MQ7+fil/ zWoRZ/hhhLmk1bgDCCeaNbBzB+WcP8PE6RL4kRZbgRSm9+vhcnxe48d4JLFrrKIJxiWs Y3Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796366311; x=1796971111; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=gFpZgThJy3vNHjqO0RqZkPzHrdKDQdv9iWNYThiC+Qw=; b=tOeObG6jVB53YdtnuE5OAP5QPYjoFGeHmE45aK+NOMYoq1fP21AFYfnYhFkixiVYCX wSjReWOSfWy48igeONQvq1kpZG1pHq8gxmPsgm2hmxgOSQbCxaDav7BuZUgLRsCE3Fzz gp3QP9x10sJs+svBeFPX1l8L+ZoFkpb2Yg2+K0HvWKKn44hTBDuDajOA0Eyn7Spg9s6t yYBNGsT/kLX4uKZZhxiyeGXhzXnS8CJWlMMJd51H7taxNj59DHHPbfiBbHpTHFngssZ7 O1LIyVTXnoRS4oRbnjOkTXFJY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8hSTyNofEGjKsw+qHPsUk3 2FcJgQ== X-Received: by 2002:a05:7300:d0b0:b0:35d:4185:5395 with SMTP id 5a478bee46e88-387521988bdmr1142265eec.16.1796366310774; Thu, 03 Dec 2026 22:38:30 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-387521e5c89sm6841805eec.18.2026.12.03.22.38.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 22:38:30 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 2/2] python3-wrapt: Add python3-pydoc and python3-netserver to the ptest dependencies Date: Thu, 3 Dec 2026 22:38:27 -0800 Message-ID: <20261204063827.2452990-3-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204063827.2452990-1-khem.raj@oss.qualcomm.com> References: <20261204063827.2452990-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 04 Dec 2026 06:38:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/134009 tests/core/test_with_doc.py and test_with_signature.py import pydoc, so pytest aborted at collection in the qemux86-64 musl ptest image: E ModuleNotFoundError: Standard library module 'pydoc' was not found and no test ran. test_post_import_hooks.py imports wsgiref (from python3-netserver) in a thread and asserts that its import hook ran, so it would fail next. The other standard library modules the tests import are in python3-core or already installed (asyncio, debugger, image, misc, pickle, unittest). Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-wrapt_2.5.2.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-wrapt_2.5.2.bb b/meta-python/recipes-devtools/python/python3-wrapt_2.5.2.bb index 6d1f2cf4c9..7be8e3efad 100644 --- a/meta-python/recipes-devtools/python/python3-wrapt_2.5.2.bb +++ b/meta-python/recipes-devtools/python/python3-wrapt_2.5.2.bb @@ -10,10 +10,12 @@ DEPENDS += "python3-wheel-native" SRC_URI[sha256sum] = "551cb49e88b3722faad780303833bc4fa70685fb1773270fb98b40d39d9fddbf" -# python3-misc for 'this' module, python3-image for colorsys (test_deferred_patching) +# python3-misc for 'this', python3-image for colorsys, python3-netserver for wsgiref, python3-pydoc for pydoc RDEPENDS:${PN}-ptest += " \ python3-image \ python3-misc \ + python3-netserver \ + python3-pydoc \ " RDEPENDS:${PN}:append:class-target = " \