diff --git a/homeassistant/util/logging.py b/homeassistant/util/logging.py index c7ccea478985..bd6e34062856 100644 --- a/homeassistant/util/logging.py +++ b/homeassistant/util/logging.py @@ -269,7 +269,7 @@ def async_create_catching_coro[_T]( return catch_log_coro_exception( target, lambda: ( - f"Exception in {target.__name__} called from\n" + f"Exception in {target.__name__} called from\n" # type: ignore[attr-defined] + "".join(traceback.format_list(trace[:-1])) ), ) diff --git a/requirements_test.txt b/requirements_test.txt index e6c0e26371ed..ae4260fbe674 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -8,15 +8,15 @@ -c homeassistant/package_constraints.txt -r requirements_test_pre_commit.txt # ast-serialize is an internal mypy dependency -ast-serialize==0.6.0 +ast-serialize==0.11.2 astroid==4.0.4 coverage==7.16.2 freezegun==1.5.5 # librt is an internal mypy dependency -librt==0.13.0 +librt==0.16.0 license-expression==30.4.4 mock-open==1.4.0 -mypy==2.3.1 +mypy==2.4.0 prek==0.5.4 pydantic==2.13.5 PyGithub==2.10.0