Bump SQLAlchemy to 2.0.24 (#106672)
parent
e83aa86426
commit
6e98f72f8b
|
@ -7,7 +7,7 @@
|
|||
"iot_class": "local_push",
|
||||
"quality_scale": "internal",
|
||||
"requirements": [
|
||||
"SQLAlchemy==2.0.23",
|
||||
"SQLAlchemy==2.0.24",
|
||||
"fnv-hash-fast==0.5.0",
|
||||
"psutil-home-assistant==0.0.1"
|
||||
]
|
||||
|
|
|
@ -101,7 +101,7 @@ QUERY_STATISTICS_SHORT_TERM = (
|
|||
StatisticsShortTerm.sum,
|
||||
)
|
||||
|
||||
QUERY_STATISTICS_SUMMARY_MEAN = (
|
||||
QUERY_STATISTICS_SUMMARY_MEAN = ( # type: ignore[var-annotated]
|
||||
StatisticsShortTerm.metadata_id,
|
||||
func.avg(StatisticsShortTerm.mean),
|
||||
func.min(StatisticsShortTerm.min),
|
||||
|
@ -115,7 +115,7 @@ QUERY_STATISTICS_SUMMARY_SUM = (
|
|||
StatisticsShortTerm.state,
|
||||
StatisticsShortTerm.sum,
|
||||
func.row_number()
|
||||
.over( # type: ignore[no-untyped-call]
|
||||
.over(
|
||||
partition_by=StatisticsShortTerm.metadata_id,
|
||||
order_by=StatisticsShortTerm.start_ts.desc(),
|
||||
)
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/sql",
|
||||
"iot_class": "local_polling",
|
||||
"requirements": ["SQLAlchemy==2.0.23", "sqlparse==0.4.4"]
|
||||
"requirements": ["SQLAlchemy==2.0.24", "sqlparse==0.4.4"]
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ pyudev==0.23.2
|
|||
PyYAML==6.0.1
|
||||
requests==2.31.0
|
||||
scapy==2.5.0
|
||||
SQLAlchemy==2.0.23
|
||||
SQLAlchemy==2.0.24
|
||||
typing-extensions>=4.9.0,<5.0
|
||||
ulid-transform==0.9.0
|
||||
voluptuous-serialize==2.6.0
|
||||
|
|
|
@ -128,7 +128,7 @@ RtmAPI==0.7.2
|
|||
|
||||
# homeassistant.components.recorder
|
||||
# homeassistant.components.sql
|
||||
SQLAlchemy==2.0.23
|
||||
SQLAlchemy==2.0.24
|
||||
|
||||
# homeassistant.components.tami4
|
||||
Tami4EdgeAPI==2.1
|
||||
|
|
|
@ -113,7 +113,7 @@ RtmAPI==0.7.2
|
|||
|
||||
# homeassistant.components.recorder
|
||||
# homeassistant.components.sql
|
||||
SQLAlchemy==2.0.23
|
||||
SQLAlchemy==2.0.24
|
||||
|
||||
# homeassistant.components.tami4
|
||||
Tami4EdgeAPI==2.1
|
||||
|
|
Loading…
Reference in New Issue