Merge remote-tracking branch 'upstream/dev' into integration

This commit is contained in:
J. Nick Koston
2026-04-18 16:23:21 -05:00
2 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -162,8 +162,8 @@ def parse_component_metadata(name: str) -> ComponentMetadata:
if not init_file.exists():
return ComponentMetadata()
try:
tree = ast.parse(init_file.read_text())
except (OSError, SyntaxError):
tree = ast.parse(init_file.read_text(encoding="utf-8"))
except (OSError, SyntaxError, UnicodeError):
return ComponentMetadata()
fields: dict[str, frozenset[str]] = {
"AUTO_LOAD": frozenset(),