diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2025-11-25 17:11:43 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-25 07:44:42 -0800 |
| commit | 361c98e554dfe7b21908b23c9757f1c2724514e5 (patch) | |
| tree | 89ce263d2ef7e08bf59498c81c05f8b3365da14c /meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb | |
| parent | 2e73a5158c2c8091ca13e0ee99775df166fbaa0e (diff) | |
| download | meta-openembedded-361c98e554dfe7b21908b23c9757f1c2724514e5.tar.gz | |
python3-bleak: upgrade 1.1.1 -> 2.0.0
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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb b/meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb new file mode 100644 index 0000000000..161b21b88c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | SUMMARY = "Bleak is a GATT client software, capable of connecting to BLE devices acting as GATT servers." | ||
| 2 | HOMEPAGE = "https://github.com/hbldh/bleak" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" | ||
| 5 | |||
| 6 | SRCREV = "718e5d76cd051910a9d5266266af632c2529c03c" | ||
| 7 | PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop;destsuffix=${S}" | ||
| 8 | |||
| 9 | inherit pypi python_poetry_core ptest-python-pytest | ||
| 10 | |||
| 11 | RDEPENDS:${PN}-ptest += " \ | ||
| 12 | python3-asyncio \ | ||
| 13 | python3-pytest-asyncio \ | ||
| 14 | python3-pytest-cov \ | ||
| 15 | " | ||
| 16 | |||
| 17 | RDEPENDS:${PN} += " \ | ||
| 18 | python3-core (>3.8) \ | ||
| 19 | python3-dbus-fast \ | ||
| 20 | python3-xml \ | ||
| 21 | " | ||
