diff mbox series

[meta-python,03/14] python3-bitstring: upgrade 4.4.0 -> 5.0.0

Message ID 20261125080732.2419614-64-khem.raj@oss.qualcomm.com
State New
Headers show
Series None | expand

Commit Message

Khem Raj Nov. 25, 2026, 8:07 a.m. UTC
Major release that moves the core to the Rust tibs library, about 4x
faster overall. It has breaking API changes:
- ConstBitStream/BitStream removed; use Reader(Bits(...))
- find()/rfind() return int | None; len/length properties removed
- Bits(n) construction removed; Dtype.build/parse renamed pack/unpack
- LSB0 mode and bitarray interop (tobitarray, bitarray=) removed
- Minimum Python is now 3.11

RDEPENDS python3-bitarray replaced by python3-tibs, which is the only
runtime dependency now. No recipe in the layers uses the bitstring
Python API.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...{python3-bitstring_4.4.0.bb => python3-bitstring_5.0.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-bitstring_4.4.0.bb => python3-bitstring_5.0.0.bb} (78%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-bitstring_4.4.0.bb b/meta-python/recipes-devtools/python/python3-bitstring_5.0.0.bb
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-bitstring_4.4.0.bb
rename to meta-python/recipes-devtools/python/python3-bitstring_5.0.0.bb
index ee2e8807c4..73e45dca10 100644
--- a/meta-python/recipes-devtools/python/python3-bitstring_4.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-bitstring_5.0.0.bb
@@ -3,7 +3,7 @@  HOMEPAGE = "https://github.com/scott-griffiths/bitstring"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=963a24c175e658fbf16a764135121ffa"
 
-SRC_URI[sha256sum] = "e682ac522bb63e041d16cbc9d0ca86a4f00194db16d0847c7efe066f836b2e37"
+SRC_URI[sha256sum] = "01d876b6e7bbd912bfa3ae1d028ed419ed2193245fe2337f21d30afaa391c053"
 
 inherit pypi python_setuptools_build_meta
 
@@ -12,7 +12,7 @@  RDEPENDS:${PN} = "\
     python3-io \
     python3-mmap \
     python3-numbers \
-    python3-bitarray \
+    python3-tibs \
 "
 
 BBCLASSEXTEND = "native nativesdk"