diff --git a/.github/renovate.json5 b/.github/renovate.json5 index ea1dc6ff..336c689c 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -65,5 +65,14 @@ "semanticCommitType": "feat", "groupName": "langchain-postgres" }, + { + description: 'Disable Pillow updates for Python <= 3.10', + matchPackageNames: [ + 'Pillow', + 'pillow', + ], + matchCurrentValue: '/12\\./', + enabled: false, + }, ], } diff --git a/pyproject.toml b/pyproject.toml index a36fad71..907d0dcb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,8 @@ test = [ "pytest==9.0.3", "pytest-cov==7.1.0", "pytest-depends==1.0.1", - "Pillow==12.3.0", + "Pillow==13.0.0; python_version >= '3.11'", + "Pillow==12.3.0; python_version == '3.10'", "langchain-tests==1.1.9" ]