From 9c49049c9e5eca1139081f8d61976f758ea18a00 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Sat, 24 Aug 2019 18:40:10 -0700 Subject: [PATCH] update-locked-requirements: Use pip-compile --no-header. Signed-off-by: Anders Kaseorg --- tools/update-locked-requirements | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tools/update-locked-requirements b/tools/update-locked-requirements index b0ad5a7905..2bf4034db0 100755 --- a/tools/update-locked-requirements +++ b/tools/update-locked-requirements @@ -12,7 +12,7 @@ compile_requirements () { output="$2" python_version="$3" - pip-compile --quiet --output-file "$output" "$source" + pip-compile --quiet --no-header --output-file "$output" "$source" if [ "$python_version" != "py2" ]; then # Remove an unnecessary future requirement declared by commonmark, @@ -23,8 +23,7 @@ compile_requirements () { sed -i 's/^future==/# &/' "$output" fi - ( - cat <