Bump annotatedyaml to 0.4.4 (#140861)

* Bump annotatedyaml to 0.4.2

changelog: https://github.com/home-assistant-libs/annotatedyaml/compare/v0.2.0...v0.4.2

~10-11% performance improvement

* tweak imports

* bump to .3 to make pylint happy

* bump again for fixes

---------

Co-authored-by: Shay Levy <levyshay1@gmail.com>
This commit is contained in:
J. Nick Koston 2025-03-18 22:26:23 -10:00 committed by GitHub
parent d37783fb21
commit f4fe234279
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 6 deletions

View File

@ -10,7 +10,7 @@ aiohttp==3.11.14
aiohttp_cors==0.7.0
aiousbwatcher==1.1.1
aiozoneinfo==0.2.3
annotatedyaml==0.2.0
annotatedyaml==0.4.4
astral==2.2
async-interrupt==1.2.2
async-upnp-client==0.43.0

View File

@ -1,8 +1,7 @@
"""YAML utility functions."""
from annotatedyaml import SECRET_YAML, YamlTypeError
from annotatedyaml import SECRET_YAML, Input, YamlTypeError
from annotatedyaml.input import UndefinedSubstitution, extract_inputs, substitute
from annotatedyaml.objects import Input
from .dumper import dump, save_yaml
from .loader import Secrets, load_yaml, load_yaml_dict, parse_yaml, secret_yaml

View File

@ -2,6 +2,6 @@
from __future__ import annotations
from annotatedyaml.objects import Input, NodeDictClass, NodeListClass, NodeStrClass
from annotatedyaml import Input, NodeDictClass, NodeListClass, NodeStrClass
__all__ = ["Input", "NodeDictClass", "NodeListClass", "NodeStrClass"]

View File

@ -33,7 +33,7 @@ dependencies = [
"aiohttp-fast-zlib==0.2.3",
"aiohttp-asyncmdnsresolver==0.1.1",
"aiozoneinfo==0.2.3",
"annotatedyaml==0.2.0",
"annotatedyaml==0.4.4",
"astral==2.2",
"async-interrupt==1.2.2",
"attrs==25.1.0",

2
requirements.txt generated
View File

@ -10,7 +10,7 @@ aiohttp_cors==0.7.0
aiohttp-fast-zlib==0.2.3
aiohttp-asyncmdnsresolver==0.1.1
aiozoneinfo==0.2.3
annotatedyaml==0.2.0
annotatedyaml==0.4.4
astral==2.2
async-interrupt==1.2.2
attrs==25.1.0