Skip to content

Commit

Permalink
Upgrade sqlalchemy to 1.2.11 (#16192)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored and Danielhiversen committed Aug 26, 2018
1 parent 0a7055d commit 0da3e73
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/recorder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)

Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/sensor/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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;")

Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0da3e73

Please sign in to comment.