diff mbox series

[meta-python,13/26] python3-bleak: upgrade 1.1.1 -> 2.0.0

Message ID 20251125091156.1376-13-wangmy@fujitsu.com
State New
Headers show
Series [meta-oe,01/26] debootstrap: upgrade 1.0.141 -> 1.0.142 | expand

Commit Message

Wang Mingyu Nov. 25, 2025, 9:11 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

Added
------
- Added bleak.backends.get_default_backend() and BleakBackend enum for a
  centralized backend detection.
- Added BleakClient().backend_id and BleakScanner().backend_id properties to
  identify the backend in use.

Changed --------
- Use "AcquireNotify" rather than "StartNotify" for Linux backend on supported
  characteristics
- Allow multiple calls to disconnect() on Windows to align behavior over all
  backends.
- Raise new BleakBluetoothNotAvailableError when Bluetooth is not supported,
  turned off or permission is denied.

Fixed ------
- Fixed potential race condition causing timeout while connecting in WinRT
  backend.
- Fixed file handle leak in BlueZ backend when D-Bus connection is lost and
  re-established.
- Fixed crash in CoreBluetooth backend if an ObjC delegate callback is called
  after the asyncio run loop stops.
- Fixed possible deadlock when starting scanning on Windows when Bluetooth is
  turned off.
- Fixed "Bluetooth device is turned off" Exception on macOS, when a Bluetooth
  permission request popup is shown to the user by the OS.

Removed ---------
- Removed support for Python 3.9.
- Removed support for macOS < 10.15.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../python/{python3-bleak_1.1.1.bb => python3-bleak_2.0.0.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-bleak_1.1.1.bb => python3-bleak_2.0.0.bb} (91%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-bleak_1.1.1.bb b/meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb
similarity index 91%
rename from meta-python/recipes-devtools/python/python3-bleak_1.1.1.bb
rename to meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb
index a532a520e7..161b21b88c 100644
--- a/meta-python/recipes-devtools/python/python3-bleak_1.1.1.bb
+++ b/meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb
@@ -3,7 +3,7 @@  HOMEPAGE = "https://github.com/hbldh/bleak"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
 
-SRCREV = "2564f9162c46f451db8067930637f30487315f7a"
+SRCREV = "718e5d76cd051910a9d5266266af632c2529c03c"
 PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop;destsuffix=${S}"
 
 inherit pypi python_poetry_core ptest-python-pytest