From 63ba52d3b8438980850a54ee0f39364b969b8004 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 25 Aug 2018 17:48:37 +0200 Subject: [PATCH] Upgrade sqlalchemy to 1.2.11 --- homeassistant/components/recorder/__init__.py | 2 +- homeassistant/components/sensor/sql.py | 4 ++-- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/recorder/__init__.py b/homeassistant/components/recorder/__init__.py index f3d8e269a42a0a..47d6e181c8f82a 100644 --- a/homeassistant/components/recorder/__init__.py +++ b/homeassistant/components/recorder/__init__.py @@ -35,7 +35,7 @@ from .const import DATA_INSTANCE from .util import session_scope -REQUIREMENTS = ['sqlalchemy==1.2.10'] +REQUIREMENTS = ['sqlalchemy==1.2.11'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sensor/sql.py b/homeassistant/components/sensor/sql.py index a2e9549a117e7c..53821275d42de1 100644 --- a/homeassistant/components/sensor/sql.py +++ b/homeassistant/components/sensor/sql.py @@ -20,7 +20,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['sqlalchemy==1.2.10'] +REQUIREMENTS = ['sqlalchemy==1.2.11'] CONF_COLUMN_NAME = 'column' CONF_QUERIES = 'queries' @@ -62,7 +62,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None): engine = sqlalchemy.create_engine(db_url) sessionmaker = scoped_session(sessionmaker(bind=engine)) - # run a dummy query just to test the db_url + # Run a dummy query just to test the db_url sess = sessionmaker() sess.execute("SELECT 1;") diff --git a/requirements_all.txt b/requirements_all.txt index a5cfe9e402a594..15a3fffeaa1721 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1334,7 +1334,7 @@ spotipy-homeassistant==2.4.4.dev1 # homeassistant.components.recorder # homeassistant.scripts.db_migrator # homeassistant.components.sensor.sql -sqlalchemy==1.2.10 +sqlalchemy==1.2.11 # homeassistant.components.statsd statsd==3.2.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 7b9dc1d1eb34ea..af68edbd632da6 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -200,7 +200,7 @@ somecomfort==0.5.2 # homeassistant.components.recorder # homeassistant.scripts.db_migrator # homeassistant.components.sensor.sql -sqlalchemy==1.2.10 +sqlalchemy==1.2.11 # homeassistant.components.statsd statsd==3.2.1