From 94122430527e1ddd8a754ec00cb81051711b83fe Mon Sep 17 00:00:00 2001 From: Wei-Ting Yang Date: Sun, 26 Jul 2026 14:35:27 +0800 Subject: [PATCH] python-idna: bump to 3.18 Release notes: https://github.com/kjd/idna/releases/tag/v3.18 Remove the test for UTS 46 transitional processing, which is now deprecated and emits a warning. See [1]. [1] https://github.com/kjd/idna/commit/94bcdc38fd75ae8a259132f7e3f5f1fb5373c717 Signed-off-by: Wei-Ting Yang --- lang/python/python-idna/Makefile | 4 ++-- lang/python/python-idna/test.sh | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lang/python/python-idna/Makefile b/lang/python/python-idna/Makefile index 4d54a1567d..6c93a420e9 100644 --- a/lang/python/python-idna/Makefile +++ b/lang/python/python-idna/Makefile @@ -8,11 +8,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-idna -PKG_VERSION:=3.17 +PKG_VERSION:=3.18 PKG_RELEASE:=1 PYPI_NAME:=idna -PKG_HASH:=5eb0cb53bc467c12eadcf6de83163ad8527cec9416f44b9b61b19caedad2b87f +PKG_HASH:=ffb385a7e039654cef1ab9ef32c6fafe283c0c0467bba1d9029738ce4a14a848 PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=LICENSE.md diff --git a/lang/python/python-idna/test.sh b/lang/python/python-idna/test.sh index 85f779c236..f63310bef5 100644 --- a/lang/python/python-idna/test.sh +++ b/lang/python/python-idna/test.sh @@ -18,6 +18,4 @@ assert idna.alabel('测试') == b'xn--0zwm56d' assert idna.encode('Königsgäßchen', uts46=True) == b'xn--knigsgchen-b4a3dun' assert idna.decode('xn--knigsgchen-b4a3dun') == 'königsgäßchen' -assert idna.encode('Königsgäßchen', uts46=True, transitional=True) == b'xn--knigsgsschen-lcb0w' - EOF