From fd52588565eba263f529c4aca3ef9650ffddd4ef Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 7 May 2024 03:42:13 -0500 Subject: [PATCH] Bump SQLAlchemy to 2.0.30 (#116964) --- homeassistant/components/recorder/filters.py | 2 +- homeassistant/components/recorder/manifest.json | 2 +- homeassistant/components/sql/manifest.json | 2 +- homeassistant/package_constraints.txt | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/homeassistant/components/recorder/filters.py b/homeassistant/components/recorder/filters.py index 92f4c5d3902..509f0d2a067 100644 --- a/homeassistant/components/recorder/filters.py +++ b/homeassistant/components/recorder/filters.py @@ -198,7 +198,7 @@ class Filters: # - Otherwise, entity matches domain exclude: exclude # - Otherwise: include if self._excluded_domains or self._excluded_entity_globs: - return (not_(or_(*excludes)) | i_entities).self_group() # type: ignore[no-any-return, no-untyped-call] + return (not_(or_(*excludes)) | i_entities).self_group() # Case 6 - No Domain and/or glob includes or excludes # - Entity listed in entities include: include diff --git a/homeassistant/components/recorder/manifest.json b/homeassistant/components/recorder/manifest.json index e5b20cfd3b0..5b06c1720dc 100644 --- a/homeassistant/components/recorder/manifest.json +++ b/homeassistant/components/recorder/manifest.json @@ -8,7 +8,7 @@ "iot_class": "local_push", "quality_scale": "internal", "requirements": [ - "SQLAlchemy==2.0.29", + "SQLAlchemy==2.0.30", "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 30d071f25af..f0f1be417ff 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.29", "sqlparse==0.5.0"] + "requirements": ["SQLAlchemy==2.0.30", "sqlparse==0.5.0"] } diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 0df69518734..d40179a4fa1 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -54,7 +54,7 @@ PyTurboJPEG==1.7.1 pyudev==0.24.1 PyYAML==6.0.1 requests==2.31.0 -SQLAlchemy==2.0.29 +SQLAlchemy==2.0.30 typing-extensions>=4.11.0,<5.0 ulid-transform==0.9.0 urllib3>=1.26.5,<2 diff --git a/pyproject.toml b/pyproject.toml index 5880a017ca9..11637dd84f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,7 @@ dependencies = [ "python-slugify==8.0.4", "PyYAML==6.0.1", "requests==2.31.0", - "SQLAlchemy==2.0.29", + "SQLAlchemy==2.0.30", "typing-extensions>=4.11.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 a31b5c3e57b..b2d2d013ccc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -35,7 +35,7 @@ psutil-home-assistant==0.0.1 python-slugify==8.0.4 PyYAML==6.0.1 requests==2.31.0 -SQLAlchemy==2.0.29 +SQLAlchemy==2.0.30 typing-extensions>=4.11.0,<5.0 ulid-transform==0.9.0 urllib3>=1.26.5,<2 diff --git a/requirements_all.txt b/requirements_all.txt index e21839a10b7..71772b13477 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -122,7 +122,7 @@ RtmAPI==0.7.2 # homeassistant.components.recorder # homeassistant.components.sql -SQLAlchemy==2.0.29 +SQLAlchemy==2.0.30 # homeassistant.components.tami4 Tami4EdgeAPI==2.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index b1431e4e028..ad225de6353 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -107,7 +107,7 @@ RtmAPI==0.7.2 # homeassistant.components.recorder # homeassistant.components.sql -SQLAlchemy==2.0.29 +SQLAlchemy==2.0.30 # homeassistant.components.tami4 Tami4EdgeAPI==2.1