diff --git a/homeassistant/components/light/blinkt.py b/homeassistant/components/light/blinkt.py index ffd3c102c7f..e2bef31089f 100644 --- a/homeassistant/components/light/blinkt.py +++ b/homeassistant/components/light/blinkt.py @@ -29,6 +29,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ def setup_platform(hass, config, add_devices, discovery_info=None): """Set up the Blinkt Light platform.""" + # pylint: disable=import-error import blinkt # ensure that the lights are off when exiting diff --git a/requirements_all.txt b/requirements_all.txt index 21bc4ef072b..308b8f6545d 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -93,7 +93,7 @@ blinkpy==0.5.2 blinkstick==1.1.8 # homeassistant.components.light.blinkt -blinkt==0.1.0 +# blinkt==0.1.0 # homeassistant.components.sensor.bitcoin blockchain==1.3.3 diff --git a/script/bootstrap_server b/script/bootstrap_server index 38684f9266c..633a3498b52 100755 --- a/script/bootstrap_server +++ b/script/bootstrap_server @@ -6,21 +6,15 @@ set -e cd "$(dirname "$0")/.." -echo "Installing dependencies..." -# Requirements_all.txt states minimum pip version as 7.0.0 however, -# parameter --only-binary doesn't work with pip < 7.0.0. Causing -# python3 -m pip install -r requirements_all.txt to fail unless pip upgraded. - +# Some requirements use parameter --only-binary only available +# in pip 7+. Upgrade if necessary. if ! python3 -c 'import pkg_resources ; pkg_resources.require(["pip>=7.0.0"])' 2>/dev/null ; then echo "Upgrading pip..." python3 -m pip install -U pip fi -python3 -m pip install -r requirements_all.txt -REQ_STATUS=$? - -echo "Installing development dependencies..." -python3 -m pip install -r requirements_test.txt +echo "Installing test dependencies..." +python3 -m pip install -r requirements_test_all.txt REQ_DEV_STATUS=$? diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index fd63436dfd0..64091c5c2cc 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -25,7 +25,8 @@ COMMENT_REQUIREMENTS = ( 'python-eq3bt', 'avion', 'decora', - 'face_recognition' + 'face_recognition', + 'blinkt', ) TEST_REQUIREMENTS = (