Bump SQLAlchemy to 2.0.28 (#112314)

This commit is contained in:
J. Nick Koston 2024-03-05 12:14:30 -10:00 committed by GitHub
parent a7f84c577d
commit 235771aaa2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 11 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.27", "SQLAlchemy==2.0.28",
"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

@ -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.27", "sqlparse==0.4.4"] "requirements": ["SQLAlchemy==2.0.28", "sqlparse==0.4.4"]
} }

View File

@ -52,7 +52,7 @@ PyTurboJPEG==1.7.1
pyudev==0.23.2 pyudev==0.23.2
PyYAML==6.0.1 PyYAML==6.0.1
requests==2.31.0 requests==2.31.0
SQLAlchemy==2.0.27 SQLAlchemy==2.0.28
typing-extensions>=4.10.0,<5.0 typing-extensions>=4.10.0,<5.0
ulid-transform==0.9.0 ulid-transform==0.9.0
urllib3>=1.26.5,<2 urllib3>=1.26.5,<2

View File

@ -55,7 +55,7 @@ dependencies = [
"python-slugify==8.0.4", "python-slugify==8.0.4",
"PyYAML==6.0.1", "PyYAML==6.0.1",
"requests==2.31.0", "requests==2.31.0",
"SQLAlchemy==2.0.27", "SQLAlchemy==2.0.28",
"typing-extensions>=4.10.0,<5.0", "typing-extensions>=4.10.0,<5.0",
"ulid-transform==0.9.0", "ulid-transform==0.9.0",
# Constrain urllib3 to ensure we deal with CVE-2020-26137 and CVE-2021-33503 # Constrain urllib3 to ensure we deal with CVE-2020-26137 and CVE-2021-33503

View File

@ -31,7 +31,7 @@ psutil-home-assistant==0.0.1
python-slugify==8.0.4 python-slugify==8.0.4
PyYAML==6.0.1 PyYAML==6.0.1
requests==2.31.0 requests==2.31.0
SQLAlchemy==2.0.27 SQLAlchemy==2.0.28
typing-extensions>=4.10.0,<5.0 typing-extensions>=4.10.0,<5.0
ulid-transform==0.9.0 ulid-transform==0.9.0
urllib3>=1.26.5,<2 urllib3>=1.26.5,<2

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.27 SQLAlchemy==2.0.28
# 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.27 SQLAlchemy==2.0.28
# homeassistant.components.tami4 # homeassistant.components.tami4
Tami4EdgeAPI==2.1 Tami4EdgeAPI==2.1

View File

@ -2228,6 +2228,10 @@ async def test_connect_args_priority(hass: HomeAssistant, config_url) -> None:
def __init__(*args, **kwargs): def __init__(*args, **kwargs):
... ...
@property
def is_async(self):
return False
def connect(self, *args, **params): def connect(self, *args, **params):
nonlocal connect_params nonlocal connect_params
connect_params.append(params) connect_params.append(params)