Changelog:
0.9.1 2026-09-23
- Bugfix width() in Python and libwcwidth mis-measured CSI sequences
over 64 bytes, a 0.9.0 release regression!
- Performance improvement of ~15% for many Python API functions when
using default arguments like ambiguous_width and term_program.
0.9.0 2026-09-23
- New Optional CPython extension using libwcwidth, improving performance
10-58x.
- Drop Support for Python 3.8.
0.8.5 2026-09-23
- Bugfix CJK hyphen break positions for wrap().
0.8.4 2026-09-17
- Bugfix clip() hangs with OSC 8 hyperlinks in some conditions.
- Bugfix width of ITU T.416 colon-format SGR color parameters.
- Bugfix width of OSC 66 text sizing sequences without a text field.
- Bugfix width(), ljust(), rjust(), center(), clip() and
strip_sequences() treated ESC ( LF as text instead of a character set
designation (rare).
- Bugfix clip() painter's algorithm and "tab expansion" should be
spaces.
- Changed iter_graphemes() clustering rule GB9c for Unicode 18.0.
- Changed ambiguous_width arguments are now clamped to allowed range (1,
2).
- Changed wrap() now raises ValueError for a width of zero or less,
matching stdlib textwrap. Previously wrap('女', 0) returned ['女'].
- Changed clip() arguments start=0 and end=-1 become optional.
- Updated tables for Unicode version 18.0.
- Updated ucs-detect data files used in some automatic tests are no
longer distributed.
Signed-off-by: Mathieu Dubois-Briand <[email protected]>
---
.../python/{python3-wcwidth_0.8.4.bb => python3-wcwidth_0.9.1.bb} | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/python/python3-wcwidth_0.8.4.bb
b/meta/recipes-devtools/python/python3-wcwidth_0.9.1.bb
similarity index 55%
rename from meta/recipes-devtools/python/python3-wcwidth_0.8.4.bb
rename to meta/recipes-devtools/python/python3-wcwidth_0.9.1.bb
index 8ac99afc3ec0..e7156a79eefb 100644
--- a/meta/recipes-devtools/python/python3-wcwidth_0.8.4.bb
+++ b/meta/recipes-devtools/python/python3-wcwidth_0.9.1.bb
@@ -4,12 +4,16 @@ HOMEPAGE = "https://github.com/jquast/wcwidth"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b15979c39a2543892fca8cd86b4b52cb"
-SRC_URI[sha256sum] =
"2dae09efa25253ae2874188e86d6861af3b1652aef4118cdf3f0bda288a957fb"
+SRC_URI[sha256sum] =
"5823209b0d43af322ce698c689380d7c15ca31fa8e6e3be8459f27031bef0af5"
inherit pypi python_hatchling ptest-python-pytest
do_install_ptest:append() {
- cp ${S}/pyproject.toml ${D}${PTEST_PATH}/
+ cp ${S}/pyproject.toml ${S}/setup.py ${D}${PTEST_PATH}/
+ cp -r ${S}/libwcwidth ${D}${PTEST_PATH}/libwcwidth
+
+ # Remove pre-release tests, require authentication with github
+ rm ${D}${PTEST_PATH}/tests/test_check_release.py
}
BBCLASSEXTEND = "native nativesdk"
--
2.47.3
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#246928):
https://lists.openembedded.org/g/openembedded-core/message/246928
Mute This Topic: https://lists.openembedded.org/mt/121504994/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-