summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-charset-normalizer_3.2.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-charset-normalizer: upgrade 3.2.0 -> 3.3.0Wang Mingyu2023-10-231-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== Added --------- -Allow to execute the CLI (e.g. normalizer) through python -m charset_normalizer.cli or python -m charset_normalizer -Support for 9 forgotten encoding that are supported by Python but unlisted in encoding.aliases as they have no alias (#323) Removed --------- -Redundant utils.is_ascii function and unused function is_private_use_only -charset_normalizer.assets is moved inside charset_normalizer.constant Changed ---------- -Unicode code blocks in constants are updated using the latest v15.0.0 definition to improve detection -Optional mypyc compilation upgraded to version 1.5.1 for Python >= 3.8 Fixed -------- Unable to properly sort CharsetMatch when both chaos/noise and coherence were close due to an unreachable condition in __lt__ (#350) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-charset-normalizer: upgrade 3.1.0 -> 3.2.0Wang Mingyu2023-07-201-0/+15
Changelog: ========== Changed --------- Typehint for function from_path no longer enforce PathLike as its first argument Minor improvement over the global detection reliability Added --------- Introduce function is_binary that relies on main capabilities, and optimized to detect binaries Propagate enable_fallback argument throughout from_bytes, from_path, and from_fp that allow a deeper control over the detection (default True) Explicit support for Python 3.12 Fixed ----------- Edge case detection failure where a file would contain 'very-long' camel cased word (Issue #289) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>