Skip to content

Commit

Permalink
Install poetry dependencies with --no-root (go-gitea#27919)
Browse files Browse the repository at this point in the history
Poetry 1.7.0 or higher will print a warning otherwise, see discussions:

python-poetry/poetry#8369
python-poetry/poetry#1132

> --no-root Do not install the root package (the current project).
  • Loading branch information
silverwind committed Feb 20, 2024
1 parent cc5100e commit 8e73e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ node_modules: package-lock.json
@touch node_modules

.venv: poetry.lock
poetry install
poetry install --no-root
@touch .venv

.PHONY: update
Expand Down

0 comments on commit 8e73e43

Please sign in to comment.