Skip to content

Commit

Permalink
Install poetry dependencies with --no-root (#27919) (#27920)
Browse files Browse the repository at this point in the history
Backport #27919 by @silverwind

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).

Co-authored-by: silverwind <[email protected]>
  • Loading branch information
GiteaBot and silverwind authored Nov 6, 2023
1 parent 2f56ab7 commit 81d233d
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 @@ -922,7 +922,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 81d233d

Please sign in to comment.