<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/micropython/patches, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2026-03-24T12:38:52Z</updated>
<entry>
<title>micropython: bump to 1.27.0</title>
<updated>2026-03-24T12:38:52Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-03-22T07:39:38Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=7e5c87e074e3647ed1bda0316f09c1726714162d'/>
<id>urn:sha1:7e5c87e074e3647ed1bda0316f09c1726714162d</id>
<content type='text'>
Also update micropython-lib to v1.27.0. Switch micropython-lib from a
git source to the release tarball from:
https://github.com/micropython/micropython-lib/releases/tag/v1.27.0

MPY_VERSION remains at 6, no ABI change.

Adjusted patches.

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>micropython: bump to 1.23.0 release</title>
<updated>2024-10-27T22:09:50Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-10-22T13:27:36Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=86602b5f3adc54285289b1d9023e64d192320b18'/>
<id>urn:sha1:86602b5f3adc54285289b1d9023e64d192320b18</id>
<content type='text'>
Bump micropython to 1.23.0. This is done to fix support for MbedTLS 3.0

Lots changed between 1.21 and 1.23 for the library side.

Mainly the barkeley-db library was moved to micropython own fork and the
cdef patch required lots of changes. (we have to manually include a copy
of cdef.h as it was dropped by them)
Also a new patch is required to mute some compilarion error that are
false-positive. (variable not initialized but that are ALWAYS
initialized)

Also refresh the extmod patch with new files included.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>micropython: Update to 1.21.0, refresh/redo patches</title>
<updated>2023-11-01T22:57:40Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-10-15T14:16:44Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=db9202ccc52a3ef360cd1918db9376a5cfa4b25f'/>
<id>urn:sha1:db9202ccc52a3ef360cd1918db9376a5cfa4b25f</id>
<content type='text'>
Removed 050-py-stackctrl-fix-gcc-13.patch as it has been merged in the
new version.

This also:

* Add STRIP= (empty value) to skip micropython's stripping step, letting
  the OpenWrt build system control stripping.

* Add a workaround for "variable might be clobbered" warning leading to
  build error on riscv64
  (https://github.com/micropython/micropython/issues/12838).

* Change Build/InstallDev to install host tools into an unversioned
  directory, and update micropython-lib to use the unversioned path.
  There is no need to keep available multiple versions of the host
  tools.

* Add a test.sh script for the packages feed CI.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>micropython: fix stackctrl compilation for GCC 13</title>
<updated>2023-08-07T09:41:14Z</updated>
<author>
<name>Jean-Paul Etienne</name>
</author>
<published>2023-08-05T22:13:10Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=4c1b74ede3a1d8c5b8b1594a01a2048325ee6c23'/>
<id>urn:sha1:4c1b74ede3a1d8c5b8b1594a01a2048325ee6c23</id>
<content type='text'>
On host PC using GCC 13, stackctrl.c fails to compile
with the following error:

../py/stackctrl.c: In function 'mp_stack_ctrl_init':
../py/stackctrl.c:32:32: error: storing the address of
   local variable 'stack_dummy'
   in 'mp_state_ctx.thread.stack_top' [-Werror=dangling-pointer=]
   32 |     MP_STATE_THREAD(stack_top) = (char *)&amp;stack_dummy;
../py/stackctrl.c:31:18: note: 'stack_dummy' declared here
   31 |     volatile int stack_dummy;
      |                  ^~~~~~~~~~~
In file included from ../py/runtime.h:29,
                 from ../py/stackctrl.c:27:
../py/mpstate.h:296:23: note: 'mp_state_ctx' declared here
  296 | extern mp_state_ctx_t mp_state_ctx;
      |                       ^~~~~~~~~~~~
cc1: all warnings being treated as errors

Fixed accordingly by ignoring -dangling-pointer warning
inside mp_stack_ctrl_init function.

Signed-off-by: Jean-Paul Etienne &lt;fractalclone@gmail.com&gt;
</content>
</entry>
<entry>
<title>micropython: Update to 1.20.0, refresh/rework patches</title>
<updated>2023-06-02T13:39:44Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-05-29T18:22:30Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=a4ae38494f0c12799b343eb521ca13123c0bb4e3'/>
<id>urn:sha1:a4ae38494f0c12799b343eb521ca13123c0bb4e3</id>
<content type='text'>
Patches 000-Makefile-no-errors.patch and 020-mpy-cross-fix-flags.patch
are no longer necessary.

This also adds a Build/InstallDev recipe to install files necessary for
micropython-lib.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>micropython: Update to 1.18, refresh patches</title>
<updated>2022-01-24T23:43:39Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2022-01-23T18:34:18Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=af341cd76e05c8aced9519b6f38eadd0f9741816'/>
<id>urn:sha1:af341cd76e05c8aced9519b6f38eadd0f9741816</id>
<content type='text'>
Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>micropython: Update to 1.17, reorganize package</title>
<updated>2022-01-12T00:24:13Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2022-01-11T09:33:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=b9d10fc3e675acd8074e8b93737d3f1dcf74654b'/>
<id>urn:sha1:b9d10fc3e675acd8074e8b93737d3f1dcf74654b</id>
<content type='text'>
Previous versions used a bundled version of the axTLS library. The
MicroPython project maintains their own fork[1], as development of the
library appears to have stopped (the last release was version 2.1.5 in
2019[2]).

This replaces the use of axTLS with two variants, one using mbedTLS and
one with no TLS support (and no upip, as it uses the ussl module). The
external mbedTLS patch (040-extmod-use-external-mbedtls.patch) comes
from Debian[3].

This also sets myself as the maintainer.

[1]: https://github.com/micropython/axtls
[2]: https://sourceforge.net/projects/axtls/files/
[3]: https://salsa.debian.org/yangfl-guest/micropython/-/blob/master/debian/patches/0006-extmod-Use-system-mbedtls.patch

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: Run refresh on all packages</title>
<updated>2021-02-21T00:02:15Z</updated>
<author>
<name>Ilya Lipnitskiy</name>
</author>
<published>2021-02-21T00:02:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=5d8d4fbbcb5c5de9370711c19bb3510210989a98'/>
<id>urn:sha1:5d8d4fbbcb5c5de9370711c19bb3510210989a98</id>
<content type='text'>
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy &lt;ilya.lipnitskiy@gmail.com&gt;
</content>
</entry>
<entry>
<title>micropython: fix compilation without sys/cdefs</title>
<updated>2020-08-10T22:29:06Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2020-08-10T20:10:11Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=af76685638d5421eeaa54fbe96387479a9ba5bc6'/>
<id>urn:sha1:af76685638d5421eeaa54fbe96387479a9ba5bc6</id>
<content type='text'>
sys/cdefs.h is not provided by musl. micropython also includes its own
copy.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>micropython: Update to 1.94</title>
<updated>2018-10-06T18:52:51Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2018-10-05T20:31:25Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=93ea312b2ba0dd276783886c7d002eb26604a562'/>
<id>urn:sha1:93ea312b2ba0dd276783886c7d002eb26604a562</id>
<content type='text'>
Switched to normal tarballs for simplicity. Also rearanged Makefile.

Refreshed patches.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
</feed>
