Compare commits
5 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 594aac1953 | |||
| 36fded7970 | |||
| a00206d42c | |||
| 3ca66751b3 | |||
| c328f134d3 |
BIN
mbedtls-3.6.5.tar.bz2
LFS
Normal file
BIN
mbedtls-3.6.5.tar.bz2
LFS
Normal file
Binary file not shown.
BIN
micropython-1.26.0.tar.xz
LFS
BIN
micropython-1.26.0.tar.xz
LFS
Binary file not shown.
3
micropython-1.26.1.tar.xz
Normal file
3
micropython-1.26.1.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:44e52136c2685cabe33a4a74267d4aacddc7ebe89c9142558a8bc8a80f209c9c
|
||||
size 16188668
|
||||
@@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 27 13:58:27 UTC 2025 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
- Version 1.26.1
|
||||
* esp32: update esp_tinyusb component to v1.7.6
|
||||
* tools: add an environment variable MICROPY_MAINTAINER_BUILD
|
||||
* esp32: add IDF Component Lockfiles to git repo
|
||||
* shared/tinyusb: fix hang from new tx_overwritabe_if_not_connected flag
|
||||
* shared/tinyusb/mp_usbd_cdc: rewrite USB CDC TX loop
|
||||
* tools/mpremote: don't apply Espressif DTR/RTS quirk to TinyUSB CDC dev
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 27 12:49:06 UTC 2025 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
- Fix building on single core systems
|
||||
* Skip tests/thread/stress_schedule.py when single core system detected
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 22 12:19:48 UTC 2025 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
- Build with mbedtls-3.6.5 instead of bundled 3.6.2 to fix CVE-2025-59438
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 15 08:13:39 UTC 2025 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
|
||||
@@ -20,13 +20,14 @@
|
||||
%{?sle15_python_module_pythons}
|
||||
|
||||
Name: micropython
|
||||
Version: 1.26.0
|
||||
Version: 1.26.1
|
||||
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.5/mbedtls-3.6.5.tar.bz2#/mbedtls-3.6.5.tar.bz2
|
||||
BuildRequires: openssl
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3
|
||||
@@ -65,12 +66,15 @@ MicroPython tools like the mpy-cross compiler for compiling.py files to .mpy fil
|
||||
Also mpy-tool for inspecting .mpy files.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%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
|
||||
|
||||
rm -rf lib/mbedtls
|
||||
mv mbedtls-3.6.5 lib/mbedtls
|
||||
|
||||
%build
|
||||
# micropython
|
||||
export CFLAGS="%optflags -Wno-dangling-pointer"
|
||||
@@ -109,6 +113,8 @@ install -m755 -D -v tools/mpy-tool.py %{buildroot}%{_bindir}/mpy-tool
|
||||
# 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
|
||||
|
||||
@@ -7,7 +7,7 @@ set -e
|
||||
|
||||
version=$(rpmspec --query micropython.spec | head -1 | cut -d- -f2)
|
||||
|
||||
rm -fv micropython-*.tar.xz
|
||||
osc rm -fv micropython-*.tar.xz
|
||||
wget "https://micropython.org/resources/source/micropython-${version}.tar.xz" -O "micropython-${version}.tar.xz"
|
||||
tar xf "micropython-${version}.tar.xz"
|
||||
pushd "micropython-${version}"
|
||||
@@ -34,3 +34,4 @@ popd
|
||||
popd
|
||||
tar caf "micropython-${version}.tar.xz" "micropython-${version}"
|
||||
rm -r "micropython-${version}"
|
||||
osc add micropython-*.tar.xz
|
||||
|
||||
Reference in New Issue
Block a user