From 93ca1ecd0bc495ef4dfeb62b73e410763c8ae222 Mon Sep 17 00:00:00 2001 From: David Revay Date: Mon, 19 Sep 2022 13:56:21 +0200 Subject: [PATCH] fix: add --without-hashes to fix https://github.com/python-poetry/poetry/issues/3472 --- platform_cli/ros_packages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform_cli/ros_packages.py b/platform_cli/ros_packages.py index 89a46f0..18f1822 100644 --- a/platform_cli/ros_packages.py +++ b/platform_cli/ros_packages.py @@ -52,6 +52,6 @@ def install_poetry_deps(self, base_path: Path): click.echo(click.style(f"Installing {str(dir)}...", fg="blue")) # export dependencies to a requirements.txt file without hashes to decrease time to resolve dependencies. # https://github.com/python-poetry/poetry-plugin-export/issues/78 - error = subprocess.call(f"cd {dir} && poetry export -f requirements.txt --output requirements.txt && pip3 install -r requirements.txt && rm requirements.txt", shell=True, executable='/bin/bash') + error = subprocess.call(f"cd {dir} && poetry export -f requirements.txt --without-hashes --output requirements.txt && pip3 install -r requirements.txt && rm requirements.txt", shell=True, executable='/bin/bash') if (error): raise click.ClickException("Install failed")