From 0897210bf27781d3ee3fa0c1733cdbe0a06c67db Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Sat, 18 Oct 2025 00:30:05 +0530 Subject: [PATCH 1/2] chore: Update dependency based on python version chore: Update dependency based on python version --- .github/renovate.json5 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index fdc02e29..93a38cf3 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -73,6 +73,13 @@ "matchPackageNames": ["langchain-postgres"], "semanticCommitType": "feat", "groupName": "langchain-postgres" + }, + { + "description": "Disable isort updates for python <=3.9 in pyproject.toml", + "matchFileNames": ["pyproject.toml"], + "matchPackageNames": ["isort"], + "matchCurrentValue": "==6.1.0", + "enabled": false } ], } From c8d311f6677ded5b5554a7b7f4100cc1b23aec11 Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Sat, 18 Oct 2025 00:32:48 +0530 Subject: [PATCH 2/2] Update isort version constraints for Python versions --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c092aa60..cfb4d532 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,8 @@ langgraph = [ ] test = [ "black[jupyter]==25.9.0", - "isort==6.1.0", + "isort==6.1.0; python_version == '3.9'", + "isort==7.0.0; python_version >= '3.10'", "mypy==1.18.2", "pytest-asyncio==0.26.0", "pytest==8.4.2",