Revert "WIP: Check newest PyMuPDF wheels"

This reverts commit 3d4bea8ee7.
This commit is contained in:
Alex Pyrgiotis 2024-10-08 17:03:06 +03:00
parent 05090ada33
commit 4dcca91a05
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -21,6 +21,10 @@ def main():
cmd = ["poetry", "export", "--only", "container"] cmd = ["poetry", "export", "--only", "container"]
container_requirements_txt = subprocess.check_output(cmd) container_requirements_txt = subprocess.check_output(cmd)
# XXX: Hack for Ubuntu Focal.
if sys.version.startswith("3.8"):
container_requirements_txt = container_requirements_txt.replace(b"3.9", b"3.8")
print(f">>> Vendoring PyMuPDF under '{args.dest}'", file=sys.stderr) print(f">>> Vendoring PyMuPDF under '{args.dest}'", file=sys.stderr)
# We prefer to call the CLI version of `pip`, instead of importing it directly, as # We prefer to call the CLI version of `pip`, instead of importing it directly, as
# instructed here: # instructed here: