python-uci: update to version 0.10.3 + two patches
authorJosef Schlehofer <redacted>
Tue, 15 Jul 2025 08:38:47 +0000 (10:38 +0200)
committerJosef Schlehofer <redacted>
Fri, 18 Jul 2025 09:34:54 +0000 (11:34 +0200)
commitd457c26c0dbea4c7c9e5795f898fbcd98c257ff1
tree7906d7da7bcc49b4ca544f7196e10c0f56040839
parent19e62d09c2fd3b90f2b81af07f5a342c27470ea8
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 <redacted>
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]
git clone https://git.99rst.org/PROJECT