From d0be8634f72c3133696fcbde4ab402378d44e255 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Sun, 22 Mar 2026 07:35:46 +0000 Subject: [PATCH] mpremote: bump to 1.27.0 Sync with MicroPython 1.27.0 release. Drop patch: we have Python 3.14, importlib_metadata will be installed for Python 3.7 or smaller. New dep: platformdirs added. Signed-off-by: Alexandru Ardelean --- utils/mpremote/Makefile | 6 +++--- utils/mpremote/patches/001-no-importlib_metadata.patch | 5 ----- utils/mpremote/test.sh | 8 +++++++- 3 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 utils/mpremote/patches/001-no-importlib_metadata.patch diff --git a/utils/mpremote/Makefile b/utils/mpremote/Makefile index 05bb9772c8..414a23622c 100644 --- a/utils/mpremote/Makefile +++ b/utils/mpremote/Makefile @@ -8,11 +8,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mpremote -PKG_VERSION:=1.21.0 +PKG_VERSION:=1.27.0 PKG_RELEASE:=1 PYPI_NAME:=mpremote -PKG_HASH:=65bc94511f6ff499e901ab59462a5f0744ff7e2cf71d8c75700d14a89c54ed61 +PKG_HASH:=6bb75774648091dad6833af4f86c5bf6505f8d7aec211380f9e6996c01d23cb5 PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE @@ -29,7 +29,7 @@ define Package/mpremote CATEGORY:=Utilities TITLE:=Interacting remotely with MicroPython devices URL:=https://github.com/micropython/micropython - DEPENDS:=+python3-light +python3-urllib +python3-pyserial + DEPENDS:=+python3-light +python3-urllib +python3-pyserial +python3-platformdirs endef define Package/mpremote/description diff --git a/utils/mpremote/patches/001-no-importlib_metadata.patch b/utils/mpremote/patches/001-no-importlib_metadata.patch deleted file mode 100644 index 6f5fc49219..0000000000 --- a/utils/mpremote/patches/001-no-importlib_metadata.patch +++ /dev/null @@ -1,5 +0,0 @@ ---- a/requirements.txt -+++ b/requirements.txt -@@ -1,2 +1 @@ - pyserial >= 3.3 --importlib_metadata >= 1.4 diff --git a/utils/mpremote/test.sh b/utils/mpremote/test.sh index 3010c24c43..a694982ead 100644 --- a/utils/mpremote/test.sh +++ b/utils/mpremote/test.sh @@ -2,4 +2,10 @@ [ "$1" = mpremote ] || exit 0 -mpremote version | grep -Fx "mpremote $PKG_VERSION" +python3 - <<'EOF' +import mpremote +from mpremote import main +from mpremote.transport_serial import SerialTransport + +print("mpremote OK") +EOF