From e3772a9bcbad487151a8116d8996437c7c54a91a Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 2 Mar 2025 16:32:46 +0100 Subject: [PATCH] maintainers/scripts/update: Mark queue jobs as done I believe this is only relevant if we were to `join` the queue itself but it is a good practice anyway. https://docs.python.org/3/library/asyncio-queue.html#asyncio.Queue.task_done --- maintainers/scripts/update.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maintainers/scripts/update.py b/maintainers/scripts/update.py index 6111875c9fee..40fe70fb4c56 100644 --- a/maintainers/scripts/update.py +++ b/maintainers/scripts/update.py @@ -242,6 +242,8 @@ async def updater( await run_update_script(nixpkgs_root, merge_lock, temp_dir, package, keep_going) + packages_to_update.task_done() + async def start_updates( max_workers: int,