From 79b029a680b0952a9d2411ab298934e59108651d Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 12 Oct 2017 23:57:45 -0700 Subject: [PATCH] Do not auto-install credstash (#9844) --- homeassistant/scripts/credstash.py | 1 + homeassistant/util/yaml.py | 2 +- requirements_all.txt | 2 +- script/gen_requirements_all.py | 3 ++- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/homeassistant/scripts/credstash.py b/homeassistant/scripts/credstash.py index f17105d83de..4c9273b8299 100644 --- a/homeassistant/scripts/credstash.py +++ b/homeassistant/scripts/credstash.py @@ -24,6 +24,7 @@ def run(args): 'value', help="The value to save when putting a secret", nargs='?', default=None) + # pylint: disable=import-error import credstash import botocore diff --git a/homeassistant/util/yaml.py b/homeassistant/util/yaml.py index c484fe3372a..da97ed5662e 100644 --- a/homeassistant/util/yaml.py +++ b/homeassistant/util/yaml.py @@ -13,7 +13,7 @@ except ImportError: keyring = None try: - import credstash + import credstash # pylint: disable=import-error except ImportError: credstash = None diff --git a/requirements_all.txt b/requirements_all.txt index 075ee4020b5..71d25ee03b6 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -159,7 +159,7 @@ colorlog==3.0.1 concord232==0.14 # homeassistant.scripts.credstash -credstash==1.13.3 +# credstash==1.13.3 # homeassistant.components.sensor.crimereports crimereports==1.0.0 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index 2d0b5db99f2..02c07f57adb 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -29,7 +29,8 @@ COMMENT_REQUIREMENTS = ( 'blinkt', 'smbus-cffi', 'envirophat', - 'i2csense' + 'i2csense', + 'credstash' ) TEST_REQUIREMENTS = (