PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/micropython/micropython-lib.git
-PKG_SOURCE_VERSION:=50ed36fbeb919753bcc26ce13a8cffd7691d06ef
-PKG_SOURCE_DATE:=20240525
-PKG_MIRROR_HASH:=c03c4226c461079d529b72456569797d3f87f0970e78d1c7c4d6c34d32586af4
+PKG_SOURCE_VERSION:=68e3e07bc7ab63931cead3854b2a114e9a084248
+PKG_SOURCE_DATE:=20241017
+PKG_MIRROR_HASH:=7ed2c1b4a5af1b00364e2e017b2b416865713dc82d94737a3ea605f9aeaed54a
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
PKG_LICENSE:=MIT Python-2.0.1
--- a/tools/build.py
+++ b/tools/build.py
-@@ -284,7 +284,7 @@ def _update_index_package_metadata(index
- index_package_json["versions"][v].append(metadata.version)
+@@ -289,7 +289,7 @@ def _update_index_package_metadata(index
+ index_package_json["path"] = package_path
-def build(output_path, hash_prefix_len, mpy_cross_path):
import manifestfile
import mpy_cross
-@@ -310,7 +310,10 @@ def build(output_path, hash_prefix_len,
+@@ -315,7 +315,10 @@ def build(output_path, hash_prefix_len,
# For now, don't process unix-ffi. In the future this can be extended to
# allow a way to request unix-ffi packages via mip.
mpy_version, _mpy_sub_version = mpy_cross.mpy_version(mpy_cross=mpy_cross_path)
mpy_version = str(mpy_version)
-@@ -438,6 +441,7 @@ def main():
+@@ -446,6 +449,7 @@ def main():
cmd_parser = argparse.ArgumentParser(description="Compile micropython-lib for serving to mip.")
cmd_parser.add_argument("--output", required=True, help="output directory")
cmd_parser.add_argument("--hash-prefix", default=8, type=int, help="hash prefix length")
cmd_parser.add_argument("--mpy-cross", default=None, help="optional path to mpy-cross binary")
cmd_parser.add_argument("--micropython", default=None, help="path to micropython repo")
-@@ -447,7 +451,7 @@ def main():
+@@ -455,7 +459,7 @@ def main():
sys.path.append(os.path.join(args.micropython, "tools")) # for manifestfile
sys.path.append(os.path.join(args.micropython, "mpy-cross")) # for mpy_cross