From 81d233d98791991fda1651fbbfce888de6cbf033 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Mon, 6 Nov 2023 10:14:46 +0800 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7a4a2f9d30e..32fcd5f6213 100644 --- a/Makefile +++ b/Makefile @@ -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