forked from pool/micropython
Compare commits
32 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 594aac1953 | |||
| 36fded7970 | |||
| a00206d42c | |||
| 3ca66751b3 | |||
| c328f134d3 | |||
| 0fe9d7b526 | |||
| 2b994e87b2 | |||
| 4c23be5abb | |||
| 209a792453 | |||
| 2bf43b10dd | |||
| fd9b66dca5 | |||
| 448bf44040 | |||
| a6a24b635e | |||
| 7006890406 | |||
| 01b131cf61 | |||
| 43f67de9dc | |||
| 57c1014676 | |||
| 29940afbcc | |||
| 606db37ba4 | |||
| 13e2981da0 | |||
| 3d22849170 | |||
| bbd5d1eade | |||
| b4bce45ea3 | |||
| 8754eecf54 | |||
| f10a34b8ef | |||
| 00a51ba600 | |||
| 8cc5256482 | |||
| f9074af794 | |||
| 2cf77b6507 | |||
| f0aa806580 | |||
| 373d4a4356 | |||
| 6138c1d4bd |
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>
|
Fri Aug 15 08:13:39 UTC 2025 - Dominik Heidler <dheidler@suse.de>
|
||||||
|
|
||||||
|
|||||||
@@ -20,13 +20,14 @@
|
|||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
|
|
||||||
Name: micropython
|
Name: micropython
|
||||||
Version: 1.26.0
|
Version: 1.26.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Implementation of Python 3 with very low memory footprint
|
Summary: Implementation of Python 3 with very low memory footprint
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://micropython.org/
|
URL: https://micropython.org/
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
Source1: prepare.sh
|
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: openssl
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python3
|
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.
|
Also mpy-tool for inspecting .mpy files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1 -a2
|
||||||
|
|
||||||
sed -i -e "s:/usr/lib/micropython:%{_prefix}/lib/micropython:g" "ports/unix/main.c"
|
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
|
%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
|
%build
|
||||||
# micropython
|
# micropython
|
||||||
export CFLAGS="%optflags -Wno-dangling-pointer"
|
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
|
# https://github.com/micropython/micropython/pull/6024
|
||||||
rm -f tests/float/float_parse.py
|
rm -f tests/float/float_parse.py
|
||||||
rm -f tests/float/float_parse_doubleprec.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
|
%endif
|
||||||
export MICROPY_CPYTHON3=python%python_version
|
export MICROPY_CPYTHON3=python%python_version
|
||||||
make -C ports/unix PYTHON=%{_bindir}/python%python_version V=1 test
|
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)
|
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"
|
wget "https://micropython.org/resources/source/micropython-${version}.tar.xz" -O "micropython-${version}.tar.xz"
|
||||||
tar xf "micropython-${version}.tar.xz"
|
tar xf "micropython-${version}.tar.xz"
|
||||||
pushd "micropython-${version}"
|
pushd "micropython-${version}"
|
||||||
@@ -34,3 +34,4 @@ popd
|
|||||||
popd
|
popd
|
||||||
tar caf "micropython-${version}.tar.xz" "micropython-${version}"
|
tar caf "micropython-${version}.tar.xz" "micropython-${version}"
|
||||||
rm -r "micropython-${version}"
|
rm -r "micropython-${version}"
|
||||||
|
osc add micropython-*.tar.xz
|
||||||
|
|||||||
Reference in New Issue
Block a user