Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package micropython for openSUSE:Factory checked in at 2026-10-14 18:47:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/micropython (Old) and /work/SRC/openSUSE:Factory/.micropython.new.3698736 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "micropython" Wed Oct 14 18:47:38 2026 rev:29 rq:1384771 version:1.29.0 Changes: -------- --- /work/SRC/openSUSE:Factory/micropython/micropython.changes 2026-05-06 19:23:50.451793330 +0200 +++ /work/SRC/openSUSE:Factory/.micropython.new.3698736/micropython.changes 2026-10-14 18:47:45.530681863 +0200 @@ -1,0 +2,20 @@ +Wed Oct 14 10:11:09 UTC 2026 - Dominik Heidler <[email protected]> + +- Version 1.29.0 + * validate the encoding argument to str.encode() and bytes.decode() + * modsocket: add "sendall" method to socket class + * unix_mphal: use TCSANOW for terminal mode switching + * coverage: use SIZE_FMT for size_t printf args + * README: update the supported targets list + * remove MICROPY_FORCE_32BIT flag usage + * migrate coverage variant to use c_module() in manifest + * don't generate debug info unless needed for final binary + * build DEBUG as -ggdb3 +- update to mbedtls 3.6.7 which includes a number of security + fixes, see https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-3.6.7 +- run these tests as they got fixed upstream: + * tests/float/float_parse.py + * tests/float/float_parse_doubleprec.py + * tests/thread/stress_schedule.py + +------------------------------------------------------------------- Old: ---- mbedtls-3.6.6.tar.bz2 micropython-1.28.0.tar.xz New: ---- mbedtls-3.6.7.tar.bz2 micropython-1.29.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ micropython.spec ++++++ --- /var/tmp/diff_new_pack.cEh7Sk/_old 2026-10-14 18:47:54.373051941 +0200 +++ /var/tmp/diff_new_pack.cEh7Sk/_new 2026-10-14 18:47:54.374051982 +0200 @@ -17,37 +17,38 @@ %define pythons python3 +# needed if upstream doesn't bundle mbedtls with recent security patches +%define mbedtls_version 3.6.7 %{?sle15_python_module_pythons} - Name: micropython -Version: 1.28.0 +Version: 1.29.0 Release: 0 Summary: Implementation of Python 3 with very low memory footprint License: MIT URL: https://micropython.org/ Source0: %{name}-%{version}.tar.xz Source1: prepare.sh -Source2: https://github.com/Mbed-TLS/mbedtls/releases/download/mbedtls-3.6.6/mbedtls-3.6.6.tar.bz2#/mbedtls-3.6.6.tar.bz2 +Source2: https://github.com/Mbed-TLS/mbedtls/releases/download/mbedtls-%{mbedtls_version}/mbedtls-%{mbedtls_version}.tar.bz2#/mbedtls-%{mbedtls_version}.tar.bz2 BuildRequires: openssl BuildRequires: pkgconfig BuildRequires: python3 BuildRequires: readline-devel BuildRequires: pkgconfig(libffi) - Recommends: micropython-lib ExcludeArch: %{ix86} %{arm} ppc64 ppc64le %package -n mpremote Summary: MicroPython remote control -BuildArch: noarch +BuildRequires: %{python_module base >= 3.6} BuildRequires: %{python_module hatch-requirements-txt} BuildRequires: %{python_module hatchling} -Requires: python3-pyserial >= 3.3 -BuildRequires: %{python_module base >= 3.6} BuildRequires: %{python_module pip} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python3-platformdirs +Requires: python3-pyserial >= 3.3 +BuildArch: noarch %package -n mpy-tools Summary: Tools for creating and handling precompiled .mpy files for MicroPython @@ -68,16 +69,17 @@ %prep %autosetup -p1 -a2 -sed -i -e "s:/usr/lib/micropython:%{_prefix}/lib/micropython:g" "ports/unix/main.c" - %define make_flags V=1 MICROPY_PY_BTREE=0 MICROPY_PY_USSL=0 +# needed if upstream doesn't bundle mbedtls with recent security patches rm -rf lib/mbedtls -mv mbedtls-3.6.6 lib/mbedtls +mv mbedtls-%{mbedtls_version} lib/mbedtls %build # micropython -export CFLAGS="%optflags -Wno-dangling-pointer" +export CFLAGS="%{optflags} -Wno-dangling-pointer" +pwd +ls -l %make_build -C mpy-cross %make_build -C ports/unix STRIP=true pushd tools/mpremote @@ -85,7 +87,7 @@ echo "VERSION = '%{version}'" > version.py sed -i -e 's/source = "vcs"/path = "version.py"/' pyproject.toml # remove useless shebang lines -sed -i -e 's_#!/usr/bin/env python3__' mpremote/{__main__,transport,transport_serial}.py +sed -i -e 's_#!%{_bindir}/env python3__' mpremote/{__main__,transport,transport_serial}.py %pyproject_wheel popd @@ -105,19 +107,13 @@ # mpy-tools install -m755 -D -v mpy-cross/build/mpy-cross %{buildroot}%{_bindir}/mpy-cross install -m755 -D -v tools/mpy-tool.py %{buildroot}%{_bindir}/mpy-tool -%python3_fix_shebang +%{python3_fix_shebang} %check %ifnarch x86_64 -# 2 tests fail: float_parse float_parse_doubleprec -# https://github.com/micropython/micropython/pull/6024 -rm -f tests/float/float_parse.py -rm -f tests/float/float_parse_doubleprec.py -# fails on single core systems -[ "$(grep core.id /proc/cpuinfo | wc -l)" == 1 ] && rm -f tests/thread/stress_schedule.py %endif -export MICROPY_CPYTHON3=python%python_version -make -C ports/unix PYTHON=%{_bindir}/python%python_version V=1 test +export MICROPY_CPYTHON3=python%{python_version} +%make_build -C ports/unix PYTHON=%{_bindir}/python%{python_version} test %files %license LICENSE ++++++ mbedtls-3.6.6.tar.bz2 -> mbedtls-3.6.7.tar.bz2 ++++++ ++++ 18110 lines of diff (skipped) ++++++ micropython-1.28.0.tar.xz -> micropython-1.29.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/micropython/micropython-1.28.0.tar.xz /work/SRC/openSUSE:Factory/.micropython.new.3698736/micropython-1.29.0.tar.xz differ: char 15, line 1
