From patchwork Tue Dec 16 17:58:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 76770 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 541A8D609D8 for ; Tue, 16 Dec 2025 17:58:49 +0000 (UTC) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.239.1765907923483176109 for ; Tue, 16 Dec 2025 09:58:43 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UVbtIrag; spf=pass (domain: gmail.com, ip: 209.85.128.47, mailfrom: skandigraun@gmail.com) Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-477b1cc8fb4so29294305e9.1 for ; Tue, 16 Dec 2025 09:58:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765907922; x=1766512722; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=njs9RHw9BXmzEgeE08DveadWfMSEgx9Mr2ajkZavSfU=; b=UVbtIragsjftRgm9u7rl7x+e8Yqv6la5hJohjsA6tINvAO2rrIIqIohEADzR4mXfom qKlcLiuR19MKnLPtRHuxNISDxny2aMNCNB/py8kOV+HP1r+R14U4+PtlQ54HSS6GC5sW EWzhpWITl9bBF9goXYFKa4bd9wx9920O7B5ZkgqOmNzhfN9udZ6ieGTMIUkV95IK2m2M bqSRw22OFCw1F1HUSsSzTq2yag2M2PhUujkBMGScWcXJf6O70Hx8zFWlf90qGLBv1VfE qtWDXXUAHAkRGNzEE4IbWh5Jc9FH1udig+MuyQfFU+RljO+ADkq7SKZP+IuiaBP1ef98 NchA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765907922; x=1766512722; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=njs9RHw9BXmzEgeE08DveadWfMSEgx9Mr2ajkZavSfU=; b=dScDA7i9LXX46/5IG2rWmzYrHr2V1d0f4MpcnYsOQvwhZu8U7q1ynWH4vkh8LO+PUJ cbYfxeZ8UdE2r8hFc2WYxICsVaUdmTIW6YOpZ6h5az0+yIWdhyhpokqPgef+MkfrEVuW POOxBfIjgAnNAQiJIiaIbhDsQqlkFjvQZJOvYVgWx26Xgj0SgZF5Rq0GtGN/Xn2zTEiW nJ9bChfaUSp4BEoamfQ+YGHNhDzgZN09xxv9qeH51gDiyRUCsl23FSFkfc6lypqwriam piB5XX+NgiV4oPxljYy9fAnYeZCScFTp+IDjXMoCtamgb/PGYR8MZRQSnMaBxWdeTzqH KmYw== X-Gm-Message-State: AOJu0Yw9revOLd+TN/amTSu9TLH8zU859QPtbWgkzTyuHn4HnicenSwC PcqoLAtUpfsvrXWl7Ejbkxn2YoNDxwb/48/ww5om4dh/W9OqVofuBJz5dTyHOQ== X-Gm-Gg: AY/fxX54GDJbiFuu3Wrg7nuxiiGsrL6L/b6AcAbOMmd796rE2P66pbkexIGSW6q0GSO 3mMMF5CBCgKnLlChtZSGzb/yQxpRUYRcje8iHJb3Z85764WsMcjE1IhBbAR98XNjbLUVzk+lxPG u59/9+Zzhu2FMJYJso+2FyRinHqZvuNJMIEi6A4dM0IyAmvb0ERsPMRehumYZIGkePv9gco+ngW s7ruEQSIAwXVy4xWy0hhYUm35mf9x8u5yc8kjYnOGkb0oJkdFdXFTD0n3EPyhNxBHAx0bZU/Btk UteO4GvntlFDhWxVfTICMYK0P5VJI15ctyJIDcx5IsWXya3ypeQKf4i3uzeeAEol8rJxoz4PaV8 YAsayVA8bNCF3qde1Es90GCjuDER+Bnq5zEt+cnVkpB9/Z9t5PIV3BlhR8Ro3t8NyjEkekgbWF/ BFBkvuqgNX X-Google-Smtp-Source: AGHT+IGKt86HNpdYPGK/6rTauqRR7X4nG0rDxc6MnyDNYhD2asZ/XGX0FP1uzZO8a02NrtZvOy2Fig== X-Received: by 2002:a05:600c:190c:b0:479:33be:b23e with SMTP id 5b1f17b1804b1-47a8f907d4cmr177300145e9.17.1765907921602; Tue, 16 Dec 2025 09:58:41 -0800 (PST) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47bd992ad0csm13714525e9.9.2025.12.16.09.58.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Dec 2025 09:58:41 -0800 (PST) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 1/7] python3-h2: add ptest support Date: Tue, 16 Dec 2025 18:58:34 +0100 Message-ID: <20251216175840.2939403-1-skandigraun@gmail.com> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 16 Dec 2025 17:58:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/122700 It takes around 10s to execute the suite. Sample output: root@qemux86-64:~# ptest-runner START: ptest-runner 2025-12-16T15:36 BEGIN: /usr/lib/python3-h2/ptest PASS: tests/test_basic_logic.py:TestBasicClient.test_begin_connection PASS: tests/test_basic_logic.py:TestBasicClient.test_sending_headers PASS: tests/test_basic_logic.py:TestBasicClient.test_sending_data [...many lines...] PASS: tests/test_utility_functions.py:test_size_limit_dict_limit PASS: tests/test_utility_functions.py:test_size_limit_dict_limit_init PASS: tests/test_utility_functions.py:test_size_limit_dict_no_limit ============================================================================ Testsuite summary DURATION: 10 END: /usr/lib/python3-h2/ptest 2025-12-16T15:36 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Gyorgy Sarvari --- meta-python/conf/include/ptest-packagelists-meta-python.inc | 1 + meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb | 3 ++- 2 files changed, 3 insertions(+), 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 e17d5ef46d..4cbdec70a3 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -38,6 +38,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-gpiod \ python3-gpt-image \ python3-gunicorn \ + python3-h2 \ python3-html2text \ python3-httptools \ python3-inflection \ diff --git a/meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb b/meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb index 11ee118831..db181dc0b4 100644 --- a/meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb +++ b/meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aa3b9b4395563dd427be5f022ec321c1" SRC_URI[sha256sum] = "6c59efe4323fa18b47a632221a1888bd7fde6249819beda254aeca909f221bf1" -inherit pypi python_setuptools_build_meta +inherit ptest-python-pytest pypi python_setuptools_build_meta RDEPENDS:${PN} += "python3-hpack python3-hyperframe" +RDEPENDS:${PN}-ptest += "python3-hypothesis" From patchwork Tue Dec 16 17:58:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 76771 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 52EA4D609D7 for ; Tue, 16 Dec 2025 17:58:49 +0000 (UTC) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.244.1765907924065243666 for ; Tue, 16 Dec 2025 09:58:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZLiWSq/w; spf=pass (domain: gmail.com, ip: 209.85.128.42, mailfrom: skandigraun@gmail.com) Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-47775fb6c56so38998715e9.1 for ; Tue, 16 Dec 2025 09:58:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765907922; x=1766512722; 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=llGX4bjRY0awAt8g0WRZvNJP7plgyeYVyN4URq9gRzY=; b=ZLiWSq/wMa3m+PAwfc7gqzb2wXpQLpurNM3eXgo/jwTPQd8rzeJsbQlXJ1TY/ybawq BxOZOe/UML9bdP897M7n1GA+b1OvLakk1hVX/Hx9S0kSjA0T1F7eePO4J1E9VuIyrKEn vK6oumG8xYZnbmrnBylqy86PaSkoUY4BXmZsDwG7eFBRHxa4QyO9QID+rExin1YZggor 5JmEgsj5YHNao3clIyQWD+IIx2EUhhWYlVYvKmc7toUH+TInu+i32qW8kZ0ZzIPGFVpF OGi55pAeVsyHjgqT4c2YbcF0Q+cJjiH4oH6AYuSo73PJNiP89/xVWS8F2Mzt6Zi4NjD0 1vzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765907922; x=1766512722; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=llGX4bjRY0awAt8g0WRZvNJP7plgyeYVyN4URq9gRzY=; b=OZqTStpCgy5ADvpDqQPuX9rttyZ8vxmZkb6A9ig8PAGqd7++dPqymxjeAUNzHQweGV O+1z2zepnoIwDMYkx/0LAU1cqHg0ZRanveAGthZ68oLF+pVS/9ED0RnHIa62iW4B5psg Grp8fSomHcpk31Ov44b6HpMf4VE0zLmMGPUgIC+q/ESgN0HQrJBbToClZGVcnqTe/uZq AruH03gFKNLoao/rmEeoZsZwNo2ob7jyD78ay3w8GnmYv2kDJFcswQAJXHoonETlBQek EIVoXCgA9UH0+StkNWeUN83+6cyJQPCW0YEsDSCANar4omJMlO5/sXx4RgYNfAwUrmMG H4vQ== X-Gm-Message-State: AOJu0YxZ6Y1IpHCMi7kRpukXokDrXyiXipa8kSnx0+lmURVPVCARYREn PKL4nE7nWxPXDqTrR2DEUJp/EG065ny4CkKnD1aO5UKET8zhKZxHqaTW9XODhQ== X-Gm-Gg: AY/fxX7Wt1HtZ//dg1mVB7//1e5SuhGnO8QlpsP6XTnUZnZKG8rdhw74EeQCOZmND7L HOrTk1uCfnVnKFNXid563Hm1+RdOc/ssjKqyC9YO2lTO8euZ9jqWPWh0Lp8XakjrcATP+LVcPpU dCHLR0gDJEtDwA9sYmADTK2NhP4umxjwOKBWRvWJJXC0lha84+mmTSruIVTO6LKE1ZUlQFEJeT+ 6cKRee1bQW8eNunGev/kuDARM/qKDxi+7Mvkdsuku+kkWj75o2+xLDw928GZHYxdmU2Gi4Rzo8p m0kOTYB64PjHdK+Bl1iajhhsJCNt7UNbme4eSMJjGG2hx4ZD08uJMbJRxoM6W2WRVsWLjca8bt6 iNfFtJgdbfkzi3YZFk3Cjk0A1vfc0YWhurWh2kKpOi7LmwQdhpzhx6fCZrUgUgPpVnO0uNiZgvz X4u1pUte8S X-Google-Smtp-Source: AGHT+IEBgtZlcZ8oph5VqRhIFA59z5Ec9bzQMJVuRQ+Uy0oYRefr/XMxIC74UjJBng2/56huRhUjlg== X-Received: by 2002:a05:600c:3495:b0:479:1348:c614 with SMTP id 5b1f17b1804b1-47a8f90e7c9mr175747265e9.26.1765907922373; Tue, 16 Dec 2025 09:58:42 -0800 (PST) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47bd992ad0csm13714525e9.9.2025.12.16.09.58.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Dec 2025 09:58:42 -0800 (PST) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 2/7] python3-hpack: add ptest support Date: Tue, 16 Dec 2025 18:58:35 +0100 Message-ID: <20251216175840.2939403-2-skandigraun@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251216175840.2939403-1-skandigraun@gmail.com> References: <20251216175840.2939403-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 16 Dec 2025 17:58:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/122701 The tests need about 3s to execute. Sample output: root@qemux86-64:~# ptest-runner START: ptest-runner 2025-12-16T15:48 BEGIN: /usr/lib/python3-hpack/ptest PASS: tests/test_encode_decode.py:TestIntegerEncoding.test_encoding_10_with_5_bit_prefix PASS: tests/test_encode_decode.py:TestIntegerEncoding.test_encoding_1337_with_5_bit_prefix PASS: tests/test_encode_decode.py:TestIntegerEncoding.test_encoding_42_with_8_bit_prefix [...many lines...] PASS: tests/test_table.py:TestHeaderTable.test_size PASS: tests/test_table.py:TestHeaderTable.test_shrink_maxsize_is_zero PASS: tests/test_table.py:TestHeaderTable.test_shrink_maxsize ============================================================================ Testsuite summary DURATION: 3 END: /usr/lib/python3-hpack/ptest 2025-12-16T15:48 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Gyorgy Sarvari --- .../conf/include/ptest-packagelists-meta-python.inc | 1 + .../python-hpack/python3-hpack_4.1.0.bb | 10 +++++++++- 2 files changed, 10 insertions(+), 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 4cbdec70a3..2a7be4f331 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -39,6 +39,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-gpt-image \ python3-gunicorn \ python3-h2 \ + python3-hpack \ python3-html2text \ python3-httptools \ python3-inflection \ diff --git a/meta-python/recipes-connectivity/python-hpack/python3-hpack_4.1.0.bb b/meta-python/recipes-connectivity/python-hpack/python3-hpack_4.1.0.bb index a5b9130d00..4ecbd583f3 100644 --- a/meta-python/recipes-connectivity/python-hpack/python3-hpack_4.1.0.bb +++ b/meta-python/recipes-connectivity/python-hpack/python3-hpack_4.1.0.bb @@ -6,6 +6,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5bf1c68e73fbaec2b1687b7e71514393" SRC_URI[sha256sum] = "ec5eca154f7056aa06f196a557655c5b009b382873ac8d1e66e79e87535f1dca" -inherit pypi python_setuptools_build_meta +inherit ptest-python-pytest pypi python_setuptools_build_meta RDEPENDS:${PN} += "python3-logging" +RDEPENDS:${PN}-ptest += "python3-hypothesis" + +do_install_ptest:append(){ + # One test is failing due to missing fixtures, upstream's recommended + # solution is to delete this file (as of v4.1.0): + # https://github.com/python-hyper/hpack/issues/272 + rm -f ${D}${PTEST_PATH}/${PTEST_PYTEST_DIR}/conftest.py +} From patchwork Tue Dec 16 17:58:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 76774 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 5E2C2D609D9 for ; Tue, 16 Dec 2025 17:58:49 +0000 (UTC) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.245.1765907924766782045 for ; Tue, 16 Dec 2025 09:58:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bwpAs03u; spf=pass (domain: gmail.com, ip: 209.85.128.43, mailfrom: skandigraun@gmail.com) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-47118259fd8so49448045e9.3 for ; Tue, 16 Dec 2025 09:58:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765907923; x=1766512723; 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=Q7X3JI+IcfDYbSiElrdn3eA82EmmNGm5/bYoxm5pG6A=; b=bwpAs03uTyToDJt6rzLWVyvnW419MzlDf/bhQ0xiuuOKcULMoNVWyte2wKEY91JB6b BoCAkLmUvnnQP08mLRpG7YZXF7lnBLi9AdY5uqFTjOj4CHvVdzrz7u1a8ZCzi6z/qhB/ wfph+WFMkiRwoCYohYLvaLARqWw3VfmVsZXyYGl215gb7/YFJ10KhrpcRGNa3hA2MDpa KIRYFKDGXbhVVXQsks1Y08nbGR7Ae+uvTJMGgSehgriovx2MGYd163YMDXrGZDT56BhJ CYn4okSdDWWoNC02+qeRvo7jIbIhn+GviQ4Ny6lUPbRS7GRzjD354hQexcfS5VQrmn5J 0/Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765907923; x=1766512723; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Q7X3JI+IcfDYbSiElrdn3eA82EmmNGm5/bYoxm5pG6A=; b=k1GhiwW55LKN9fArWsZr22Lgkt7sVojVg7XRvTkLAiTW4MdrEVMbUAhwND8Xi4sDY7 6cmR9BtbLwsiLhSnqZSPHhylZdbxtagfs7FjYAakHsqAKRe57ln1sfFJ6zipOlDvc9Dp 3UrRiCetoyU3EEIZqWoKEntLgbozOz8ZWrjL7B3NSjKkeG8m3kwXOqzC4P2lKNwsR2c8 5jAC8yspA1/zDuFdY4egEkx6IdkYRpARyH5O3gMFXZn31ztheIEpjD8QY1EJXqhmvMLj rCfw77Wty7e2mn/KRciUq5FEgmg+7Slha64ncbirrrT6f6GVIijqMmK2ijipr53X66CN ytsA== X-Gm-Message-State: AOJu0YzJ6Lts/x09cz/XLmQ1d5V0aYglhV43iISZxXy4NNrJQvCR9nr6 nbdak3btJXBk/eronouxUwrSZxb+AkC6cd9ZPPoydWQprV/Y/o01eBsUBW1jdA== X-Gm-Gg: AY/fxX7uTeOebFJldEn5yupZ/kSppS924uWynXY/vpA26L616ncsW0RaFeWdD6BMxmR 3QxIR1WMKqpHFnHZottNyhTHPbj5lpD2cEJhEGCBBe2ELajHvGw3e9VT6ogemDkWpaOorLGDulS T45YuPDl08Q2a7TatV7bH06bmXkdAzXJKoY+Lw3qrrUaZyO/yYR5K83bo+QTpPUlPa2KuX2H2oL /unNRwdYYIY/m0+71QV7DPAXK8h57oitNKJH1cn+aoZi8zWCTLc1uOlZWTLRYsVaEU9G4tbkTyz 4/xVaVl0DEvnMbC2lO5QsHo7YFx7Y8Sqf8SaEuWEil4R/s8FHi5M2/dwGqdYmWt4b4Qm8PdSDB8 741bHtbRGJaJaLOKFV2l92g7MOT+UH68K2lwb3NUtLM25sXAOthCHDhyuzB00VuhRaG5bK9ybZl tcajbuaOXf X-Google-Smtp-Source: AGHT+IFVlcQFMdrYafHhWtx9KKaLtQshntAxW9nnShLTQ9Mhz29B47yz0FeATtcDrScW0vSuHfixng== X-Received: by 2002:a05:600c:1c88:b0:477:8a29:582c with SMTP id 5b1f17b1804b1-47a8f917533mr169625325e9.34.1765907923136; Tue, 16 Dec 2025 09:58:43 -0800 (PST) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47bd992ad0csm13714525e9.9.2025.12.16.09.58.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Dec 2025 09:58:42 -0800 (PST) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 3/7] python3-hyperframe: add ptest support Date: Tue, 16 Dec 2025 18:58:36 +0100 Message-ID: <20251216175840.2939403-3-skandigraun@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251216175840.2939403-1-skandigraun@gmail.com> References: <20251216175840.2939403-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 16 Dec 2025 17:58:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/122702 It takes about a second to execute. Sample output: root@qemux86-64:~# ptest-runner START: ptest-runner 2025-12-16T15:55 BEGIN: /usr/lib/python3-hyperframe/ptest SKIP: tests/test_external_collection.py:TestExternalCollection.test[NOTSET] # SKIP got empty parameter set for (tc_filepath) PASS: tests/test_flags.py:TestFlags.test_add PASS: tests/test_flags.py:TestFlags.test_remove [...many lines...] PASS: tests/test_frames.py:TestAltSvcFrame.test_altsvc_with_unicode_origin_fails PASS: tests/test_frames.py:TestAltSvcFrame.test_altsvc_with_unicode_field_fails PASS: tests/test_frames.py:TestExtensionFrame.test_repr ============================================================================ Testsuite summary DURATION: 0 END: /usr/lib/python3-hyperframe/ptest 2025-12-16T15:55 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Gyorgy Sarvari --- meta-python/conf/include/ptest-packagelists-meta-python.inc | 1 + .../python-hyperframe/python3-hyperframe_6.1.0.bb | 2 +- 2 files changed, 2 insertions(+), 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 2a7be4f331..18f31a7c6f 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -42,6 +42,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-hpack \ python3-html2text \ python3-httptools \ + python3-hyperframe \ python3-inflection \ python3-inotify \ python3-intervals \ diff --git a/meta-python/recipes-connectivity/python-hyperframe/python3-hyperframe_6.1.0.bb b/meta-python/recipes-connectivity/python-hyperframe/python3-hyperframe_6.1.0.bb index 0d4bfcc584..0e15dd0d67 100644 --- a/meta-python/recipes-connectivity/python-hyperframe/python3-hyperframe_6.1.0.bb +++ b/meta-python/recipes-connectivity/python-hyperframe/python3-hyperframe_6.1.0.bb @@ -6,4 +6,4 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5bf1c68e73fbaec2b1687b7e71514393" SRC_URI[sha256sum] = "f630908a00854a7adeabd6382b43923a4c4cd4b821fcb527e6ab9e15382a3b08" -inherit pypi python_setuptools_build_meta +inherit pypi python_setuptools_build_meta ptest-python-pytest From patchwork Tue Dec 16 17:58:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 76773 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 5E307D609DB for ; Tue, 16 Dec 2025 17:58:49 +0000 (UTC) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.246.1765907926506849474 for ; Tue, 16 Dec 2025 09:58:46 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TxJsdtUr; spf=pass (domain: gmail.com, ip: 209.85.128.50, mailfrom: skandigraun@gmail.com) Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-477a2ab455fso52902765e9.3 for ; Tue, 16 Dec 2025 09:58:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765907925; x=1766512725; 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=7vwChxisJEyQoOMx95+uHYeJzERZOjxoerRSf/JgNng=; b=TxJsdtUrB2USsg/+RDsJ+BNaCdhlJa/fuZuLJARpGOexWseS8cOxZZOrNZAvAhewuF +l1RMOP7GAdFsKDmx3P91szePDFhDp67frWNlbXDRCHc5IsCa0vKHrgXz4k5Pjd9a6LU UFvRch7kptgWDcJwnqxvnLsOjYb77Dnz83//HOPYW6e7Nv7OwPlZ6Qakyww1kmduI/cy CAVFotliIF4XR7nGygJIIaLB1iBbbDpa4fN6b+hgnnotNwzDOOE5ibgQ8LgI09ud3P61 uLdhuax6w1ytof2JY3TurU/E9Y8LpJjoEvU19iWy2WJN0fC3+o/t6cg99pHqVAbtL0Y+ 6Bqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765907925; x=1766512725; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=7vwChxisJEyQoOMx95+uHYeJzERZOjxoerRSf/JgNng=; b=YNbNQ00Kk7UImZbR68Gft49DuTm681xL11yssh4lTswBC048AN7Sy7b+OoGA0g+JJG d0Ghww10r+YjVDLjIBpsdXPY166210K1+doy2H10q8fMwjtD5nQkS5vALAzrC32f6NfT NfB6XKb+cIbSeULfcSWFEOuBFEvDP6lT0mGnTKOtA5BwmtlrZxdSdFiLtwmCM2APVZOe otW/dqQDUzHHbvDtFTwZUUtK6Et1bWdGE338te64afJCBU0fOW0QK8k+ssLnI/jDIt+L tp7k5CFVSB73KCvR1MhfURRc8rE5Elyqn/0fHWo9N4VcfXYKc8SjhvozPsbXP3/KCn6i au6w== X-Gm-Message-State: AOJu0Yyvs8vn2HZ63Rk1SSAxEdMjeIjA4KnqBIAApc7A9CDsDmF59cYw 9YCTEWnsIuKFkhPM69NkltKiQKAye1IZAzPLjivkHAnobnZIoXdCdXUzdoFCdA== X-Gm-Gg: AY/fxX5gQyPfgu/n+QpbWgL++YMgz5ttb9EYNIHU3k5is+FBiGY0ruONwGVigFTs0/C U5/P9fYG5luzWdusV233t7ecWoKbBIKCCdM5sduXjyVEvJ516HiJvS5mbIwRepvEOrFhRiqRiXJ VROuQhFc7xcEIXO3iMbOJbgImn4xl44vxGOAtGQ2BXXM0mXuPTjPHgDCKh7z6+1OTJIGhDHgT2M EaUN2+e8Ta4ptbpl0/i81dYL/zXZWIidcmXdFBOm+JnIl2RIo1SuY26cJHBqZFMly5KR32aY4w4 fP5Tep2UghC8V/JGQXl/6kViSDIudfU8knHCZpo0AKrXbK+6auZClpb3cn7l24RAbDUKAJbTjIo 3M6chOgfRdDFVSGbb+wNSyhjp7CSHPhfV5nWyJzYliJB2i4U+xcnEEJS6NUEtXvwzwC/OMy7og7 vAHUnG/hZd X-Google-Smtp-Source: AGHT+IGB0U8ocYZ31qIPXpeHeiF8OIJIjfVwmZ6pKInDe/8IBbSqPcJ1cxI4/xOupQxyBcC/bIK+Og== X-Received: by 2002:a05:600c:4e09:b0:477:9976:9e1a with SMTP id 5b1f17b1804b1-47a8f89bc6cmr170204355e9.6.1765907924787; Tue, 16 Dec 2025 09:58:44 -0800 (PST) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47bd992ad0csm13714525e9.9.2025.12.16.09.58.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Dec 2025 09:58:43 -0800 (PST) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 4/7] python3-priority: add ptest support Date: Tue, 16 Dec 2025 18:58:37 +0100 Message-ID: <20251216175840.2939403-4-skandigraun@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251216175840.2939403-1-skandigraun@gmail.com> References: <20251216175840.2939403-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 16 Dec 2025 17:58:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/122703 It takes under 5s to execute. Sample output: qemux86-64 login: root root@qemux86-64:~# ptest-runner START: ptest-runner 2025-12-16T16:00 BEGIN: /usr/lib/python3-priority/ptest PASS: test/test_priority.py:TestStream.test_stream_repr PASS: test/test_priority.py:TestStream.test_streams_are_well_ordered PASS: test/test_priority.py:TestStream.test_stream_ordering [...many lines...] PASS: test/test_priority.py:TestPriorityTreeManual.test_maximum_streams_with_bad_int_is_error[-50] PASS: test/test_priority.py:TestPriorityTreeOutput.test_period_of_repetition PASS: test/test_priority.py:TestPriorityTreeOutput.test_priority_tree_distribution PASS: ../../python3.13/site-packages/hypothesis/stateful.py:TestPriorityTreeStateful.runTest ============================================================================ Testsuite summary DURATION: 4 END: /usr/lib/python3-priority/ptest 2025-12-16T16:00 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Gyorgy Sarvari --- meta-python/conf/include/ptest-packagelists-meta-python.inc | 1 + .../python-priority/python3-priority_2.0.0.bb | 5 ++++- 2 files changed, 5 insertions(+), 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 18f31a7c6f..7bc6b6575f 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -65,6 +65,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-portion \ python3-precise-runner \ python3-prettytable \ + python3-priority \ python3-propcache \ python3-pyais \ python3-pydantic \ diff --git a/meta-python/recipes-connectivity/python-priority/python3-priority_2.0.0.bb b/meta-python/recipes-connectivity/python-priority/python3-priority_2.0.0.bb index 93b694c8b8..26620a3a39 100644 --- a/meta-python/recipes-connectivity/python-priority/python3-priority_2.0.0.bb +++ b/meta-python/recipes-connectivity/python-priority/python3-priority_2.0.0.bb @@ -6,4 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ae57d8a09fc8b6b164d7357339619045" SRC_URI[sha256sum] = "c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0" -inherit pypi setuptools3 +PTEST_PYTEST_DIR = "test" +inherit pypi setuptools3 ptest-python-pytest + +RDEPENDS:${PN}-ptest += "python3-hypothesis" From patchwork Tue Dec 16 17:58:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 76776 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 6E0A2D609DE for ; Tue, 16 Dec 2025 17:58:49 +0000 (UTC) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.247.1765907927348155958 for ; Tue, 16 Dec 2025 09:58:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=goWUI3Ug; spf=pass (domain: gmail.com, ip: 209.85.128.44, mailfrom: skandigraun@gmail.com) Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-477619f8ae5so38373515e9.3 for ; Tue, 16 Dec 2025 09:58:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765907926; x=1766512726; 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=6rd+TGBOAbky0uDhsWJRzEITMo6VGUAUsr5j4raL9MA=; b=goWUI3Ug4eCggj7WO1L2fCQ9sJdy8m87LKeBntIyIZAIR8i00bQM/3ao2lQFLYbv0i SegguvOqo2l8rqsmnF3dZddr0LmSmu92epbVCS7duCvOmI9XpRsexm9sThd1TFV2PU1n HEeFalkz6n7pu+mm2liEoYrVEPhMa/PcQzvvUhKVklN+M9+chNF7VwGtSFW0//YBVkb9 Gs7jhEgVvBbMYZRh90y7L4cyDmAExhWOYWxG8dBuTl9ENtxu9/ggvIaSv6NTDgZikOWz Yjyp4bJDKakeOkXstWoxQv5YPGU/kXIUbZUPf0tGSXTj46PW9UU559kq4+hg9PFGk9nS AEHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765907926; x=1766512726; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=6rd+TGBOAbky0uDhsWJRzEITMo6VGUAUsr5j4raL9MA=; b=s1XgvMLIBmIs18NmAjcULdAB1BoIalvZxx26DoAZAQRFqChYEShjnuaaAYDoYUAMxl FQDedjaHaSQeEGaS7oYCFgSDxyYgdFczyh0ocQ/mM21b9KpYf/zF00+87hZe8RgA6pT5 ++Dnxf2+Kv59nB143BkpIExPHzLbMQc7RqBUTIcxof1pZbEC9z1zTONsZw3heXGIXYLJ L2rjzl2RFIzSculR/+LZbfbgyqrQ5adUoMAC0v4p7z9bDHJEhSuCChPWDbYzshLHoZnt PeoXtTsNcK87NbIltVnl2dPGa3odfmtIQer/s6BkP582FbD0haYfxtrtsX+fmhApIwxr Tylw== X-Gm-Message-State: AOJu0YyRCmoyIt+a2L8SYb6RNDkND/6Q7G5pEP8bMvS/OKeQWOXOB44Z D2qDQi+qhVGLsI4kI4a8v2d+tvZ43tR1zz9CJSV7qnTDnlhMmNSEfsD67ZQRAg== X-Gm-Gg: AY/fxX6SNZ1GYR/Z9zO5OihcK5F5fsnEEq/+MKVcS2Hsltcrgn45DPy6oaC0nFYh39l ZuGIYRXcA4uTUshbRiqr1C54pdimN7u14KV3h1vZR3kdKxt2wXnwN4y6ue0NJGVhKwsvo4KkzWz 9t2DqtZmBbfMD8asaf70ZpiX4V9kYcKWujsTPVyd6xWivw/f/Ahpp0bg753T0psjy/ZzdWZOHlH HxmdbfeyLx9v/n8tTTJMBrppnSKCOQdHKModYNZph7jCrM9pdn9ICTZnktFUwGOrFB7I+61YAae NTZ+ICewZROPYDKgHFy8H+IogO+XvQDdw2zyx1fmWneYI5aIOn3r5XiLgP37oD7OSUAcLRv+I0R CyEcKbIjr1zM5mD44lw26wcjYlgvkqmZue/y6evZXiwD1rh2slg/azVi9lhymuUGlxiwSvr0now W+u8DTKlxi+89H1dOtbIY= X-Google-Smtp-Source: AGHT+IGHJJBPg5OuFHg7trnmDeJJGFTBS/dlyMgrGrzoEbNKiMAnoC3sx8sIIGLLvGjAVxOQWcBsdA== X-Received: by 2002:a05:600c:8283:b0:479:3a2a:94e7 with SMTP id 5b1f17b1804b1-47bda747eccmr20777595e9.10.1765907925612; Tue, 16 Dec 2025 09:58:45 -0800 (PST) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47bd992ad0csm13714525e9.9.2025.12.16.09.58.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Dec 2025 09:58:45 -0800 (PST) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 5/7] python3-pyconnman: add ptest support Date: Tue, 16 Dec 2025 18:58:38 +0100 Message-ID: <20251216175840.2939403-5-skandigraun@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251216175840.2939403-1-skandigraun@gmail.com> References: <20251216175840.2939403-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 16 Dec 2025 17:58:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/122704 It takes about a second to execute. Sample output: root@qemux86-64:~# ptest-runner START: ptest-runner 2025-12-16T16:32 BEGIN: /usr/lib/python3-pyconnman/ptest PASS: test_agent.AgentTest.test_simple_wifi_agent PASS: test_manager.ConnManagerTest.test_agent_registration dbus.Dictionary({dbus.String('State'): dbus.String('online... [SNIP... debug log... SNIP] dbus.Dictionary({dbus.String('Connected'): dbus.Boolean(... ========================================================= PASS: test_technology.ConnTechnologyTest.test_scan ============================================================================ Testsuite summary DURATION: 0 END: /usr/lib/python3-pyconnman/ptest 2025-12-16T16:32 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Gyorgy Sarvari --- .../conf/include/ptest-packagelists-meta-python.inc | 1 + .../python-pyconnman/files/run-ptest | 3 +++ .../python-pyconnman/python3-pyconnman_0.2.0.bb | 10 ++++++++-- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 meta-python/recipes-connectivity/python-pyconnman/files/run-ptest diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 7bc6b6575f..e575b372b5 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -20,6 +20,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-cachetools \ python3-cbor2 \ python3-configobj \ + python3-pyconnman \ python3-click \ python3-dasbus \ python3-dominate \ diff --git a/meta-python/recipes-connectivity/python-pyconnman/files/run-ptest b/meta-python/recipes-connectivity/python-pyconnman/files/run-ptest new file mode 100644 index 0000000000..aafa0f731d --- /dev/null +++ b/meta-python/recipes-connectivity/python-pyconnman/files/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh +cd tests +python3 -mputao.unittest diff --git a/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb b/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb index 040f1acc92..52fc1dac55 100644 --- a/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb +++ b/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb @@ -4,8 +4,14 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -SRC_URI[sha256sum] = "d3a63a039c82b08a1171b003eafa62c6f128aa4eaa1ce7a55a9401b48f9ad926" +inherit pypi setuptools3 ptest -inherit pypi setuptools3 +SRC_URI += "file://run-ptest" +SRC_URI[sha256sum] = "d3a63a039c82b08a1171b003eafa62c6f128aa4eaa1ce7a55a9401b48f9ad926" RDEPENDS:${PN} = "connman python3-dbus python3-pprint python3-future" +RDEPENDS:${PN}-ptest += "python3-mock python3-unittest-automake-output" + +do_install_ptest(){ + cp -r ${S}/tests ${D}${PTEST_PATH}/ +} From patchwork Tue Dec 16 17:58:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 76772 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 6E208D609DF for ; Tue, 16 Dec 2025 17:58:49 +0000 (UTC) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.248.1765907928120478945 for ; Tue, 16 Dec 2025 09:58:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=etWa/xwO; spf=pass (domain: gmail.com, ip: 209.85.128.47, mailfrom: skandigraun@gmail.com) Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4779cc419b2so50502565e9.3 for ; Tue, 16 Dec 2025 09:58:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765907926; x=1766512726; 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=nwO+Ury9QZSfYtNofXQ8rd4HI1iRqqtgTnrN3G/2JHg=; b=etWa/xwOJ1Pm2JLYXy2cbkXSEexmqrk40macYf5yb4DVcgwFkUXVGxfYdz/ZBCY2wW RCzBjQXyoce+qiP1DMuSTAPDG0taBgcEtILDYnYYkBFe23x5kFOZzUqUUiWaVJrwDlj2 52MTmLGusRsCmCBZlMLeUGvPt5RNU/gwdndsLLaLVzOmqlvnrxJh8+31HVKsXmdcQrP5 NVPjb+kVvyCzryV3WR1YP7zgjQU0v70+KgLaufT8Rlet25bkcmbeP3D0iMpCUfHyZs6+ jpgyuRbjd5SMzkmiiyTqdGhq5a8akfkeuaugzeWoIRjvxcie/e6tMbr7RvBWj/9kQcj8 TqHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765907926; x=1766512726; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=nwO+Ury9QZSfYtNofXQ8rd4HI1iRqqtgTnrN3G/2JHg=; b=b++MsY9bpQeinJZYquWB/HfmJ9qXwcJuTYYVZP6uVQ5h4eo3yhycnw8EVqtpNnTbNz C4S8CVT7sqd+y124wnXyOHv+mscfRMfXElBHbGiYkKREItxwjFnbFx1mb2Mg+QwKto9r uAy8tTu9726pkHAr+yf93nPhCTo5i+Yxs4RrfUom77bM5F1VTwNx/ulV7jVm1ZlJl8E9 bS+wwXpb1g+GWC/y5ZUxeytrnfyZBJMQlxwab6h+uK03nCOQB5H+HZCf5W/RcD+8Woih vm5JhmNN0NNLOYrbMh03ih7fdYXNECDw7v7H93YcDKoUetS4vVQbVnfBdzOPMjIpK/nl 04IA== X-Gm-Message-State: AOJu0Yw9yZK0M6WLUwO6q2ufr4Xhu9qjkdN+l21LCFKSQNU0okYi8rJR ZdgtHnpnr99/3YL+nW1wC9q/DzXz81IgQrrMDB97UZ99eW01dWQzI0BHg3aUHA== X-Gm-Gg: AY/fxX6XBK2JybDhrZblqPlh/H4AQzRo+NOU5H5Da1jlB7Bf7vTygru73lVlHu2AErJ Y3j4DOkM4VHLDr7BwTL+0WQgcq7OKw4HidIpjawy06UBWRsKd1+0mq4L3mCs4XGiRqEiikLPRlO 7EJ+9ikzACxoDk+G1GIuJxOIAS/VG70V2a8TFAuuLYRMNKEhkLULNDhavlBPNUXc+D+cFJdyUKC MJwywRQXeNMENKnAzGre6LyzdSNTBr4o06ZCGUI390hdcTBjMyfxv4kO8Xz+HTHuylnPAX3BMGo 6VQKE9OH3y+3CF6ah3R8aQE+bbGcqeDyO++NJbRkIjA10dIGbi6elsp1N0mqAZ9bZ3f4AiMLTsP vog7g70yJo9ozYB2MaGm0vOyW2pfbEC4maeruKOr57jzvwAUy3skjCPBNCBbAKnoeZ4XWgKPodo LoXmw4Tj2l X-Google-Smtp-Source: AGHT+IFU9qpIuU2VmNK/fCW7qZIAQE6A7416/er999IoybyBiNHim9feKYT6+fhaxydMNaolgAPkKA== X-Received: by 2002:a05:600c:1994:b0:477:a978:3a7b with SMTP id 5b1f17b1804b1-47a8f905675mr138090665e9.22.1765907926391; Tue, 16 Dec 2025 09:58:46 -0800 (PST) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47bd992ad0csm13714525e9.9.2025.12.16.09.58.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Dec 2025 09:58:45 -0800 (PST) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 6/7] python3-pyro4: drop recipe Date: Tue, 16 Dec 2025 18:58:39 +0100 Message-ID: <20251216175840.2939403-6-skandigraun@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251216175840.2939403-1-skandigraun@gmail.com> References: <20251216175840.2939403-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 16 Dec 2025 17:58:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/122705 pyro4 is not maintained anymore, and it doesn't work with Python 3.11 fully either - and sure enough, when I tried to set up ptests with Python 3.13, I got many failures. Drop the recipe. (There is an actively maintained successor, Pyro5 - new recipe should be somewhere next to this patch.) Signed-off-by: Gyorgy Sarvari --- .../python-pyro4/python3-pyro4_4.82.bb | 16 ---------------- .../packagegroups/packagegroup-meta-python.bb | 1 - 2 files changed, 17 deletions(-) delete mode 100644 meta-python/recipes-connectivity/python-pyro4/python3-pyro4_4.82.bb diff --git a/meta-python/recipes-connectivity/python-pyro4/python3-pyro4_4.82.bb b/meta-python/recipes-connectivity/python-pyro4/python3-pyro4_4.82.bb deleted file mode 100644 index 9f5e6d6dba..0000000000 --- a/meta-python/recipes-connectivity/python-pyro4/python3-pyro4_4.82.bb +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "Python Remote Objects" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=cd13dafd4eeb0802bb6efea6b4a4bdbc" - -SRC_URI[sha256sum] = "511f5b0804e92dd77dc33adf9c947787e3f9e9c5a96b12162f0557a7c4ce21fb" - -PYPI_PACKAGE = "Pyro4" -UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" - -inherit pypi setuptools3 - -RDEPENDS:${PN} += " \ - python3-logging \ - python3-serpent \ - python3-threading \ - " diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index d3abc0761f..37c8e868d3 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -335,7 +335,6 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-pyperclip \ python3-pyperf \ python3-pyrad \ - python3-pyro4 \ python3-pyroute2 \ python3-pyrsistent \ python3-pyscaffold \ From patchwork Tue Dec 16 17:58:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 76775 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 7CFE3D637A1 for ; Tue, 16 Dec 2025 17:58:49 +0000 (UTC) Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.241.1765907928843610797 for ; Tue, 16 Dec 2025 09:58:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MBcGf6SQ; spf=pass (domain: gmail.com, ip: 209.85.128.49, mailfrom: skandigraun@gmail.com) Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-47789cd2083so26400875e9.2 for ; Tue, 16 Dec 2025 09:58:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765907927; x=1766512727; 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=evreI6C5UO+OkfY3TRrEofCeT+22lk9DCp5x7yUCuSY=; b=MBcGf6SQXeqACi5hM9qHq1CfmiB2IJMU7WQ5t9d/bNQtoeLa8H8PpwrPqp7aQ8OyHL EwUu74u4NgI/culAiGzt91QcslKpPSA15OYY2Ev6zUiSuocReZXlePOuRw1LDmi799Xy fOGniXy3LVGM6v2FKiPCz+Ve6IbuzEGh42K68d2d8toUIkso8/gu+lbetRym3+3BPxbZ p5zJlC7ZBVxE3OZDBTgJcyRYHMI/1UD3RxeVAjUmsE3L83I88sG25TP/D+13+Qfmt0ox RIOqsafnTVVJaAwJrnwBbTOEdxYeZErsTIF/Pg3SzIkYkxdZ4sX3JiW55c2EO1bDMevm eeGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765907927; x=1766512727; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=evreI6C5UO+OkfY3TRrEofCeT+22lk9DCp5x7yUCuSY=; b=DoPbA4oQZ31A5eYJyDmMAUYmuxSh9WD8ES1czOsARfZMGWI0xGixYqdk0/9UVWjCh2 pNrOesNuuHwk3Zq0nTyXXccVhWPqGNb1WskcF3mOoHVJLYfeoH8kx9rEgdaawgzh0Pj+ 6O7Sr/2c+NrByEfA3NWUXNPVCXTWbWqBjngHAwr47VnWayicZE982vPc5KDf0oV4586T q+kV7reZfYI5MnBqOF9xZMpBsYGDrzHUYewcxILf7S1K7pZqjy6yHHt+u0aHBNSaWdHX anXTcZY9d1UHox8D362K3Nfv4YiuqGSDbRP00fV2YhKsqiZVEVAkZoxV/pKQIgUUR6to 3oCg== X-Gm-Message-State: AOJu0YxvVEkdGY7OSZAJ8hdJKjOp5ZYL9p1z2MIcE6hqi+yjBsFoSIHx aXb2a/Igr+1gmwIL+PRRPfuktvWqnArpQ7bxjc3Gxv+YgyfFFDNIhMiMvEYCrQ== X-Gm-Gg: AY/fxX6wOWLkGsSajtTDXwpAI+go6TYRl8tfWSPMwLiDc4OVzZ+HmcMmYznntFkePsz 7tuSIrabiY6GVdKxqwNkMzCnkoMhqgZEgFOSoAxMXzHGVLviV43Dtum8jFDcV1bflL1XA2SwUbE IMqQUvDuNuSlQogY8/xVEPwuz0plp4nRnrpDjH9q5sRc6HOamoXLUkvED01fG/9o9Aoq1ka3pL1 bLqKz30zIPj38EmNZwbUGc/BcqAHx4vYfM0ZfoXPJYWWiFih3uRvuIqgfwUMUwAPXZx6Z7tCDtx KjTPBSnCexp0vBQHnyZxdA0pf4E/cDL/2bv+uRFeXGDnzTXA/JtbJ/2RSa6iYLWg83XMbpGlUda nY+SU9uDwI3C1KvfrqY5k6o2BlUzO9OsUG16NYX1+05hqXCfhHExUoxJwXYM1dxabpmTgyRQO2G zhhYTgsanY X-Google-Smtp-Source: AGHT+IH3p/UVwGdUZI4FGl1aU9mv7ofDkP1DTvDx/Q4TkSwd3nUqnw+HaVsn+Y5+m5d4bpW4eOGCzQ== X-Received: by 2002:a05:600c:620d:b0:477:582e:7a81 with SMTP id 5b1f17b1804b1-47a8f8a6c78mr163733945e9.4.1765907927128; Tue, 16 Dec 2025 09:58:47 -0800 (PST) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47bd992ad0csm13714525e9.9.2025.12.16.09.58.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Dec 2025 09:58:46 -0800 (PST) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 7/7] python3-pyro5: add recipe Date: Tue, 16 Dec 2025 18:58:40 +0100 Message-ID: <20251216175840.2939403-7-skandigraun@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251216175840.2939403-1-skandigraun@gmail.com> References: <20251216175840.2939403-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 16 Dec 2025 17:58:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/122706 Pyro enables you to build applications in which objects can talk to each other over the network, with minimal programming effort. Successor to the python3-pyro4 package - but this supports modern Python, and still maintained (under the same umbrella that developed pyro4 also). Ptest takes around a minute to execute. Sample output: root@qemux86-64:~# ptest-runner START: ptest-runner 2025-12-16T17:48 BEGIN: /usr/lib/python3-pyro5/ptest PASS: tests/test_api.py:test_api PASS: tests/test_client.py:TestProxy.testBasics PASS: tests/test_client.py:TestProxy.testProxyCopy [...many lines...] PASS: tests/test_threadpool.py:TestThreadPool.testClose PASS: tests/test_threadpool.py:TestThreadPool.testScaling PASS: tests/test_threadpool.py:TestThreadPoolServer.testServerPoolFull ============================================================================ Testsuite summary # TOTAL: 415 # PASS: 410 # SKIP: 5 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 DURATION: 60 END: /usr/lib/python3-pyro5/ptest 2025-12-16T17:49 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Gyorgy Sarvari --- .../ptest-packagelists-meta-python.inc | 1 + .../python-pyro5/python3-pyro5_5.15.bb | 27 +++++++++++++++++++ .../packagegroups/packagegroup-meta-python.bb | 1 + 3 files changed, 29 insertions(+) create mode 100644 meta-python/recipes-connectivity/python-pyro5/python3-pyro5_5.15.bb diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index e575b372b5..cef905a528 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -134,6 +134,7 @@ PTESTS_SLOW_META_PYTHON = "\ python3-pillow \ python3-pint \ python3-pykickstart \ + python3-pyro5 \ python3-pytest-localserver \ python3-scrypt \ python3-traitlets \ diff --git a/meta-python/recipes-connectivity/python-pyro5/python3-pyro5_5.15.bb b/meta-python/recipes-connectivity/python-pyro5/python3-pyro5_5.15.bb new file mode 100644 index 0000000000..eb6fab27cb --- /dev/null +++ b/meta-python/recipes-connectivity/python-pyro5/python3-pyro5_5.15.bb @@ -0,0 +1,27 @@ +SUMMARY = "Python Remote Objects" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c1c9ccd5f4ca5d0f5057c0e690a0153d" + +SRC_URI[sha256sum] = "82c3dfc9860b49f897b28ff24fe6716c841672c600af8fe40d0e3a7fac9a3f5e" + +PYPI_PACKAGE = "Pyro5" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +inherit pypi setuptools3 ptest-python-pytest + +RDEPENDS:${PN} += " \ + python3-json \ + python3-logging \ + python3-serpent \ + python3-threading \ + " + +RDEPENDS:${PN}-ptest += " \ + python3-html \ + python3-misc \ + python3-sqlite3 \ + " + +do_install_ptest:append(){ + cp -r ${S}/certs ${D}${PTEST_PATH}/ +} diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index 37c8e868d3..2ff88e6264 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -335,6 +335,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-pyperclip \ python3-pyperf \ python3-pyrad \ + python3-pyro5 \ python3-pyroute2 \ python3-pyrsistent \ python3-pyscaffold \