From 6f6f5374a8048fd59f616e66257245395b8b6ce2 Mon Sep 17 00:00:00 2001
From: Dennis Ahrens <dennis.ahrens@hs-hannover.de>
Date: Wed, 19 Feb 2020 16:42:13 +0100
Subject: [PATCH] pip: Make sure that new dependency version get installed.

As long as they fulfill the requirements.txt version string.
---
 deploy/venv.sls | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deploy/venv.sls b/deploy/venv.sls
index e8946a1..447cdc0 100644
--- a/deploy/venv.sls
+++ b/deploy/venv.sls
@@ -54,7 +54,7 @@ upgrade_pip_in_{{ project_name }}_venv:
 
 install_requirements_in_{{ project_name }}_venv:
   cmd.run:
-    - name: {{ venv_config.path }}/bin/pip install -r {{ venv_config.requirements }}
+    - name: {{ venv_config.path }}/bin/pip instal l--upgrade -r {{ venv_config.requirements }}
     - runas: deployer
     - env:
         LANG: en_US.UTF-8
-- 
GitLab