diff mbox series

[2/2] python3-wcwidth: Upgrade 0.2.14 -> 0.3.1

Message ID 20260123084336.3061764-2-leon.anavi@konsulko.com
State New
Headers show
Series [1/2] python3-pyzstd: Upgrade 0.17.0 -> 0.19.1 | expand

Commit Message

Leon Anavi Jan. 23, 2026, 8:43 a.m. UTC
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>
---
 .../{python3-wcwidth_0.2.14.bb => python3-wcwidth_0.3.1.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-wcwidth_0.2.14.bb => python3-wcwidth_0.3.1.bb} (76%)
diff mbox series

Patch

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