diff --git a/homeassistant/components/coinbase.py b/homeassistant/components/coinbase.py index 10123752c99..515da3e4f54 100644 --- a/homeassistant/components/coinbase.py +++ b/homeassistant/components/coinbase.py @@ -14,7 +14,9 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform from homeassistant.util import Throttle -REQUIREMENTS = ['coinbase==2.0.7'] +REQUIREMENTS = [ + 'https://github.com/balloob/coinbase-python/archive/' + '3a35efe13ef728a1cc18204b4f25be1fcb1c6006.zip#coinbase==2.0.8a1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sensor/broadlink.py b/homeassistant/components/sensor/broadlink.py index 1440e2496fe..47cefe50aec 100644 --- a/homeassistant/components/sensor/broadlink.py +++ b/homeassistant/components/sensor/broadlink.py @@ -19,7 +19,9 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['broadlink==0.5'] +REQUIREMENTS = [ + 'https://github.com/balloob/python-broadlink/archive/' + '3580ff2eaccd267846f14246d6ede6e30671f7c6.zip#broadlink==0.5.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/switch/broadlink.py b/homeassistant/components/switch/broadlink.py index 91ecc9c7111..38888733ba6 100644 --- a/homeassistant/components/switch/broadlink.py +++ b/homeassistant/components/switch/broadlink.py @@ -22,7 +22,9 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle from homeassistant.util.dt import utcnow -REQUIREMENTS = ['broadlink==0.5'] +REQUIREMENTS = [ + 'https://github.com/balloob/python-broadlink/archive/' + '3580ff2eaccd267846f14246d6ede6e30671f7c6.zip#broadlink==0.5.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 2eb42b94389..7b6a5f09330 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -15,3 +15,6 @@ attrs==17.4.0 # Breaks Python 3.6 and is not needed for our supported Python versions enum34==1000000000.0.0 + +# This is a old unmaintained library and is replaced with pycryptodome +pycrypto==1000000000.0.0 diff --git a/requirements_all.txt b/requirements_all.txt index 77dc3fa7793..9cb0f4b6fc2 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -165,10 +165,6 @@ boto3==1.4.7 # homeassistant.scripts.credstash botocore==1.7.34 -# homeassistant.components.sensor.broadlink -# homeassistant.components.switch.broadlink -broadlink==0.5 - # homeassistant.components.sensor.buienradar # homeassistant.components.weather.buienradar buienradar==0.91 @@ -179,9 +175,6 @@ caldav==0.5.0 # homeassistant.components.notify.ciscospark ciscosparkapi==0.4.2 -# homeassistant.components.coinbase -coinbase==2.0.7 - # homeassistant.components.sensor.coinmarketcap coinmarketcap==4.2.1 @@ -370,6 +363,13 @@ httplib2==0.10.3 # homeassistant.components.media_player.braviatv https://github.com/aparraga/braviarc/archive/0.3.7.zip#braviarc==0.3.7 +# homeassistant.components.coinbase +https://github.com/balloob/coinbase-python/archive/3a35efe13ef728a1cc18204b4f25be1fcb1c6006.zip#coinbase==2.0.8a1 + +# homeassistant.components.sensor.broadlink +# homeassistant.components.switch.broadlink +https://github.com/balloob/python-broadlink/archive/3580ff2eaccd267846f14246d6ede6e30671f7c6.zip#broadlink==0.5.1 + # homeassistant.components.media_player.spotify https://github.com/happyleavesaoc/spotipy/archive/544614f4b1d508201d363e84e871f86c90aa26b2.zip#spotipy==2.4.4 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index 806700cfc97..3d8a7d1d8e6 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -112,6 +112,9 @@ CONSTRAINT_PATH = os.path.join(os.path.dirname(__file__), CONSTRAINT_BASE = """ # Breaks Python 3.6 and is not needed for our supported Python versions enum34==1000000000.0.0 + +# This is a old unmaintained library and is replaced with pycryptodome +pycrypto==1000000000.0.0 """