catprinter
catprinter copied to clipboard
Update bleak requirement from ~=0.14.2 to ~=0.20.2
Updates the requirements on bleak to permit the latest version.
Release notes
Sourced from bleak's releases.
v0.20.2
Fixed
- Fixed
org.bluez.Error.InProgressin characteristic and descriptor read and write methods in BlueZ backend.- Fixed
OSError: [WinError -2147483629] The object has been closedwhen connecting on Windows. Fixes #1280.
Changelog
Sourced from bleak's changelog.
0.20.2_ (2023-04-19)Fixed
- Fixed
org.bluez.Error.InProgressin characteristic and descriptor read and write methods in BlueZ backend.- Fixed
OSError: [WinError -2147483629] The object has been closedwhen connecting on Windows. Fixes #1280.
0.20.1_ (2023-03-24)Fixed
- Fixed possible garbage collection of running async callback from
BleakClient.start_notify().- Fixed possible garbage collection of running async callback from
BleakScanner(detection_callback=).- Fixed possible garbage collection of disconnect monitor in BlueZ backend. Fixed #1258.
0.20.0_ (2023-03-17)Added
- Added
BLEAK_DBUS_AUTH_UIDenvironment variable for hardcoding D-Bus UID. Merged #1182.- Added return type
Noneto some scanner methods.- Added optional hack to use Bluetooth address instead of UUID on macOS. Merged #1073.
- Added
BleakScanner.find_device_by_name()class method.- Added optional command line argument to use debug log level to all applicable examples.
- Added
bleak.uuids.normalize_uuid_str()function.- Added optional
servicesargument toBleakClient()to filter services. Merged #654.- Added automatic retry on
le-connection-abort-by-localin BlueZ backend. Fixes #1220.Changed
- Dropped
async-timeoutdependency on Python >= 3.11.- Deprecated
BLEDevice.rssiandBLEDevice.metadata. Fixes #1025.BLEDevicenow uses__slots__to reduce memory usage. Merged #1117.BaseBleakClient.servicesis nowNoneinstead of empty service collection until services are discovered.- Include thread name in
BLEAK_LOGGINGoutput. Merged #1144.- Updated PyObjC dependency on macOS to v9.x.
Fixed
- Fixed invalid UTF-8 in
uuids.uuid16_dict.- Fixed
AttributeErrorin_ensure_successin WinRT backend.- Fixed
BleakScanner.stop()can raiseBleakDBusErrorwithorg.bluez.Error.NotReadyin BlueZ backend.- Fixed
BleakScanner.stop()hanging in WinRT backend when Bluetooth is disabled.- Fixed leaking services when
get_services()is cancelled in WinRT backend.
... (truncated)
Commits
2fe1b69v0.20.2eaa5588winrt/client: ignore session closed event during connect028b153backends/bluezdbus/client: retry on InProgress222618bpyproject: bump version for develop1c55d8bbackends/characteristic: document linux mtu quirk5141aabUpdate mtu_size.pybd0275eCorrect spelling mistakes33fcc4av0.20.1e01ae59bleak: fix leaking of ensure_future()1b93859v0.20.0- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)