From patchwork Mon Dec 18 17:08:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Anavi X-Patchwork-Id: 36559 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 E07CEC35274 for ; Mon, 18 Dec 2023 17:09:16 +0000 (UTC) Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) by mx.groups.io with SMTP id smtpd.web10.48804.1702919353003938410 for ; Mon, 18 Dec 2023 09:09:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=Ers/W67I; spf=pass (domain: konsulko.com, ip: 209.85.208.42, mailfrom: leon.anavi@konsulko.com) Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-550dd0e3304so4133686a12.1 for ; Mon, 18 Dec 2023 09:09:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1702919351; x=1703524151; 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=GTIH8nUG1CSvhu3DQRW8VyUSYr8wCdiozVpPwb8wHWs=; b=Ers/W67IDXaCMCPDKo6uq1KRTyQiJs68mzMotL476/qg6SdGjPyVHtbjCDnuNe2Js9 ItWl5l4sNz9hX6Zlk2RnYma+Sci87gVYVLWSrELnSl9XfqBYbz1dGYptVrGo1lu97phR LAB1x+OW2BinHPntnDN372+TYQVImvXXwERHk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702919351; x=1703524151; 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=GTIH8nUG1CSvhu3DQRW8VyUSYr8wCdiozVpPwb8wHWs=; b=HEIjI74UiZEmiHS/PTXmEGLJCy3gHW4wAIwHwp1rIVChuW4nwrvGL9K6Tg/EcseYzA yPaYt5U27wuJZ53X1MCGTVNbkJB3TdnzY8x4SEVTmkzWoMDW+nSvASyljBEPKyHGuN9V TaDrVFZFncndS6+NiIxG1ku0VW25rZWlT+Mx03V1RcvecN6sc8TN3pmqAVnq/LAzrpGT rauz9olUZ2iwNIDVMk3q17/tTav3G2t1DwUa03dkm0ju/FltUMYZfGq5luPHtyD8tBAy OBOUC10V4EFpiNyIrxJYgspqStapPSwpbhwP3VQJarMRDI0KrhsXFR7R04L31HySsZ9a F8KQ== X-Gm-Message-State: AOJu0YwWDzY3RrkSRkkcO/ur8oF56TmfYc+oPOpS2B+QmrMPFeI+OWVR K3zepIymgTIFz8vRFd9fWujj1Q/oo2IGjY+mUeQ= X-Google-Smtp-Source: AGHT+IHuGcJewgWwqG+6vRjESEv4VBvWVFy+Ev8huGoT1R2YqdVE3PbA/dAmBdhHjMv4QtK52gUgtw== X-Received: by 2002:a50:bae3:0:b0:553:4d8f:cdf2 with SMTP id x90-20020a50bae3000000b005534d8fcdf2mr1197944ede.53.1702919350313; Mon, 18 Dec 2023 09:09:10 -0800 (PST) Received: from tone.k.g (lan.nucleusys.com. [92.247.61.126]) by smtp.gmail.com with ESMTPSA id d12-20020a056402000c00b0055344b92fb6sm1380419edu.75.2023.12.18.09.09.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 09:09:10 -0800 (PST) From: Leon Anavi To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi Subject: [meta-python][PATCH 1/4] python3-sdbus: upgrade 0.11.0 -> 0.11.1 Date: Mon, 18 Dec 2023 19:08:58 +0200 Message-Id: <20231218170901.1378254-1-leon.anavi@konsulko.com> X-Mailer: git-send-email 2.39.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 ; Mon, 18 Dec 2023 17:09:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107545 Upgrade to version 0.11.1: - Improved interface generator handling of multiple uppercase letters sequences. - Improved python formatting generated by interface code generator. - Added option --block to generate blocking interface code. - Fixed docstrings still being present even if python was configured with --without-doc-strings. - Fixed interface generator crashing when a rare write-only property is encountered. - Fixed async interfaces iterating over all members during initialization. - Fixed TypeError: Dbus type '\x00' is unknown being raised when trying to read from a message more than one time. - Fixed missing class body when generating code for interface without members. Signed-off-by: Leon Anavi --- .../{python3-sdbus_0.11.0.bb => python3-sdbus_0.11.1.bb} | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-sdbus_0.11.0.bb => python3-sdbus_0.11.1.bb} (64%) diff --git a/meta-python/recipes-devtools/python/python3-sdbus_0.11.0.bb b/meta-python/recipes-devtools/python/python3-sdbus_0.11.1.bb similarity index 64% rename from meta-python/recipes-devtools/python/python3-sdbus_0.11.0.bb rename to meta-python/recipes-devtools/python/python3-sdbus_0.11.1.bb index 6abdad0be..6372d3488 100644 --- a/meta-python/recipes-devtools/python/python3-sdbus_0.11.0.bb +++ b/meta-python/recipes-devtools/python/python3-sdbus_0.11.1.bb @@ -3,9 +3,15 @@ HOMEPAGE = "https://python-sdbus.readthedocs.io/en/latest/" LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e77986dc8e2ee22d44a7c863e96852ae" -SRC_URI[sha256sum] = "f86fbadae54fea6441ec2f27dc29daf085269d66c5d9df1a4fbc9474a24b91d0" +SRC_URI[sha256sum] = "adb97718ce996bb308520682c50b1a13e606d65a6edb1c1967a15d2e570cb3b7" REQUIRED_DISTRO_FEATURES = "systemd" DEPENDS += "systemd" +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-asyncio \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-core \ +" + inherit pypi setuptools3 features_check pkgconfig From patchwork Mon Dec 18 17:08:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Anavi X-Patchwork-Id: 36560 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 ECAC8C46CD3 for ; Mon, 18 Dec 2023 17:09:16 +0000 (UTC) Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) by mx.groups.io with SMTP id smtpd.web10.48805.1702919353947472881 for ; Mon, 18 Dec 2023 09:09:14 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=nDZXnGHj; spf=pass (domain: konsulko.com, ip: 209.85.208.41, mailfrom: leon.anavi@konsulko.com) Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-55114c073b8so4233240a12.1 for ; Mon, 18 Dec 2023 09:09:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1702919352; x=1703524152; 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=az33UNTpccNOUJwZanPF4/RSYaD3m7EsWT0gBLqZnnU=; b=nDZXnGHjlXQsCIMBvq/19deCUQKAmLrVvflswX3e/kU89y0KblNG5hGKmaBSBT8jkB RQ9LrCiyhWjWhJvPsQWGOOauTMakE6YqLRb1Yk1GhIftBRvFHzPDgpijeJOiEC8zW+EU aHxw99qftDFtyEjAPVZoD/cB5A8e9DzUMpZAA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702919352; x=1703524152; 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=az33UNTpccNOUJwZanPF4/RSYaD3m7EsWT0gBLqZnnU=; b=exKaSaTyHtZhV2w6gIK0n7eIApm6Mm7ni8t8v1Rizb1lzid/GDmyhNSeWxegTh4UWs R5YeOF2+grxIv+GAppU2bKndJcGctfc7r04RgDioWrVhjitrEyP8msxkgTWQNF6LJnog 3QmzSR5IDf4mg+NbYATOXcD+3Dn8/Hiv/fexU0jpZ6uneJcNUvyTwNHNAt5ZOKzabysQ AIjYz3uavYqi9Txx50eFOWf0oS33MGJaQTiGuFPaRp/TWADzSounGMoOojuuHrca0x1v EizFTNJcROkgrj6aT20lsr8UCL8TESDqUpTGweAwimGqyDekXfk05ErmR8RyaC1qkWxf qI/Q== X-Gm-Message-State: AOJu0YxrTgjb8HZdhPmTahzV9JR39/kJSFF2iW8ubcQ0IPd7+PC/yLPl LLJngoNZA6Pl3crr3y9m6nL4o1/w8Z6aazHXBNg= X-Google-Smtp-Source: AGHT+IE1FaRNfn7j1WTud2YLIkbGmilxDL52gxL8/ijA6OfEEnjMWwpimP+bbRlLxB15ujvwltEyIQ== X-Received: by 2002:a50:d514:0:b0:553:2fce:a5f8 with SMTP id u20-20020a50d514000000b005532fcea5f8mr1092950edi.106.1702919351957; Mon, 18 Dec 2023 09:09:11 -0800 (PST) Received: from tone.k.g (lan.nucleusys.com. [92.247.61.126]) by smtp.gmail.com with ESMTPSA id d12-20020a056402000c00b0055344b92fb6sm1380419edu.75.2023.12.18.09.09.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 09:09:11 -0800 (PST) From: Leon Anavi To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi Subject: [meta-python][PATCH 2/4] python3-zeroconf: upgrade 0.128.4 -> 0.130.0 Date: Mon, 18 Dec 2023 19:08:59 +0200 Message-Id: <20231218170901.1378254-2-leon.anavi@konsulko.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231218170901.1378254-1-leon.anavi@konsulko.com> References: <20231218170901.1378254-1-leon.anavi@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 ; Mon, 18 Dec 2023 17:09:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107546 Upgrade to version 0.130.0: - Make ServiceInfo aware of question history - Small speed up to ServiceInfo construction - Significantly improve efficiency of the ServiceBrowser scheduler - Small speed up to processing incoming records - Small performance improvement for converting time - Small performance improvement for ServiceInfo asking questions - Small performance improvement constructing outgoing questions - Scheduling race with the QueryScheduler - Ensure question history suppresses duplicates - Microsecond precision loss in the query handler - Ensure IPv6 scoped address construction uses the string cache Signed-off-by: Leon Anavi --- ...{python3-zeroconf_0.128.4.bb => python3-zeroconf_0.130.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-zeroconf_0.128.4.bb => python3-zeroconf_0.130.0.bb} (82%) diff --git a/meta-python/recipes-devtools/python/python3-zeroconf_0.128.4.bb b/meta-python/recipes-devtools/python/python3-zeroconf_0.130.0.bb similarity index 82% rename from meta-python/recipes-devtools/python/python3-zeroconf_0.128.4.bb rename to meta-python/recipes-devtools/python/python3-zeroconf_0.130.0.bb index bb3a163c8..8ae169c52 100644 --- a/meta-python/recipes-devtools/python/python3-zeroconf_0.128.4.bb +++ b/meta-python/recipes-devtools/python/python3-zeroconf_0.130.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/jstasiak/python-zeroconf" LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=6517bdc8f2416f27ab725d4702f7aac3" -SRC_URI[sha256sum] = "57590a48e36897a04ea4b1a41ba6bbf833637b99ac6fa9530a2f70783d916c39" +SRC_URI[sha256sum] = "db96a3033bc2ece2c75d873796e82530e092e250d03d07dd530828cf84ae16f0" inherit pypi setuptools3 From patchwork Mon Dec 18 17:09:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Anavi X-Patchwork-Id: 36561 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 C7D42C35274 for ; Mon, 18 Dec 2023 17:09:26 +0000 (UTC) Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) by mx.groups.io with SMTP id smtpd.web10.48807.1702919357973522882 for ; Mon, 18 Dec 2023 09:09:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=m4h5LdyG; spf=pass (domain: konsulko.com, ip: 209.85.208.53, mailfrom: leon.anavi@konsulko.com) Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-54c77e0835bso4128040a12.2 for ; Mon, 18 Dec 2023 09:09:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1702919356; x=1703524156; 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=VkKudEsJpFv6yCBM4gYkeIuOUozYirB0bLs0ZtNEhDI=; b=m4h5LdyGKya1a+RckewQ3WsXTY+sBwHyScQKcsvmoobJ0zu/lfz7oObjkTC+M0A4HN YcY0gbHViqkZitzpZJs3P1DB5ztfpRwDtGRioZBOgcnn4Dfm0W9K8srkdeV/s2Sv8lj6 yCafpnpK5PVfEhgemAnDxQl9Zc/ZGmeno2r00= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702919356; x=1703524156; 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=VkKudEsJpFv6yCBM4gYkeIuOUozYirB0bLs0ZtNEhDI=; b=jvjTlNYiqy5OXO2i+7ngxZjHrEnCffW79q5n9bSbtAqHPVCeYU0bQW0rBS1w1OQhQ7 m9+URJvmNiIQRVnvO/l3dVZG1j6krMC+T1UEGUokPl0JoOM8mE/IPNdMPKKlUCaesSYW vbnQ3V2p+aPn9NLrmmQtUAV/8RVOpOMdget19l9LORN/9iM0RhNheLE++yTI7nnVgBD+ fUdftEInUZfgXr6c5WQC0/vAMq8fkDHhb0Eza+C7n0Zn13HTXI8fkTEd6gz7l3O8drZI fSmy7IBVehU2JNtN2H+jS9uIjYXj6NM0QaJhvxuqa+HyR6dyr18N5SImQJVQH/qAee31 GBsQ== X-Gm-Message-State: AOJu0YxwoVCgrujWcN6Ndjs1IP8q9R/YdVoHGwQhKw0bGgX1swGF6b8x riN9lxFZ1WkrrVJVYqRVyX/kd+CgbUZOh5YKGXo= X-Google-Smtp-Source: AGHT+IESquC4ooKdeugD8moPzycBftXPV2RObeQa/1ffVsZgiBuKbROgxRkugPlOkPXgf5wdwwnbKA== X-Received: by 2002:a50:cc04:0:b0:54a:f1db:c290 with SMTP id m4-20020a50cc04000000b0054af1dbc290mr9545694edi.9.1702919352841; Mon, 18 Dec 2023 09:09:12 -0800 (PST) Received: from tone.k.g (lan.nucleusys.com. [92.247.61.126]) by smtp.gmail.com with ESMTPSA id d12-20020a056402000c00b0055344b92fb6sm1380419edu.75.2023.12.18.09.09.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 09:09:12 -0800 (PST) From: Leon Anavi To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi Subject: [meta-python][PATCH 3/4] python3-dominate: upgrade 2.8.0 -> 2.9.0 Date: Mon, 18 Dec 2023 19:09:00 +0200 Message-Id: <20231218170901.1378254-3-leon.anavi@konsulko.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231218170901.1378254-1-leon.anavi@konsulko.com> References: <20231218170901.1378254-1-leon.anavi@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 ; Mon, 18 Dec 2023 17:09:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107547 Upgrade to version 2.9.0: - Modernize setuptools support to use pyproject.toml - Remove brittle test Remove fix-ptests.patch as the issue has been solved upstream. Signed-off-by: Leon Anavi --- .../python/python3-dominate/fix-ptests.patch | 20 ------------------- ...ate_2.8.0.bb => python3-dominate_2.9.0.bb} | 5 ++--- 2 files changed, 2 insertions(+), 23 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-dominate/fix-ptests.patch rename meta-python/recipes-devtools/python/{python3-dominate_2.8.0.bb => python3-dominate_2.9.0.bb} (77%) diff --git a/meta-python/recipes-devtools/python/python3-dominate/fix-ptests.patch b/meta-python/recipes-devtools/python/python3-dominate/fix-ptests.patch deleted file mode 100644 index 81211d449..000000000 --- a/meta-python/recipes-devtools/python/python3-dominate/fix-ptests.patch +++ /dev/null @@ -1,20 +0,0 @@ -Fixes test failures on musl - -Fixes errors -ptestresult.python3-dominate.tests/test_dom_tag.py::test___get_thread_context - -Upstream-Status: Pending -Signed-off-by: Khem Raj - -diff --git a/tests/test_dom_tag.py b/tests/test_dom_tag.py -index 43ffecb..1126e54 100644 ---- a/tests/test_dom_tag.py -+++ b/tests/test_dom_tag.py -@@ -18,6 +18,7 @@ def test___get_thread_context(monkeypatch): - monkeypatch.setattr(sut, 'threading', threading) - - assert sut._get_thread_context() in [ -+ 1692341442, # Python >= 3.9, 32-bit - -6805948436281256182, # Python >= 3.9 - 3713141171098444831, # Python < 3.9 - ] diff --git a/meta-python/recipes-devtools/python/python3-dominate_2.8.0.bb b/meta-python/recipes-devtools/python/python3-dominate_2.9.0.bb similarity index 77% rename from meta-python/recipes-devtools/python/python3-dominate_2.8.0.bb rename to meta-python/recipes-devtools/python/python3-dominate_2.9.0.bb index 6b0489e4f..2234e541b 100644 --- a/meta-python/recipes-devtools/python/python3-dominate_2.8.0.bb +++ b/meta-python/recipes-devtools/python/python3-dominate_2.9.0.bb @@ -2,13 +2,12 @@ SUMMARY = "Dominate is a Python library for creating and manipulating HTML docum LICENSE = "LGPL-3.0-only" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b52f2d57d10c4f7ee67a7eb9615d5d24" -SRC_URI[sha256sum] = "4c90c3befaf88e612b71f4b39af7bcbef8977acfa855cec957225a8fbf504007" +SRC_URI[sha256sum] = "b15791ebea432218543a1702d76ae45d2ff95ff994e52014b8686a69dad772fd" -inherit pypi setuptools3 ptest +inherit pypi ptest python_setuptools_build_meta SRC_URI += " \ file://run-ptest \ - file://fix-ptests.patch \ " RDEPENDS:${PN}-ptest += " \ From patchwork Mon Dec 18 17:09:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Anavi X-Patchwork-Id: 36562 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 CF846C46CD2 for ; Mon, 18 Dec 2023 17:09:26 +0000 (UTC) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by mx.groups.io with SMTP id smtpd.web11.49285.1702919359275561316 for ; Mon, 18 Dec 2023 09:09:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=VW4a/r4p; spf=pass (domain: konsulko.com, ip: 209.85.167.45, mailfrom: leon.anavi@konsulko.com) Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-50e3cdcf010so1149061e87.2 for ; Mon, 18 Dec 2023 09:09:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1702919357; x=1703524157; 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=6lEuY2kL0LWNVjMUl1qXWl9QWqO3SkHlonH3B611uOA=; b=VW4a/r4pFyySj680NPD9WshH5Gg3gNt8vKmqxlSmVC7iXY5z8E6eAy6YOQ3LRoojvN IlWxjtYvOgQzr2MrVw7DhbNkfDyMPtxzBy63+6ogA/c3ll6uT9DdOB0To+Vbk1X3KNIj rW1P/rGucky1ePjpBAwu0h2rdOFxzQyBW5fjg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702919357; x=1703524157; 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=6lEuY2kL0LWNVjMUl1qXWl9QWqO3SkHlonH3B611uOA=; b=sKzfvFqtUjH7nfRd9IIFeWkfEFn1UN4yk9H1SQQSTXI5LUdlptUm0pnhigBuHDl2aV 8v3fvd5O0XUEiLq30FT69Tjg+pN5X/UXR3R0Pz6ePj7S4hFTlqGLxDv5ZqwoDdxLZO6h n6xylWeXlYmkJLBlz1pOEb/+5Zg1U+SYY5US/l1+rHZXzQVAMdlJWE1mg0zLNZXUMGJH PJREBt+iJ8us5XsPbi9obZI0Bb9sg21Rw+sJZwEQmYl6gRVQt9R0d2wOTmyJLU998k5R W5zSsbBacGoM9Yuu3oVpgb+tI4ZlUvX4+h/bK2plfRRSrLcf4IIqPz1oHdW4JFtMrO0z GV2A== X-Gm-Message-State: AOJu0Ywld/cNNlWqzOkY11GzmCCHUElghWANuBwHzi0+QRjneOXtCCtR 1a4YDOnaD4Bp/JvJD+czGgvTdKyP0u8W/KEEVG0= X-Google-Smtp-Source: AGHT+IGgaUBrJGA7krK1T7na91t2aTm62K4yC24fI1qXbB43YWYrcuOXABKlurPqIDtHo3pXND+yUA== X-Received: by 2002:a05:6512:2352:b0:50d:1e6f:b52c with SMTP id p18-20020a056512235200b0050d1e6fb52cmr5573762lfu.76.1702919357008; Mon, 18 Dec 2023 09:09:17 -0800 (PST) Received: from tone.k.g (lan.nucleusys.com. [92.247.61.126]) by smtp.gmail.com with ESMTPSA id d12-20020a056402000c00b0055344b92fb6sm1380419edu.75.2023.12.18.09.09.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 09:09:16 -0800 (PST) From: Leon Anavi To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi Subject: [meta-python][PATCH 4/4] python3-rlp: upgrade 3.0.0 -> 4.0.0 Date: Mon, 18 Dec 2023 19:09:01 +0200 Message-Id: <20231218170901.1378254-4-leon.anavi@konsulko.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231218170901.1378254-1-leon.anavi@konsulko.com> References: <20231218170901.1378254-1-leon.anavi@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 ; Mon, 18 Dec 2023 17:09:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107548 Upgrade to version 4.0.0: - repr() now returns an evaluatable string, like MyRLPObj(my_int_field=1, my_str_field="a_str") - Convert .format strings to f-strings - Add autoflake linting and move config to pyproject.toml Signed-off-by: Leon Anavi --- ...-setup-don-t-use-setuptools-markdown.patch | 37 ------------------- ...hon3-rlp_3.0.0.bb => python3-rlp_4.0.0.bb} | 8 ++-- 2 files changed, 5 insertions(+), 40 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch rename meta-python/recipes-devtools/python/{python3-rlp_3.0.0.bb => python3-rlp_4.0.0.bb} (60%) diff --git a/meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch b/meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch deleted file mode 100644 index 0ab012a98..000000000 --- a/meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 5a2db801c6520be296cee9cba0e0e4ffac68430c Mon Sep 17 00:00:00 2001 -From: Bartosz Golaszewski -Date: Wed, 11 May 2022 15:11:19 +0200 -Subject: [PATCH] setup: don't use setuptools-markdown - -This project is deprecated and irrelevant for the functionality of -pyrlp. We don't support it in meta-python so just drop it from the -dependencies. - -Signed-off-by: Bartosz Golaszewski ---- -Upstream-Status: Pending - - setup.py | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/setup.py b/setup.py -index 1055fb1..55fca24 100755 ---- a/setup.py -+++ b/setup.py -@@ -46,13 +46,11 @@ setup( - # *IMPORTANT*: Don't manually change the version here. See README for more. - version='3.0.0', - description="A package for Recursive Length Prefix encoding and decoding", -- long_description_markdown_filename='README.md', - author="jnnk", - author_email='jnnknnj@gmail.com', - url='https://github.com/ethereum/pyrlp', - packages=find_packages(exclude=["tests", "tests.*"]), - include_package_data=True, -- setup_requires=['setuptools-markdown'], - install_requires=[ - "eth-utils>=2.0.0,<3", - ], --- -2.34.1 - diff --git a/meta-python/recipes-devtools/python/python3-rlp_3.0.0.bb b/meta-python/recipes-devtools/python/python3-rlp_4.0.0.bb similarity index 60% rename from meta-python/recipes-devtools/python/python3-rlp_3.0.0.bb rename to meta-python/recipes-devtools/python/python3-rlp_4.0.0.bb index e747ae33b..49efd09a4 100644 --- a/meta-python/recipes-devtools/python/python3-rlp_3.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-rlp_4.0.0.bb @@ -4,11 +4,13 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=00854fa80a84236706b11f47f23e61e7" -SRC_URI[sha256sum] = "63b0465d2948cd9f01de449d7adfb92d207c1aef3982f20310f8009be4a507e8" -SRC_URI += "file://0001-setup-don-t-use-setuptools-markdown.patch" +SRC_URI[sha256sum] = "61a5541f86e4684ab145cb849a5929d2ced8222930a570b3941cf4af16b72a78" inherit pypi setuptools3 DEPENDS += "python3-pip-native" -RDEPENDS:${PN} += "python3-eth-utils" +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-eth-utils \ + ${PYTHON_PN}-typing-extensions \ +"