From 7f97d166bf830eb8ad3169a3278d8f9e1fbbf06f Mon Sep 17 00:00:00 2001 From: "J.J.Barrancos" Date: Wed, 11 Oct 2017 15:15:50 +0200 Subject: [PATCH 1/9] Added dependency on pycrypto Crypto Dependency missing found on virtualenv install. Added to dependecy rainbird.py --- homeassistant/components/switch/rainbird.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/switch/rainbird.py b/homeassistant/components/switch/rainbird.py index 9678babaea5..5ec5608830b 100644 --- a/homeassistant/components/switch/rainbird.py +++ b/homeassistant/components/switch/rainbird.py @@ -16,7 +16,7 @@ from homeassistant.const import (CONF_PLATFORM, CONF_SWITCHES, CONF_ZONE, from homeassistant.helpers import config_validation as cv from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['pyrainbird==0.1.0'] +REQUIREMENTS = ['pyrainbird==0.1.0','pycrypto>=2.6.0'] DOMAIN = 'rainbird' _LOGGER = logging.getLogger(__name__) From 0ace83216678be085d46d4a47b925efbb23b1c86 Mon Sep 17 00:00:00 2001 From: "J.J.Barrancos" Date: Wed, 11 Oct 2017 15:35:58 +0200 Subject: [PATCH 2/9] Requirements updated --- requirements_all.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements_all.txt b/requirements_all.txt index 002f5061765..1ad3ff54c8c 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -688,6 +688,7 @@ pyqwikswitch==0.4 # homeassistant.components.switch.rainbird pyrainbird==0.1.0 +pycrypto>=2.6.0 # homeassistant.components.climate.sensibo pysensibo==1.0.1 From d0ff45500b32006559a70eac56c823266af6375d Mon Sep 17 00:00:00 2001 From: "J.J.Barrancos" Date: Wed, 11 Oct 2017 15:45:07 +0200 Subject: [PATCH 3/9] Fixed dependency version --- homeassistant/components/switch/rainbird.py | 2 +- requirements_all.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/switch/rainbird.py b/homeassistant/components/switch/rainbird.py index 5ec5608830b..a55a0f71948 100644 --- a/homeassistant/components/switch/rainbird.py +++ b/homeassistant/components/switch/rainbird.py @@ -16,7 +16,7 @@ from homeassistant.const import (CONF_PLATFORM, CONF_SWITCHES, CONF_ZONE, from homeassistant.helpers import config_validation as cv from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['pyrainbird==0.1.0','pycrypto>=2.6.0'] +REQUIREMENTS = ['pyrainbird==0.1.0','pycrypto==2.6.1'] DOMAIN = 'rainbird' _LOGGER = logging.getLogger(__name__) diff --git a/requirements_all.txt b/requirements_all.txt index 1ad3ff54c8c..206784e6477 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -688,7 +688,7 @@ pyqwikswitch==0.4 # homeassistant.components.switch.rainbird pyrainbird==0.1.0 -pycrypto>=2.6.0 +pycrypto==2.6.1 # homeassistant.components.climate.sensibo pysensibo==1.0.1 From 59fcef39ff03cbad107c64c34d8608f23129fe6f Mon Sep 17 00:00:00 2001 From: "J.J.Barrancos" Date: Wed, 11 Oct 2017 15:56:18 +0200 Subject: [PATCH 4/9] Split requirements per line --- requirements_all.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/requirements_all.txt b/requirements_all.txt index 206784e6477..10cdca2b1da 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -688,6 +688,8 @@ pyqwikswitch==0.4 # homeassistant.components.switch.rainbird pyrainbird==0.1.0 + +# homeassistant.components.switch.rainbird pycrypto==2.6.1 # homeassistant.components.climate.sensibo From c1aaed250ac686418f6af349694a7a3ce7a0ca5d Mon Sep 17 00:00:00 2001 From: "J.J.Barrancos" Date: Wed, 11 Oct 2017 16:01:25 +0200 Subject: [PATCH 5/9] Dependency breaks build --- requirements_all.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/requirements_all.txt b/requirements_all.txt index 10cdca2b1da..002f5061765 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -689,9 +689,6 @@ pyqwikswitch==0.4 # homeassistant.components.switch.rainbird pyrainbird==0.1.0 -# homeassistant.components.switch.rainbird -pycrypto==2.6.1 - # homeassistant.components.climate.sensibo pysensibo==1.0.1 From 24826c27701ac916abd77ad3ca83d668cfbd098b Mon Sep 17 00:00:00 2001 From: "J.J.Barrancos" Date: Wed, 11 Oct 2017 16:02:32 +0200 Subject: [PATCH 6/9] Revert "Dependency breaks build" This reverts commit c1aaed250ac686418f6af349694a7a3ce7a0ca5d. --- requirements_all.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/requirements_all.txt b/requirements_all.txt index 002f5061765..10cdca2b1da 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -689,6 +689,9 @@ pyqwikswitch==0.4 # homeassistant.components.switch.rainbird pyrainbird==0.1.0 +# homeassistant.components.switch.rainbird +pycrypto==2.6.1 + # homeassistant.components.climate.sensibo pysensibo==1.0.1 From cc4ec228b59c84c682b03d19a35a8cc36dfaf59e Mon Sep 17 00:00:00 2001 From: "J.J.Barrancos" Date: Wed, 11 Oct 2017 16:12:01 +0200 Subject: [PATCH 7/9] Removed requirement --- requirements_all.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/requirements_all.txt b/requirements_all.txt index b280f0fe5a6..abf0b130f24 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -721,9 +721,6 @@ pyqwikswitch==0.4 # homeassistant.components.switch.rainbird pyrainbird==0.1.0 -# homeassistant.components.switch.rainbird -pycrypto==2.6.1 - # homeassistant.components.climate.sensibo pysensibo==1.0.1 From 8db4b4f30331e3867e143cdee69cbdb6d1bebf91 Mon Sep 17 00:00:00 2001 From: "J.J.Barrancos" Date: Wed, 11 Oct 2017 16:54:08 +0200 Subject: [PATCH 8/9] typo --- homeassistant/components/switch/rainbird.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/switch/rainbird.py b/homeassistant/components/switch/rainbird.py index a55a0f71948..7753c07e9ca 100644 --- a/homeassistant/components/switch/rainbird.py +++ b/homeassistant/components/switch/rainbird.py @@ -16,7 +16,7 @@ from homeassistant.const import (CONF_PLATFORM, CONF_SWITCHES, CONF_ZONE, from homeassistant.helpers import config_validation as cv from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['pyrainbird==0.1.0','pycrypto==2.6.1'] +REQUIREMENTS = ['pyrainbird==0.1.0', 'pycrypto==2.6.1'] DOMAIN = 'rainbird' _LOGGER = logging.getLogger(__name__) From bddb424b0dc40e7261d43624312c5ec1ca13b8a5 Mon Sep 17 00:00:00 2001 From: "J.J.Barrancos" Date: Wed, 11 Oct 2017 17:01:14 +0200 Subject: [PATCH 9/9] Requirements updated --- requirements_all.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/requirements_all.txt b/requirements_all.txt index abf0b130f24..b280f0fe5a6 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -721,6 +721,9 @@ pyqwikswitch==0.4 # homeassistant.components.switch.rainbird pyrainbird==0.1.0 +# homeassistant.components.switch.rainbird +pycrypto==2.6.1 + # homeassistant.components.climate.sensibo pysensibo==1.0.1