From 77d51280ffe63b327d88c0806243bac551dc349d Mon Sep 17 00:00:00 2001 From: Guilherme Lacerda Date: Fri, 6 Feb 2026 15:04:15 -0300 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20=20Upgrade=20Starlette=20s?= =?UTF-8?q?upported=20version=20range=20to=20>=3D0.40.0,=20<0.52.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This bump is necessary to allow using `allow_private_network` in `CORSMiddleware`, which was introduced in Starlette 0.51.0. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ae9ae891e..15a0fb94d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,7 @@ classifiers = [ "Topic :: Internet :: WWW/HTTP", ] dependencies = [ - "starlette>=0.40.0,<0.51.0", + "starlette>=0.40.0,<0.52.0", "pydantic>=2.7.0", "typing-extensions>=4.8.0", "typing-inspection>=0.4.2",