From: Leon Anavi Date: Fri, 23 Jan 2026 08:43:35 +0000 (+0200) Subject: python3-wcwidth: Upgrade 0.2.14 -> 0.3.1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbb0a89fff14847454ea7fda3723e0666de57c93;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git python3-wcwidth: Upgrade 0.2.14 -> 0.3.1 Upgrade to release 0.3.1: Add benchmarking using codspeed.io improve width() performance >From release 0.3.0: - Migrate from setup.py + setuptools to pyproject.toml + hatchling - Small improvements to update-tables.py and wcwidth-browser.py - New: iter_graphemes() - New: width() terminal-aware string measurement - New: ljust(), rjust(), center() justify text - New: wrap() - improve wcswidth() performance ~30% - New ambigous_width=1 argument - New strip_sequences() and cut() functions - Width 0 for Default_Ignorable_Code_Point characters - Bugfix for Prepended_Concatenation_Mark characters Fixes: WARNING: python3-wcwidth-0.3.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with hatchling.build, use the correct class [pep517-backend] Signed-off-by: Leon Anavi Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python3-wcwidth_0.2.14.bb b/meta/recipes-devtools/python/python3-wcwidth_0.3.1.bb similarity index 76% rename from meta/recipes-devtools/python/python3-wcwidth_0.2.14.bb rename to meta/recipes-devtools/python/python3-wcwidth_0.3.1.bb index da2dc60263..beee5f352c 100644 --- a/meta/recipes-devtools/python/python3-wcwidth_0.2.14.bb +++ b/meta/recipes-devtools/python/python3-wcwidth_0.3.1.bb @@ -4,9 +4,9 @@ HOMEPAGE = "https://github.com/jquast/wcwidth" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=b15979c39a2543892fca8cd86b4b52cb" -SRC_URI[sha256sum] = "4d478375d31bc5395a3c55c40ccdf3354688364cd61c4f6adacaa9215d0b3605" +SRC_URI[sha256sum] = "5aedb626a9c0d941b990cfebda848d538d45c9493a3384d080aff809143bd3be" -inherit pypi setuptools3 ptest-python-pytest +inherit pypi python_hatchling ptest-python-pytest do_install_ptest:aapend() { install -d ${D}${PTEST_PATH}/bin