diff mbox series

[meta-python,008/105] python3-bleak: upgrade 3.0.2 -> 3.1.0

Message ID 20261116175359.342679-8-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python,001/105] python3-absl: upgrade 2.1.0 -> 2.5.1 | expand

Commit Message

Khem Raj Nov. 16, 2026, 5:52 p.m. UTC
Refresh the uv_build bound patch for the new <0.12.0 cap.

Changes:
- New: BleakAdapter.get_connected_devices() to list already-connected
  devices without scanning; new Android backend for BeeWare/Briefcase
  apps (needs Python 3.13+).
- Minimum dbus-fast raised to 4.0.0 on Linux.
- BlueZ: detects D-Bus connection loss, recovers from InProgress on
  StopDiscovery, fixes disconnect() leaks, device-removed matching
  on adapters like hci10, and empty AcquireNotify payloads.
- CoreBluetooth: fixed memory leaks, address data leak with
  use_bdaddr, start_notify() ValueError after reconnect.
- WinRT: GATT I/O raises BleakError on disconnect; fixed crash after
  event loop closed.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...0001-bleak-Support-newer-uv_build-versions.patch | 13 ++++---------
 ...ython3-bleak_3.0.2.bb => python3-bleak_3.1.0.bb} |  2 +-
 2 files changed, 5 insertions(+), 10 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-bleak_3.0.2.bb => python3-bleak_3.1.0.bb} (95%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-bleak/0001-bleak-Support-newer-uv_build-versions.patch b/meta-python/recipes-devtools/python/python3-bleak/0001-bleak-Support-newer-uv_build-versions.patch
index 043d7887c0..c131b5e236 100644
--- a/meta-python/recipes-devtools/python/python3-bleak/0001-bleak-Support-newer-uv_build-versions.patch
+++ b/meta-python/recipes-devtools/python/python3-bleak/0001-bleak-Support-newer-uv_build-versions.patch
@@ -3,7 +3,7 @@  From: Leon Anavi <leon.anavi@konsulko.com>
 Date: Mon, 15 Jun 2026 17:53:47 +0300
 Subject: [PATCH] bleak: Drop the uv_build upper version bound
 
-bleak 3.0.2 requires uv_build<0.11.0. OE builds wheels with
+bleak 3.1.0 requires uv_build<0.12.0. OE builds wheels with
 "pyproject-build --no-isolation" against whatever python3-uv-build is in
 the sysroot, and that check is enforced:
 
@@ -27,19 +27,14 @@  Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
  pyproject.toml | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/pyproject.toml b/pyproject.toml
-index 3224afc..4be6da7 100644
 --- a/pyproject.toml
 +++ b/pyproject.toml
-@@ -66,7 +66,7 @@ dev = [
+@@ -78,7 +78,7 @@
  ]
  
  [build-system]
--requires = ["uv_build>=0.10.9,<0.11.0"]
+-requires = ["uv_build>=0.10.9,<0.12.0"]
 +requires = ["uv_build>=0.10.9"]
  build-backend = "uv_build"
  
- [tool.uv.build-backend]
--- 
-2.47.3
-
+ [tool.uv]
diff --git a/meta-python/recipes-devtools/python/python3-bleak_3.0.2.bb b/meta-python/recipes-devtools/python/python3-bleak_3.1.0.bb
similarity index 95%
rename from meta-python/recipes-devtools/python/python3-bleak_3.0.2.bb
rename to meta-python/recipes-devtools/python/python3-bleak_3.1.0.bb
index 4d1e0b1666..4f5e6f9881 100644
--- a/meta-python/recipes-devtools/python/python3-bleak_3.0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-bleak_3.1.0.bb
@@ -6,7 +6,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
 # The PyPI sdist ships no tests/ directory at all, so ptest has nothing to
 # run from it (pytest exits 5, "no tests collected"). Fetch the matching
 # git tag instead, which does include tests/, mirroring python3-pydantic.
-SRCREV = "bb49377d38afb3a9fac9022aaf2c8f59d4ef7cfe"
+SRCREV = "3075468a7c511b2b771a6aa50a896120f2a3a3de"
 PV .= "+git"
 SRC_URI = "git://github.com/hbldh/bleak;protocol=https;branch=develop \
 	file://run-ptest \