diff --git a/homeassistant/components/bluetooth/manifest.json b/homeassistant/components/bluetooth/manifest.json index 434b4c1127e..acc8a6977e3 100644 --- a/homeassistant/components/bluetooth/manifest.json +++ b/homeassistant/components/bluetooth/manifest.json @@ -5,10 +5,11 @@ "dependencies": ["usb"], "quality_scale": "internal", "requirements": [ - "bleak==0.16.0", + "bleak==0.17.0", + "bleak-retry-connector==1.15.1", "bluetooth-adapters==0.4.1", "bluetooth-auto-recovery==0.3.3", - "dbus_next==0.2.3" + "dbus-fast==1.4.0" ], "codeowners": ["@bdraco"], "config_flow": true, diff --git a/homeassistant/components/bluetooth/scanner.py b/homeassistant/components/bluetooth/scanner.py index 78979198e5c..184e8775f07 100644 --- a/homeassistant/components/bluetooth/scanner.py +++ b/homeassistant/components/bluetooth/scanner.py @@ -17,7 +17,7 @@ from bleak.backends.bluezdbus.advertisement_monitor import OrPattern from bleak.backends.bluezdbus.scanner import BlueZScannerArgs from bleak.backends.device import BLEDevice from bleak.backends.scanner import AdvertisementData -from dbus_next import InvalidMessageError +from dbus_fast import InvalidMessageError from homeassistant.const import EVENT_HOMEASSISTANT_STOP from homeassistant.core import ( diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index dbbfda9d6db..b511248a602 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -10,13 +10,14 @@ atomicwrites-homeassistant==1.4.1 attrs==21.2.0 awesomeversion==22.8.0 bcrypt==3.1.7 -bleak==0.16.0 +bleak-retry-connector==1.15.1 +bleak==0.17.0 bluetooth-adapters==0.4.1 bluetooth-auto-recovery==0.3.3 certifi>=2021.5.30 ciso8601==2.2.0 cryptography==37.0.4 -dbus_next==0.2.3 +dbus-fast==1.4.0 fnvhash==0.1.0 hass-nabucasa==0.55.0 home-assistant-bluetooth==1.3.0 diff --git a/requirements_all.txt b/requirements_all.txt index 9a49b3a55b3..9b87b010056 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -408,7 +408,10 @@ bimmer_connected==0.10.2 bizkaibus==0.1.1 # homeassistant.components.bluetooth -bleak==0.16.0 +bleak-retry-connector==1.15.1 + +# homeassistant.components.bluetooth +bleak==0.17.0 # homeassistant.components.blebox blebox_uniapi==2.0.2 @@ -535,7 +538,7 @@ datadog==0.15.0 datapoint==0.9.8 # homeassistant.components.bluetooth -dbus_next==0.2.3 +dbus-fast==1.4.0 # homeassistant.components.debugpy debugpy==1.6.3 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 440cd42a360..22e515f3205 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -329,7 +329,10 @@ bellows==0.33.1 bimmer_connected==0.10.2 # homeassistant.components.bluetooth -bleak==0.16.0 +bleak-retry-connector==1.15.1 + +# homeassistant.components.bluetooth +bleak==0.17.0 # homeassistant.components.blebox blebox_uniapi==2.0.2 @@ -412,7 +415,7 @@ datadog==0.15.0 datapoint==0.9.8 # homeassistant.components.bluetooth -dbus_next==0.2.3 +dbus-fast==1.4.0 # homeassistant.components.debugpy debugpy==1.6.3 diff --git a/tests/components/bluetooth/test_scanner.py b/tests/components/bluetooth/test_scanner.py index 26e949ad2e3..2c1810d8338 100644 --- a/tests/components/bluetooth/test_scanner.py +++ b/tests/components/bluetooth/test_scanner.py @@ -7,7 +7,7 @@ from bleak.backends.scanner import ( AdvertisementDataCallback, BLEDevice, ) -from dbus_next import InvalidMessageError +from dbus_fast import InvalidMessageError import pytest from homeassistant.components import bluetooth