mpremote: update to 1.28.0

Update from 1.27.0 to 1.28.0, tracking the MicroPython 1.28.0 release.

Add version check to test.sh using importlib.metadata to verify the
installed package version matches the expected version string.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
Alexandru Ardelean
2026-04-22 12:30:36 +03:00
committed by Alexandru Ardelean
parent 9e6e25cbc4
commit 7f248a74ca
2 changed files with 9 additions and 4 deletions
+2 -2
View File
@@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=mpremote PKG_NAME:=mpremote
PKG_VERSION:=1.27.0 PKG_VERSION:=1.28.0
PKG_RELEASE:=1 PKG_RELEASE:=1
PYPI_NAME:=mpremote PYPI_NAME:=mpremote
PKG_HASH:=6bb75774648091dad6833af4f86c5bf6505f8d7aec211380f9e6996c01d23cb5 PKG_HASH:=fdb5626be83dff4e53c0184f8950814cb519b524dba7f1f8b1668aa477257a31
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE
+7 -2
View File
@@ -2,10 +2,15 @@
[ "$1" = mpremote ] || exit 0 [ "$1" = mpremote ] || exit 0
python3 - <<'EOF' python3 - "$2" <<'EOF'
import sys
import mpremote import mpremote
from mpremote import main from mpremote import main
from mpremote.transport_serial import SerialTransport from mpremote.transport_serial import SerialTransport
import importlib.metadata
print("mpremote OK") version = sys.argv[1]
installed = importlib.metadata.version("mpremote")
assert installed == version, f"version mismatch: {installed!r} != {version!r}"
print(f"mpremote {installed} OK")
EOF EOF