Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade sqlalchemy to 1.2.11 #16192

Merged
merged 1 commit into from
Aug 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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