pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/converters/py-charset-normalizer
Module Name: pkgsrc
Committed By: adam
Date: Wed Nov 25 14:29:22 UTC 2026
Modified Files:
pkgsrc/converters/py-charset-normalizer: Makefile distinfo
Log Message:
py-charset-normalizer: updated to 3.5.3
3.5.3
Changed
- Faster noise scoring in both the pure-Python and Cython implementations by reusing
Unicode character properties. The Cython extensions also speed up language ranking
and checks for suspicious transitions between Unicode blocks.
- Reduced detection overhead by skipping redundant UTF-8 sample alignment checks and
repeated logging checks when tracing is disabled.
- Raised the setuptools upper bound to `<84.3`, allowing source builds with setuptools
84.1 and 84.2.
Fixed
- Fixed detection of registered multibyte codecs when a sample boundary splits a character.
The detector now strictly decodes the full input with the custom codec before sampling
the resulting text.
- Kept single-byte candidates in consideration when a Chinese, Japanese or Korean
decoding has measurable noise and no matching language.
- Recognized ASCII information separators (`0x1C` through `0x1F`) as whitespace when
scoring text, including record-separated JSON.
- Removed the leading GB18030 signature from lazily decoded matches on large inputs.
- Fixed UTF-7 text with a signature being misidentified as ASCII when a sample
started in the middle of a long encoded sequence.
- Fixed language detection returning names such as `English—` when only an alternative
language profile met the coherence threshold.
- `CharsetMatch.output()` now updates a UTF-8 declaration when transcoding to another
encoding and preserves the last successful output if a later conversion fails.
- The legacy `detect()` function now reports `ISO-8859-1` for Latin-1 by default.
- Both `python -m charset_normalizer` and `python -m charset_normalizer.cli` now
propagate the CLI exit status.
- CLI JSON output with `--with-alternative` now always uses a top-level array,
including for a single result or a file with no match.
- `normalizer --normalize` now appends the detected encoding to extensionless
filenames when creating a copy (for example, `README` becomes `README.cp1252`).
- Excluded Python 3.16's `utf_7_imap` mailbox codec from detection to prevent
errors when probing unrelated encodings.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/converters/py-charset-normalizer/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/converters/py-charset-normalizer/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/converters/py-charset-normalizer/Makefile
diff -u pkgsrc/converters/py-charset-normalizer/Makefile:1.32 pkgsrc/converters/py-charset-normalizer/Makefile:1.33
--- pkgsrc/converters/py-charset-normalizer/Makefile:1.32 Thu Oct 1 11:55:13 2026
+++ pkgsrc/converters/py-charset-normalizer/Makefile Wed Nov 25 14:29:22 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.32 2026/10/01 11:55:13 adam Exp $
+# $NetBSD: Makefile,v 1.33 2026/11/25 14:29:22 adam Exp $
-DISTNAME= charset_normalizer-3.5.2
+DISTNAME= charset_normalizer-3.5.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= converters python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/charset-normalizer/}
Index: pkgsrc/converters/py-charset-normalizer/distinfo
diff -u pkgsrc/converters/py-charset-normalizer/distinfo:1.30 pkgsrc/converters/py-charset-normalizer/distinfo:1.31
--- pkgsrc/converters/py-charset-normalizer/distinfo:1.30 Thu Oct 1 11:55:13 2026
+++ pkgsrc/converters/py-charset-normalizer/distinfo Wed Nov 25 14:29:22 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.30 2026/10/01 11:55:13 adam Exp $
+$NetBSD: distinfo,v 1.31 2026/11/25 14:29:22 adam Exp $
-BLAKE2s (charset_normalizer-3.5.2.tar.gz) = 51dc1a1e2acd782b918d1a53c5368786c2887a6f8448768d030d0ed7748a31e5
-SHA512 (charset_normalizer-3.5.2.tar.gz) = 342e94ae5b4a3d378860aab316d76947e67cc26d62529e2a9c0e062766ed2c48e4641497b0277c9e291a7ba40fe6861c5b6d4814f38c0775fad59a3b761468d3
-Size (charset_normalizer-3.5.2.tar.gz) = 172659 bytes
+BLAKE2s (charset_normalizer-3.5.3.tar.gz) = bf2ac601f0e9277df1e40d07c69f684720f597d3dd8134170d3b156e0cb02b1b
+SHA512 (charset_normalizer-3.5.3.tar.gz) = fa6f516bd5e69108b495f24431a2a32a3b9ba30adbb9bd06243f7bdbff6b6b601b1e86eefb3080dd3dbb1196439d841bacd484dc381833682b7fcda5aabdcbda
+Size (charset_normalizer-3.5.3.tar.gz) = 189359 bytes
Home |
Main Index |
Thread Index |
Old Index