From d7e2d34998be698ae7a740f35b7d10f71039d563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Montiel=20Cardona?= Date: Sun, 7 Jun 2026 21:33:51 -0600 Subject: [PATCH] feat(deps): add pymcu-arm-toolchain as gated runtime dependency pymcu-arm-toolchain 22.1.7 is now published to PyPI. Wire it as a platform-gated dependency so `pip install pymcu-arm` is fully self-contained on linux-x64, linux-arm64, macos-arm64, and windows-x64. The stub auto-downloads the LLVM binaries on first use. Co-Authored-By: Claude Sonnet 4.6 --- pyproject.toml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 98fe273..036ecee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,15 +14,7 @@ requires-python = ">=3.11" license = { text = "MIT" } dependencies = [ "pymcu-sdk>=0.1.0a1", - # The vendored LLVM toolchain lives in its own repository - # (~/Repos/pymcu-arm-toolchain, published to PyPI as - # pymcu-arm-toolchain, analogous to avr-gcc-build -> pymcu-avr-toolchain). - # It bundles opt/llc/llvm-mc/ld.lld/llvm-objcopy and Rp2040LlvmToolchain - # prefers it via `import pymcu_arm_toolchain`. Until the wheel is on PyPI - # the driver falls back to a system LLVM on PATH (e.g. `brew install llvm - # lld`). Once published, add the gated dependency so the arm extra is - # self-contained: - # "pymcu-arm-toolchain>=19.1.7; (sys_platform == 'linux' and platform_machine == 'x86_64') or (sys_platform == 'win32' and platform_machine == 'AMD64') or (sys_platform == 'darwin' and platform_machine == 'arm64')", + "pymcu-arm-toolchain>=22.1.7; (sys_platform == 'linux' and platform_machine == 'x86_64') or (sys_platform == 'linux' and platform_machine == 'aarch64') or (sys_platform == 'win32' and platform_machine == 'AMD64') or (sys_platform == 'darwin' and platform_machine == 'arm64')", ] [project.entry-points."pymcu.backends"]