From 36d0bc8dca822701f590b782b70927a8ef15a91e Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Sat, 4 Apr 2026 21:37:47 +0300 Subject: [PATCH 1/5] python-argcomplete: bump to 3.6.3 Changelog: https://github.com/kislyuk/argcomplete/blob/develop/CHANGES.rst Feature and bug fix releases since 3.2.1, including improvements to shell completion and compatibility updates. Switch build system from setuptools+setuptools_scm to hatchling+hatch-vcs (upstream changed in 3.3.0). Remove now-obsolete 001-unpin-setuptools.patch. Signed-off-by: Alexandru Ardelean --- lang/python/python-argcomplete/Makefile | 6 +++--- .../patches/001-unpin-setuptools.patch | 9 --------- 2 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 lang/python/python-argcomplete/patches/001-unpin-setuptools.patch diff --git a/lang/python/python-argcomplete/Makefile b/lang/python/python-argcomplete/Makefile index dc696798a2342..bb71ac883c194 100644 --- a/lang/python/python-argcomplete/Makefile +++ b/lang/python/python-argcomplete/Makefile @@ -8,17 +8,17 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-argcomplete -PKG_VERSION:=3.2.1 +PKG_VERSION:=3.6.3 PKG_RELEASE:=1 PYPI_NAME:=argcomplete -PKG_HASH:=437f67fb9b058da5a090df505ef9be0297c4883993f3f56cb186ff087778cfb4 +PKG_HASH:=62e8ed4fd6a45864acc8235409461b72c9a28ee785a2011cc5eb78318786c89c PKG_LICENSE:=Apache-2.0 PKG_LICENSE_FILES:=LICENSE.rst PKG_MAINTAINER:=Alexandru Ardelean -PKG_BUILD_DEPENDS:=python-setuptools-scm/host +PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-vcs/host include ../pypi.mk include $(INCLUDE_DIR)/package.mk diff --git a/lang/python/python-argcomplete/patches/001-unpin-setuptools.patch b/lang/python/python-argcomplete/patches/001-unpin-setuptools.patch deleted file mode 100644 index a85ce857a0891..0000000000000 --- a/lang/python/python-argcomplete/patches/001-unpin-setuptools.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,5 +1,5 @@ - [build-system] --requires = ["setuptools>=67.7.2", "setuptools_scm[toml]>=6.2"] -+requires = ["setuptools", "setuptools_scm[toml]>=6.2"] - build-backend = "setuptools.build_meta" - - [project] From e1769146250d3df4fd82761b5c149d1bba750054 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Sat, 4 Apr 2026 21:37:47 +0300 Subject: [PATCH 2/5] python-babel: bump to 2.18.0 Changelog: https://github.com/python-babel/babel/blob/master/CHANGES.rst Minor release with bug fixes. Resets PKG_RELEASE to 1. Add test.sh to verify locale, date, and number formatting. Signed-off-by: Alexandru Ardelean --- lang/python/python-babel/Makefile | 6 +++--- lang/python/python-babel/test.sh | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100755 lang/python/python-babel/test.sh diff --git a/lang/python/python-babel/Makefile b/lang/python/python-babel/Makefile index 7f53b272bd22c..8bbeafd12080f 100644 --- a/lang/python/python-babel/Makefile +++ b/lang/python/python-babel/Makefile @@ -8,11 +8,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-babel -PKG_VERSION:=2.17.0 -PKG_RELEASE:=3 +PKG_VERSION:=2.18.0 +PKG_RELEASE:=1 PYPI_NAME:=babel -PKG_HASH:=0c54cffb19f690cdcc52a3b50bcbf71e07a808d1c80d549f2459b9d2cf0afb9d +PKG_HASH:=b80b99a14bd085fcacfa15c9165f651fbb3406e66cc603abf11c5750937c992d PKG_MAINTAINER:=Josef Schlehofer PKG_LICENSE:=BSD-3-Clause diff --git a/lang/python/python-babel/test.sh b/lang/python/python-babel/test.sh new file mode 100755 index 0000000000000..ac50672ba18ca --- /dev/null +++ b/lang/python/python-babel/test.sh @@ -0,0 +1,24 @@ +#!/bin/sh +[ "$1" = python3-babel ] || exit 0 +python3 - << 'EOF' +import babel +assert babel.__version__, "babel version is empty" + +from babel import Locale +from babel.dates import format_date, format_datetime +from babel.numbers import format_number, format_currency +import datetime + +locale = Locale.parse("en_US") +assert locale.territory == "US" + +d = datetime.date(2024, 1, 15) +formatted = format_date(d, locale="en_US") +assert "2024" in formatted, f"date format missing year: {formatted}" + +n = format_number(1234567.89, locale="en_US") +assert "1,234,567" in n, f"number format unexpected: {n}" + +c = format_currency(9.99, "USD", locale="en_US") +assert "$" in c or "USD" in c, f"currency format unexpected: {c}" +EOF From 4c04ff75a67ac48aeb3e0feb7f56ecc62ed8d3f1 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Sat, 4 Apr 2026 21:37:47 +0300 Subject: [PATCH 3/5] python-charset-normalizer: bump to 3.4.7 Changelog: https://github.com/Ousret/charset_normalizer/releases/tag/3.4.7 Maintenance release with bug fixes and performance improvements. Signed-off-by: Alexandru Ardelean --- lang/python/python-charset-normalizer/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lang/python/python-charset-normalizer/Makefile b/lang/python/python-charset-normalizer/Makefile index 174247001edec..220a2f4c6241d 100644 --- a/lang/python/python-charset-normalizer/Makefile +++ b/lang/python/python-charset-normalizer/Makefile @@ -8,11 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-charset-normalizer -PKG_VERSION:=3.3.2 +PKG_VERSION:=3.4.7 PKG_RELEASE:=1 PYPI_NAME:=charset-normalizer -PKG_HASH:=f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5 +PYPI_SOURCE_NAME:=charset_normalizer +PKG_HASH:=ae89db9e5f98a11a4bf50407d4363e7b09b31e55bc117b4f7d80aab97ba009e5 PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE From 71ca1074387350f4fef8d717a5727fd1250728ff Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Sat, 4 Apr 2026 21:37:47 +0300 Subject: [PATCH 4/5] python-jsonschema: bump to 4.26.0 Changelog: https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst Minor release with bug fixes and improved draft 2020-12 support. Signed-off-by: Alexandru Ardelean --- lang/python/python-jsonschema/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/python/python-jsonschema/Makefile b/lang/python/python-jsonschema/Makefile index 82ce406bd5826..8b6215dcc11b2 100644 --- a/lang/python/python-jsonschema/Makefile +++ b/lang/python/python-jsonschema/Makefile @@ -1,11 +1,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-jsonschema -PKG_VERSION:=4.22.0 +PKG_VERSION:=4.26.0 PKG_RELEASE:=1 PYPI_NAME:=jsonschema -PKG_HASH:=5b22d434a45935119af990552c862e5d6d564e8f6601206b305a61fdf661a2b7 +PKG_HASH:=0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326 PKG_MAINTAINER:=Javier Marcet PKG_LICENSE:=MIT From 952e4606d4e81895bb393ec6e9a66e6671215005 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Sat, 4 Apr 2026 21:37:47 +0300 Subject: [PATCH 5/5] python-networkx: bump to 3.6.1 Changelog: https://networkx.org/documentation/stable/release/release_dev.html Minor release with new algorithms and bug fixes since 3.5. Add test.sh to verify graph creation, pathfinding, and topological sort. Signed-off-by: Alexandru Ardelean --- lang/python/python-networkx/Makefile | 6 +++--- lang/python/python-networkx/test.sh | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100755 lang/python/python-networkx/test.sh diff --git a/lang/python/python-networkx/Makefile b/lang/python/python-networkx/Makefile index 50f8c945b76a9..2af1ac19c1821 100644 --- a/lang/python/python-networkx/Makefile +++ b/lang/python/python-networkx/Makefile @@ -6,11 +6,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-networkx -PKG_VERSION:=3.5 +PKG_VERSION:=3.6.1 PKG_RELEASE:=1 PYPI_NAME:=networkx -PKG_HASH:=d4c6f9cf81f52d69230866796b82afbccdec3db7ae4fbd1b65ea750feed50037 +PKG_HASH:=26b7c357accc0c8cde558ad486283728b65b6a95d85ee1cd66bafab4c8168509 PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=LICENSE.txt @@ -27,7 +27,7 @@ define Package/python3-networkx SUBMENU:=Python TITLE:=Creating and manipulating graphs and networks URL:=https://networkx.org/ - DEPENDS:=+python3-light +python3-uuid +python3-xml + DEPENDS:=+python3-light +python3-logging +python3-uuid +python3-xml endef define Package/python3-networkx/description diff --git a/lang/python/python-networkx/test.sh b/lang/python/python-networkx/test.sh new file mode 100755 index 0000000000000..165a853d6304c --- /dev/null +++ b/lang/python/python-networkx/test.sh @@ -0,0 +1,23 @@ +#!/bin/sh +[ "$1" = python3-networkx ] || exit 0 +python3 - << 'EOF' +import networkx +assert networkx.__version__, "networkx version is empty" + +import networkx as nx + +G = nx.Graph() +G.add_nodes_from([1, 2, 3, 4]) +G.add_edges_from([(1, 2), (2, 3), (3, 4)]) + +assert G.number_of_nodes() == 4 +assert G.number_of_edges() == 3 +assert nx.is_connected(G) + +path = nx.shortest_path(G, source=1, target=4) +assert path == [1, 2, 3, 4], f"unexpected path: {path}" + +D = nx.DiGraph() +D.add_edges_from([(1, 2), (2, 3)]) +assert list(nx.topological_sort(D)) == [1, 2, 3] +EOF