diff --git a/homeassistant/components/recorder/manifest.json b/homeassistant/components/recorder/manifest.json index 98b6d15facb..feeccbab612 100644 --- a/homeassistant/components/recorder/manifest.json +++ b/homeassistant/components/recorder/manifest.json @@ -7,7 +7,7 @@ "iot_class": "local_push", "quality_scale": "internal", "requirements": [ - "SQLAlchemy==2.0.27", + "SQLAlchemy==2.0.28", "fnv-hash-fast==0.5.0", "psutil-home-assistant==0.0.1" ] diff --git a/homeassistant/components/sql/manifest.json b/homeassistant/components/sql/manifest.json index b440b795e0e..0935b9ae5e5 100644 --- a/homeassistant/components/sql/manifest.json +++ b/homeassistant/components/sql/manifest.json @@ -5,5 +5,5 @@ "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/sql", "iot_class": "local_polling", - "requirements": ["SQLAlchemy==2.0.27", "sqlparse==0.4.4"] + "requirements": ["SQLAlchemy==2.0.28", "sqlparse==0.4.4"] } diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 99f3eb074bd..030aafc4df7 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -52,7 +52,7 @@ PyTurboJPEG==1.7.1 pyudev==0.23.2 PyYAML==6.0.1 requests==2.31.0 -SQLAlchemy==2.0.27 +SQLAlchemy==2.0.28 typing-extensions>=4.10.0,<5.0 ulid-transform==0.9.0 urllib3>=1.26.5,<2 diff --git a/pyproject.toml b/pyproject.toml index c2825830481..19b8f810899 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,7 @@ dependencies = [ "python-slugify==8.0.4", "PyYAML==6.0.1", "requests==2.31.0", - "SQLAlchemy==2.0.27", + "SQLAlchemy==2.0.28", "typing-extensions>=4.10.0,<5.0", "ulid-transform==0.9.0", # Constrain urllib3 to ensure we deal with CVE-2020-26137 and CVE-2021-33503 diff --git a/requirements.txt b/requirements.txt index 61c531e16c1..b7a970bc967 100644 --- a/requirements.txt +++ b/requirements.txt @@ -31,7 +31,7 @@ psutil-home-assistant==0.0.1 python-slugify==8.0.4 PyYAML==6.0.1 requests==2.31.0 -SQLAlchemy==2.0.27 +SQLAlchemy==2.0.28 typing-extensions>=4.10.0,<5.0 ulid-transform==0.9.0 urllib3>=1.26.5,<2 diff --git a/requirements_all.txt b/requirements_all.txt index 921987ad392..1385545dbc3 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -128,7 +128,7 @@ RtmAPI==0.7.2 # homeassistant.components.recorder # homeassistant.components.sql -SQLAlchemy==2.0.27 +SQLAlchemy==2.0.28 # homeassistant.components.tami4 Tami4EdgeAPI==2.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 0e2024e0ccc..11bead1f992 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -113,7 +113,7 @@ RtmAPI==0.7.2 # homeassistant.components.recorder # homeassistant.components.sql -SQLAlchemy==2.0.27 +SQLAlchemy==2.0.28 # homeassistant.components.tami4 Tami4EdgeAPI==2.1 diff --git a/tests/components/recorder/test_init.py b/tests/components/recorder/test_init.py index 1c8e9da551e..b84b672f3d4 100644 --- a/tests/components/recorder/test_init.py +++ b/tests/components/recorder/test_init.py @@ -2228,6 +2228,10 @@ async def test_connect_args_priority(hass: HomeAssistant, config_url) -> None: def __init__(*args, **kwargs): ... + @property + def is_async(self): + return False + def connect(self, *args, **params): nonlocal connect_params connect_params.append(params)