From 82d8f83b9de5d09596b46fc5ee1c97583ccb5e81 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Thu, 28 Nov 2024 16:49:13 +0100 Subject: [PATCH] fix pdf thumb --- lambdas/thumbnail/pyproject.toml | 2 +- lambdas/thumbnail/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lambdas/thumbnail/pyproject.toml b/lambdas/thumbnail/pyproject.toml index 78b8781ea2a..9727edf94a4 100644 --- a/lambdas/thumbnail/pyproject.toml +++ b/lambdas/thumbnail/pyproject.toml @@ -5,7 +5,7 @@ requires-python = ">=3.9" dependencies = [ "aicsimageio>=3,<3.1", - "imageio>=2.10.0,<=2.31.2", # newer versions fail because of missing tifffile.TiffPage in tifffile==0.15.1 + "imageio>=2.10.0,<=2.25.0", # newer versions fail because of missing tifffile.tifffile.TiffFileError in tifffile==0.15.1 "numpy>=1.21.5,<2", "pdf2image>=1.13.1,<2", "Pillow>=9.0.1,<11", diff --git a/lambdas/thumbnail/requirements.txt b/lambdas/thumbnail/requirements.txt index 1cf7da0758d..c825e57a82e 100644 --- a/lambdas/thumbnail/requirements.txt +++ b/lambdas/thumbnail/requirements.txt @@ -18,7 +18,7 @@ charset-normalizer==3.4.0 # via requests idna==3.10 # via requests -imageio==2.31.2 +imageio==2.25.0 # via # aicsimageio # t4_lambda_thumbnail (pyproject.toml)