]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
python3-wcwidth: Upgrade 0.2.14 -> 0.3.1
authorLeon Anavi <leon.anavi@konsulko.com>
Fri, 23 Jan 2026 08:43:35 +0000 (10:43 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Feb 2026 09:54:30 +0000 (09:54 +0000)
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 <leon.anavi@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-wcwidth_0.3.1.bb [moved from meta/recipes-devtools/python/python3-wcwidth_0.2.14.bb with 76% similarity]

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 da2dc60263ae7a2af5f4e5dc7145158962540e36..beee5f352c04818bbff36022dcae869d4be27130 100644 (file)
@@ -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