Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added fix for poppler 24.09.0 #240

Merged
merged 3 commits into from
Nov 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1434,6 +1434,20 @@ def patch_record_in_place(fn, record, subdir):
if not any(_.startswith("async-timeout") for _ in depends):
depends.append("async-timeout")

# poppler 24.09.0 incompatibility
if (name == "graphviz" and VersionOrder(version) < VersionOrder("2.50.0") or
(version == "2.50.0" and build_number < 2)):
replace_dep(depends, "poppler", "poppler <=22.12.0")
if (name in ["libgdal", "libgdal-arrow-parquet"] and VersionOrder(version) < VersionOrder("3.6.2") or
(version == "3.6.2" and build_number < 7)):
replace_dep(depends, "poppler", "poppler <=22.12.0")
if (name == "python-poppler" and VersionOrder(version) < VersionOrder("0.4.1") or
(version == "0.4.1" and build_number < 1)):
replace_dep(depends, "poppler", "poppler <=22.12.0")
if (name == "r-pdftools" and VersionOrder(version) < VersionOrder("3.4.0") or
(version == "3.4.0" and build_number < 1)):
replace_dep(depends, "poppler", "poppler <=22.12.0")

###########################
# compilers and run times #
###########################
Expand Down
Loading