Skip to content

Commit 65ee4e1

Browse files
jb101010-2joostlek
andauthored
Bump pysuezV2 to 0.2.2 (#129205)
Co-authored-by: Joostlek <[email protected]>
1 parent 275bbc8 commit 65ee4e1

File tree

4 files changed

+4
-24
lines changed

4 files changed

+4
-24
lines changed

homeassistant/components/suez_water/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"documentation": "https://www.home-assistant.io/integrations/suez_water",
77
"iot_class": "cloud_polling",
88
"loggers": ["pysuez", "regex"],
9-
"requirements": ["pysuezV2==0.2.1"]
9+
"requirements": ["pysuezV2==0.2.2"]
1010
}

requirements_all.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2278,7 +2278,7 @@ pysqueezebox==0.10.0
22782278
pystiebeleltron==0.0.1.dev2
22792279

22802280
# homeassistant.components.suez_water
2281-
pysuezV2==0.2.1
2281+
pysuezV2==0.2.2
22822282

22832283
# homeassistant.components.switchbee
22842284
pyswitchbee==1.8.3

requirements_test_all.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1835,7 +1835,7 @@ pyspeex-noise==1.0.2
18351835
pysqueezebox==0.10.0
18361836

18371837
# homeassistant.components.suez_water
1838-
pysuezV2==0.2.1
1838+
pysuezV2==0.2.2
18391839

18401840
# homeassistant.components.switchbee
18411841
pyswitchbee==1.8.3

script/hassfest/requirements.py

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@
2828
PIP_REGEX = re.compile(r"^(--.+\s)?([-_\.\w\d]+.*(?:==|>=|<=|~=|!=|<|>|===)?.*$)")
2929
PIP_VERSION_RANGE_SEPARATOR = re.compile(r"^(==|>=|<=|~=|!=|<|>|===)?(.*)$")
3030

31-
IGNORE_STANDARD_LIBRARY_VIOLATIONS = {
32-
# Integrations which have standard library requirements.
33-
"suez_water",
34-
}
35-
3631

3732
def validate(integrations: dict[str, Integration], config: Config) -> None:
3833
"""Handle requirements for integrations."""
@@ -143,29 +138,14 @@ def validate_requirements(integration: Integration) -> None:
143138
if req in sys.stdlib_module_names:
144139
standard_library_violations.add(req)
145140

146-
if (
147-
standard_library_violations
148-
and integration.domain not in IGNORE_STANDARD_LIBRARY_VIOLATIONS
149-
):
141+
if standard_library_violations:
150142
integration.add_error(
151143
"requirements",
152144
(
153145
f"Package {req} has dependencies {standard_library_violations} which "
154146
"are not compatible with the Python standard library"
155147
),
156148
)
157-
elif (
158-
not standard_library_violations
159-
and integration.domain in IGNORE_STANDARD_LIBRARY_VIOLATIONS
160-
):
161-
integration.add_error(
162-
"requirements",
163-
(
164-
f"Integration {integration.domain} no longer has requirements which are"
165-
" incompatible with the Python standard library, remove it from "
166-
"IGNORE_STANDARD_LIBRARY_VIOLATIONS"
167-
),
168-
)
169149

170150

171151
@cache

0 commit comments

Comments
 (0)