From 87f549dfeca240a85a50bccf06920dcfabd8e878 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 29 Jul 2022 15:48:16 +0100 Subject: [PATCH] Use backtracking resolver for pip-tools It's newer, faster and better --- scripts/compile-requirements.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/compile-requirements.sh b/scripts/compile-requirements.sh index 2b2e0ef..2df514f 100755 --- a/scripts/compile-requirements.sh +++ b/scripts/compile-requirements.sh @@ -1,10 +1,12 @@ #!/usr/bin/env bash -set -ex +set -e cd $(dirname $0)/.. -COMMON_ARGS="--quiet --annotation-style=line" +COMMON_ARGS="--quiet --annotation-style=line --resolver=backtracking" + +set -x pip-compile $COMMON_ARGS -o requirements/base.txt requirements/base.in pip-compile $COMMON_ARGS -o requirements/dev.txt requirements/dev.in