From 5c90370ec8cc8bddd4560b65d7c2fe7e11a14ce2 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Sun, 15 Sep 2019 15:08:12 +0200 Subject: [PATCH 1/7] Bump version 189 --- hassio/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hassio/const.py b/hassio/const.py index 8c1c42083..681eff5dd 100644 --- a/hassio/const.py +++ b/hassio/const.py @@ -2,7 +2,7 @@ from pathlib import Path from ipaddress import ip_network -HASSIO_VERSION = "188" +HASSIO_VERSION = "189" URL_HASSIO_ADDONS = "https://github.com/home-assistant/hassio-addons" From 2a011b6448af355f6d4199cfb7215fc8c1659010 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Fri, 20 Sep 2019 17:28:23 +0200 Subject: [PATCH 2/7] Fix typo to validate list (#1298) * Fix typo to validate list * Fix lint * Add Typo --- hassio/addons/validate.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hassio/addons/validate.py b/hassio/addons/validate.py index 687eadfca..87b695887 100644 --- a/hassio/addons/validate.py +++ b/hassio/addons/validate.py @@ -2,6 +2,7 @@ import logging import re import secrets +from typing import Any, Dict import uuid import voluptuous as vol @@ -85,6 +86,7 @@ from ..const import ( STATE_STARTED, STATE_STOPPED, ) +from ..coresys import CoreSys from ..discovery.validate import valid_discovery_service from ..validate import ( ALSA_DEVICE, @@ -310,7 +312,7 @@ SCHEMA_ADDON_SNAPSHOT = vol.Schema( ) -def validate_options(coresys, raw_schema): +def validate_options(coresys: CoreSys, raw_schema: Dict[str, Any]): """Validate schema.""" def validate(struct): @@ -346,7 +348,7 @@ def validate_options(coresys, raw_schema): # pylint: disable=no-value-for-parameter # pylint: disable=inconsistent-return-statements -def _single_validate(coresys, typ, value, key): +def _single_validate(coresys: CoreSys, typ: str, value: Any, key: str): """Validate a single element.""" # if required argument if value is None: @@ -385,7 +387,7 @@ def _single_validate(coresys, typ, value, key): return NETWORK_PORT(value) elif typ.startswith(V_MATCH): return vol.Match(match.group("match"))(str(value)) - elif typ.strartswith(V_LIST): + elif typ.startswith(V_LIST): return vol.In(match.group("list").split("|"))(str(value)) raise vol.Invalid(f"Fatal error for {key} type {typ}") From 78dd20e314cf0eb714352f0c55ea6d02e22a43b9 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 23 Sep 2019 12:23:57 +0200 Subject: [PATCH 3/7] Fixes accidental string concatenation in classifiers list (#1300) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 458b65eaf..0778211e1 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setup( "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", - "Topic :: Home Automation" + "Topic :: Home Automation", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Scientific/Engineering :: Atmospheric Science", "Development Status :: 5 - Production/Stable", From 7bee6f884c5bf36dca38e4e213b459ba48ecf5b8 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 23 Sep 2019 22:45:02 +0200 Subject: [PATCH 4/7] Update aiohttp 3.6.1 (#1301) --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 49123e988..f75727d03 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -aiohttp==3.5.4 +aiohttp==3.6.1 async_timeout==3.0.1 attrs==19.1.0 cchardet==2.1.4 From 8eb8c07df6775e5ce8a575c5021990c0fa1b95a7 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 23 Sep 2019 23:00:57 +0200 Subject: [PATCH 5/7] Update uvloop 0.13.0 (#1302) --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f75727d03..009b13e6b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,6 +11,6 @@ packaging==19.1 pytz==2019.2 pyudev==0.21.0 ruamel.yaml==0.15.100 -uvloop==0.12.2 +uvloop==0.13.0 voluptuous==0.11.7 ptvsd==4.3.2 From 07d27170db01e73e317c966d5dd0b7f6e14cba34 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 24 Sep 2019 10:31:13 +0200 Subject: [PATCH 6/7] Bump pytest from 5.1.2 to 5.1.3 (#1303) Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.1.2 to 5.1.3. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/5.1.2...5.1.3) Signed-off-by: dependabot-preview[bot] --- requirements_tests.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_tests.txt b/requirements_tests.txt index 4752e0e69..3e0d445ac 100644 --- a/requirements_tests.txt +++ b/requirements_tests.txt @@ -1,5 +1,5 @@ flake8==3.7.8 pylint==2.3.1 -pytest==5.1.2 +pytest==5.1.3 pytest-timeout==1.3.3 pytest-aiohttp==0.3.0 From c2700b14dc70a33e59bd9b606bc300976442fb20 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 24 Sep 2019 10:31:56 +0200 Subject: [PATCH 7/7] Bump packaging from 19.1 to 19.2 (#1305) Bumps [packaging](https://github.com/pypa/packaging) from 19.1 to 19.2. - [Release notes](https://github.com/pypa/packaging/releases) - [Changelog](https://github.com/pypa/packaging/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pypa/packaging/compare/19.1...19.2) Signed-off-by: dependabot-preview[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 009b13e6b..3279921c3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ cpe==1.2.1 cryptography==2.7 docker==4.0.2 gitpython==3.0.2 -packaging==19.1 +packaging==19.2 pytz==2019.2 pyudev==0.21.0 ruamel.yaml==0.15.100