From 1477bb0c8258d7c8564c508f94d3b12a5db72230 Mon Sep 17 00:00:00 2001 From: Ryan Malloy Date: Fri, 2 Oct 2026 00:09:03 -0600 Subject: [PATCH] Vendor the XML inside the package so it ships in the wheel uv_build packages only src/mcbebop, so arsdk-xml/ at the repo root was absent from the wheel and every install would have failed to find the command definitions. Caught during the protocol build. --- {arsdk-xml => src/mcbebop/arsdk-xml}/PROVENANCE.md | 0 {arsdk-xml => src/mcbebop/arsdk-xml}/ardrone3.xml | 0 {arsdk-xml => src/mcbebop/arsdk-xml}/common.xml | 0 tests/test_packaging.py | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename {arsdk-xml => src/mcbebop/arsdk-xml}/PROVENANCE.md (100%) rename {arsdk-xml => src/mcbebop/arsdk-xml}/ardrone3.xml (100%) rename {arsdk-xml => src/mcbebop/arsdk-xml}/common.xml (100%) diff --git a/arsdk-xml/PROVENANCE.md b/src/mcbebop/arsdk-xml/PROVENANCE.md similarity index 100% rename from arsdk-xml/PROVENANCE.md rename to src/mcbebop/arsdk-xml/PROVENANCE.md diff --git a/arsdk-xml/ardrone3.xml b/src/mcbebop/arsdk-xml/ardrone3.xml similarity index 100% rename from arsdk-xml/ardrone3.xml rename to src/mcbebop/arsdk-xml/ardrone3.xml diff --git a/arsdk-xml/common.xml b/src/mcbebop/arsdk-xml/common.xml similarity index 100% rename from arsdk-xml/common.xml rename to src/mcbebop/arsdk-xml/common.xml diff --git a/tests/test_packaging.py b/tests/test_packaging.py index 0c3f28f..e863fa5 100644 --- a/tests/test_packaging.py +++ b/tests/test_packaging.py @@ -30,7 +30,7 @@ def test_server_builds(): def test_vendored_xml_present_and_parses(): import xml.etree.ElementTree as ET - root = Path(__file__).parent.parent / "arsdk-xml" + root = Path(__file__).parent.parent / "src" / "mcbebop" / "arsdk-xml" total = 0 for name in ("common.xml", "ardrone3.xml"): proj = ET.parse(root / name).getroot()