Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
27 lines
964 B
Diff
27 lines
964 B
Diff
diff --git a/pyproject.toml b/pyproject.toml
|
|
index 7d665b6a..55f2f210 100644
|
|
--- a/pyproject.toml
|
|
+++ b/pyproject.toml
|
|
@@ -16,7 +16,7 @@ dependencies = [
|
|
"img2pdf>=0.5",
|
|
"packaging>=20",
|
|
"pdfminer.six>=20220319",
|
|
- "pi-heif", # Heif image format - maintainers: if this is removed, it will NOT break
|
|
+ "pillow-heif", # Heif image format - maintainers: if this is removed, it will NOT break
|
|
"pikepdf>=8.10.1,!=9.8.0",
|
|
"Pillow>=10.0.1",
|
|
"pluggy>=1",
|
|
diff --git a/src/ocrmypdf/_pipeline.py b/src/ocrmypdf/_pipeline.py
|
|
index 90524d58..0be5a0f8 100644
|
|
--- a/src/ocrmypdf/_pipeline.py
|
|
+++ b/src/ocrmypdf/_pipeline.py
|
|
@@ -42,7 +42,7 @@ from ocrmypdf.pdfinfo import Colorspace, Encoding, PageInfo, PdfInfo
|
|
from ocrmypdf.pluginspec import OrientationConfidence
|
|
|
|
try:
|
|
- from pi_heif import register_heif_opener
|
|
+ from pillow_heif import register_heif_opener
|
|
except ImportError:
|
|
|
|
def register_heif_opener():
|