Skip to content

Commit b798efe

Browse files
authored
chore: Update dependency based on python version (#485)
* chore: Update dependency based on python version * Update renovate.json5
1 parent df70976 commit b798efe

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/renovate.json5

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,20 @@
7777
"matchPackageNames": ["langchain-postgres"],
7878
"semanticCommitType": "feat",
7979
"groupName": "langchain-postgres"
80+
},
81+
{
82+
"description": "Disable pillow updates for python <=3.9 in pyproject.toml",
83+
"matchFileNames": ["pyproject.toml"],
84+
"matchPackageNames": ["Pillow"],
85+
"matchCurrentValue": "==11.3.0",
86+
"enabled": false
87+
},
88+
{
89+
"description": "Disable isort updates for python <=3.9 in pyproject.toml",
90+
"matchFileNames": ["pyproject.toml"],
91+
"matchPackageNames": ["isort"],
92+
"matchCurrentValue": "==6.1.0",
93+
"enabled": false
8094
}
8195
],
8296
}

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,16 @@ langgraph = [
4545
]
4646
test = [
4747
"black[jupyter]==25.9.0",
48-
"isort==6.1.0",
48+
"isort==6.1.0; python_version == '3.9'",
49+
"isort==7.0.0; python_version >= '3.10'",
4950
"langgraph==0.6.10",
5051
"mypy==1.18.2",
5152
"pytest-asyncio==0.26.0",
5253
"pytest==8.4.2",
5354
"pytest-cov==7.0.0",
5455
"pytest-depends==1.0.1",
55-
"Pillow==11.3.0",
56+
"Pillow==11.3.0; python_version == '3.9'",
57+
"Pillow==12.0.0; python_version >= '3.10'",
5658
"langchain-tests==0.3.22"
5759
]
5860

0 commit comments

Comments
 (0)