From patchwork Thu Dec 3 07:51:47 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107069 Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.9269.1796284319421378732 for ; Wed, 02 Dec 2026 23:51:59 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=vDecqBc5; spf=pass (domain: gmail.com, ip: 209.85.216.41, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f41.google.com with SMTP id 98e67ed59e1d1-3b49a6e8212so6794760a91.2 for ; Wed, 02 Dec 2026 23:51:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796284319; x=1796889119; 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=RK1Zf6qsnVCOjoidhrZFHJGaiBvJpqf4vn6WUo0ZvOQ=; b=vDecqBc5cAM5elw59Be7JnWb3gxFMPX/3xH9vSAzYpUZDyneNVxRra6bNrQN/um0Me xHCgKiA/HPjVNWtW4JpmEVcCRqxgLngILQkGOVDblnGXR8cugz5tsQ1CIsOwAWa0HaH/ NXfpeSxZzM5k2NNqKQXMx/NWCWrNrV8BX6dxunaENYlTwAliUBEiLjmHBjy2M6CRL/1E +HwGeBcEFI1yFwxK1//i1+y9wqeu0BikAzw5awjnUHqZE4RPjSoOr2OQB1OT3FmlN5dl kCtpuOE8fVxlY+oLZNd5opfg5IHua9ghlfxKPJ3Z1zlhr4hBmYX2RhKbQDefs8zyxbdq Qm/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796284319; x=1796889119; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=RK1Zf6qsnVCOjoidhrZFHJGaiBvJpqf4vn6WUo0ZvOQ=; b=u4vbaX0X+SeVE3TdAPHQE3FCRAZ8FF7xmLnCA9tyANxoz+Qb70ptkaro9lQS2MYa7n 49mpgy8I88DoGKpfgZpVJUqzGfmInC0AXdjqxQva+3X4kKfTVGYtHShX7/SImjBAXyGc nJetgtSvhh8FRp4Z/NeUyAL3svxdn9qcS7HbwuRzVuOQrANZzaOG0cOu63Lq/luoFWmx DvBPimQab/SJ61ghIIESGslLfVOYhINUg9OxH0vhjUBNe0uLdui2YOP/6c0Ja8A6DziL 5C9QvDv50WjgCSPUj+mHBgJtRderoTwxeKGsoaY7wiwizigpQ8Vcc+u9V1GfSniNFUY9 WUNQ== X-Gm-Message-State: APuU4Z9oinRjLo6mnXseGK+CRpaMq/oiz+3xQ8o9gWA4HMGuMjRDzlyn SP8OSEYMgt+mO7relzVi/PCvrSfKMY1u6IjrUCpnv2UebCcMg7qK4r0rwb8G5Wyn X-Gm-Gg: AZFdTZesCNS729w4bXWiC0XzxtfpE4u2b/bs2LSHtwp9Kss11VILuzWrBGOy+Hjr7l/ NGGyCvEaToNDA6urkz/KhhuUGr5Qyza+DO+MSYRTWyorRvwbInfP3LZYGrSPL9gXri01FGc4URT 7IALmdYsYNHVcsMFNlvc28lKAXcWL5s9lwTs2Mx+WcirPjpTnu8HcxJMyVroplxzo7QgHFe9sR0 ghnN5hWQkNB/mxAjuFl6A3MSSrWhvSCODzjJBH090j53iTk2ifxUgJWUg8eVwMbdm7Zt6I47I3r geW00Bm2mPnlq9ImPgTAsKLY2j2ORISIIbZLKoyc9/Gr3had48e46mm6QdFMrgoUXijdmx1i72o +nqZhVN4F/ylJLq87uBICG+RFZ/JRRA+Tog9ktc0XsV2AcXTxZoENkUILGrhje35qzJDDEhfki2 G4BqLhpM2YWzD5X9H+iipXrbvEYyuOA6FAqy+zesnVJmfVYoDLYhW0lR4wcQp7ibLyyg7W9gsem 418gC4uZXyL0ylz2g4AvrzxbvOLR/YfE5V97CYl82vaeaTD1IgRwYtrFz1r8Y0BEiAeVQ7IzK/O hRSHie2nzDy2/ADQhCfPlIA7F9QA3YkfoYG5yynpn3EqhdD9OpQgzxrNvO96hWmyoWyjoFg+tka km57j3Smyi8K9H+2Lvc149bXvPMmO8e3ssosK1k7yIksik+k8c0k2YtFsIAYsri85hUGFX670Ve 9K1tBmRtg2jNDHtJ9QACbtTBFJnG7xuQQuMjwZQ5lxXO8tlDGuUO9i1JZVTHFQ4taQFtzyXN2HV Sl0S9w+QLNTdzMqFB1OW8OHtdc6ItFOjsy/SrU6rY1C6CpccJUCRI2oxp5UMSB0ltC2HmBpTHXx jERr X-Received: by 2002:a17:90b:248e:b0:3b5:9a2:c8ab with SMTP id 98e67ed59e1d1-3b509a2c972mr19618052a91.67.1796284318699; Wed, 02 Dec 2026 23:51:58 -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.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 23:51:57 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 6/9] python3-msm: Upgrade 0.8.8 -> 0.9.0 Date: Wed, 2 Dec 2026 23:51:47 -0800 Message-ID: <20261203075150.3403376-7-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/133860 - Skills are now installed in the XDG data directory ($XDG_DATA_HOME/mycroft/skills, i.e. ~/.local/share/mycroft/skills) instead of /opt/mycroft/skills; MycroftSkillsManager gains an old_skills_dir argument used to move skills from the old location. - The skills repo checkout moves to the XDG data directory as well and the --repo-cache command line option is removed. - System packages are only installed through pako when a skill lists some, and pip is run from PATH without the sudo fallback. New runtime dependency pyxdg (the pyxdg recipe in meta-oe), added to RDEPENDS. The 0.9.0 sdist is broken: setup.py reads requirements/requirements.txt and requirements/tests.txt, which MANIFEST.in does not ship. Add a patch listing the runtime requirements inline. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...read-requirements-files-missing-from.patch | 30 +++++++++++++++++++ ...hon3-msm_0.8.8.bb => python3-msm_0.9.0.bb} | 4 ++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 meta-python/recipes-devtools/python/python3-msm/0001-setup.py-Do-not-read-requirements-files-missing-from.patch rename meta-python/recipes-devtools/python/{python3-msm_0.8.8.bb => python3-msm_0.9.0.bb} (76%) diff --git a/meta-python/recipes-devtools/python/python3-msm/0001-setup.py-Do-not-read-requirements-files-missing-from.patch b/meta-python/recipes-devtools/python/python3-msm/0001-setup.py-Do-not-read-requirements-files-missing-from.patch new file mode 100644 index 0000000000..3105ab8bc2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-msm/0001-setup.py-Do-not-read-requirements-files-missing-from.patch @@ -0,0 +1,30 @@ +From: Khem Raj +Date: Tue, 1 Dec 2026 23:10:00 -0800 +Subject: [PATCH] setup.py: Do not read requirements files missing from the sdist + +setup.py reads requirements/requirements.txt and requirements/tests.txt, +but MANIFEST.in only includes LICENSE, so the msm 0.9.0 sdist does not +ship them and the build fails with FileNotFoundError. List the runtime +requirements inline and drop tests_require. + +Upstream-Status: Inactive-Upstream [lastcommit: 2022-02-01 lastrelease: 2021-05-20] +Signed-off-by: Khem Raj +--- + setup.py | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +--- a/setup.py ++++ b/setup.py +@@ -41,8 +41,10 @@ + name='msm', + version='0.9.0', + packages=['msm'], +- install_requires=required('requirements/requirements.txt'), +- tests_require=required('requirements/tests.txt'), ++ install_requires=[ ++ 'GitPython', 'fasteners', 'lazy', 'pako', 'pyxdg', 'pyyaml', ++ 'requests' ++ ], + python_requires='>=3.6', + url='https://github.com/MycroftAI/mycroft-skills-manager', + license='Apache-2.0', diff --git a/meta-python/recipes-devtools/python/python3-msm_0.8.8.bb b/meta-python/recipes-devtools/python/python3-msm_0.9.0.bb similarity index 76% rename from meta-python/recipes-devtools/python/python3-msm_0.8.8.bb rename to meta-python/recipes-devtools/python/python3-msm_0.9.0.bb index a3bbd5d1a1..380dcc45a8 100644 --- a/meta-python/recipes-devtools/python/python3-msm_0.8.8.bb +++ b/meta-python/recipes-devtools/python/python3-msm_0.9.0.bb @@ -3,7 +3,8 @@ HOMEPAGE = "https://github.com/MycroftAI/mycroft-skills-manager" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=e23fadd6ceef8c618fc1c65191d846fa" -SRC_URI[sha256sum] = "a502aee54917cd394217b31c977a1ba3d9541a0120e0a045c49fd77b328e4a29" +SRC_URI += "file://0001-setup.py-Do-not-read-requirements-files-missing-from.patch" +SRC_URI[sha256sum] = "3fbed593800aa669f0af2f01edfc3b54de46e995e0bdf03c5ea3693bdeab8735" inherit pypi setuptools3 @@ -19,6 +20,7 @@ RDEPENDS:${PN} += " \ python3-pako \ python3-pyyaml \ python3-requests \ + pyxdg \ " do_install:append() {