python-fastapi/allow-starlette-0.38.patch
Dirk Mueller eb3a87b14a - update to 0.115.5:
* Update internal checks to support Pydantic 2.10.
  * Fix error in `docs/en/docs/tutorial/middleware.md`.
- update to 0.115.4:
  * Update logic to import and check `python-multipart` for
    compatibility with newer version.
- update to 0.115.3:
  * Upgrade Starlette to `>=0.40.0,<0.42.0`.
  * Fix broken link in docs.
- drop allow-new-starlette.patch (obsolete)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=82
2024-11-21 08:54:16 +00:00

23 lines
672 B
Diff

From a03ad2aa8bc9bc974ebf340146bf8d9a8afc0dbb Mon Sep 17 00:00:00 2001
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
Date: Tue, 23 Jul 2024 16:45:07 -0400
Subject: [PATCH] Allow Starlette 0.38
---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index dbaa42149897a..e231f330165fc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -41,7 +41,7 @@ classifiers = [
"Topic :: Internet :: WWW/HTTP",
]
dependencies = [
- "starlette>=0.37.2,<0.38.0",
+ "starlette>=0.37.2,<0.39.0",
"pydantic>=1.7.4,!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0",
"typing-extensions>=4.8.0",
]