From 2a74000ff31af59b0dce635dd34cc423d3967728 Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Sun, 4 Feb 2024 03:42:35 +0100 Subject: [PATCH] Update requirements --- pyhon/appliance.py | 6 ++---- pyhon/typedefs.py | 3 +-- requirements.txt | 2 +- setup.py | 4 ++-- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/pyhon/appliance.py b/pyhon/appliance.py index 3586f4a..3754aca 100644 --- a/pyhon/appliance.py +++ b/pyhon/appliance.py @@ -72,12 +72,10 @@ class HonAppliance: return self.info[item] @overload - def get(self, item: str, default: None = None) -> Any: - ... + def get(self, item: str, default: None = None) -> Any: ... @overload - def get(self, item: str, default: T) -> T: - ... + def get(self, item: str, default: T) -> T: ... def get(self, item: str, default: Optional[T] = None) -> Any: try: diff --git a/pyhon/typedefs.py b/pyhon/typedefs.py index 51a137b..68ddf73 100644 --- a/pyhon/typedefs.py +++ b/pyhon/typedefs.py @@ -14,8 +14,7 @@ if TYPE_CHECKING: class Callback(Protocol): # pylint: disable=too-few-public-methods def __call__( self, url: str | URL, *args: Any, **kwargs: Any - ) -> aiohttp.client._RequestContextManager: - ... + ) -> aiohttp.client._RequestContextManager: ... Parameter = Union[ diff --git a/requirements.txt b/requirements.txt index bc45835..81e74ff 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -aiohttp>=3.8 +aiohttp>=3.8.6 yarl>=1.8 typing-extensions>=4.8 diff --git a/setup.py b/setup.py index 3f29968..9ae2a1f 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open("README.md", "r", encoding="utf-8") as f: setup( name="pyhOn", - version="0.15.15", + version="0.15.16", author="Andre Basche", description="Control hOn devices with python", long_description=long_description, @@ -21,7 +21,7 @@ setup( packages=find_packages(), include_package_data=True, python_requires=">=3.10", - install_requires=["aiohttp>=3.8", "typing-extensions>=4.8", "yarl>=1.8"], + install_requires=["aiohttp>=3.8.6", "typing-extensions>=4.8", "yarl>=1.8"], classifiers=[ "Development Status :: 4 - Beta", "Environment :: Console",