- Update to 0.95.1:

* Fix using Annotated in routers or path operations decorated multiple
    times.
- Add patch remove-classifiers.patch:
  * Remove unknown classifiers.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=35
This commit is contained in:
Steve Kowalik 2023-04-14 04:24:38 +00:00 committed by Git OBS Bridge
parent a8a3e16ea7
commit 2cfb93d68a
5 changed files with 28 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:99d4fdb10e9dd9a24027ac1d0bd4b56702652056ca17a6c8721eec4ad2f14e18
size 9778574

BIN
fastapi-0.95.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Apr 14 04:20:29 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.95.1:
* Fix using Annotated in routers or path operations decorated multiple
times.
- Add patch remove-classifiers.patch:
* Remove unknown classifiers.
-------------------------------------------------------------------
Mon Mar 20 11:52:11 UTC 2023 - David Anes <david.anes@suse.com>

View File

@ -19,13 +19,14 @@
# Keep extra test requirements out of Ring1
%bcond_with ringdisabled
Name: python-fastapi
Version: 0.95.0
Version: 0.95.1
Release: 0
Summary: FastAPI framework
License: MIT
Group: Development/Languages/Python
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
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pydantic >= 1.8.2}

13
remove-classifiers.patch Normal file
View File

@ -0,0 +1,13 @@
Index: fastapi-0.95.1/pyproject.toml
===================================================================
--- fastapi-0.95.1.orig/pyproject.toml
+++ fastapi-0.95.1/pyproject.toml
@@ -27,8 +27,6 @@ classifiers = [
"Environment :: Web Environment",
"Framework :: AsyncIO",
"Framework :: FastAPI",
- "Framework :: Pydantic",
- "Framework :: Pydantic :: 1",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",