Install poetry dependencies with --no-root (#27919) (#27920)

Backport #27919 by @silverwind

Poetry 1.7.0 or higher will print a warning otherwise, see discussions:

https://github.com/python-poetry/poetry/pull/8369
https://github.com/python-poetry/poetry/issues/1132

> --no-root Do not install the root package (the current project).

Co-authored-by: silverwind <me@silverwind.io>
pull/27923/head^2
Giteabot 1 year ago committed by GitHub
parent 2f56ab7999
commit 81d233d987
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Makefile

@ -922,7 +922,7 @@ node_modules: package-lock.json
@touch node_modules @touch node_modules
.venv: poetry.lock .venv: poetry.lock
poetry install poetry install --no-root
@touch .venv @touch .venv
.PHONY: update .PHONY: update

Loading…
Cancel
Save