Skip to content

chore(deps): bump bleak from 3.0.2 to 3.1.0 - #410

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/bleak-3.1.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/bleak-3.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor

Bumps bleak from 3.0.2 to 3.1.0.

Release notes

Sourced from bleak's releases.

v3.1.0

Added

  • Added BleakAdapter class with get_connected_devices() to retrieve BLE devices that are already connected to the system without scanning.
  • Added new Android backend for apps built with BeeWare/Briefcase (Chaquopy). Requires Python 3.13 or later.

Changed

  • Changed minimum dbus-fast version to 4.0.0 on Linux.

Fixed

  • Fixed deprecated adapter keyword argument mutating shared defaults and caller-provided bluez arguments in BleakScanner and BleakClient. Fixes #2028.
  • Fixed handling empty notification payloads in BlueZ backend when using "AcquireNotify". Fixes #1982.
  • Fixed memory leaks when scanning and using a notification discriminator in CoreBluetooth backend.
  • Fixed BleakClient being kept alive by the CentralManagerDelegate after a failed connection attempt in CoreBluetooth backend.
  • Fixed leaking Bluetooth address data when scanning with cb={"use_bdaddr": True} in CoreBluetooth backend.
  • Fixed crash in WinRT backend if a WinRT event handler is called after the asyncio event loop is closed.
  • Fixed device removed callbacks in BlueZ backend matching devices on adapters whose name starts with the watched adapter name, e.g. hci10 for hci1.
  • Fixed BlueZ backend not detecting loss of the D-Bus connection, which left clients reporting connected forever and disconnect callbacks never firing.
  • Fixed disconnect() raising EOFError and leaking the D-Bus connection in BlueZ backend when the message bus died.
  • Fixed disconnect() leaking the D-Bus connection in BlueZ backend when it raised or was canceled.
  • Fixed start_notify() raising ValueError after reconnecting in CoreBluetooth backend. Fixes #1969.
  • Fixed GATT operations raising OSError instead of BleakError in WinRT backend when the device disconnects during the operation.
  • Fixed intermittent AssertionError in WinRT backend on fast reconnect.
  • Fixed BlueZ backend to attempt to automatically recover from InProgress error when stopping scanning. Fixes #2021.
Changelog

Sourced from bleak's changelog.

3.1.0_ (2026-11-07)

Added

  • Added BleakAdapter class with get_connected_devices() to retrieve BLE devices that are already connected to the system without scanning.
  • Added new Android backend for apps built with BeeWare/Briefcase (Chaquopy). Requires Python 3.13 or later.

Changed

  • Changed minimum dbus-fast version to 4.0.0 on Linux.

Fixed

  • Fixed deprecated adapter keyword argument mutating shared defaults and caller-provided bluez arguments in BleakScanner and BleakClient. Fixes #2028.
  • Fixed handling empty notification payloads in BlueZ backend when using "AcquireNotify". Fixes #1982.
  • Fixed memory leaks when scanning and using a notification discriminator in CoreBluetooth backend.
  • Fixed BleakClient being kept alive by the CentralManagerDelegate after a failed connection attempt in CoreBluetooth backend.
  • Fixed leaking Bluetooth address data when scanning with cb={"use_bdaddr": True} in CoreBluetooth backend.
  • Fixed crash in WinRT backend if a WinRT event handler is called after the asyncio event loop is closed.
  • Fixed device removed callbacks in BlueZ backend matching devices on adapters whose name starts with the watched adapter name, e.g. hci10 for hci1.
  • Fixed BlueZ backend not detecting loss of the D-Bus connection, which left clients reporting connected forever and disconnect callbacks never firing.
  • Fixed disconnect() raising EOFError and leaking the D-Bus connection in BlueZ backend when the message bus died.
  • Fixed disconnect() leaking the D-Bus connection in BlueZ backend when it raised or was canceled.
  • Fixed start_notify() raising ValueError after reconnecting in CoreBluetooth backend. Fixes #1969.
  • Fixed GATT operations raising OSError instead of BleakError in WinRT backend when the device disconnects during the operation.
  • Fixed intermittent AssertionError in WinRT backend on fast reconnect.
  • Fixed BlueZ backend to attempt to automatically recover from InProgress error when stopping scanning. Fixes #2021.
Commits
  • 3075468 v3.1.0
  • 5f54f5d backends/bluezdbus/client: clean up however disconnect() exits
  • a43a8e4 backends/bluezdbus: handle InProgress from StopDiscovery
  • b6b7e30 tests/bluezdbus: share the real dbus-daemon fixture
  • 7828c4f Fix CoreBluetooth address data leak with use_bdaddr
  • 1f01b19 tests/CoreBluetooth: add test for didFailToConnectPeripheral delegate
  • 0aec3a4 backends/corebluetooth: remove disconnect callback after failed connection at...
  • ab271a7 docs: fix disconnected_callback argument name
  • 985e481 backends/android/scanner: annotate __scanner
  • b7a3988 CI: don't install qemu-kvm
  • Additional commits viewable in compare view

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [bleak](https://github.com/hbldh/bleak) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/hbldh/bleak/releases)
- [Changelog](https://github.com/hbldh/bleak/blob/develop/CHANGELOG.rst)
- [Commits](hbldh/bleak@v3.0.2...v3.1.0)

---
updated-dependencies:
- dependency-name: bleak
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 16, 2026
@codecov

codecov Bot commented Nov 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.74%. Comparing base (4f2e29f) to head (26d1c20).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #410   +/-   ##
=======================================
  Coverage   61.74%   61.74%           
=======================================
  Files           7        7           
  Lines        1448     1448           
  Branches      290      290           
=======================================
  Hits          894      894           
  Misses        430      430           
  Partials      124      124           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants