Bump async-upnp-client to 0.27.0 (#68310)

pull/68316/head
Steven Looman 2022-03-17 23:32:46 +01:00 committed by GitHub
parent b34da1294c
commit f006cffac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 25 additions and 23 deletions

View File

@ -5,8 +5,10 @@ import asyncio
from collections import defaultdict
from typing import NamedTuple, cast
from async_upnp_client import UpnpEventHandler, UpnpFactory, UpnpRequester
from async_upnp_client.aiohttp import AiohttpNotifyServer, AiohttpSessionRequester
from async_upnp_client.client import UpnpRequester
from async_upnp_client.client_factory import UpnpFactory
from async_upnp_client.event_handler import UpnpEventHandler
from homeassistant.const import EVENT_HOMEASSISTANT_STOP
from homeassistant.core import CALLBACK_TYPE, Event, HomeAssistant

View File

@ -3,7 +3,7 @@
"name": "DLNA Digital Media Renderer",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/dlna_dmr",
"requirements": ["async-upnp-client==0.26.0"],
"requirements": ["async-upnp-client==0.27.0"],
"dependencies": ["ssdp"],
"after_dependencies": ["media_source"],
"ssdp": [

View File

@ -8,7 +8,7 @@ from datetime import datetime, timedelta
import functools
from typing import Any, TypeVar
from async_upnp_client import UpnpService, UpnpStateVariable
from async_upnp_client.client import UpnpService, UpnpStateVariable
from async_upnp_client.const import NotificationSubType
from async_upnp_client.exceptions import UpnpError, UpnpResponseError
from async_upnp_client.profiles.dlna import DmrDevice, PlayMode, TransportState

View File

@ -7,14 +7,11 @@ from dataclasses import dataclass
import functools
from typing import Any, TypeVar, cast
from async_upnp_client import (
UpnpEventHandler,
UpnpFactory,
UpnpNotifyServer,
UpnpRequester,
)
from async_upnp_client.aiohttp import AiohttpSessionRequester
from async_upnp_client.client import UpnpRequester
from async_upnp_client.client_factory import UpnpFactory
from async_upnp_client.const import NotificationSubType
from async_upnp_client.event_handler import UpnpEventHandler, UpnpNotifyServer
from async_upnp_client.exceptions import UpnpActionError, UpnpConnectionError, UpnpError
from async_upnp_client.profiles.dlna import ContentDirectoryErrorCode, DmsDevice
from didl_lite import didl_lite

View File

@ -3,7 +3,7 @@
"name": "DLNA Digital Media Server",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/dlna_dms",
"requirements": ["async-upnp-client==0.26.0"],
"requirements": ["async-upnp-client==0.27.0"],
"dependencies": ["ssdp"],
"after_dependencies": ["media_source"],
"ssdp": [

View File

@ -2,7 +2,7 @@
"domain": "ssdp",
"name": "Simple Service Discovery Protocol (SSDP)",
"documentation": "https://www.home-assistant.io/integrations/ssdp",
"requirements": ["async-upnp-client==0.26.0"],
"requirements": ["async-upnp-client==0.27.0"],
"dependencies": ["network"],
"after_dependencies": ["zeroconf"],
"codeowners": [],

View File

@ -6,8 +6,9 @@ from collections.abc import Mapping
from typing import Any
from urllib.parse import urlparse
from async_upnp_client import UpnpDevice, UpnpFactory
from async_upnp_client.aiohttp import AiohttpSessionRequester
from async_upnp_client.client import UpnpDevice
from async_upnp_client.client_factory import UpnpFactory
from async_upnp_client.exceptions import UpnpError
from async_upnp_client.profiles.igd import IgdDevice, StatusInfo

View File

@ -3,7 +3,7 @@
"name": "UPnP/IGD",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/upnp",
"requirements": ["async-upnp-client==0.26.0"],
"requirements": ["async-upnp-client==0.27.0"],
"dependencies": ["network", "ssdp"],
"codeowners": ["@StevenLooman","@ehendrix23"],
"ssdp": [

View File

@ -2,7 +2,7 @@
"domain": "yeelight",
"name": "Yeelight",
"documentation": "https://www.home-assistant.io/integrations/yeelight",
"requirements": ["yeelight==0.7.9", "async-upnp-client==0.26.0"],
"requirements": ["yeelight==0.7.9", "async-upnp-client==0.27.0"],
"codeowners": ["@zewelor", "@shenxn", "@starkillerOG", "@alexyao2015"],
"config_flow": true,
"dependencies": ["network"],

View File

@ -4,7 +4,7 @@ aiodiscover==1.4.8
aiohttp==3.8.1
aiohttp_cors==0.7.0
astral==2.2
async-upnp-client==0.26.0
async-upnp-client==0.27.0
async_timeout==4.0.2
atomicwrites==1.4.0
attrs==21.2.0

View File

@ -329,7 +329,7 @@ asterisk_mbox==0.5.0
# homeassistant.components.ssdp
# homeassistant.components.upnp
# homeassistant.components.yeelight
async-upnp-client==0.26.0
async-upnp-client==0.27.0
# homeassistant.components.supla
asyncpysupla==0.0.5

View File

@ -262,7 +262,7 @@ arcam-fmj==0.12.0
# homeassistant.components.ssdp
# homeassistant.components.upnp
# homeassistant.components.yeelight
async-upnp-client==0.26.0
async-upnp-client==0.27.0
# homeassistant.components.sleepiq
asyncsleepiq==1.1.2

View File

@ -5,7 +5,8 @@ from collections.abc import Iterable
from socket import AddressFamily # pylint: disable=no-name-in-module
from unittest.mock import Mock, create_autospec, patch, seal
from async_upnp_client import UpnpDevice, UpnpFactory, UpnpService
from async_upnp_client.client import UpnpDevice, UpnpService
from async_upnp_client.client_factory import UpnpFactory
import pytest
from homeassistant.components.dlna_dmr.const import DOMAIN as DLNA_DOMAIN

View File

@ -4,7 +4,8 @@ from __future__ import annotations
import dataclasses
from unittest.mock import Mock
from async_upnp_client import UpnpDevice, UpnpError
from async_upnp_client.client import UpnpDevice
from async_upnp_client.exceptions import UpnpError
import pytest
from homeassistant import config_entries, data_entry_flow

View File

@ -4,8 +4,8 @@ from __future__ import annotations
from collections.abc import Iterable
from unittest.mock import ANY, Mock, patch
from async_upnp_client import UpnpEventHandler
from async_upnp_client.aiohttp import AiohttpNotifyServer
from async_upnp_client.event_handler import UpnpEventHandler
import pytest
from homeassistant.components.dlna_dmr.const import DOMAIN

View File

@ -9,7 +9,7 @@ from types import MappingProxyType
from typing import Any
from unittest.mock import ANY, DEFAULT, Mock, patch
from async_upnp_client import UpnpService, UpnpStateVariable
from async_upnp_client.client import UpnpService, UpnpStateVariable
from async_upnp_client.exceptions import (
UpnpConnectionError,
UpnpError,

View File

@ -5,7 +5,7 @@ from collections.abc import AsyncGenerator, Iterable
from typing import Final
from unittest.mock import Mock, create_autospec, patch, seal
from async_upnp_client import UpnpDevice, UpnpService
from async_upnp_client.client import UpnpDevice, UpnpService
from async_upnp_client.utils import absolute_url
import pytest

View File

@ -5,7 +5,7 @@ import dataclasses
from typing import Final
from unittest.mock import Mock
from async_upnp_client import UpnpError
from async_upnp_client.exceptions import UpnpError
import pytest
from homeassistant import config_entries, data_entry_flow