Compare commits

...

6 Commits

Author SHA1 Message Date
Jan Čermák
09546525b6 fixup! Bump base image to 2026.02.0 with Python 3.14.3, use 3.14.3 in CI 2026-03-02 13:17:40 +01:00
Jan Čermák
37a59bd23c Sleep twice as suggested in PR 2026-03-02 12:29:29 +01:00
Jan Čermák
6793a98c08 Sleep 1e-99s in async_block_till_done to workaround unfinished tasks 2026-03-02 12:29:28 +01:00
Jan Čermák
0ee4589ba3 Revert "Try reverting changes from Python's gh-105836 patch"
This reverts commit 5de171f714.
2026-03-02 12:29:27 +01:00
Jan Čermák
55bd4b00b4 Try reverting changes from Python's gh-105836 patch 2026-03-02 12:29:27 +01:00
Jan Čermák
43f5f922e3 Bump base image to 2026.02.0 with Python 3.14.3, use 3.14.3 in CI
This also bumps libcec used in the base image to 7.1.1, full changelog:
* https://github.com/home-assistant/docker/releases/tag/2026.02.0

Python changelog:
* https://docs.python.org/release/3.14.3/whatsnew/changelog.html
2026-03-02 12:29:25 +01:00
5 changed files with 8 additions and 7 deletions

View File

@@ -10,12 +10,12 @@ on:
env:
BUILD_TYPE: core
DEFAULT_PYTHON: "3.14.2"
DEFAULT_PYTHON: "3.14.3"
PIP_TIMEOUT: 60
UV_HTTP_TIMEOUT: 60
UV_SYSTEM_PYTHON: "true"
# Base image version from https://github.com/home-assistant/docker
BASE_IMAGE_VERSION: "2026.01.0"
BASE_IMAGE_VERSION: "2026.02.0"
ARCHITECTURES: '["amd64", "aarch64"]'
permissions: {}

View File

@@ -41,8 +41,8 @@ env:
UV_CACHE_VERSION: 1
MYPY_CACHE_VERSION: 1
HA_SHORT_VERSION: "2026.4"
DEFAULT_PYTHON: "3.14.2"
ALL_PYTHON_VERSIONS: "['3.14.2']"
DEFAULT_PYTHON: "3.14.3"
ALL_PYTHON_VERSIONS: "['3.14.3']"
# 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

@@ -16,7 +16,7 @@ concurrency:
cancel-in-progress: true
env:
DEFAULT_PYTHON: "3.14.2"
DEFAULT_PYTHON: "3.14.3"
jobs:
upload:

View File

@@ -17,7 +17,7 @@ on:
- "script/gen_requirements_all.py"
env:
DEFAULT_PYTHON: "3.14.2"
DEFAULT_PYTHON: "3.14.3"
permissions: {}

View File

@@ -961,7 +961,8 @@ class HomeAssistant:
async def async_block_till_done(self, wait_background_tasks: bool = False) -> None:
"""Block until all pending work is done."""
# To flush out any call_soon_threadsafe
# Sleep twice to flush out any call_soon_threadsafe
await asyncio.sleep(0)
await asyncio.sleep(0)
start_time: float | None = None
current_task = asyncio.current_task()