From 4b726ffb70a0beb08e41b28f7483bb1b7df81085 Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Wed, 14 Oct 2026 19:08:20 +0530 Subject: [PATCH 1/4] Modify SQLAlchemy version constraints for Python compatibility Updated SQLAlchemy dependency constraints based on Python version. --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2b9f857..2a2324b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,8 @@ dependencies = [ "cloud-sql-python-connector[asyncpg] >= 1.10.0, <2.0.0", "llama-index-core>=0.12.0, <1.0.0", "pgvector>=0.2.5, <1.0.0", - "SQLAlchemy[asyncio]>=2.0.25, <3.0.0" + "SQLAlchemy[asyncio]>=2.0.25, <2.1.0; python_version < '3.11'", + "SQLAlchemy[asyncio]>=2.1.0, <3.0.0; python_version >= '3.11'" ] classifiers = [ From 82a8a953c2b7dc39bc673223e0fa5e9ca79dc3e3 Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Wed, 14 Oct 2026 19:10:43 +0530 Subject: [PATCH 2/4] Update requirements.txt --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 69c6d71..b8b23f0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ cloud-sql-python-connector[asyncpg]==1.22.0 llama-index-core==0.14.24 pgvector==0.5.0 -SQLAlchemy[asyncio]==2.0.52 +SQLAlchemy[asyncio]==2.0.52; python_version < '3.11' +SQLAlchemy[asyncio]==2.1.4; python_version >= '3.11' From 2b1f4f0e56e66ac61bdc24c0b1ed3c421a444da1 Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Wed, 14 Oct 2026 19:16:15 +0530 Subject: [PATCH 3/4] Update Renovate configuration for SQLAlchemy versions Added configurations to manage SQLAlchemy versioning for Python 3.10 and 3.11+ in both pyproject.toml and requirements.txt. --- .github/renovate.json5 | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index d1c415c..2be9379 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -66,6 +66,39 @@ "minor", "patch" ], + }, + // --------------------------------------------------------- + // SQLAlchemy: Python 3.10 Compatibility Branch + // --------------------------------------------------------- + { + "description": "Cap SQLAlchemy 3.10 branch in pyproject.toml", + "matchFileNames": ["pyproject.toml"], + "matchPackageNames": ["SQLAlchemy", "sqlalchemy"], + "matchCurrentValue": ">=2.0.25, <2.1.0", + "allowedVersions": "<2.1.0" + }, + { + "description": "Cap SQLAlchemy 3.10 branch in requirements.txt", + "matchFileNames": ["requirements.txt"], + "matchPackageNames": ["SQLAlchemy", "sqlalchemy"], + "matchCurrentValue": "==2.0.52", + "allowedVersions": "<2.1.0" + }, + + // --------------------------------------------------------- + // SQLAlchemy: Python 3.11+ Branch + // --------------------------------------------------------- + { + "description": "Allow standard SQLAlchemy updates for 3.11+ in pyproject.toml", + "matchFileNames": ["pyproject.toml"], + "matchPackageNames": ["SQLAlchemy", "sqlalchemy"], + "matchCurrentValue": ">=2.1.0, <3.0.0" + }, + { + "description": "Allow standard SQLAlchemy updates for 3.11+ in requirements.txt", + "matchFileNames": ["requirements.txt"], + "matchPackageNames": ["SQLAlchemy", "sqlalchemy"], + "matchCurrentValue": "==2.1.4" } ], } From 362411c4bf5291748e5af6f00df77680c8239851 Mon Sep 17 00:00:00 2001 From: Disha Prakash Date: Thu, 22 Oct 2026 12:28:25 +0000 Subject: [PATCH 4/4] fix --- .github/renovate.json5 | 38 +++++++------------------------------- 1 file changed, 7 insertions(+), 31 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 2be9379..3851384 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -67,38 +67,14 @@ "patch" ], }, - // --------------------------------------------------------- - // SQLAlchemy: Python 3.10 Compatibility Branch - // --------------------------------------------------------- { - "description": "Cap SQLAlchemy 3.10 branch in pyproject.toml", - "matchFileNames": ["pyproject.toml"], - "matchPackageNames": ["SQLAlchemy", "sqlalchemy"], - "matchCurrentValue": ">=2.0.25, <2.1.0", - "allowedVersions": "<2.1.0" - }, - { - "description": "Cap SQLAlchemy 3.10 branch in requirements.txt", - "matchFileNames": ["requirements.txt"], - "matchPackageNames": ["SQLAlchemy", "sqlalchemy"], - "matchCurrentValue": "==2.0.52", - "allowedVersions": "<2.1.0" - }, - - // --------------------------------------------------------- - // SQLAlchemy: Python 3.11+ Branch - // --------------------------------------------------------- - { - "description": "Allow standard SQLAlchemy updates for 3.11+ in pyproject.toml", - "matchFileNames": ["pyproject.toml"], - "matchPackageNames": ["SQLAlchemy", "sqlalchemy"], - "matchCurrentValue": ">=2.1.0, <3.0.0" + "description": "Disable SQLAlchemy updates for Python <= 3.10", + "matchPackageNames": [ + "SQLAlchemy", + "sqlalchemy" + ], + "matchCurrentValue": "/2\\.0\\./", + "enabled": false, }, - { - "description": "Allow standard SQLAlchemy updates for 3.11+ in requirements.txt", - "matchFileNames": ["requirements.txt"], - "matchPackageNames": ["SQLAlchemy", "sqlalchemy"], - "matchCurrentValue": "==2.1.4" - } ], }