From fce52ec637151bd759e5df6030c8e340119e7854 Mon Sep 17 00:00:00 2001 From: Vasilis Tsiligiannis Date: Mon, 9 Nov 2020 18:12:11 +0200 Subject: [PATCH] refresh-requirements: Use new dependency resolver Signed-off-by: Vasilis Tsiligiannis --- contrib/refresh-requirements.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/refresh-requirements.sh b/contrib/refresh-requirements.sh index 486fbfb..a824d83 100755 --- a/contrib/refresh-requirements.sh +++ b/contrib/refresh-requirements.sh @@ -2,7 +2,7 @@ # # Script to refresh requirements.txt file # -# Copyright (C) 2019 Libre Space Foundation +# Copyright (C) 2019, 2020 Libre Space Foundation # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ PIP_COMMAND="$VIRTUALENV_DIR/bin/pip" virtualenv "$VIRTUALENV_DIR" # Install package with dependencies -"$PIP_COMMAND" install --no-cache-dir --force-reinstall . +"$PIP_COMMAND" install --no-cache-dir --force-reinstall --use-feature=2020-resolver . # Create requirements file from installed dependencies cat << EOF > requirements.txt @@ -39,7 +39,7 @@ EOF "$PIP_COMMAND" freeze | grep -v "$EXCLUDE_REGEXP" >> requirements.txt # Install development package with dependencies -"$PIP_COMMAND" install --no-cache-dir .[dev] +"$PIP_COMMAND" install --no-cache-dir --use-feature=2020-resolver .[dev] # Create development requirements file from installed dependencies cat << EOF > requirements-dev.txt