From 69260e14cac1b7ec001e4d5b4497ce69b6e784ac Mon Sep 17 00:00:00 2001 From: James Vasile Date: Mon, 23 Jul 2018 13:55:25 -0400 Subject: [PATCH] Remove deprecated command line flags Allow insecure was renamed to allow-unverified in pip v1.5 and then allow-unverified was deprecated along with allow-insecure in v10.0.0b1. See https://pip.pypa.io/en/stable/news for details. These flags were causing the script to fail the pip3 install step. --- install-dev-dependencies.sh | 2 +- src/chrome/content/rules/NYTimes.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/install-dev-dependencies.sh b/install-dev-dependencies.sh index 3b91db0020ae..cfd5ee509514 100755 --- a/install-dev-dependencies.sh +++ b/install-dev-dependencies.sh @@ -92,7 +92,7 @@ git submodule init git submodule update # Install Python packages -pip3 install --user --no-allow-insecure --no-allow-external -r requirements.txt +pip3 install --user -r requirements.txt cd test/rules pip3 install --user -r requirements.txt cd - diff --git a/src/chrome/content/rules/NYTimes.xml b/src/chrome/content/rules/NYTimes.xml index 660bb54678b7..22eaa18e35a5 100644 --- a/src/chrome/content/rules/NYTimes.xml +++ b/src/chrome/content/rules/NYTimes.xml @@ -85,4 +85,5 @@ +