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:   wiz
Date:           Sun Aug 16 12:21:33 UTC 2026

Modified Files:
        pkgsrc/converters/py-charset-normalizer: Makefile distinfo

Log Message:
py-charset-normalizer: update to 3.5.1.

## [3.5.1](https://github.com/Ousret/charset_normalizer/compare/3.5.0...3.5.1) (2026-08-15)

### Changed
- Raised upper bound of setuptools to v84 (#794)
- Cache performance access optimization for our CharInfo struct (prebuilt only).

### Fixed
- No longer decoding large content when the noise detector output give a high entropy.
  Only impacted large content input >1M bytes.

## [3.5.0](https://github.com/Ousret/charset_normalizer/compare/3.4.9...3.5.0) (2026-08-12)

### Added
- Explicit support for Python 3.15

### Fixed
- Comparing a CharsetMatch to a non-alias encoding strings (#773)
- Return 0.0 CharsetMatch.multi_byte_usage for empty payloads instead of crashing (#774)
- A file with both a charset declaration and BOM/SIG did not verify first the BOM/SIG charset.
- iso2022* cases misdetected due to a flaw in our multibyte chunking logic.

### Changed
- Replaced the optional mypyc build with Cython extensions while retaining the
  pure Python fallback. The previous engine (mypyc) started to hit rough limit around
  the optimization of our noise/coherence detector while Cython allows us to
  steer the engine toward the right generated optimized sources.
  This change SHOULD not impact bundler (e.g. Pyinstaller) as the module are
  immediately discoverable (i.e. not hidden import like mypyc did).
  Moreover, a long wished distribution is the abi3 wheels, this will allow us
  to no longer rush each year when a new Python interpreter is released.
  We still distribute the interpreter specific wheels for faster performance.
- Applied micro-optimization on several utils.
- CharsetMatches no longer sort on each match insertion.

### Misc
- Removed an old performance optimization attempt in apy.py (success_fast_tracked+payload_result_cache).


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/converters/py-charset-normalizer/Makefile
cvs rdiff -u -r1.28 -r1.29 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.30 pkgsrc/converters/py-charset-normalizer/Makefile:1.31
--- pkgsrc/converters/py-charset-normalizer/Makefile:1.30       Wed Jul  8 08:00:28 2026
+++ pkgsrc/converters/py-charset-normalizer/Makefile    Sun Aug 16 12:21:33 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2026/07/08 08:00:28 adam Exp $
+# $NetBSD: Makefile,v 1.31 2026/08/16 12:21:33 wiz Exp $
 
-DISTNAME=      charset_normalizer-3.4.9
+DISTNAME=      charset_normalizer-3.5.1
 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.28 pkgsrc/converters/py-charset-normalizer/distinfo:1.29
--- pkgsrc/converters/py-charset-normalizer/distinfo:1.28       Wed Jul  8 08:00:28 2026
+++ pkgsrc/converters/py-charset-normalizer/distinfo    Sun Aug 16 12:21:33 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.28 2026/07/08 08:00:28 adam Exp $
+$NetBSD: distinfo,v 1.29 2026/08/16 12:21:33 wiz Exp $
 
-BLAKE2s (charset_normalizer-3.4.9.tar.gz) = ece61d9f61b9459d84a472516cb8eb65a6d39735324be03a7db82ace09c4bfc4
-SHA512 (charset_normalizer-3.4.9.tar.gz) = eb96d91b60b5ed083a6169a2c67534a6fd261d91e957f592a52076c98fad99d30e45a11754d51472e1b2815b08061005a5cf9a6844441726cd2814f22bdeef2c
-Size (charset_normalizer-3.4.9.tar.gz) = 152439 bytes
+BLAKE2s (charset_normalizer-3.5.1.tar.gz) = c555692cec075f66e4374abce68f5db14a99e842fd8e9a9a6ec448f195909036
+SHA512 (charset_normalizer-3.5.1.tar.gz) = 9f77c6eb941e7b718ccfeefc0febbf964c9b4992fc14c9d64efac1da346f24f1c0b5b82a094512f2ab220232b2b269614ca34e59b93eb05e57e13cd85f7167fb
+Size (charset_normalizer-3.5.1.tar.gz) = 171764 bytes



Home | Main Index | Thread Index | Old Index