diff --git a/fix_re_sub_test_on_python3.13.patch b/fix_re_sub_test_on_python3.13.patch deleted file mode 100644 index bb05c7b..0000000 --- a/fix_re_sub_test_on_python3.13.patch +++ /dev/null @@ -1,46 +0,0 @@ -From e73cf71a246ee456aac0f4d16167e0856846db6b Mon Sep 17 00:00:00 2001 -From: Alessandro Gatti -Date: Sat, 4 Jan 2025 15:00:28 +0100 -Subject: [PATCH] tests/extmod/re_sub.py: Fix test execution on Python 3.13. - -This commit fixes a test failure for `extmod/re_sub.py` where the code, -whilst being correct, would not make the test pass due to a newer -Python version than expected. - -On Python 3.13, running `tests/extmod/re_sub.py` would yield a -deprecation warning about `re.sub` not providing the match count as a -keyword parameter. This warning would be embedded in the expected test -result and thus the test would always fail. - -Co-authored-by: stijn -Signed-off-by: Alessandro Gatti ---- - tests/extmod/re_sub.py | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/tests/extmod/re_sub.py b/tests/extmod/re_sub.py -index 2c7c6c10f1a49..ecaa66d83d8a7 100644 ---- a/tests/extmod/re_sub.py -+++ b/tests/extmod/re_sub.py -@@ -10,6 +10,8 @@ - print("SKIP") - raise SystemExit - -+import sys -+ - - def multiply(m): - return str(int(m.group(0)) * 2) -@@ -47,7 +49,11 @@ def A(): - print(re.sub("a", "b", "c")) - - # with maximum substitution count specified --print(re.sub("a", "b", "1a2a3a", 2)) -+if sys.implementation.name != "micropython": -+ # On CPython 3.13 and later the substitution count must be a keyword argument. -+ print(re.sub("a", "b", "1a2a3a", count=2)) -+else: -+ print(re.sub("a", "b", "1a2a3a", 2)) - - # invalid group - try: diff --git a/micropython-1.24.1.tar.xz b/micropython-1.24.1.tar.xz deleted file mode 100644 index 27f4502..0000000 --- a/micropython-1.24.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5d624a0b23389134d963b204601db9bc4ca57bfb615d13f13592bc2b5b494c03 -size 86842340 diff --git a/micropython-1.25.0.tar.xz b/micropython-1.25.0.tar.xz new file mode 100644 index 0000000..63179f7 --- /dev/null +++ b/micropython-1.25.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9fe99ad5808e66bb40d374f5cad187c32c7d1c49cf47f72b38fd453c28c2aebe +size 109072312 diff --git a/micropython.changes b/micropython.changes index 7d8fb74..6314f1c 100644 --- a/micropython.changes +++ b/micropython.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Wed Apr 16 11:59:42 UTC 2025 - Dominik Heidler + +- Update to 1.25.0 + * Add ROMFS support (see also "mpremote romfs" cmd with "query", "build", and "deploy" sub-commands) + ROMFS defines a read-only, memory-mappable, extensible filesystem that can contain arbitrary resources, + including precompiled mpy files, and allows executing bytecode directly from the filesystem. + This makes importing significantly faster and use a lot less memory. + * Inline assembler now supports 32-bit RISC-V assembly code via the newly implemented @micropython.asm_rv32 decorator. + * Datagram TLS (DTLS) is now supported by the tls module and enabled on the alif, mimxrt, renesas-ra, rp2, stm32 and unix ports. + * mpremote command-line tool now supports recursive remove via the new "rm -r" + * mpremote now supports relative URLs in the package.json for installing from the local filesystem + * "mpremote mount" has optimised readline support + * full support for tuples and start/end arguments in str.startswith() and str.endswith() methods + * vfs.mount() with no arguments now returns a list of mounted filesystems + * marshal module has been added with dumps() and loads() functions + * MicroPython native linker mpy_ld.py now includes support for linking in static libraries automatically + * native modules now support 32-bit RISC-V code + * force _FILE_OFFSET_BITS=64 to fix 32-bit file ABI + * enable VfsRom on standard and coverage variants + * use the bare metal mbedTLS config in the coverage buiid + * add recursive mutex support + * main: add coverage test for mounting ROMFS filesystem at startup +- Drop fix_re_sub_test_on_python3.13.patch as not needed anymore + ------------------------------------------------------------------- Mon Mar 17 12:24:36 UTC 2025 - Dominik Heidler diff --git a/micropython.spec b/micropython.spec index 1fbc170..731d2c4 100644 --- a/micropython.spec +++ b/micropython.spec @@ -20,13 +20,12 @@ %{?sle15_python_module_pythons} Name: micropython -Version: 1.24.1 +Version: 1.25.0 Release: 0 Summary: Implementation of Python 3 with very low memory footprint License: MIT URL: https://micropython.org/ Source: https://micropython.org/resources/source/%{name}-%{version}.tar.xz -Patch1: fix_re_sub_test_on_python3.13.patch BuildRequires: openssl BuildRequires: pkgconfig BuildRequires: python3