CVS commit: pkgsrc/www/py-idna

"Thomas Klausner" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	wiz
Date:		Sun Aug 23 08:11:44 UTC 2026

Modified Files:
	pkgsrc/www/py-idna: Makefile distinfo

Log Message:
py-idna: update to 3.19.

## 3.19 (2026-08-XX)

- Restore the `std3_rules` option, which had no effect since changes
  to UTS #46 processing in Unicode 16. Note that `uts46_remap()`
  defaults to enabling STD3 rules, so direct callers will see input
  containing non-LDH ASCII characters rejected again.
- Performance improvements to UTS #46 mapping, particularly for
  ASCII-only domains.
- Test on free-threaded CPython with the GIL disabled and document
  thread safety.
- Expose the Unicode version of the generated tables as
  `idna.unicode_version`, and show it in `idna --version`.
- Add `code`, `text`, `codepoint` and `position` attributes to
  `IDNAError` so that the failed rule and the offending character can
  be identified without parsing the exception message.
- The deprecated `transitional` argument to `encode()` and
  `uts46_remap()` is now completely ignored, and gives a deprecation warning
  for the latter.
- Reject A-labels that are not the canonical Punycode encoding of
  their U-label.
- Fix CONTEXTJ violations raising `IDNAError` instead of
  `InvalidCodepointContext`.
- Consistently raise `IDNAError` for empty labels and non-ASCII bytes
  passed to label helper functions and the incremental codec.
- Add property-based tests, extended fuzzing targets, coverage
  measurement, and CI checks that the data tables match the generator
  output.
- Various code quality and tooling improvements.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/www/py-idna/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/www/py-idna/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 1.7 KB)
Modified files:

Index: pkgsrc/www/py-idna/Makefile
diff -u pkgsrc/www/py-idna/Makefile:1.29 pkgsrc/www/py-idna/Makefile:1.30
--- pkgsrc/www/py-idna/Makefile:1.29	Wed Jun  3 10:52:03 2026
+++ pkgsrc/www/py-idna/Makefile	Sun Aug 23 08:11:44 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2026/06/03 10:52:03 adam Exp $
+# $NetBSD: Makefile,v 1.30 2026/08/23 08:11:44 wiz Exp $
 
-DISTNAME=	idna-3.18
+DISTNAME=	idna-3.19
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	www python
 MASTER_SITES=	${MASTER_SITE_PYPI:=i/idna/}
@@ -11,6 +11,7 @@ COMMENT=	Python module for International
 LICENSE=	modified-bsd
 
 TOOL_DEPENDS+=	${PYPKGPREFIX}-flit_core>=3.11:../../devel/py-flit_core
+TEST_DEPENDS+=	${PYPKGPREFIX}-hypothesis>=0:../../devel/py-hypothesis
 
 USE_LANGUAGES=	# none
 

Index: pkgsrc/www/py-idna/distinfo
diff -u pkgsrc/www/py-idna/distinfo:1.27 pkgsrc/www/py-idna/distinfo:1.28
--- pkgsrc/www/py-idna/distinfo:1.27	Wed Jun  3 10:52:03 2026
+++ pkgsrc/www/py-idna/distinfo	Sun Aug 23 08:11:44 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.27 2026/06/03 10:52:03 adam Exp $
+$NetBSD: distinfo,v 1.28 2026/08/23 08:11:44 wiz Exp $
 
-BLAKE2s (idna-3.18.tar.gz) = d2dc47329f4e67ed8739710ec1e277fe9bb370485bb4a7396339f1d517f49f03
-SHA512 (idna-3.18.tar.gz) = 5cdfa086a6a1d2c5fbb6fe56ceae5434a71e2215711d252be41f82cebfa48cef35cc8b2ff03e6af17ae309f230a04a008c41eae55852dd77942f97f65848c916
-Size (idna-3.18.tar.gz) = 196711 bytes
+BLAKE2s (idna-3.19.tar.gz) = bb6ea49815ce460438ae3f8abd801c04319fc9fe48eb9dd4be1dbce9fa72f581
+SHA512 (idna-3.19.tar.gz) = 9d80b04098d59eb2f2c82a91d1b8153aa5cf135dafc9f792b69d5efee05a1b7f441a907286741f85992a67b175e2910b2233bdf7492c61a3dc204ff74aed3aca
+Size (idna-3.19.tar.gz) = 215237 bytes
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.