]> git.99rst.org Git - openwrt-packages.git/commitdiff
python-idna: bump to 3.18
authorWei-Ting Yang <redacted>
Sun, 26 Jul 2026 06:35:27 +0000 (14:35 +0800)
committerAlexandru Ardelean <redacted>
Mon, 27 Jul 2026 06:35:43 +0000 (09:35 +0300)
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 <redacted>
lang/python/python-idna/Makefile
lang/python/python-idna/test.sh

index 4d54a1567df5f8bf1d2a5efb116d783b1e8a225c..6c93a420e989a03686a956d808e15ccdf797ffdd 100644 (file)
@@ -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
index 85f779c236b427b21d1c1c6e54336acc8f3f1305..f63310bef5b1929525fc0150c98413c23dc01e90 100644 (file)
@@ -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
git clone https://git.99rst.org/PROJECT