From 3456f5dd48593e52bc22fc7a0882f3709727cee1 Mon Sep 17 00:00:00 2001
From: Ahmed Ilyas <ahmed.n.ilyas@gmail.com>
Date: Mon, 5 Aug 2024 11:35:44 +0200
Subject: [PATCH] Use constraints in pip install

---
 scripts/setup_dev_env.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/scripts/setup_dev_env.sh b/scripts/setup_dev_env.sh
index a7e52585ce..3f54c93b48 100755
--- a/scripts/setup_dev_env.sh
+++ b/scripts/setup_dev_env.sh
@@ -16,8 +16,7 @@ rm -rf nomad/app/static/gui
 rm -rf site
 
 # Install nomad
-pip install --prefer-binary -r requirements-dev.txt
-pip install -e ".[infrastructure,parsing,dev]"
+pip install -e ".[infrastructure,parsing,dev]" -c requirements-dev.txt
 
 # Install "default" plugins. TODO: This can be removed once we have proper
 # distributions projects.
-- 
GitLab