From eb89b65b59c411c25b678101ec02ff06d45d9c6c Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 24 Apr 2019 14:04:12 +0200 Subject: [PATCH 1/2] Downgrade urllib3, cleanup requirements files every requirement should be there only once --- requirements-pi.txt | 7 ++++++- requirements.txt | 29 +++-------------------------- 2 files changed, 9 insertions(+), 27 deletions(-) diff --git a/requirements-pi.txt b/requirements-pi.txt index 80935e9ef..8e55be5c3 100644 --- a/requirements-pi.txt +++ b/requirements-pi.txt @@ -1,10 +1,12 @@ +# requirements without requirements installable via conda +# mainly used for Raspberry pi installs ccxt==1.18.486 SQLAlchemy==1.3.3 python-telegram-bot==11.1.0 arrow==0.13.1 cachetools==3.1.0 requests==2.21.0 -urllib3==1.25 +urllib3==1.24.2 wrapt==1.11.1 scikit-learn==0.20.3 joblib==0.13.2 @@ -21,3 +23,6 @@ py_find_1st==1.1.3 #Load ticker files 30% faster python-rapidjson==0.7.0 + +# Notify systemd +sdnotify==0.3.2 diff --git a/requirements.txt b/requirements.txt index ea3792583..4c2376078 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,29 +1,6 @@ -ccxt==1.18.486 -SQLAlchemy==1.3.3 -python-telegram-bot==11.1.0 -arrow==0.13.1 -cachetools==3.1.0 -requests==2.21.0 -urllib3==1.25 -wrapt==1.11.1 +# Load common requirements +-r requirements-pi.txt + numpy==1.16.3 pandas==0.24.2 -scikit-learn==0.20.3 -joblib==0.13.2 scipy==1.2.1 -jsonschema==3.0.1 -TA-Lib==0.4.17 -tabulate==0.8.3 -coinmarketcap==5.0.3 - -# Required for hyperopt -scikit-optimize==0.5.2 - -# find first, C search in arrays -py_find_1st==1.1.3 - -# Load ticker files 30% faster -python-rapidjson==0.7.0 - -# Notify systemd -sdnotify==0.3.2 From 30888cf5ca17fc05414019079b55dc4072ae80f5 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 24 Apr 2019 14:07:55 +0200 Subject: [PATCH 2/2] have pyup ignore outdated dependency --- requirements-pi.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-pi.txt b/requirements-pi.txt index 8e55be5c3..f420b7201 100644 --- a/requirements-pi.txt +++ b/requirements-pi.txt @@ -6,7 +6,7 @@ python-telegram-bot==11.1.0 arrow==0.13.1 cachetools==3.1.0 requests==2.21.0 -urllib3==1.24.2 +urllib3==1.24.2 # pyup: ignore wrapt==1.11.1 scikit-learn==0.20.3 joblib==0.13.2