Bump SQLAlchemy to 2.0.24 (#106672)

This commit is contained in:
J. Nick Koston 2023-12-29 10:19:06 -10:00 committed by GitHub
parent e83aa86426
commit 6e98f72f8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@
"iot_class": "local_push", "iot_class": "local_push",
"quality_scale": "internal", "quality_scale": "internal",
"requirements": [ "requirements": [
"SQLAlchemy==2.0.23", "SQLAlchemy==2.0.24",
"fnv-hash-fast==0.5.0", "fnv-hash-fast==0.5.0",
"psutil-home-assistant==0.0.1" "psutil-home-assistant==0.0.1"
] ]

View File

@ -101,7 +101,7 @@ QUERY_STATISTICS_SHORT_TERM = (
StatisticsShortTerm.sum, StatisticsShortTerm.sum,
) )
QUERY_STATISTICS_SUMMARY_MEAN = ( QUERY_STATISTICS_SUMMARY_MEAN = ( # type: ignore[var-annotated]
StatisticsShortTerm.metadata_id, StatisticsShortTerm.metadata_id,
func.avg(StatisticsShortTerm.mean), func.avg(StatisticsShortTerm.mean),
func.min(StatisticsShortTerm.min), func.min(StatisticsShortTerm.min),
@ -115,7 +115,7 @@ QUERY_STATISTICS_SUMMARY_SUM = (
StatisticsShortTerm.state, StatisticsShortTerm.state,
StatisticsShortTerm.sum, StatisticsShortTerm.sum,
func.row_number() func.row_number()
.over( # type: ignore[no-untyped-call] .over(
partition_by=StatisticsShortTerm.metadata_id, partition_by=StatisticsShortTerm.metadata_id,
order_by=StatisticsShortTerm.start_ts.desc(), order_by=StatisticsShortTerm.start_ts.desc(),
) )

View File

@ -5,5 +5,5 @@
"config_flow": true, "config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/sql", "documentation": "https://www.home-assistant.io/integrations/sql",
"iot_class": "local_polling", "iot_class": "local_polling",
"requirements": ["SQLAlchemy==2.0.23", "sqlparse==0.4.4"] "requirements": ["SQLAlchemy==2.0.24", "sqlparse==0.4.4"]
} }

View File

@ -52,7 +52,7 @@ pyudev==0.23.2
PyYAML==6.0.1 PyYAML==6.0.1
requests==2.31.0 requests==2.31.0
scapy==2.5.0 scapy==2.5.0
SQLAlchemy==2.0.23 SQLAlchemy==2.0.24
typing-extensions>=4.9.0,<5.0 typing-extensions>=4.9.0,<5.0
ulid-transform==0.9.0 ulid-transform==0.9.0
voluptuous-serialize==2.6.0 voluptuous-serialize==2.6.0

View File

@ -128,7 +128,7 @@ RtmAPI==0.7.2
# homeassistant.components.recorder # homeassistant.components.recorder
# homeassistant.components.sql # homeassistant.components.sql
SQLAlchemy==2.0.23 SQLAlchemy==2.0.24
# homeassistant.components.tami4 # homeassistant.components.tami4
Tami4EdgeAPI==2.1 Tami4EdgeAPI==2.1

View File

@ -113,7 +113,7 @@ RtmAPI==0.7.2
# homeassistant.components.recorder # homeassistant.components.recorder
# homeassistant.components.sql # homeassistant.components.sql
SQLAlchemy==2.0.23 SQLAlchemy==2.0.24
# homeassistant.components.tami4 # homeassistant.components.tami4
Tami4EdgeAPI==2.1 Tami4EdgeAPI==2.1