Upgrade numpy to 1.16.2 (#21525)

This commit is contained in:
Fabian Affolter 2019-02-28 17:46:21 +05:30 committed by GitHub
parent 342ddbfe8c
commit 3e8e998078
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 13 deletions

View file

@ -17,7 +17,7 @@ from homeassistant.helpers.entity import generate_entity_id
from homeassistant.helpers.event import async_track_state_change from homeassistant.helpers.event import async_track_state_change
from homeassistant.util import utcnow from homeassistant.util import utcnow
REQUIREMENTS = ['numpy==1.16.1'] REQUIREMENTS = ['numpy==1.16.2']
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)

View file

@ -1,9 +1,4 @@
""" """Support for OpenCV classification on images."""
Component that performs OpenCV classification on images.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/image_processing.opencv/
"""
from datetime import timedelta from datetime import timedelta
import logging import logging
@ -16,7 +11,7 @@ from homeassistant.components.image_processing import (
from homeassistant.core import split_entity_id from homeassistant.core import split_entity_id
import homeassistant.helpers.config_validation as cv import homeassistant.helpers.config_validation as cv
REQUIREMENTS = ['numpy==1.16.1'] REQUIREMENTS = ['numpy==1.16.2']
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)

View file

@ -12,7 +12,7 @@ from homeassistant.core import split_entity_id
from homeassistant.helpers import template from homeassistant.helpers import template
import homeassistant.helpers.config_validation as cv import homeassistant.helpers.config_validation as cv
REQUIREMENTS = ['numpy==1.16.1', 'pillow==5.4.1', 'protobuf==3.6.1'] REQUIREMENTS = ['numpy==1.16.2', 'pillow==5.4.1', 'protobuf==3.6.1']
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
@ -111,7 +111,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
"No OpenCV library found. TensorFlow will process image with " "No OpenCV library found. TensorFlow will process image with "
"PIL at reduced resolution") "PIL at reduced resolution")
# setup tensorflow graph, session, and label map to pass to processor # Set up Tensorflow graph, session, and label map to pass to processor
# pylint: disable=no-member # pylint: disable=no-member
detection_graph = tf.Graph() detection_graph = tf.Graph()
with detection_graph.as_default(): with detection_graph.as_default():

View file

@ -13,7 +13,7 @@ import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.entity import Entity from homeassistant.helpers.entity import Entity
from homeassistant.util import Throttle from homeassistant.util import Throttle
REQUIREMENTS = ['numpy==1.16.1', 'pypollencom==2.2.3'] REQUIREMENTS = ['numpy==1.16.2', 'pypollencom==2.2.3']
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)

View file

@ -752,7 +752,7 @@ nuheat==0.3.0
# homeassistant.components.image_processing.opencv # homeassistant.components.image_processing.opencv
# homeassistant.components.image_processing.tensorflow # homeassistant.components.image_processing.tensorflow
# homeassistant.components.sensor.pollen # homeassistant.components.sensor.pollen
numpy==1.16.1 numpy==1.16.2
# homeassistant.components.google # homeassistant.components.google
oauth2client==4.0.0 oauth2client==4.0.0

View file

@ -151,7 +151,7 @@ mficlient==0.3.0
# homeassistant.components.image_processing.opencv # homeassistant.components.image_processing.opencv
# homeassistant.components.image_processing.tensorflow # homeassistant.components.image_processing.tensorflow
# homeassistant.components.sensor.pollen # homeassistant.components.sensor.pollen
numpy==1.16.1 numpy==1.16.2
# homeassistant.components.mqtt # homeassistant.components.mqtt
# homeassistant.components.shiftr # homeassistant.components.shiftr