Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homely/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "0.21.0"
version = "0.21.1"
13 changes: 7 additions & 6 deletions homely/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@
from io import TextIOWrapper
from itertools import chain
from os.path import exists, join
from typing import (IO, Any, Generic, Iterable, Iterator, Literal, Optional,
Sequence, TypedDict, TypeVar, Union)

from typing_extensions import NotRequired
from typing import (IO, TYPE_CHECKING, Any, Generic, Iterable, Iterator,
Literal, Optional, Sequence, TypedDict, TypeVar, Union)

from homely._asyncioutils import _runasync
from homely._errors import JsonError
from homely._vcs import Repo, fromdict

if TYPE_CHECKING:
from typing_extensions import NotRequired


def _loadmodule(name: str, file_path: str) -> object:
spec = importlib.util.spec_from_file_location(name, file_path)
Expand Down Expand Up @@ -270,8 +271,8 @@ class RepoListEntry(TypedDict):
repoid: str
localrepo: dict[str, str | bool]
localpath: str
canonicalpath: NotRequired[str]
canonicalrepo: NotRequired[dict[str, str | bool]]
canonicalpath: "NotRequired[str]"
canonicalrepo: "NotRequired[dict[str, str | bool]]"


class RepoListConfig(JsonConfig[list[RepoListEntry]]):
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ classifiers=[

requires-python = ">=3.10"
# this also needs to be updated in homely/__init__.py
version = "0.21.0"
# and uv.lock by running "uv lock"
version = "0.21.1"

dependencies = [
"python-daemon>=2.3.0",
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.