new file mode 100644
@@ -0,0 +1,30 @@
+From: Khem Raj <khem.raj@oss.qualcomm.com>
+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 <khem.raj@oss.qualcomm.com>
+---
+ 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',
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
@@ -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() {
- 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 <khem.raj@oss.qualcomm.com> --- ...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%)