From fb1578068aa0a255eda67bb817cde98e389f7149 Mon Sep 17 00:00:00 2001 From: geisserml Date: Wed, 22 Nov 2023 23:33:41 +0100 Subject: [PATCH] fix --pdfium-ver latest --- setupsrc/pypdfium2_setup/autorelease_conda_raw.py | 2 +- setupsrc/pypdfium2_setup/craft_packages.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/setupsrc/pypdfium2_setup/autorelease_conda_raw.py b/setupsrc/pypdfium2_setup/autorelease_conda_raw.py index d2da77666..9cbb07147 100644 --- a/setupsrc/pypdfium2_setup/autorelease_conda_raw.py +++ b/setupsrc/pypdfium2_setup/autorelease_conda_raw.py @@ -13,7 +13,7 @@ def main(): parser = argparse.ArgumentParser() - parser.add_argument("--pdfium-ver", type=int, default=None) + parser.add_argument("--pdfium-ver", default=None) args = parser.parse_args() if not args.pdfium_ver or args.pdfium_ver == "latest": args.pdfium_ver = PdfiumVer.get_latest() diff --git a/setupsrc/pypdfium2_setup/craft_packages.py b/setupsrc/pypdfium2_setup/craft_packages.py index a02baffc0..e76359647 100644 --- a/setupsrc/pypdfium2_setup/craft_packages.py +++ b/setupsrc/pypdfium2_setup/craft_packages.py @@ -28,7 +28,6 @@ def parse_args(): ) root_parser.add_argument( "--pdfium-ver", - type = int, default = None, ) subparsers = root_parser.add_subparsers(dest="parser")