Remove Python 3.11 from CI (#112626)

This commit is contained in:
Franck Nijhof 2024-03-08 17:42:18 +01:00 committed by GitHub
parent 19ab3d6daf
commit aa7acb89c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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 = ""