Compare commits
27 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 040d2aca98 | |||
| c9e59fe971 | |||
| 8f53efdcfb | |||
| 67eb298778 | |||
| 479ad3f4b3 | |||
| 494d61ca63 | |||
| bcb6d6a664 | |||
| 4cb58cf646 | |||
| e9f68f91df | |||
| a143fb3542 | |||
| 6993c0f7f6 | |||
| af622f8333 | |||
| f48c9863a9 | |||
| 64d6dbbb6a | |||
| c9a3a55fa5 | |||
| 7f27bebe07 | |||
| adade8a593 | |||
| d735501d4a | |||
| 6df9150b08 | |||
| 9955417dbe | |||
| b3240a1079 | |||
| 1b94672148 | |||
| fe4b3a5d6d | |||
| 9cdda4c07a | |||
| 368e053cd0 | |||
| 677e47e685 | |||
| 01a6cb8fe1 |
BIN
mbedtls-3.6.5.tar.bz2
LFS
BIN
mbedtls-3.6.5.tar.bz2
LFS
Binary file not shown.
BIN
micropython-1.26.0.tar.xz
LFS
Normal file
BIN
micropython-1.26.0.tar.xz
LFS
Normal file
Binary file not shown.
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:44e52136c2685cabe33a4a74267d4aacddc7ebe89c9142558a8bc8a80f209c9c
|
|
||||||
size 16188668
|
|
||||||
@@ -1,25 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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,14 +20,13 @@
|
|||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
|
|
||||||
Name: micropython
|
Name: micropython
|
||||||
Version: 1.26.1
|
Version: 1.26.0
|
||||||
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
|
||||||
@@ -66,15 +65,12 @@ 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 -a2
|
%autosetup -p1
|
||||||
|
|
||||||
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"
|
||||||
@@ -113,8 +109,6 @@ 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)
|
||||||
|
|
||||||
osc rm -fv micropython-*.tar.xz
|
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,4 +34,3 @@ 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