catprinter
catprinter copied to clipboard
Update bleak requirement from ~=0.14.2 to ~=0.15.1
Updates the requirements on bleak to permit the latest version.
Release notes
Sourced from bleak's releases.
v0.15.1
Fixed
- The global BlueZ manager now disconnects correctly on exception. Merged #918.
- Handle the race in the BlueZ D-Bus backend where the device disconnects during the connection process which presented as
Failed to cancel connection. Merged #919.- Ensure the BlueZ D-Bus scanner can reconnect after DBus disconnection. Merged #920.
Changelog
Sourced from bleak's changelog.
0.15.1_ (2022-08-03)Fixed
- The global BlueZ manager now disconnects correctly on exception. Merged #918.
- Handle the race in the BlueZ D-Bus backend where the device disconnects during the connection process which presented as
Failed to cancel connection. Merged #919.- Ensure the BlueZ D-Bus scanner can reconnect after DBus disconnection. Merged #920.
0.15.0_ (2022-07-29)Added
- Added new
assigned_numbersmodule andAdvertisementDataTypeenum.- Added new
bluezkwarg toBleakScannerin BlueZ backend.- Added support for passive scanning in the BlueZ backend. Fixes #606.
- Added option to use cached services, characteristics and descriptors in WinRT backend. Fixes #686.
- Added
PendingDeprecationWarningto use ofaddress_typeas keyword argument. It will be moved into thewinrtkeyword instead according to #623.- Added better error message when adapter is not present in BlueZ backend. Fixes #889.
Changed
- Add
py.typedfile so mypy discovers Bleak's type annotations.- UUID descriptions updated to 2022-03-16 assigned numbers document.
- Replace use of deprecated
asyncio.get_event_loop()in Android backend.- Adjust default timeout for
read_gatt_char()with CoreBluetooth to 10s. Merged #891.BleakScanner()argsdetection_callbackandservice_uuidsare no longer keyword-only.BleakScanner()argscanning_modeis no longer Windows-only and is no longer keyword-only.- All
BleakScanner()instances in BlueZ backend now use common D-Bus object manager.- Deprecated
filterskwarg inBleakScannerin BlueZ backend.- BlueZ version is now checked on first connection instead of import to avoid import side effects. Merged #907.
Fixed
- Documentation fixes.
- On empty characteristic description from WinRT, use the lookup table instead of returning empty string.
- Fixed detection of first advertisement in BlueZ backend. Merged #903.
- Fixed performance issues in BlueZ backend caused by calling "GetManagedObjects" each time a
BleakScannerscans orBleakClientis connected. Fixes #500.- Fixed not handling "InterfacesRemoved" in
BleakClientin BlueZ backend. Fixes #882.- Fixed leaking D-Bus socket file descriptors in BlueZ backend. Fixes #805.
Removed
... (truncated)
Commits
ac17549CHANGELOG: fix commit range in linka52f283v0.15.166dffabAvoid reusing the MessageBus in the managerf97f1a4Handle the race in the BlueZ D-Bus backend where the device disconnects durin...84abfa2Fix disconnect in the global BlueZ manager8d3ff00Merge pull request #911 from hbldh/release/v0.15.0a5b98c7v0.15.035fd612Merge pull request #907 from bdraco/asyncio_create_subprocess_exec_bluetoothctl1ac732aCheck the bluetoothctl version with asyncio.create_subprocess_exec1d47339Merge pull request #902 from hbldh/bluez-client-use-global-props- 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)