Update requirements

This commit is contained in:
Andre Basche 2024-02-04 03:42:35 +01:00
parent 8a46bd4b53
commit 2a74000ff3
4 changed files with 6 additions and 9 deletions

View File

@ -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:

View File

@ -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[

View File

@ -1,3 +1,3 @@
aiohttp>=3.8
aiohttp>=3.8.6
yarl>=1.8
typing-extensions>=4.8

View File

@ -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",