From 483545eeaac712bcae2df536b7c49a391433753a Mon Sep 17 00:00:00 2001 From: Teemu R <tpr@iki.fi> Date: Fri, 18 Feb 2022 10:31:46 +0100 Subject: [PATCH] Bump python-songpal dependency to 0.14 (#66769) * Bump python-songpal dependency to 0.14 * Fix tests * pip_check -1 Co-authored-by: Franck Nijhof <git@frenck.dev> --- homeassistant/components/songpal/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- script/pip_check | 2 +- tests/components/songpal/__init__.py | 3 +++ 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/songpal/manifest.json b/homeassistant/components/songpal/manifest.json index 97647d87106..80a26a56b22 100644 --- a/homeassistant/components/songpal/manifest.json +++ b/homeassistant/components/songpal/manifest.json @@ -3,7 +3,7 @@ "name": "Sony Songpal", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/songpal", - "requirements": ["python-songpal==0.12"], + "requirements": ["python-songpal==0.14"], "codeowners": ["@rytilahti", "@shenxn"], "ssdp": [ { diff --git a/requirements_all.txt b/requirements_all.txt index caa36d4dc46..c60fb3c8b5b 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1972,7 +1972,7 @@ python-smarttub==0.0.29 python-sochain-api==0.0.2 # homeassistant.components.songpal -python-songpal==0.12 +python-songpal==0.14 # homeassistant.components.tado python-tado==0.12.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 912e41fcd7d..77f59d29676 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1227,7 +1227,7 @@ python-picnic-api==1.1.0 python-smarttub==0.0.29 # homeassistant.components.songpal -python-songpal==0.12 +python-songpal==0.14 # homeassistant.components.tado python-tado==0.12.0 diff --git a/script/pip_check b/script/pip_check index c30a7382f27..af47f101fbb 100755 --- a/script/pip_check +++ b/script/pip_check @@ -3,7 +3,7 @@ PIP_CACHE=$1 # Number of existing dependency conflicts # Update if a PR resolve one! -DEPENDENCY_CONFLICTS=10 +DEPENDENCY_CONFLICTS=9 PIP_CHECK=$(pip check --cache-dir=$PIP_CACHE) LINE_COUNT=$(echo "$PIP_CHECK" | wc -l) diff --git a/tests/components/songpal/__init__.py b/tests/components/songpal/__init__.py index a9ca62ecb09..d98ec4175fc 100644 --- a/tests/components/songpal/__init__.py +++ b/tests/components/songpal/__init__.py @@ -44,6 +44,9 @@ def _create_mocked_device(throw_exception=False, wired_mac=MAC, wireless_mac=Non bssid=None, ssid=None, bleID=None, + serialNumber=None, + generation=None, + model=None, version=SW_VERSION, ) type(mocked_device).get_system_info = AsyncMock(return_value=sys_info) -- GitLab