From 0eb6b68daa18c12f0ff67e1797e498efc4833571 Mon Sep 17 00:00:00 2001 From: Disha Prakash Date: Thu, 16 Oct 2025 09:25:39 +0000 Subject: [PATCH] chore: Update renovate config to disable updates for pillow for py3.9 --- .github/renovate.json5 | 7 +++++++ packages/toolbox-langchain/pyproject.toml | 3 ++- packages/toolbox-llamaindex/pyproject.toml | 3 ++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index a8b22047..3cd5ac23 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -47,5 +47,12 @@ '.kokoro/**', ], }, + { + "description": "Disable pillow updates for python <=3.9 in pyproject.toml", + "matchFileNames": ["**/pyproject.toml"], + "matchPackageNames": ["Pillow"], + "matchCurrentValue": "==11.3.0", + "enabled": false + } ], } diff --git a/packages/toolbox-langchain/pyproject.toml b/packages/toolbox-langchain/pyproject.toml index 1bec8af4..79fba0d6 100644 --- a/packages/toolbox-langchain/pyproject.toml +++ b/packages/toolbox-langchain/pyproject.toml @@ -50,7 +50,8 @@ test = [ "pytest-asyncio==1.2.0", "pytest==8.4.2", "pytest-cov==7.0.0", - "Pillow==11.3.0", + "Pillow==11.3.0; python_version == '3.9'", + "Pillow==12.0.0; python_version >= '3.10'", "google-cloud-secret-manager==2.24.0", "google-cloud-storage==3.4.0", ] diff --git a/packages/toolbox-llamaindex/pyproject.toml b/packages/toolbox-llamaindex/pyproject.toml index 95706f63..b5080133 100644 --- a/packages/toolbox-llamaindex/pyproject.toml +++ b/packages/toolbox-llamaindex/pyproject.toml @@ -50,7 +50,8 @@ test = [ "pytest-asyncio==1.2.0", "pytest==8.4.2", "pytest-cov==7.0.0", - "Pillow==11.3.0", + "Pillow==11.3.0; python_version == '3.9'", + "Pillow==12.0.0; python_version >= '3.10'", "google-cloud-secret-manager==2.24.0", "google-cloud-storage==3.4.0", ]