From 3cdf787ad23848abd9bf911aab05f04b0c8d52ab Mon Sep 17 00:00:00 2001 From: Jitka Obselkova Date: Thu, 7 Dec 2023 11:57:42 +0100 Subject: [PATCH] Update venv creation to avoid a bug in pip --- mk/setup.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mk/setup.mk b/mk/setup.mk index dbe66b539..d9d3ef8b1 100644 --- a/mk/setup.mk +++ b/mk/setup.mk @@ -131,7 +131,8 @@ build: venv: @echo ">Creating venv for local development environment" python3.9 -m venv venv - source venv/bin/activate && pip install wheel && pip install -r requirements.txt -r devel-requirements.txt $$([ -f local-requirements.txt ] && echo '-r local-requirements.txt') + # --no-deps is a workaround to https://github.com/pypa/pip/issues/9644, see tox.ini for more info + source venv/bin/activate && pip install wheel && pip install -r requirements.txt -r devel-requirements.txt $$([ -f local-requirements.txt ] && echo '-r local-requirements.txt') --no-deps #***********************************