From 0ff23862a0422546e614cb46a937e89e96075e27 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 30 Jul 2024 08:03:22 -0700 Subject: [PATCH] makefile: Don't fail while building and installing multiple versions When older version is already built and later code is updated to newer version and built multiple .whl files are present in dist/ directory. This confuses the install script that assumes only one .whl is present. Pip refuses to install multiple versions of the same package. This error was seen when bringing up the 'stable' container. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index db4d93deb..54ceb503d 100644 --- a/Makefile +++ b/Makefile @@ -70,6 +70,7 @@ build: $(MAKE) -C doc -j 8 # Build .whl package + rm -f dist/plinth-*.whl $(PYTHON) -m build --no-isolation --skip-dependency-check --wheel install: