From aa7acb89c511e0bdff5cc1151daa557a5ba54b39 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Fri, 8 Mar 2024 17:42:18 +0100 Subject: [PATCH] Remove Python 3.11 from CI (#112626) --- .github/workflows/ci.yaml | 4 ++-- homeassistant/helpers/config_validation.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4042319cd0b..29c45ca4820 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,8 +37,8 @@ env: PIP_CACHE_VERSION: 4 MYPY_CACHE_VERSION: 8 HA_SHORT_VERSION: "2024.4" - DEFAULT_PYTHON: "3.11" - ALL_PYTHON_VERSIONS: "['3.11', '3.12']" + DEFAULT_PYTHON: "3.12" + ALL_PYTHON_VERSIONS: "['3.12']" # 10.3 is the oldest supported version # - 10.3.32 is the version currently shipped with Synology (as of 17 Feb 2022) # 10.6 is the current long-term-support diff --git a/homeassistant/helpers/config_validation.py b/homeassistant/helpers/config_validation.py index 3f93eabc786..c545862f48a 100644 --- a/homeassistant/helpers/config_validation.py +++ b/homeassistant/helpers/config_validation.py @@ -905,7 +905,7 @@ def _deprecated_or_removed( try: near = ( f"near {config.__config_file__}" # type: ignore[attr-defined] - f":{config.__line__} " + f":{config.__line__} " # type: ignore[attr-defined] ) except AttributeError: near = ""