Skip to content

Commit 30ae338

Browse files
authored
chore: Update dependency based on python version (#165)
* chore: Update dependency based on python version chore: Update dependency based on python version * Update isort dependency for Python version compatibility
1 parent caba41e commit 30ae338

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
@@ -67,5 +67,12 @@
6767
"patch"
6868
],
6969
},
70+
{
71+
"description": "Disable isort updates for python <=3.9 in pyproject.toml",
72+
"matchFileNames": ["pyproject.toml"],
73+
"matchPackageNames": ["isort"],
74+
"matchCurrentValue": "==6.1.0",
75+
"enabled": false
76+
}
7077
],
7178
}

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ Changelog = "https://github.com/googleapis/llama-index-cloud-sql-pg-python/blob/
3939
[project.optional-dependencies]
4040
test = [
4141
"black[jupyter]==25.9.0",
42-
"isort==6.1.0",
42+
"isort==6.1.0; python_version == '3.9'",
43+
"isort==7.0.0; python_version >= '3.10'",
4344
"mypy==1.18.2",
4445
"pytest-asyncio==1.2.0",
4546
"pytest==8.4.2",

0 commit comments

Comments
 (0)