diff --git a/pyproject.toml b/pyproject.toml index 00c1f83983..7403d11e3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -154,7 +154,7 @@ dependencies = [ # _normalize_to_supported_image can re-encode HEIF/AVIF to PNG before embed. # Ships prebuilt wheels bundling libheif for the common platforms (no system # libs needed), so it's safe in the base install alongside Pillow. - "pillow-heif==1.4.0", + "pillow-heif>=1.4.0,<2", # Windows log rotation. Stdlib ``RotatingFileHandler.doRollover()`` uses # ``os.rename()`` which fails with ``PermissionError [WinError 32]`` on # Windows whenever any other process holds an append-mode handle on