forked from pool/python-fastapi
Accepting request 1193792 from devel:languages:python
- Add patch allow-starlette-0.38.patch: * Allow starlette 0.38. OBS-URL: https://build.opensuse.org/request/show/1193792 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=33
This commit is contained in:
commit
dc085a7292
22
allow-starlette-0.38.patch
Normal file
22
allow-starlette-0.38.patch
Normal file
@ -0,0 +1,22 @@
|
||||
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",
|
||||
]
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 14 02:13:46 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add patch allow-starlette-0.38.patch:
|
||||
* Allow starlette 0.38.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 8 09:01:36 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
@ -28,16 +28,18 @@ URL: https://github.com/tiangolo/fastapi
|
||||
Source: https://files.pythonhosted.org/packages/source/f/fastapi/fastapi-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE Remove two unknown classifiers
|
||||
Patch0: remove-classifiers.patch
|
||||
# PATCH-FIX-UPSTREAM gh#fastapi/fastapi#11876
|
||||
Patch1: allow-starlette-0.38.patch
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pydantic-settings >= 2.0.0}
|
||||
BuildRequires: %{python_module starlette >= 0.37.2 with %python-starlette < 0.38}
|
||||
BuildRequires: %{python_module starlette >= 0.37.2 with %python-starlette < 0.39}
|
||||
BuildRequires: %{python_module typing_extensions >= 4.8.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pydantic >= 1.8.2
|
||||
Requires: python-typing_extensions >= 4.8.0
|
||||
Requires: (python-starlette >= 0.37.2 with python-starlette < 0.38)
|
||||
Requires: (python-starlette >= 0.37.2 with python-starlette < 0.39)
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
|
Loading…
x
Reference in New Issue
Block a user