From 5137b06ee7b5e797ef0ac6170466cfdd622d4ea6 Mon Sep 17 00:00:00 2001 From: Tobias Perschon Date: Thu, 5 Dec 2024 02:53:33 +0100 Subject: [PATCH] Remove stale requirement for androidtv (#132319) * removed stale pure-python-adb reference Signed-off-by: Tobias Perschon * reverted wrong changes Signed-off-by: Tobias Perschon * removed wrong file Signed-off-by: Tobias Perschon * cosmetic update Signed-off-by: Tobias Perschon --------- Signed-off-by: Tobias Perschon --- homeassistant/components/androidtv/__init__.py | 2 +- homeassistant/components/androidtv/entity.py | 2 +- homeassistant/components/androidtv/manifest.json | 8 ++------ requirements_all.txt | 3 --- requirements_test_all.txt | 3 --- 5 files changed, 4 insertions(+), 14 deletions(-) diff --git a/homeassistant/components/androidtv/__init__.py b/homeassistant/components/androidtv/__init__.py index 34c4212c913..44e4c54b560 100644 --- a/homeassistant/components/androidtv/__init__.py +++ b/homeassistant/components/androidtv/__init__.py @@ -110,7 +110,7 @@ def _setup_androidtv( adb_log = f"using Python ADB implementation with adbkey='{adbkey}'" else: - # Use "pure-python-adb" (communicate with ADB server) + # Communicate via ADB server signer = None adb_log = ( "using ADB server at" diff --git a/homeassistant/components/androidtv/entity.py b/homeassistant/components/androidtv/entity.py index 626dd0f7794..fa583bb2777 100644 --- a/homeassistant/components/androidtv/entity.py +++ b/homeassistant/components/androidtv/entity.py @@ -151,5 +151,5 @@ class AndroidTVEntity(Entity): # Using "adb_shell" (Python ADB implementation) self.exceptions = ADB_PYTHON_EXCEPTIONS else: - # Using "pure-python-adb" (communicate with ADB server) + # Communicate via ADB server self.exceptions = ADB_TCP_EXCEPTIONS diff --git a/homeassistant/components/androidtv/manifest.json b/homeassistant/components/androidtv/manifest.json index fe8e36f0c2f..e30d03fc2d5 100644 --- a/homeassistant/components/androidtv/manifest.json +++ b/homeassistant/components/androidtv/manifest.json @@ -6,10 +6,6 @@ "documentation": "https://www.home-assistant.io/integrations/androidtv", "integration_type": "device", "iot_class": "local_polling", - "loggers": ["adb_shell", "androidtv", "pure_python_adb"], - "requirements": [ - "adb-shell[async]==0.4.4", - "androidtv[async]==0.0.75", - "pure-python-adb[async]==0.3.0.dev0" - ] + "loggers": ["adb_shell", "androidtv"], + "requirements": ["adb-shell[async]==0.4.4", "androidtv[async]==0.0.75"] } diff --git a/requirements_all.txt b/requirements_all.txt index 55a5d3a9e5a..5fe9f3950da 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1662,9 +1662,6 @@ psutil==6.1.0 # homeassistant.components.pulseaudio_loopback pulsectl==23.5.2 -# homeassistant.components.androidtv -pure-python-adb[async]==0.3.0.dev0 - # homeassistant.components.pushbullet pushbullet.py==0.11.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 6c4349415ab..3c3ca8625c4 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1360,9 +1360,6 @@ psutil-home-assistant==0.0.1 # homeassistant.components.systemmonitor psutil==6.1.0 -# homeassistant.components.androidtv -pure-python-adb[async]==0.3.0.dev0 - # homeassistant.components.pushbullet pushbullet.py==0.11.0