From e05abbb56735f49e0e8f57b97e793fa5858acaeb Mon Sep 17 00:00:00 2001 From: Matthew Flamm Date: Thu, 14 Jul 2022 05:26:42 +0000 Subject: [PATCH] Bump version --- README.md | 2 +- ha_version | 2 +- pytest_homeassistant_custom_component/const.py | 2 +- pytest_homeassistant_custom_component/test_util/aiohttp.py | 2 +- requirements_test.txt | 2 +- version | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c2fde3f..ffc4c2f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # pytest-homeassistant-custom-component -![HA core version](https://img.shields.io/static/v1?label=HA+core+version&message=2022.7.3&labelColor=blue) +![HA core version](https://img.shields.io/static/v1?label=HA+core+version&message=2022.7.4&labelColor=blue) [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/MatthewFlamm/pytest-homeassistant-custom-component) diff --git a/ha_version b/ha_version index b0c5152..7f2a89b 100644 --- a/ha_version +++ b/ha_version @@ -1 +1 @@ -2022.7.3 \ No newline at end of file +2022.7.4 \ No newline at end of file diff --git a/pytest_homeassistant_custom_component/const.py b/pytest_homeassistant_custom_component/const.py index 866fb65..3c63b60 100644 --- a/pytest_homeassistant_custom_component/const.py +++ b/pytest_homeassistant_custom_component/const.py @@ -10,7 +10,7 @@ MAJOR_VERSION: Final = 2022 MINOR_VERSION: Final = 7 -PATCH_VERSION: Final = "3" +PATCH_VERSION: Final = "4" __short_version__: Final = f"{MAJOR_VERSION}.{MINOR_VERSION}" __version__: Final = f"{__short_version__}.{PATCH_VERSION}" REQUIRED_PYTHON_VER: Final[tuple[int, int, int]] = (3, 9, 0) diff --git a/pytest_homeassistant_custom_component/test_util/aiohttp.py b/pytest_homeassistant_custom_component/test_util/aiohttp.py index 39fc9a1..7b79701 100644 --- a/pytest_homeassistant_custom_component/test_util/aiohttp.py +++ b/pytest_homeassistant_custom_component/test_util/aiohttp.py @@ -115,7 +115,7 @@ def clear_requests(self): def create_session(self, loop): """Create a ClientSession that is bound to this mocker.""" - session = ClientSession(loop=loop) + session = ClientSession(loop=loop, json_serialize=json_dumps) # Setting directly on `session` will raise deprecation warning object.__setattr__(session, "_request", self.match_request) return session diff --git a/requirements_test.txt b/requirements_test.txt index 15d654f..c708c1e 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -27,7 +27,7 @@ respx==0.19.0 stdlib-list==0.7.0 tomli==2.0.1;python_version<"3.11" tqdm==4.49.0 -homeassistant==2022.7.3 +homeassistant==2022.7.4 sqlalchemy==1.4.38 paho-mqtt==1.6.1 diff --git a/version b/version index 9b40aa6..9028ec6 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.10.4 +0.10.5