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.InProgress
in characteristic and descriptor read and write methods in BlueZ backend.- Fixed
OSError: [WinError -2147483629] The object has been closed
when connecting on Windows. Fixes #1280.
Changelog
Sourced from bleak's changelog.
0.20.2
_ (2023-04-19)Fixed
- Fixed
org.bluez.Error.InProgress
in characteristic and descriptor read and write methods in BlueZ backend.- Fixed
OSError: [WinError -2147483629] The object has been closed
when 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_UID
environment variable for hardcoding D-Bus UID. Merged #1182.- Added return type
None
to 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
services
argument toBleakClient()
to filter services. Merged #654.- Added automatic retry on
le-connection-abort-by-local
in BlueZ backend. Fixes #1220.Changed
- Dropped
async-timeout
dependency on Python >= 3.11.- Deprecated
BLEDevice.rssi
andBLEDevice.metadata
. Fixes #1025.BLEDevice
now uses__slots__
to reduce memory usage. Merged #1117.BaseBleakClient.services
is nowNone
instead of empty service collection until services are discovered.- Include thread name in
BLEAK_LOGGING
output. Merged #1144.- Updated PyObjC dependency on macOS to v9.x.
Fixed
- Fixed invalid UTF-8 in
uuids.uuid16_dict
.- Fixed
AttributeError
in_ensure_success
in WinRT backend.- Fixed
BleakScanner.stop()
can raiseBleakDBusError
withorg.bluez.Error.NotReady
in 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
2fe1b69
v0.20.2eaa5588
winrt/client: ignore session closed event during connect028b153
backends/bluezdbus/client: retry on InProgress222618b
pyproject: bump version for develop1c55d8b
backends/characteristic: document linux mtu quirk5141aab
Update mtu_size.pybd0275e
Correct spelling mistakes33fcc4a
v0.20.1e01ae59
bleak: fix leaking of ensure_future()1b93859
v0.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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)