From patchwork Thu Sep 26 18:17:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 49649 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 90AD9CDE02B for ; Thu, 26 Sep 2024 18:17:38 +0000 (UTC) Received: from mail-oo1-f50.google.com (mail-oo1-f50.google.com [209.85.161.50]) by mx.groups.io with SMTP id smtpd.web10.51082.1727374656380284625 for ; Thu, 26 Sep 2024 11:17:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=I09rr/m2; spf=pass (domain: gmail.com, ip: 209.85.161.50, mailfrom: raj.khem@gmail.com) Received: by mail-oo1-f50.google.com with SMTP id 006d021491bc7-5e1baf317c7so592692eaf.2 for ; Thu, 26 Sep 2024 11:17:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727374655; x=1727979455; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8XzI8IUdzhVHg6fcnTpoudHaTFqFygE6WIKaZXoWbdk=; b=I09rr/m238GvAYCnVi8pU393VKNJkTeR9OLNoUQkxB8KXNVZtAV4It+bbUjErMgJP8 b8X9Z01Qu34xCbl1rxK/LXj/iuiGu8H9jopnvFU2voeC82gtU2IFrIocM7viDoawJv4z LD+/70VH54hTPjyQ2m8nJGI4/NcoES10IlLtvnunPM22bVK2fJYw883JCLci+obygwYf m5A26xG0ayzqMoBwS9VbRBUWIn6QhUZ+CAqGOw2PG3DDC9SXhNBpHBRbL9iIaLCfqp0t 8nY7ASqx0G6/7QOBG3Nd6O3JAcrojkkEbJNk2OHOT0bNWa4Z5jj7z+uW+NUFuq0JgoZB 8OSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727374655; x=1727979455; 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=8XzI8IUdzhVHg6fcnTpoudHaTFqFygE6WIKaZXoWbdk=; b=GyLPSiRXNo+gKM3mVda2fUsw1y/tj43vinmJ3rP24uxiD2iNkevB0ewmciUyT3oWpa 9tUeN+btx/PfnpOu46BkmJQfcGjU9ZZ6DAXqL+uY2m3ZpCu8oA+DOHS7fvQEiKD+IhGc bN4sBM8CpTucDVBwSwp84cn3bTiEwcwxOk12y7HZXMi25QsyX0k/uYlXFdhEWu8qqTyb seroZdtf3nKIcGrwXPVwOKaKu55Z5okdAmvk40TOFlrY4Sk4j0Dzzs//gxT76E8JouCy v2Xbtm8vO+9iAqk9vrVcfjS0Nr00THJE/JWWqyLhJX2OjLg7HlPaBCGJMyeB3gdky6Ue BxQQ== X-Gm-Message-State: AOJu0YwzWnx7kUAPbmH5xBDKP5aHkRMZD3Fh9QdeNLsIfCTGCb+27yrw PBEPY1HdamHvhg+xEDshsA7uvs/OrtUZWFNDMXKoHehAPZ0ng2Q8/xA6rPHs X-Google-Smtp-Source: AGHT+IFoKOVB0hv0mH2Nl53CUAbHMlmvSDQaaPFMwqYZ32w9+mbUbrHzU8rZgA/hyUAZLULJ0GJ7Jw== X-Received: by 2002:a05:6358:887:b0:1bc:57cf:4156 with SMTP id e5c5f4694b2df-1becbc520e8mr99569755d.19.1727374655269; Thu, 26 Sep 2024 11:17:35 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9d80:4380::ae14]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e6db5ecd1fsm172049a12.58.2024.09.26.11.17.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2024 11:17:34 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 1/3] python3-pint: Upgrade to 0.24.3 Date: Thu, 26 Sep 2024 11:17:31 -0700 Message-ID: <20240926181733.932610-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.46.2 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 ; Thu, 26 Sep 2024 18:17:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/112520 - Switch to fetching from pypi - Use automake format for pytests - Fix ptests, by adding missing runtime deps Signed-off-by: Khem Raj --- .../python/python3-pint/run-ptest | 2 +- ...n3-pint_0.24.1.bb => python3-pint_0.24.3.bb} | 17 ++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) rename meta-python/recipes-devtools/python/{python3-pint_0.24.1.bb => python3-pint_0.24.3.bb} (66%) diff --git a/meta-python/recipes-devtools/python/python3-pint/run-ptest b/meta-python/recipes-devtools/python/python3-pint/run-ptest index 5cec711696..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-pint/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pint/run-ptest @@ -1,3 +1,3 @@ #!/bin/sh -pytest +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pint_0.24.1.bb b/meta-python/recipes-devtools/python/python3-pint_0.24.3.bb similarity index 66% rename from meta-python/recipes-devtools/python/python3-pint_0.24.1.bb rename to meta-python/recipes-devtools/python/python3-pint_0.24.3.bb index 8959a72ff7..23e9fdb0e2 100644 --- a/meta-python/recipes-devtools/python/python3-pint_0.24.1.bb +++ b/meta-python/recipes-devtools/python/python3-pint_0.24.3.bb @@ -6,14 +6,11 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" -PYPI_PACKAGE := "Pint" +PYPI_PACKAGE = "pint" -inherit ptest python_setuptools_build_meta +inherit pypi ptest python_setuptools_build_meta -SRCREV = "4c2caccfc6cdac1f80a9bfa15ebea1ca49836881" -SRC_URI = "git://github.com/hgrecco/pint;protocol=https;branch=master" -S = "${WORKDIR}/git" -#SRC_URI[sha256sum] = "e1509b91606dbc52527c600a4ef74ffac12fff70688aff20e9072409346ec9b4" +SRC_URI[sha256sum] = "d54771093e8b94c4e0a35ac638c2444ddf3ef685652bab7675ffecfa0c5c5cdf" DEPENDS += "python3-setuptools-scm-native" @@ -27,12 +24,18 @@ RDEPENDS:${PN} += " \ python3-setuptools \ python3-packaging \ " - +# python3-misc for timeit.py RDEPENDS:${PN}-ptest += " \ python3-appdirs \ + python3-attrs \ python3-flexcache \ python3-flexparser \ + python3-misc \ python3-pytest \ + python3-pytest-benchmark \ + python3-pytest-subtests \ + python3-statistics \ + python3-unittest-automake-output \ " do_install_ptest() { From patchwork Thu Sep 26 18:17:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 49650 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 8FE1CCDE02F for ; Thu, 26 Sep 2024 18:17:38 +0000 (UTC) Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) by mx.groups.io with SMTP id smtpd.web10.51083.1727374657147795429 for ; Thu, 26 Sep 2024 11:17:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZA4aozYH; spf=pass (domain: gmail.com, ip: 209.85.210.43, mailfrom: raj.khem@gmail.com) Received: by mail-ot1-f43.google.com with SMTP id 46e09a7af769-71100987d1cso748103a34.2 for ; Thu, 26 Sep 2024 11:17:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727374656; x=1727979456; 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=S9ngi0AgR00EKR0UySCqk0D4uzuZAtoN06IoNyxvrfI=; b=ZA4aozYHBKH/dnTLZSyPk+4AcJIkxclf6TNtM79M+Ink6I7NSzVxJ2Lj7yFF7RqZXX L+R8OMw+XKVt6q1ThoIDzg4Eke+kEFi/UPauZq2r6fSpwxfxZJ1ZqPD84gTeHsZNjBa5 sfjIrHNPRcdQ4eWkz1Eh14MCB3wFGLn4c0cx3e051atSJOib0wlV1RBYi7WAEVsdCtdJ WustFuR366E6ZZxZAHmv2I6z3wp9wyPtvY5FcaALszMjivYcGL3Vw5LE++3lV8Zy+zT2 jIDBrQNhumZZXwAUmKOYZTvcdWzkHZmnfdN5FS9ueeuexobKudl7o/4VvHZJFLnuVxcF 1Y1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727374656; x=1727979456; 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=S9ngi0AgR00EKR0UySCqk0D4uzuZAtoN06IoNyxvrfI=; b=VXdio+rMCLd1U2bvVD6y3TUvurNrwTtEBEaCrlBHiOZSYnlPvb0B9dKZzNpl77rWmt YfHOVo1jaSw24/1/F/VGkVZP+uHbZqGKGnbSL8kfyVVxQ2b4Rr3cizG1fbdT3wGutuDF 1EoT9axzUs3bBhsRWgctzp7Jk7J7M+gc+Jd7x8cNY+q7ErM2RKY0gK3BHx83kFYMkgsj CiQRBrQYMJa3otct2YWmV/JQvrVlf+cxSYsDrnfm0jptA25a4P/+3yf3lxI+yGo2O6Gf s3CpVHf/Oo0HuxdMKZtGYTA70u6226nC7MOcPyQiMY4e/8XzCI1G5dA1VGJS0Lb/cZGV t2Jw== X-Gm-Message-State: AOJu0YyKvj+cpZ4cMXbrHHDltRuZI7vwi+tOf/RxjpW8UlY+R9KXK1fC KSOTGFCnQKJhx3989r1udqNbkmFC+YTz3TXChz14PiTAN/8sZaKkBTqS9Uy7 X-Google-Smtp-Source: AGHT+IGuaxqN0D+jXoOjFCK5PRx6BCChXaTmNxeQUkX2HMdO9NYQnNYMr0eHfA6e6ew6kx/hX7okCQ== X-Received: by 2002:a05:6358:e49b:b0:1b8:33b2:1482 with SMTP id e5c5f4694b2df-1becbb58579mr85375055d.1.1727374656134; Thu, 26 Sep 2024 11:17:36 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9d80:4380::ae14]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e6db5ecd1fsm172049a12.58.2024.09.26.11.17.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2024 11:17:35 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Trevor Gamblin Subject: [meta-python][PATCH 2/3] python3-pytest-mock: Fix ptests Date: Thu, 26 Sep 2024 11:17:32 -0700 Message-ID: <20240926181733.932610-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20240926181733.932610-1-raj.khem@gmail.com> References: <20240926181733.932610-1-raj.khem@gmail.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 ; Thu, 26 Sep 2024 18:17:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/112521 - Drop the patch to add additional checks to disable failing introspection tests, use plain asserts instead - Switch to pypi fetcher - Add missing rdeps needed for ptest runs Signed-off-by: Khem Raj Cc: Trevor Gamblin --- ...t_mock-skip-args-introspection-tests.patch | 38 ------------------- .../python/python3-pytest-mock/run-ptest | 4 +- .../python/python3-pytest-mock_3.14.0.bb | 19 +++++----- 3 files changed, 11 insertions(+), 50 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pytest-mock/0001-test_pytest_mock-skip-args-introspection-tests.patch diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock/0001-test_pytest_mock-skip-args-introspection-tests.patch b/meta-python/recipes-devtools/python/python3-pytest-mock/0001-test_pytest_mock-skip-args-introspection-tests.patch deleted file mode 100644 index f024e79d93..0000000000 --- a/meta-python/recipes-devtools/python/python3-pytest-mock/0001-test_pytest_mock-skip-args-introspection-tests.patch +++ /dev/null @@ -1,38 +0,0 @@ -From e184fb950ad3b52c5c16438d39fe4d516c784e30 Mon Sep 17 00:00:00 2001 -From: Trevor Gamblin -Date: Thu, 12 Oct 2023 17:32:40 -0400 -Subject: [PATCH] test_pytest_mock: skip args introspection tests - -Disable these two tests for now so that python3-pytest-mock can have -successful ptest runs. - -Upstream-Status: Inappropriate [OE-Specific] - -Signed-off-by: Trevor Gamblin ---- - tests/test_pytest_mock.py | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/tests/test_pytest_mock.py b/tests/test_pytest_mock.py -index 3d53241..157b6c3 100644 ---- a/tests/test_pytest_mock.py -+++ b/tests/test_pytest_mock.py -@@ -581,6 +581,7 @@ def test_assert_called_wrapper(mocker: MockerFixture) -> None: - stub.assert_called() - - -+@pytest.mark.skip("Async not correctly detected, skip for now") - @pytest.mark.usefixtures("needs_assert_rewrite") - def test_assert_called_args_with_introspection(mocker: MockerFixture) -> None: - stub = mocker.stub() -@@ -597,6 +598,7 @@ def test_assert_called_args_with_introspection(mocker: MockerFixture) -> None: - stub.assert_called_once_with(*wrong_args) - - -+@pytest.mark.skip("Async not correctly detected, skip for now") - @pytest.mark.usefixtures("needs_assert_rewrite") - def test_assert_called_kwargs_with_introspection(mocker: MockerFixture) -> None: - stub = mocker.stub() --- -2.41.0 - 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 8d2017d39c..51ae892b01 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 --automake +# see https://github.com/pytest-dev/pytest-mock/issues/102 for reasons to use plain asserts +pytest --automake --assert=plain diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb b/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb index fe2479c836..b968cf1cd4 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb @@ -5,28 +5,27 @@ LIC_FILES_CHKSUM = " \ file://LICENSE;md5=b2ddb1e69238461b7e4ef2a84d874109 \ " -SRC_URI = " \ - git://github.com/pytest-dev/pytest-mock;branch=main;protocol=https \ - file://0001-test_pytest_mock-skip-args-introspection-tests.patch \ +SRC_URI += " \ file://run-ptest \ " -SRCREV = "8733134b6194395e9cd3c745adcc9a9c09b0279e" +SRC_URI[sha256sum] = "2719255a1efeceadbc056d6bf3df3d1c5015530fb40cf347c0f9afac88410bd0" -inherit python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest + +PYPI_PACKAGE = "pytest-mock" DEPENDS += "python3-setuptools-scm-native" -RDEPENDS:${PN} += " \ - python3-asyncio \ +RDEPENDS:${PN}-ptest += " \ + python3-misc \ python3-mock \ python3-pytest \ python3-pytest-asyncio \ - python3-unittest \ + python3-threading \ + python3-tox \ python3-unittest-automake-output \ " -S = "${WORKDIR}/git" - do_install_ptest() { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/tests ${D}${PTEST_PATH}/ From patchwork Thu Sep 26 18:17:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 49651 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 8EF66CDE02E for ; Thu, 26 Sep 2024 18:17:38 +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.web10.51084.1727374658281389953 for ; Thu, 26 Sep 2024 11:17:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gdB6oL7Z; spf=pass (domain: gmail.com, ip: 209.85.215.176, mailfrom: raj.khem@gmail.com) Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-7c6b4222fe3so897017a12.3 for ; Thu, 26 Sep 2024 11:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727374657; x=1727979457; 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=S29y+JQ2Bc88WLIsnU/avq7b2dUPinI16bPdeV9Yp+g=; b=gdB6oL7ZYOXGNb2VreJ/FpSeacbTEcEixDnGuz0Mp4L6YS6Ffi0AhkwYMe0YbNb/lU gyT5nMpYfsS8siaw8zkKPlDPvXEXtbiHfZ75zhsR7P+LEeEwPfqaRkBICuJAhGQ9JB/1 ubI+v0u3Jol0hnn3thDsojlCDqWyKAM+/y148shtTF8cYyutOU5gZg3bsIaJtP5WRBZg LcdOZeZeuYT4/YLdnqhgszjajz51R98dxUYOyNTDZp3PqtgwxNPjp+yArhxsOiVBN96K id527QqgjtUzZZFvnS4+W9oS93jYaS22xF7eGMgvDaivwT/PJBafTFQn4VzT5ekTGb3e YjNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727374657; x=1727979457; 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=S29y+JQ2Bc88WLIsnU/avq7b2dUPinI16bPdeV9Yp+g=; b=M6gVYGSjfK7eicF/L3ttm1IT+Pzb5JRDekPewMDfajV3oFavyWqaVExEaXVqLh8ad/ OrbU89jncBEHC6D5NwEwpnQuSzqQlhBcdqJsZz2lkkAtTTAovNva9UlCpxN487hydbYf jKmOXGomMbZPb7MElROMK+zQwoFEhVlow/VIiCZTZm5Gbdmv8wNeQhSs7yuLzu1ZGuB+ AAAikJCwEYRvw6pBaWL3YURBH+kDTGZ7soOpswkCO+0tGNZwj0IxXppzHt34NzekEbwe E/3Xr+gSlt98uw53gmw/vV+a3Ie8lbOeDURlb6RuMMn6CZIcnZeztAVWNXeFV+3tKkW+ Tnrg== X-Gm-Message-State: AOJu0Ywd8TM4DOQsL3lqS4ZBk85lIeeGGxvghm0Jwnoy+1uNZwndgbBM FmL7TWvlMpxvykiHW7tAekgWBl9CQ2g0gOd/0xqnwCw0k6Pbaq6GQ8iByw== X-Google-Smtp-Source: AGHT+IFDUks+iTzxNrXmHU9bMupEg2jEWAVTmmTBGK4AMgwSxf8TrkqljhEFIQxkpjuwWGnsjuNmEg== X-Received: by 2002:a05:6a20:d805:b0:1d2:ba7c:d8cf with SMTP id adf61e73a8af0-1d4fa64d297mr744987637.7.1727374657403; Thu, 26 Sep 2024 11:17:37 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9d80:4380::ae14]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e6db5ecd1fsm172049a12.58.2024.09.26.11.17.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2024 11:17:36 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 3/3] python3-sqlparse: Add missing rdep on mypy module for ptests Date: Thu, 26 Sep 2024 11:17:33 -0700 Message-ID: <20240926181733.932610-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20240926181733.932610-1-raj.khem@gmail.com> References: <20240926181733.932610-1-raj.khem@gmail.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 ; Thu, 26 Sep 2024 18:17:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/112522 This is needed for fixing Failed ptests: {'python3-sqlparse': ['tests/test_cli.py:test_encoding_stdout[encoding_gbk.sql-gbk]', 'tests/test_cli.py:test_encoding_output_file[encoding_gbk.sql-gbk]', 'tests/test_cli.py:test_encoding_stdin[encoding_gbk.sql-gbk]']} Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-sqlparse_0.5.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-python/recipes-devtools/python/python3-sqlparse_0.5.1.bb b/meta-python/recipes-devtools/python/python3-sqlparse_0.5.1.bb index 62de2327cb..daf67607f7 100644 --- a/meta-python/recipes-devtools/python/python3-sqlparse_0.5.1.bb +++ b/meta-python/recipes-devtools/python/python3-sqlparse_0.5.1.bb @@ -16,6 +16,7 @@ export HOST_SYS inherit pypi ptest python_hatchling RDEPENDS:${PN}-ptest += "\ + python3-mypy \ python3-pytest \ python3-unittest-automake-output \ python3-unixadmin \