Bump samsungtvws to 2.4.0 (#68225)

Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
epenet 2022-03-17 07:44:14 +01:00 committed by GitHub
parent 3ecc914f29
commit d6f5f0c794
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 4 deletions

View file

@ -5,7 +5,7 @@
"requirements": [
"getmac==0.8.2",
"samsungctl[websocket]==0.7.1",
"samsungtvws[async]==2.3.0",
"samsungtvws[async,encrypted]==2.4.0",
"wakeonlan==2.0.1"
],
"ssdp": [

View file

@ -2087,7 +2087,7 @@ rxv==0.7.0
samsungctl[websocket]==0.7.1
# homeassistant.components.samsungtv
samsungtvws[async]==2.3.0
samsungtvws[async,encrypted]==2.4.0
# homeassistant.components.satel_integra
satel_integra==0.3.4

View file

@ -1333,7 +1333,7 @@ rxv==0.7.0
samsungctl[websocket]==0.7.1
# homeassistant.components.samsungtv
samsungtvws[async]==2.3.0
samsungtvws[async,encrypted]==2.4.0
# homeassistant.components.dhcp
scapy==2.4.5

View file

@ -22,7 +22,7 @@ IGNORE_PACKAGES = {
commented.lower().replace("_", "-") for commented in COMMENT_REQUIREMENTS
}
PACKAGE_REGEX = re.compile(
r"^(?:--.+\s)?([-_\.\w\d\[\]]+)(==|>=|<=|~=|!=|<|>|===)*(.*)$"
r"^(?:--.+\s)?([-_,\.\w\d\[\]]+)(==|>=|<=|~=|!=|<|>|===)*(.*)$"
)
PIP_REGEX = re.compile(r"^(--.+\s)?([-_\.\w\d]+.*(?:==|>=|<=|~=|!=|<|>|===)?.*$)")
PIP_VERSION_RANGE_SEPARATOR = re.compile(r"^(==|>=|<=|~=|!=|<|>|===)?(.*)$")

View file

@ -73,6 +73,7 @@ def test_validate_requirements_format_successful(integration: Integration):
integration.manifest["requirements"] = [
"test_package==1.2.3",
"test_package[async]==1.2.3",
"test_package[async,encrypted]==1.2.3",
]
assert validate_requirements_format(integration)
assert len(integration.errors) == 0