From e3cfcbad69b28b86f8d4d934a9d0aec0a08183ea Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 19 Feb 2019 16:04:56 +0100 Subject: [PATCH] Upgrade numpy to 1.16.1 (#21190) --- homeassistant/components/binary_sensor/trend.py | 9 ++------- homeassistant/components/image_processing/opencv.py | 2 +- .../components/image_processing/tensorflow.py | 12 ++---------- homeassistant/components/sensor/pollen.py | 9 ++------- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 6 files changed, 9 insertions(+), 27 deletions(-) diff --git a/homeassistant/components/binary_sensor/trend.py b/homeassistant/components/binary_sensor/trend.py index 494c3154b84..0d4e9631650 100644 --- a/homeassistant/components/binary_sensor/trend.py +++ b/homeassistant/components/binary_sensor/trend.py @@ -1,9 +1,4 @@ -""" -A sensor that monitors trends in other components. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.trend/ -""" +"""A sensor that monitors trends in other components.""" from collections import deque import logging import math @@ -22,7 +17,7 @@ from homeassistant.helpers.entity import generate_entity_id from homeassistant.helpers.event import async_track_state_change from homeassistant.util import utcnow -REQUIREMENTS = ['numpy==1.16.0'] +REQUIREMENTS = ['numpy==1.16.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/image_processing/opencv.py b/homeassistant/components/image_processing/opencv.py index 8ca6e4d8a53..7cb5184b116 100644 --- a/homeassistant/components/image_processing/opencv.py +++ b/homeassistant/components/image_processing/opencv.py @@ -16,7 +16,7 @@ from homeassistant.components.image_processing import ( from homeassistant.core import split_entity_id import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['numpy==1.16.0'] +REQUIREMENTS = ['numpy==1.16.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/image_processing/tensorflow.py b/homeassistant/components/image_processing/tensorflow.py index cc25756f2d0..f0e8f5182fc 100644 --- a/homeassistant/components/image_processing/tensorflow.py +++ b/homeassistant/components/image_processing/tensorflow.py @@ -1,12 +1,4 @@ -""" -Support for performing TensorFlow classification on images. - -For a quick start, pick a pre-trained COCO model from: -https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/image_processing.tensorflow/ -""" +"""Support for performing TensorFlow classification on images.""" import logging import os import sys @@ -20,7 +12,7 @@ from homeassistant.core import split_entity_id from homeassistant.helpers import template import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['numpy==1.16.0', 'pillow==5.4.1', 'protobuf==3.6.1'] +REQUIREMENTS = ['numpy==1.16.1', 'pillow==5.4.1', 'protobuf==3.6.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sensor/pollen.py b/homeassistant/components/sensor/pollen.py index eab5a14b8ca..d553dd8730f 100644 --- a/homeassistant/components/sensor/pollen.py +++ b/homeassistant/components/sensor/pollen.py @@ -1,9 +1,4 @@ -""" -Support for Pollen.com allergen and cold/flu sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.pollen/ -""" +"""Support for Pollen.com allergen and cold/flu sensors.""" from datetime import timedelta import logging from statistics import mean @@ -18,7 +13,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['numpy==1.16.0', 'pypollencom==2.2.2'] +REQUIREMENTS = ['numpy==1.16.1', 'pypollencom==2.2.2'] _LOGGER = logging.getLogger(__name__) diff --git a/requirements_all.txt b/requirements_all.txt index 92db76c2c5e..b24b99d7e84 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -752,7 +752,7 @@ nuheat==0.3.0 # homeassistant.components.image_processing.opencv # homeassistant.components.image_processing.tensorflow # homeassistant.components.sensor.pollen -numpy==1.16.0 +numpy==1.16.1 # homeassistant.components.google oauth2client==4.0.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 82a5e4ba8b6..67eda186468 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -151,7 +151,7 @@ mficlient==0.3.0 # homeassistant.components.image_processing.opencv # homeassistant.components.image_processing.tensorflow # homeassistant.components.sensor.pollen -numpy==1.16.0 +numpy==1.16.1 # homeassistant.components.mqtt # homeassistant.components.shiftr