Skip to content

Commit 1c21606

Browse files
authored
chore: Update dependency based on python version (#357)
* chore: Update dependency based on python version chore: Update dependency based on python version * Update isort version constraints for Python versions
1 parent 76dab16 commit 1c21606

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/renovate.json5

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@
7373
"matchPackageNames": ["langchain-postgres"],
7474
"semanticCommitType": "feat",
7575
"groupName": "langchain-postgres"
76+
},
77+
{
78+
"description": "Disable isort updates for python <=3.9 in pyproject.toml",
79+
"matchFileNames": ["pyproject.toml"],
80+
"matchPackageNames": ["isort"],
81+
"matchCurrentValue": "==6.1.0",
82+
"enabled": false
7683
}
7784
],
7885
}

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ langgraph = [
4343
]
4444
test = [
4545
"black[jupyter]==25.9.0",
46-
"isort==6.1.0",
46+
"isort==6.1.0; python_version == '3.9'",
47+
"isort==7.0.0; python_version >= '3.10'",
4748
"mypy==1.18.2",
4849
"pytest-asyncio==0.26.0",
4950
"pytest==8.4.2",

0 commit comments

Comments
 (0)