Skip to content

Automate browser based workflows with AI

Upgrade pillow to resolve security vuln (#4312)

Suchintane186b8f5c26d
diff --git a/pyproject.toml b/pyproject.toml
index 6d64856d3..750767664 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -21,7 +21,7 @@ dependencies = [
"playwright==1.46.0 ; python_version >= '3.11' and python_version < '3.12'",
"greenlet>3.0.3 ; python_version >= '3.12' and python_version < '3.14'",
"greenlet==3.0.3 ; python_version >= '3.11' and python_version < '3.12'",
- "pillow>=10.1.0,<11",
+ "pillow>=10.2.0",
"starlette-context>=0.3.6,<0.4",
"pydantic>=2.5.2,<3",
"pydantic-settings>=2.1.0,<3",
diff --git a/uv.lock b/uv.lock
index 1a67c5c37..154151213 100644
--- a/uv.lock
+++ b/uv.lock
@@ -5217,7 +5217,7 @@ requires-dist = [
{ name = "orjson", specifier = ">=3.9.10,<4" },
{ name = "pandas", specifier = ">=2.3.1,<3" },
{ name = "pdfplumber", specifier = ">=0.11.0,<0.12" },
- { name = "pillow", specifier = ">=10.1.0,<11" },
+ { name = "pillow", specifier = ">=10.2.0" },
{ name = "playwright", marker = "python_full_version == '3.11.*'", specifier = "==1.46.0" },
{ name = "playwright", marker = "python_full_version >= '3.12' and python_full_version < '3.14'", specifier = ">1.46.0" },
{ name = "posthog", specifier = ">=3.7.0,<4" },