From patchwork Thu Dec 3 07:51:48 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107070 Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.9271.1796284320495058778 for ; Wed, 02 Dec 2026 23:52:00 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=mfUURwwN; 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-cdb75699c7cso5433020a12.2 for ; Wed, 02 Dec 2026 23:52:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796284320; x=1796889120; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=8z/2xiwDiUS/oX1bFe/d8UD52pPXrc9wGevXx3et4ms=; b=mfUURwwN7o9y0JyC0szTscdLZjBwvy3CgBPMTDvzuqBVoQlrwV5tfAwcWnoXQW7Xa6 D7U34Lq11dST8cFDEwWsoJ0dxO1MKQoaIjD8YY2aiJTVgB4JefymLJD8PtLCHi9zuCy0 TaMrXeUH28TuHGV1cBLhwAQho/FITOrQ95qNUfsbOF+YYz5pBZFDsWQlP3GDIGQ8sKva HR9pq27o2JgCRIstBXH8OZyqcnspwfv4CXSyAe7g7ykN4hhpl/IeRE9UlURAIx1HgL3g 2zXkulCpjfezr0ZJH00IUD3s0HIoYr9W2D2eazLT8H0jHdTz19ZNKoU07a/SCQzyR3SW YwWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796284320; x=1796889120; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-g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LndHWx2ZQHXQm957GKSjI8O+Db7sqaWhOGxPD+ 8KSqLK6NYBANy6NLeqGgYssze4zX+V6bUb4BWNZJXuQEJhM6irb/hwx0tRZExE5HPoVHnJIuUgi CAeyzAetqNi4F1zCTV1e1ZRhgoh6HDaXzhc2zgP848/gDbecBZZuhaHQucMyYkx/OOoCV7Vd2QG bsgmO21v8BMWCHaRRoc9In7bclVPU8DVti19lkf+pWxfgugcaX+1psRHHKFzfTJk9c/XUE4uqq3 cviZrHR9n7H2TteETw4Bu3B6wBSM/PCnHNWPQEeghioIV4YE1rv7g2ZGBaynn4y6enTPbVhM/bd Cbd79Tj0+m69eASh5iVOfOzNBk2ynz7muKXoEYIaZndbAbJ7EJnq0ZPH1HZGHGPy7/OQ8vtH0wm LYfv X-Received: by 2002:a17:90a:ec88:b0:3b3:b0f4:1bed with SMTP id 98e67ed59e1d1-3b41c8d4855mr40797069a91.19.1796284319741; Wed, 02 Dec 2026 23:51:59 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b5c7996864sm3055198a91.14.2026.12.02.23.51.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 23:51:59 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 7/9] python3-pystemd: Upgrade 0.15.3 -> 0.16.0 Date: Wed, 2 Dec 2026 23:51:48 -0800 Message-ID: <20261203075150.3403376-8-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261203075150.3403376-1-khem.raj@oss.qualcomm.com> References: <20261203075150.3403376-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Thu, 03 Dec 2026 07:52:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133861 Behaviour changes: - DbusMessage.get_path()/get_interface()/get_member()/get_destination()/ get_sender() return None for a missing header field (they used to crash the interpreter); get_interface() no longer returns the path. - Using a closed DBus raises DBusError instead of corrupting memory; sd-bus errors while building a message and unbalanced '(' in signatures now raise. - DBus.match_signal no longer sets a metadata attribute on the callback and keeps the callback alive. Fixes and features: - Fix pystemd.run(wait=True/wait_for_activation=True) hanging forever, and missing unit state changes with several queued signals. - Fix pystemd.futures on Python 3.14+ (no fork start method), with User= on systemd >= 255, and leaking units/namespace fds. - Fix Unit.SetProperties raising NotImplementedError and Manager.StartTransientUnit/SetUnitProperties shifting their arguments when called on the object. - Fix leaked D-Bus messages, errors and file descriptors on failed calls; buses are freed when garbage collected. - Add fd store helpers (daemon.notify(fds=), listen_fds_with_names, store_fd(s)), delegate= for pystemd.run, utils.ns.join_namespaces and many unit properties to KNOWN_UNIT_SIGNATURES. - Ship py.typed with stubs updated to systemd 259, and a PyInstaller hook. The build no longer requires wheel (setuptools >= 70.1), so drop python3-wheel-native from DEPENDS. Add python3-psutil to RDEPENDS: it is in install_requires and imported by pystemd.futures, but was missing. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../{python3-pystemd_0.15.3.bb => python3-pystemd_0.16.0.bb} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-pystemd_0.15.3.bb => python3-pystemd_0.16.0.bb} (79%) diff --git a/meta-python/recipes-devtools/python/python3-pystemd_0.15.3.bb b/meta-python/recipes-devtools/python/python3-pystemd_0.16.0.bb similarity index 79% rename from meta-python/recipes-devtools/python/python3-pystemd_0.15.3.bb rename to meta-python/recipes-devtools/python/python3-pystemd_0.16.0.bb index 9aec45aeeb..e8abba884f 100644 --- a/meta-python/recipes-devtools/python/python3-pystemd_0.15.3.bb +++ b/meta-python/recipes-devtools/python/python3-pystemd_0.16.0.bb @@ -2,12 +2,13 @@ SUMMARY = "Python bindings for interacting with systemd over DBus" LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" -SRC_URI[sha256sum] = "3533f6d287a1ffe39dbfffcf2f547454bb8ef7a169ac6a24e81f446ddb258802" +SRC_URI[sha256sum] = "35309ed1935edb00e0e9aa1c38553fac7c0126eeb36cecd8179b6d837d7cf1b3" -DEPENDS = "python3-wheel-native systemd" +DEPENDS = "systemd" RDEPENDS:${PN} += "\ python3-xml \ python3-lxml \ + python3-psutil \ python3-pprint \ python3-core \ python3-shell \