Skip to content

Commit

Permalink
fix: add --without-hashes to fix python-poetry/poetry#3472
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBlenny committed Sep 19, 2022
1 parent fde2453 commit 93ca1ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform_cli/ros_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit 93ca1ec

Please sign in to comment.