Bump bluetooth deps (#107816)

This commit is contained in:
J. Nick Koston 2024-01-11 22:45:49 -10:00 committed by GitHub
parent fb0dad66db
commit ce11366b9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 16 additions and 15 deletions

View File

@ -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"
]
}

View File

@ -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

View File

@ -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",

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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",

View File

@ -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: