From b47a948c3a0e15592ee6458ec58ec790026252e8 Mon Sep 17 00:00:00 2001 From: geruh Date: Thu, 18 Sep 2025 17:02:43 -0700 Subject: [PATCH] Remove user flag from poetry installation --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 13a9185ac0..03ad6a53e4 100644 --- a/Makefile +++ b/Makefile @@ -58,12 +58,12 @@ help: ## Display this help message install-poetry: ## Ensure Poetry is installed at the specified version @if ! command -v ${POETRY} &> /dev/null; then \ echo "Poetry not found. Installing..."; \ - ${PIP} install --user poetry==$(POETRY_VERSION); \ + ${PIP} install poetry==$(POETRY_VERSION); \ else \ INSTALLED_VERSION=$$(${PIP} show poetry | grep Version | awk '{print $$2}'); \ if [ "$$INSTALLED_VERSION" != "$(POETRY_VERSION)" ]; then \ echo "Updating Poetry to version $(POETRY_VERSION)..."; \ - ${PIP} install --user --upgrade poetry==$(POETRY_VERSION); \ + ${PIP} install --upgrade poetry==$(POETRY_VERSION); \ else \ echo "Poetry version $(POETRY_VERSION) already installed."; \ fi; \