From 50cdeca93528047e822e2bd78866af8a3e5ed8e0 Mon Sep 17 00:00:00 2001 From: Fengqing Liu Date: Sat, 25 Oct 2025 17:03:02 +1100 Subject: [PATCH] version fix --- CLAUDE.md | 2 +- src/utils/async_helpers.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index e18fd7b..df759eb 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -360,7 +360,7 @@ The application uses a web-based interface accessible via browser: **Dockerfile:** -- Based on `python:3.11-slim` +- Based on `python:3` - Installs dependencies from `pyproject.toml` - Exposes port 8080 - Health check on `/api/status` diff --git a/src/utils/async_helpers.py b/src/utils/async_helpers.py index 2fc0482..6621ef0 100644 --- a/src/utils/async_helpers.py +++ b/src/utils/async_helpers.py @@ -22,7 +22,6 @@ logger = logging.getLogger("TwitchDrops") async def first_to_complete(coros: abc.Iterable[abc.Coroutine[Any, Any, _T]]) -> _T: """Wait for the first coroutine to complete, canceling the rest.""" - # In Python 3.11, we need to explicitly wrap awaitables tasks: list[asyncio.Task[_T]] = [asyncio.ensure_future(coro) for coro in coros] done: set[asyncio.Task[Any]] pending: set[asyncio.Task[Any]]