From ea29d96c9ded2bc72a450864641f067e2e2413c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89loi=20Rivard?= <eloi@yaal.coop>
Date: Mon, 25 Nov 2024 23:45:38 +0100
Subject: [PATCH] chore: prevent from uninstalling packages when running the
 demo

---
 demo/run.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/demo/run.sh b/demo/run.sh
index fc7278c1..dd8f7dbe 100755
--- a/demo/run.sh
+++ b/demo/run.sh
@@ -29,12 +29,12 @@ export PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1
 
 if [ "$BACKEND" = "memory" ]; then
 
-    uv sync --group demo --extra front --extra oidc
+    uv sync --inexact --group demo --extra front --extra oidc
     uv run honcho --env ../.env --procfile Procfile-memory start
 
 elif [ "$BACKEND" = "sql" ]; then
 
-    uv sync --group demo --extra front --extra oidc --extra sqlite
+    uv sync --inexact --group demo --extra front --extra oidc --extra sqlite
     uv run honcho --env ../.env --procfile Procfile-sql start
 
 elif [ "$BACKEND" = "ldap" ]; then
@@ -45,7 +45,7 @@ elif [ "$BACKEND" = "ldap" ]; then
         exit 1
     fi
 
-    uv sync --group demo --extra front --extra oidc --extra ldap
+    uv sync --inexact --group demo --extra front --extra oidc --extra ldap
     uv run honcho --env ../.env --procfile Procfile-ldap start
 
 else