mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Upgrade sqlalchemy to 1.2.5 (#13292)
This commit is contained in:
parent
e01a0f91d6
commit
aec61b7c86
@ -35,7 +35,7 @@ from . import migration, purge
|
|||||||
from .const import DATA_INSTANCE
|
from .const import DATA_INSTANCE
|
||||||
from .util import session_scope
|
from .util import session_scope
|
||||||
|
|
||||||
REQUIREMENTS = ['sqlalchemy==1.2.2']
|
REQUIREMENTS = ['sqlalchemy==1.2.5']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
@ -64,16 +64,13 @@ CONNECT_RETRY_WAIT = 3
|
|||||||
|
|
||||||
FILTER_SCHEMA = vol.Schema({
|
FILTER_SCHEMA = vol.Schema({
|
||||||
vol.Optional(CONF_EXCLUDE, default={}): vol.Schema({
|
vol.Optional(CONF_EXCLUDE, default={}): vol.Schema({
|
||||||
|
vol.Optional(CONF_DOMAINS): vol.All(cv.ensure_list, [cv.string]),
|
||||||
vol.Optional(CONF_ENTITIES): cv.entity_ids,
|
vol.Optional(CONF_ENTITIES): cv.entity_ids,
|
||||||
vol.Optional(CONF_DOMAINS):
|
vol.Optional(CONF_EVENT_TYPES): vol.All(cv.ensure_list, [cv.string]),
|
||||||
vol.All(cv.ensure_list, [cv.string]),
|
|
||||||
vol.Optional(CONF_EVENT_TYPES):
|
|
||||||
vol.All(cv.ensure_list, [cv.string])
|
|
||||||
}),
|
}),
|
||||||
vol.Optional(CONF_INCLUDE, default={}): vol.Schema({
|
vol.Optional(CONF_INCLUDE, default={}): vol.Schema({
|
||||||
|
vol.Optional(CONF_DOMAINS): vol.All(cv.ensure_list, [cv.string]),
|
||||||
vol.Optional(CONF_ENTITIES): cv.entity_ids,
|
vol.Optional(CONF_ENTITIES): cv.entity_ids,
|
||||||
vol.Optional(CONF_DOMAINS):
|
|
||||||
vol.All(cv.ensure_list, [cv.string])
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -255,7 +252,7 @@ class Recorder(threading.Thread):
|
|||||||
self.hass.add_job(register)
|
self.hass.add_job(register)
|
||||||
result = hass_started.result()
|
result = hass_started.result()
|
||||||
|
|
||||||
# If shutdown happened before HASS finished starting
|
# If shutdown happened before Home Assistant finished starting
|
||||||
if result is shutdown_task:
|
if result is shutdown_task:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ from homeassistant.helpers.entity import Entity
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
REQUIREMENTS = ['sqlalchemy==1.2.2']
|
REQUIREMENTS = ['sqlalchemy==1.2.5']
|
||||||
|
|
||||||
CONF_QUERIES = 'queries'
|
CONF_QUERIES = 'queries'
|
||||||
CONF_QUERY = 'query'
|
CONF_QUERY = 'query'
|
||||||
|
@ -1165,7 +1165,7 @@ spotcrime==1.0.3
|
|||||||
# homeassistant.components.recorder
|
# homeassistant.components.recorder
|
||||||
# homeassistant.scripts.db_migrator
|
# homeassistant.scripts.db_migrator
|
||||||
# homeassistant.components.sensor.sql
|
# homeassistant.components.sensor.sql
|
||||||
sqlalchemy==1.2.2
|
sqlalchemy==1.2.5
|
||||||
|
|
||||||
# homeassistant.components.statsd
|
# homeassistant.components.statsd
|
||||||
statsd==3.2.1
|
statsd==3.2.1
|
||||||
|
@ -176,7 +176,7 @@ somecomfort==0.5.0
|
|||||||
# homeassistant.components.recorder
|
# homeassistant.components.recorder
|
||||||
# homeassistant.scripts.db_migrator
|
# homeassistant.scripts.db_migrator
|
||||||
# homeassistant.components.sensor.sql
|
# homeassistant.components.sensor.sql
|
||||||
sqlalchemy==1.2.2
|
sqlalchemy==1.2.5
|
||||||
|
|
||||||
# homeassistant.components.statsd
|
# homeassistant.components.statsd
|
||||||
statsd==3.2.1
|
statsd==3.2.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user