mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Revert "WIP: Check newest PyMuPDF wheels"
This reverts commit 3d4bea8ee7
.
This commit is contained in:
parent
05090ada33
commit
4dcca91a05
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue