mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 02:12:36 +02:00
FIXUP: Make Ubuntu Focal work
This commit is contained in:
parent
d410c49c75
commit
27925d24a4
1 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,10 @@ def main():
|
|||
cmd = ["poetry", "export", "--only", "container"]
|
||||
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)
|
||||
# We prefer to call the CLI version of `pip`, instead of importing it directly, as
|
||||
# instructed here:
|
||||
|
|
Loading…
Reference in a new issue