From 46795054af62e582fc3c8efdb5c479b465acd233 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Thu, 4 Dec 2025 02:23:34 -0800 Subject: [PATCH] synctiles: avoid lambda in Pool initializer This raises a PicklingError on Python 3.14. Signed-off-by: Benjamin Gilbert --- demo/_synctiles.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/demo/_synctiles.py b/demo/_synctiles.py index a0a178e..67631da 100755 --- a/demo/_synctiles.py +++ b/demo/_synctiles.py @@ -508,9 +508,7 @@ def sync_slide( mpp = None # Start compute pool - pool = Pool( - workers, lambda: pool_init(storage.bucket.name, slide_path) - ) + pool = Pool(workers, pool_init, (storage.bucket.name, slide_path)) try: # Tile slide def do_tile(