Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2024.1.5 #108502

Merged
merged 4 commits into from Jan 20, 2024
Merged

2024.1.5 #108502

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/dlna_dmr/manifest.json
Expand Up @@ -8,7 +8,7 @@
"documentation": "https://www.home-assistant.io/integrations/dlna_dmr",
"iot_class": "local_push",
"loggers": ["async_upnp_client"],
"requirements": ["async-upnp-client==0.38.0", "getmac==0.9.4"],
"requirements": ["async-upnp-client==0.38.1", "getmac==0.9.4"],
"ssdp": [
{
"deviceType": "urn:schemas-upnp-org:device:MediaRenderer:1",
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/dlna_dms/manifest.json
Expand Up @@ -8,7 +8,7 @@
"documentation": "https://www.home-assistant.io/integrations/dlna_dms",
"iot_class": "local_polling",
"quality_scale": "platinum",
"requirements": ["async-upnp-client==0.38.0"],
"requirements": ["async-upnp-client==0.38.1"],
"ssdp": [
{
"deviceType": "urn:schemas-upnp-org:device:MediaServer:1",
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/samsungtv/manifest.json
Expand Up @@ -39,7 +39,7 @@
"samsungctl[websocket]==0.7.1",
"samsungtvws[async,encrypted]==2.6.0",
"wakeonlan==2.1.0",
"async-upnp-client==0.38.0"
"async-upnp-client==0.38.1"
],
"ssdp": [
{
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/ssdp/manifest.json
Expand Up @@ -9,5 +9,5 @@
"iot_class": "local_push",
"loggers": ["async_upnp_client"],
"quality_scale": "internal",
"requirements": ["async-upnp-client==0.38.0"]
"requirements": ["async-upnp-client==0.38.1"]
}
2 changes: 1 addition & 1 deletion homeassistant/components/upnp/manifest.json
Expand Up @@ -8,7 +8,7 @@
"integration_type": "device",
"iot_class": "local_polling",
"loggers": ["async_upnp_client"],
"requirements": ["async-upnp-client==0.38.0", "getmac==0.9.4"],
"requirements": ["async-upnp-client==0.38.1", "getmac==0.9.4"],
"ssdp": [
{
"st": "urn:schemas-upnp-org:device:InternetGatewayDevice:1"
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/yeelight/manifest.json
Expand Up @@ -17,7 +17,7 @@
"iot_class": "local_push",
"loggers": ["async_upnp_client", "yeelight"],
"quality_scale": "platinum",
"requirements": ["yeelight==0.7.14", "async-upnp-client==0.38.0"],
"requirements": ["yeelight==0.7.14", "async-upnp-client==0.38.1"],
"zeroconf": [
{
"type": "_miio._udp.local.",
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/const.py
Expand Up @@ -16,7 +16,7 @@
APPLICATION_NAME: Final = "HomeAssistant"
MAJOR_VERSION: Final = 2024
MINOR_VERSION: Final = 1
PATCH_VERSION: Final = "4"
PATCH_VERSION: Final = "5"
__short_version__: Final = f"{MAJOR_VERSION}.{MINOR_VERSION}"
__version__: Final = f"{__short_version__}.{PATCH_VERSION}"
REQUIRED_PYTHON_VER: Final[tuple[int, int, int]] = (3, 11, 0)
Expand Down
5 changes: 4 additions & 1 deletion homeassistant/package_constraints.txt
Expand Up @@ -6,7 +6,7 @@ aiohttp-zlib-ng==0.1.3
aiohttp==3.9.1
aiohttp_cors==0.7.0
astral==2.2
async-upnp-client==0.38.0
async-upnp-client==0.38.1
atomicwrites-homeassistant==1.4.1
attrs==23.1.0
awesomeversion==23.11.0
Expand Down Expand Up @@ -189,3 +189,6 @@ lxml==4.9.4
# dacite: Ensure we have a version that is able to handle type unions for
# Roborock, NAM, Brother, and GIOS.
dacite>=1.7.0

# Musle wheels for pandas 2.2.0 cannot be build for any architecture.
pandas==2.1.4
7 changes: 6 additions & 1 deletion homeassistant/util/yaml/loader.py
Expand Up @@ -355,7 +355,12 @@ def _include_dir_named_yaml(loader: LoaderType, node: yaml.nodes.Node) -> NodeDi
filename = os.path.splitext(os.path.basename(fname))[0]
if os.path.basename(fname) == SECRET_YAML:
continue
mapping[filename] = load_yaml(fname, loader.secrets)
loaded_yaml = load_yaml(fname, loader.secrets)
if loaded_yaml is None:
# Special case, an empty file included by !include_dir_named is treated
# as an empty dictionary
loaded_yaml = NodeDictClass()
mapping[filename] = loaded_yaml
return _add_reference(mapping, loader, node)


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "homeassistant"
version = "2024.1.4"
version = "2024.1.5"
license = {text = "Apache-2.0"}
description = "Open-source home automation platform running on Python 3."
readme = "README.rst"
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Expand Up @@ -469,7 +469,7 @@ asterisk_mbox==0.5.0
# homeassistant.components.ssdp
# homeassistant.components.upnp
# homeassistant.components.yeelight
async-upnp-client==0.38.0
async-upnp-client==0.38.1

# homeassistant.components.keyboard_remote
asyncinotify==4.0.2
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Expand Up @@ -421,7 +421,7 @@ arcam-fmj==1.4.0
# homeassistant.components.ssdp
# homeassistant.components.upnp
# homeassistant.components.yeelight
async-upnp-client==0.38.0
async-upnp-client==0.38.1

# homeassistant.components.sleepiq
asyncsleepiq==1.4.1
Expand Down
3 changes: 3 additions & 0 deletions script/gen_requirements_all.py
Expand Up @@ -182,6 +182,9 @@
# dacite: Ensure we have a version that is able to handle type unions for
# Roborock, NAM, Brother, and GIOS.
dacite>=1.7.0

# Musle wheels for pandas 2.2.0 cannot be build for any architecture.
pandas==2.1.4
"""

GENERATED_MESSAGE = (
Expand Down
2 changes: 1 addition & 1 deletion tests/util/yaml/test_init.py
Expand Up @@ -193,7 +193,7 @@ def test_include_dir_list_recursive(
),
(
{"/test/first.yaml": "1", "/test/second.yaml": None},
{"first": 1, "second": None},
{"first": 1, "second": {}},
),
],
)
Expand Down