Sync from SUSE:SLFO:Main python-fastapi revision ef3caa0a37a2e584f0431ba50fddee66
This commit is contained in:
parent
6950ca8cbb
commit
28a90f3383
@ -1,22 +0,0 @@
|
|||||||
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",
|
|
||||||
]
|
|
BIN
fastapi-0.112.0.tar.gz
(Stored with Git LFS)
BIN
fastapi-0.112.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
fastapi-0.114.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
fastapi-0.114.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 20 08:05:32 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.114.2:
|
||||||
|
* Fix form field regression with alias.
|
||||||
|
* Improve performance in request body parsing with a cache for internal
|
||||||
|
model fields.
|
||||||
|
* Add support for Pydantic models in Form parameters.
|
||||||
|
* Fix allow_inf_nan option for Param and Body classes.
|
||||||
|
* Ensure that app.include_router merges nested lifespans.
|
||||||
|
* Allow Starlette 0.38.x, update the pin to >=0.37.2,<0.39.0
|
||||||
|
- Drop patch allow-starlette-0.38.patch, included upstream.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 14 02:13:46 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
Wed Aug 14 02:13:46 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
%bcond_with ringdisabled
|
%bcond_with ringdisabled
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-fastapi
|
Name: python-fastapi
|
||||||
Version: 0.112.0
|
Version: 0.114.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: FastAPI framework
|
Summary: FastAPI framework
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -28,8 +28,6 @@ URL: https://github.com/tiangolo/fastapi
|
|||||||
Source: https://files.pythonhosted.org/packages/source/f/fastapi/fastapi-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/f/fastapi/fastapi-%{version}.tar.gz
|
||||||
# PATCH-FIX-OPENSUSE Remove two unknown classifiers
|
# PATCH-FIX-OPENSUSE Remove two unknown classifiers
|
||||||
Patch0: remove-classifiers.patch
|
Patch0: remove-classifiers.patch
|
||||||
# PATCH-FIX-UPSTREAM gh#fastapi/fastapi#11876
|
|
||||||
Patch1: allow-starlette-0.38.patch
|
|
||||||
BuildRequires: %{python_module hatchling}
|
BuildRequires: %{python_module hatchling}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pydantic-settings >= 2.0.0}
|
BuildRequires: %{python_module pydantic-settings >= 2.0.0}
|
||||||
@ -48,13 +46,13 @@ BuildRequires: %{python_module pdm-backend}
|
|||||||
BuildRequires: %{python_module Flask >= 1.1.2}
|
BuildRequires: %{python_module Flask >= 1.1.2}
|
||||||
BuildRequires: %{python_module PyJWT}
|
BuildRequires: %{python_module PyJWT}
|
||||||
BuildRequires: %{python_module PyYAML >= 5.3.1}
|
BuildRequires: %{python_module PyYAML >= 5.3.1}
|
||||||
|
BuildRequires: %{python_module SQLAlchemy}
|
||||||
BuildRequires: %{python_module anyio >= 3.2.1}
|
BuildRequires: %{python_module anyio >= 3.2.1}
|
||||||
BuildRequires: %{python_module coverage}
|
BuildRequires: %{python_module coverage}
|
||||||
BuildRequires: %{python_module dirty-equals}
|
BuildRequires: %{python_module dirty-equals}
|
||||||
BuildRequires: %{python_module httpx >= 0.23.0}
|
BuildRequires: %{python_module httpx >= 0.23.0}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module python-multipart >= 0.0.7}
|
BuildRequires: %{python_module python-multipart >= 0.0.7}
|
||||||
BuildRequires: %{python_module sqlalchemy < 2.0}
|
|
||||||
BuildRequires: %{python_module trio}
|
BuildRequires: %{python_module trio}
|
||||||
%if !%{with ringdisabled}
|
%if !%{with ringdisabled}
|
||||||
BuildRequires: %{python_module aiosqlite}
|
BuildRequires: %{python_module aiosqlite}
|
||||||
|
Loading…
Reference in New Issue
Block a user