python-uci: update to version 0.10.3 + two patches
authorJosef Schlehofer <[email protected]>
Tue, 15 Jul 2025 08:38:47 +0000 (10:38 +0200)
committerJosef Schlehofer <[email protected]>
Fri, 18 Jul 2025 09:35:55 +0000 (11:35 +0200)
commitbdcdc0e3641f7235fde954ea3fede21890619d56
treee3c97112450d457ab202708754f7c7240541117c
parentc75de96989092244b2437a5414073f518fc49cc6
python-uci: update to version 0.10.3 + two patches

Release notes:
https://gitlab.nic.cz/turris/pyuci/-/tags/v0.10.0
https://gitlab.nic.cz/turris/pyuci/-/tags/v0.10.1
https://gitlab.nic.cz/turris/pyuci/-/tags/v0.10.2
https://gitlab.nic.cz/turris/pyuci/-/tags/v0.10.3

Upstream (pyuci developers) removed setup.py,
I bring it back to be able to compile it despite
that we do support building packages, which are
using pyproject.toml, but the thing here is
that their pyproject.toml requires setuptools 74.1.0
[1] [2], but Python 3.11 is using bundled setuptools
and pip [3] [4]. In current version 3.11.13,
there is still outdated version of setuptools, but
it looks like that in the newer version, there will be
new one [5].

Once, there is released Python 3.11.14 and updated
in OpenWrt, these patches can be dropped.

[1] https://gitlab.nic.cz/turris/pyuci/-/blob/240180b2946fdd1fd46c7f023f224acce5a55511/pyproject.toml#L29
[2] https://setuptools.pypa.io/en/stable/history.html#v74-1-0
[3] https://github.com/openwrt/packages/blob/c94ab433caf345ebc6bef9a7174d1f65f676fc87/lang/python/python3-version.mk#L18
[4] https://github.com/python/cpython/commits/3.11/Lib/ensurepip/_bundled
[5] https://github.com/python/cpython/commit/c96ab19ae460911e40ffa502f1bf945ab6c53a2e

Signed-off-by: Josef Schlehofer <[email protected]>
(cherry picked from commit d457c26c0dbea4c7c9e5795f898fbcd98c257ff1)
lang/python/python-uci/Makefile
lang/python/python-uci/patches/0001-Revert-CI-setup.py-removed-and-testing-updates-in-CI.patch [new file with mode: 0644]
lang/python/python-uci/patches/0001-pyproject.toml-remove-it-in-favor-of-setup.py.patch [new file with mode: 0644]