From 11e8bf0b9c2ea94a3cd089de7d71282ba4008ea3 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Mon, 25 Sep 2023 18:53:22 +0200 Subject: [PATCH] Update types packages (#100850) --- .github/workflows/ci.yaml | 2 +- homeassistant/util/yaml/loader.py | 2 +- requirements_test.txt | 23 ++++++++++------------- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2675a17e421..053877b608e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -35,7 +35,7 @@ on: env: CACHE_VERSION: 5 PIP_CACHE_VERSION: 4 - MYPY_CACHE_VERSION: 4 + MYPY_CACHE_VERSION: 5 BLACK_CACHE_VERSION: 1 HA_SHORT_VERSION: "2023.10" DEFAULT_PYTHON: "3.11" diff --git a/homeassistant/util/yaml/loader.py b/homeassistant/util/yaml/loader.py index 2e31b212f1f..5f18a729130 100644 --- a/homeassistant/util/yaml/loader.py +++ b/homeassistant/util/yaml/loader.py @@ -203,7 +203,7 @@ def _parse_yaml( # If configuration file is empty YAML returns None # We convert that to an empty dict return ( - yaml.load(content, Loader=lambda stream: loader(stream, secrets)) + yaml.load(content, Loader=lambda stream: loader(stream, secrets)) # type: ignore[arg-type] or NodeDictClass() ) diff --git a/requirements_test.txt b/requirements_test.txt index e9942a290bd..15404c159b9 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -33,23 +33,20 @@ requests-mock==1.11.0 respx==0.20.2 syrupy==4.5.0 tqdm==4.66.1 -types-aiofiles==22.1.0 +types-aiofiles==23.2.0.0 types-atomicwrites==1.4.5.1 types-croniter==1.0.6 -types-backports==0.1.3 types-beautifulsoup4==4.12.0.6 types-caldav==1.3.0.0 types-chardet==0.1.5 -types-decorator==5.1.8.3 -types-enum34==1.1.8 -types-ipaddress==1.0.8 -types-paho-mqtt==1.6.0.6 -types-Pillow==10.0.0.2 -types-pkg-resources==0.1.3 -types-psutil==5.9.5 -types-python-dateutil==2.8.19.13 +types-decorator==5.1.8.4 +types-paho-mqtt==1.6.0.7 +types-Pillow==10.0.0.3 +types-protobuf==4.24.0.2 +types-psutil==5.9.5.16 +types-python-dateutil==2.8.19.14 types-python-slugify==0.1.2 -types-pytz==2023.3.0.0 -types-PyYAML==6.0.12.2 -types-requests==2.31.0.1 +types-pytz==2023.3.1.1 +types-PyYAML==6.0.12.12 +types-requests==2.31.0.3 types-xmltodict==0.13.0.3