diff --git a/homeassistant/components/bluetooth/manifest.json b/homeassistant/components/bluetooth/manifest.json index e7145d0385a..1551a83ad6a 100644 --- a/homeassistant/components/bluetooth/manifest.json +++ b/homeassistant/components/bluetooth/manifest.json @@ -17,9 +17,9 @@ "bleak==0.21.1", "bleak-retry-connector==3.4.0", "bluetooth-adapters==0.17.0", - "bluetooth-auto-recovery==1.2.3", + "bluetooth-auto-recovery==1.3.0", "bluetooth-data-tools==1.19.0", "dbus-fast==2.21.0", - "habluetooth==2.0.2" + "habluetooth==2.1.0" ] } diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index ffd6b4bfa1a..0a112354f08 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -14,7 +14,7 @@ bcrypt==4.0.1 bleak-retry-connector==3.4.0 bleak==0.21.1 bluetooth-adapters==0.17.0 -bluetooth-auto-recovery==1.2.3 +bluetooth-auto-recovery==1.3.0 bluetooth-data-tools==1.19.0 cached_ipaddress==0.3.0 certifi>=2021.5.30 @@ -24,10 +24,10 @@ dbus-fast==2.21.0 fnv-hash-fast==0.5.0 ha-av==10.1.1 ha-ffmpeg==3.1.0 -habluetooth==2.0.2 +habluetooth==2.1.0 hass-nabucasa==0.75.1 hassil==1.5.2 -home-assistant-bluetooth==1.11.0 +home-assistant-bluetooth==1.12.0 home-assistant-frontend==20240104.0 home-assistant-intents==2024.1.2 httpx==0.26.0 diff --git a/pyproject.toml b/pyproject.toml index ddaca9f5b83..1e5c201e24b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ dependencies = [ # When bumping httpx, please check the version pins of # httpcore, anyio, and h11 in gen_requirements_all "httpx==0.26.0", - "home-assistant-bluetooth==1.11.0", + "home-assistant-bluetooth==1.12.0", "ifaddr==0.2.0", "Jinja2==3.1.2", "lru-dict==1.3.0", diff --git a/requirements.txt b/requirements.txt index 6246d45be10..a5d3bc50802 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,7 +15,7 @@ bcrypt==4.0.1 certifi>=2021.5.30 ciso8601==2.3.0 httpx==0.26.0 -home-assistant-bluetooth==1.11.0 +home-assistant-bluetooth==1.12.0 ifaddr==0.2.0 Jinja2==3.1.2 lru-dict==1.3.0 diff --git a/requirements_all.txt b/requirements_all.txt index 6da25c9869d..77e47cd6a7c 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -569,7 +569,7 @@ bluemaestro-ble==0.2.3 bluetooth-adapters==0.17.0 # homeassistant.components.bluetooth -bluetooth-auto-recovery==1.2.3 +bluetooth-auto-recovery==1.3.0 # homeassistant.components.bluetooth # homeassistant.components.ld2410_ble @@ -1001,7 +1001,7 @@ ha-philipsjs==3.1.1 habitipy==0.2.0 # homeassistant.components.bluetooth -habluetooth==2.0.2 +habluetooth==2.1.0 # homeassistant.components.cloud hass-nabucasa==0.75.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index b929aa4bba6..c30aedef3f0 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -481,7 +481,7 @@ bluemaestro-ble==0.2.3 bluetooth-adapters==0.17.0 # homeassistant.components.bluetooth -bluetooth-auto-recovery==1.2.3 +bluetooth-auto-recovery==1.3.0 # homeassistant.components.bluetooth # homeassistant.components.ld2410_ble @@ -806,7 +806,7 @@ ha-philipsjs==3.1.1 habitipy==0.2.0 # homeassistant.components.bluetooth -habluetooth==2.0.2 +habluetooth==2.1.0 # homeassistant.components.cloud hass-nabucasa==0.75.1 diff --git a/tests/components/bluetooth/conftest.py b/tests/components/bluetooth/conftest.py index 4ec6c4e5388..a7e776f3a26 100644 --- a/tests/components/bluetooth/conftest.py +++ b/tests/components/bluetooth/conftest.py @@ -55,7 +55,7 @@ def macos_adapter(): ), patch( "bluetooth_adapters.systems.platform.system", return_value="Darwin", - ): + ), patch("habluetooth.scanner.SYSTEM", "Darwin"): yield @@ -65,7 +65,7 @@ def windows_adapter(): with patch( "bluetooth_adapters.systems.platform.system", return_value="Windows", - ): + ), patch("habluetooth.scanner.SYSTEM", "Windows"): yield @@ -81,7 +81,7 @@ def no_adapter_fixture(): ), patch( "bluetooth_adapters.systems.platform.system", return_value="Linux", - ), patch( + ), patch("habluetooth.scanner.SYSTEM", "Linux"), patch( "bluetooth_adapters.systems.linux.LinuxAdapters.refresh", ), patch( "bluetooth_adapters.systems.linux.LinuxAdapters.adapters", @@ -102,7 +102,7 @@ def one_adapter_fixture(): ), patch( "bluetooth_adapters.systems.platform.system", return_value="Linux", - ), patch( + ), patch("habluetooth.scanner.SYSTEM", "Linux"), patch( "bluetooth_adapters.systems.linux.LinuxAdapters.refresh", ), patch( "bluetooth_adapters.systems.linux.LinuxAdapters.adapters", diff --git a/tests/components/bluetooth/test_scanner.py b/tests/components/bluetooth/test_scanner.py index 7673acb80dc..837c058fa6b 100644 --- a/tests/components/bluetooth/test_scanner.py +++ b/tests/components/bluetooth/test_scanner.py @@ -571,6 +571,7 @@ async def test_restart_takes_longer_than_watchdog_time( assert "already restarting" in caplog.text +@pytest.mark.skipif("platform.system() != 'Darwin'") async def test_setup_and_stop_macos( hass: HomeAssistant, mock_bleak_scanner_start: MagicMock, macos_adapter: None ) -> None: