14
0
Files
python-fastapi/allow-starlette-0.38.patch
Steve Kowalik f3f8a9b03a - Update to 0.115.12:
* Fix convert_underscores=False for header Pydantic models.
  * Add docs examples and tests (support) for Annotated custom validations,
    like AfterValidator.
  * Update internal annotation usage for compatibility with Pydantic 2.11.
  * Ensure that HTTPDigest only raises an exception when auto_error is True.
- Drop remove-classifiers.patch, no longer required.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=90
2025-05-01 05:54:46 +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",
]