scality / runner-manager

Service to manage github Actions self-hosted runners
https://scality.github.io/runner-manager/
Apache License 2.0
7 stars 7 forks source link

fix(poetry): error in devcontainer command #571

Closed lewismiddleton closed 3 months ago

lewismiddleton commented 3 months ago

Use the --with option from poetry install to install dependency groups instead of --group.

This fixes an error shown on VSCode startup when using the devcontainer:

Running the postCreateCommand from devcontainer.json...

[98026 ms] Start: Run in container: /bin/sh -c poetry install --no-interaction --no-ansi --no-root --group=docs --group=dev
Creating virtualenv runner-manager in /workspaces/runner-manager/.venv

The option "--group" does not exist
[101878 ms] postCreateCommand failed with exit code 1. Skipping any further user-provided commands.
Done. Press any key to close the terminal.