From patchwork Wed Feb 19 13:18:24 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 57609 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 C1394C021B0 for ; Wed, 19 Feb 2025 13:18:33 +0000 (UTC) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mx.groups.io with SMTP id smtpd.web10.21915.1739971110685042232 for ; Wed, 19 Feb 2025 05:18:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=kvvOxypW; spf=none, err=SPF record not found (domain: bgdev.pl, ip: 209.85.221.50, mailfrom: brgl@bgdev.pl) Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-38f3ac22948so2036105f8f.0 for ; Wed, 19 Feb 2025 05:18:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1739971109; x=1740575909; 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=aUdfRWMuubkwQY7X4eRgSXkzAzIlnBQq7w7Fh1jsAGs=; b=kvvOxypWhCpl/2W+qlShI2aYXj6SNSStWPROa6lpuqSNQE+EaKSTOLhSjkhm0aU/zr MNTwh6xmZsEnL5K2RK+2kEwAQCr8CzZivslJsWWIYHup0qcw4wNwe64WwdMdbSS/0gMC YKmfpfGnt9OjUBXHqBBHnEexE28aaHNxjnvV+iPsBK5KKyOlInjF7EnbUkFydNRu7DmI pam3bnlceJiBAioMkJ86lrhRa00qIOlvNbToXfYN3THuVRFHKiE7Toriipu2x/DyYjLq 9NfTtj+fHFXEDviXlQdC7hbba7nEUk+rgep3D/25IS0jjmyivy+N7MRGu3Fh2orlzJ1j Muqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739971109; x=1740575909; 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=aUdfRWMuubkwQY7X4eRgSXkzAzIlnBQq7w7Fh1jsAGs=; b=Ut4hoWiCokBrpkEYtChEuGgT9sOsDAiTSyIz5ev5+hwMGYLhXTcurfV1uuHSDhfKsD CHXrylkltYjoFGSjTyny6UBaC5AaMC71RYoyBhoDP26WYWFlwnKuKJNBFJwgxP77BtTo xkPXvqckhTmHGMcrGhg6vrm+JQXWmkfDb5eJoou+pq7lFJn8BmQxwuYtiAGFu8CRVBiA jJaBGchCsBS/aFrfxoQXAMyrogbm3A9WlwWRIODa0WqZ6UXHYNNan3mlKBMMt1eMVcxk wydVzlOnHu7d+kiCfzpB1koYkiUv2nNojeuU6g4HZZ+k1n6YTvIUqlw+0y/hwC7Lp8+k pmmw== X-Forwarded-Encrypted: i=1; AJvYcCU5ooZTFZ14xilSsjf8jhvnyTbmqjpEwEwnuAEknYALVzdMe1AnyqVtVK9sML9L2j3JGLrgKlYUdlkaZLUx8LxcPQA=@lists.openembedded.org X-Gm-Message-State: AOJu0YygTKSn2xjX756B4OGWO0NmN7pEO3M8ZlbCvnMIziMdRPtvZfjy N/Ru/HKnGScL2Mh7ut67prc1J84wf8HJhrd9fEc8dYtdYQf5LItMyvNOg7IWRss= X-Gm-Gg: ASbGncv4hMrHWiOiir3ndebJCUfX51DvVz0mWxWo03It1aeVcVd1wqXaJN4kMoo3BVD kgmZCnUN5SumAgQ8j9Xl6FglKtuwTd+7tHBn/11VBVggcZKiUvtfb/oYYlD8Yu3u7nC456Dfv9i Lo47VbtJkyyGbnVMnQqbO17N5xKfv6T/fFXYiqswKbIVWd174VFgfnT+SlI53029ZP//uwxyGL+ 14cvpryPSXaFrOG8q4SasOmVF5qk0a/6XJHdmBsSL6ii4MoEp9M8EgeD4Yber5lXT8pPWxniaO8 FW0BNIXfJ6uLVg== X-Google-Smtp-Source: AGHT+IHrQCXkcznNa2+stq4HJfdrKy4pJDa6ouC+skW5Ywm+yU6IWAFIlzdfFRz2MPZt8REA6AXbEw== X-Received: by 2002:adf:f60f:0:b0:38d:dc4d:3476 with SMTP id ffacd0b85a97d-38f33f58da4mr14486038f8f.52.1739971108802; Wed, 19 Feb 2025 05:18:28 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:dc:7e00:f0ed:3532:fe6:315c]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38f258ccd95sm17833607f8f.25.2025.02.19.05.18.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Feb 2025 05:18:28 -0800 (PST) From: Bartosz Golaszewski To: Khem Raj , Bruce Ashfield , openembedded-devel@lists.openembedded.org Cc: Bartosz Golaszewski Subject: [meta-oe][PATCH 1/2] libgpiod: update to v2.2.1 Date: Wed, 19 Feb 2025 14:18:24 +0100 Message-ID: <20250219131826.239050-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.45.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 ; Wed, 19 Feb 2025 13:18:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/115524 From: Bartosz Golaszewski The main set of changes in this release doesn't concern yocto - it brings in proper sphinx docs infrastructure for publishin on readthedocs. We still have a bunch of code fixes though and we can also remove the patch we're carrying in the recipe as it's upstream now. Signed-off-by: Bartosz Golaszewski --- ...ts-disable-GPIO-simulator-before-rel.patch | 34 ------------------- .../{libgpiod_2.2.bb => libgpiod_2.2.1.bb} | 7 ++-- 2 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch rename meta-oe/recipes-support/libgpiod/{libgpiod_2.2.bb => libgpiod_2.2.1.bb} (95%) diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch deleted file mode 100644 index 9747613aa6..0000000000 --- a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 7df2bb4f51281166633d4acbcff5763150add3fa Mon Sep 17 00:00:00 2001 -From: Bartosz Golaszewski -Date: Mon, 3 Feb 2025 13:20:41 +0100 -Subject: [PATCH] bindings: cxx: tests: disable GPIO simulator before releasing it - -Linux kernel commit 8bd76b3d3f3a ("gpio: sim: lock up configfs that an -instantiated device depends on") uncovered an issue in C++ bindings -tests where the GPIO simulator device is not disabled before removing its -configfs entries. Add a call to gpiosim_dev_disable() to the -gpiosim::chip's destructor. - -Signed-off-by: Bartosz Golaszewski - -Upstream-Status: Submitted [https://lore.kernel.org/all/20250203-fix-gpiosim-in-bindings-v1-1-d2c9e0f3a29d@linaro.org/] ---- - bindings/cxx/tests/gpiosim.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/bindings/cxx/tests/gpiosim.cpp b/bindings/cxx/tests/gpiosim.cpp -index 4bda5a2..cdecd8d 100644 ---- a/bindings/cxx/tests/gpiosim.cpp -+++ b/bindings/cxx/tests/gpiosim.cpp -@@ -115,7 +115,7 @@ chip::chip(chip&& other) - - chip::~chip() - { -- -+ ::gpiosim_dev_disable(this->_m_priv->dev.get()); - } - - chip& chip::operator=(chip&& other) --- -2.45.2 - diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb similarity index 95% rename from meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb rename to meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb index 054d378451..b72d960c10 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb @@ -11,12 +11,9 @@ LIC_FILES_CHKSUM = " \ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-2.x:" -SRC_URI += " \ - file://gpio-manager.init \ - file://0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch \ -" +SRC_URI += "file://gpio-manager.init" -SRC_URI[sha256sum] = "ee29735890eb1cc0e4b494001da5163d1a9c4735343201d22485db313601ca07" +SRC_URI[sha256sum] = "0e948049c309b87c220fb24ee0d605d7cd5b72f22376e608470903fffa2d4b18" # Enable all project features for ptest PACKAGECONFIG[tests] = " \ From patchwork Wed Feb 19 13:18:25 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 57608 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 BFF7FC021AA for ; Wed, 19 Feb 2025 13:18:33 +0000 (UTC) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mx.groups.io with SMTP id smtpd.web10.21917.1739971112618062800 for ; Wed, 19 Feb 2025 05:18:32 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=D0xM1Eb6; spf=none, err=SPF record not found (domain: bgdev.pl, ip: 209.85.221.46, mailfrom: brgl@bgdev.pl) Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-38f325ddbc2so3492979f8f.1 for ; Wed, 19 Feb 2025 05:18:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1739971111; x=1740575911; 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=jLQJi/4bsmLR6oFisCpN2eU5FkJzoR3ey2o1bEE98bo=; b=D0xM1Eb6uLCt3md8Go9yGPG7wnhRoyz5MZ/kpcRRRLAYvE+j0whQZ76MnE3QvMTDsv EYx9d1n8XpwsxqLRYUf+qTG+p3gLjaAjsa0F53pWBgSe/UYgubRfZAQs4wEkk66StyHU RSm7hXeL13fk6AKs+gxFsjrT2IVf2+tjVXaTBS6rFnruyNW5q09NQZqI1VzgJWXpZ9os gnRcVdu6uSnkbnlJ6nvzexywDrmnPspMYy7du4gbplKvUJW5Qck29Mbl8P7QvggnJmVO LmBSPhJVrA7zpO2FIqWEpROCW065rggR8Pg/JR/Mu3OQx+a+SqTf8baLlYdPx6GPuAZa psaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739971111; x=1740575911; 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=jLQJi/4bsmLR6oFisCpN2eU5FkJzoR3ey2o1bEE98bo=; b=vhWm5wGJiM5HoSP21llWSivV+f0SxP/JAIHY3QAqK2zX7hiP+uQh2qi3VUVCH6j3mk /czTfSw8gM/eOxPVKHWqY+VWIDBf5/bp3/DU/e7QBmwdwRgm18Py8izVCmtz3x2ND8rq 3J3k/HXg1gDdf+/GsrVNEMq2+U6GxHAKhWRchg0HB2w3xGA6jf4FiGy03qhjYmukHicn 8vefnF8heKsCpuTaWTUFwuBnvTYfdiEC3tHpiiHlkZuXvljvkh0NOv4H1n+1AlXdzZtA WGf8TNBo4Ab22cckQ8s4rjQNMGQcxhPWILYXzkaTGB1/oOF1wbh9D7BN90EZE1K5oa+L YcAg== X-Forwarded-Encrypted: i=1; AJvYcCXrwa8brFuGnqv4qEjOdfWHZH5IIlts2W+SMU0TmcwFIDZDYl+gmgxllvj9Fy4Yz/Pqpl3zQmYXyBbWh0V75uCIWXg=@lists.openembedded.org X-Gm-Message-State: AOJu0YyKk+SfUnw7/9jm3Cz3j2P8UXNNM/kOsD/dfPrli+j+lfgxVBj+ 8cvcfdhIauJ7bFQGckyzvQi57t+BC09LC/KKJm2TSo3REQ0A8RC1PuRw43BuaIg= X-Gm-Gg: ASbGncsPJIUqFDvQkyeof2x54T5rCbyx6nNAiiXzRMvBWBOoW0rM4wG6YBOdFYNuPUn bRux8iss/fXHWaVpnj0LdtQ6Nv2fzV5qMV8QJzv+EkuWm9EYrLi/fHm2vNhMbU8TUrda2iD3Law /REWYNuLUqk2axWatdtH30PI4YS2tf7sT2uOuQnQNfiU6iucBEtYfpjfNVCSjs4ovT83MBX4cLx uPQwlM3MbT9iiUaOjbZREPmbrjiwn3PIBMghcB2xwuTtw2LGvBysgCVtx2kdydW7lH+HNVKI6i5 gIw1YPkYqxnQ6g== X-Google-Smtp-Source: AGHT+IFp6XsBtOjQ0tBd4OgS9ZaBDjJxUSnybgKT7t0kxLJ683YeuGcOALbTgcG58F1TRygEZFxlrw== X-Received: by 2002:a5d:64a3:0:b0:38f:50bd:ad11 with SMTP id ffacd0b85a97d-38f50bdadd5mr6132922f8f.5.1739971109479; Wed, 19 Feb 2025 05:18:29 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:dc:7e00:f0ed:3532:fe6:315c]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38f258ccd95sm17833607f8f.25.2025.02.19.05.18.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Feb 2025 05:18:29 -0800 (PST) From: Bartosz Golaszewski To: Khem Raj , Bruce Ashfield , openembedded-devel@lists.openembedded.org Cc: Bartosz Golaszewski Subject: [meta-python][PATCH 2/2] python3-gpiod: update to v2.3.0 Date: Wed, 19 Feb 2025 14:18:25 +0100 Message-ID: <20250219131826.239050-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20250219131826.239050-1-brgl@bgdev.pl> References: <20250219131826.239050-1-brgl@bgdev.pl> 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 ; Wed, 19 Feb 2025 13:18:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/115525 From: Bartosz Golaszewski This is a minor gpiod package release that brings in some new interfaces, a significant typing rework, ruff and mypy conformity and a slew of bug-fixes. Signed-off-by: Bartosz Golaszewski --- .../{python3-gpiod_2.2.4.bb => python3-gpiod_2.3.0.bb} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename meta-python/recipes-devtools/python/{python3-gpiod_2.2.4.bb => python3-gpiod_2.3.0.bb} (71%) diff --git a/meta-python/recipes-devtools/python/python3-gpiod_2.2.4.bb b/meta-python/recipes-devtools/python/python3-gpiod_2.3.0.bb similarity index 71% rename from meta-python/recipes-devtools/python/python3-gpiod_2.2.4.bb rename to meta-python/recipes-devtools/python/python3-gpiod_2.3.0.bb index 7efbc5b80a..cd05b40010 100644 --- a/meta-python/recipes-devtools/python/python3-gpiod_2.2.4.bb +++ b/meta-python/recipes-devtools/python/python3-gpiod_2.3.0.bb @@ -3,11 +3,11 @@ SUMMARY = "Python bindings for libgpiod." LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & CC-BY-SA-4.0" # The actual license files live in the upstream libgpiod from which the pypi # package is spun out. -LIC_FILES_CHKSUM = "file://setup.py;beginline=241;endline=241;md5=f5ddb56912b7f20bf94aa4d1bdcd3533" +LIC_FILES_CHKSUM = "file://pyproject.toml;beginline=13;endline=13;md5=fca786987ac89b59c767e55467de581e" SRC_URI += "file://run-ptest" -SRC_URI[sha256sum] = "4923c27262c70815054fe7a1962b98dd1d6822a541c103d0acd7f42fc9aabae9" +SRC_URI[sha256sum] = "daa840ed5b691e7078a9cf21c79fe813b9a91c3ed0bdbafae0181c7b98b80300" inherit python_setuptools_build_meta python_pep517 ptest pypi @@ -34,12 +34,12 @@ do_compile_ptest() { do_install_ptest() { install -d ${D}${PTEST_PATH}/gpiod-test/gpiosim - install -d ${D}${PTEST_PATH}/gpiod-test/procname + install -d ${D}${PTEST_PATH}/gpiod-test/system install -m 0644 ${S}/tests/*.py ${D}${PTEST_PATH}/gpiod-test/ install -m 0644 ${B}/tests/gpiosim/_ext* ${D}${PTEST_PATH}/gpiod-test/gpiosim install -m 0644 ${S}/tests/gpiosim/*.py ${D}${PTEST_PATH}/gpiod-test/gpiosim - install -m 0644 ${B}/tests/procname/_ext* ${D}${PTEST_PATH}/gpiod-test/procname - install -m 0644 ${S}/tests/procname/*.py ${D}${PTEST_PATH}/gpiod-test/procname + install -m 0644 ${B}/tests/system/_ext* ${D}${PTEST_PATH}/gpiod-test/system + install -m 0644 ${S}/tests/system/*.py ${D}${PTEST_PATH}/gpiod-test/system } INSANE_SKIP:${PN}-ptest += "buildpaths"