From 2cfb93d68a08c104ae2985d58b495c52dd7e399f64bf9f812ca1019f16167849 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 14 Apr 2023 04:24:38 +0000 Subject: [PATCH] - 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 --- fastapi-0.95.0.tar.gz | 3 --- fastapi-0.95.1.tar.gz | 3 +++ python-fastapi.changes | 9 +++++++++ python-fastapi.spec | 5 +++-- remove-classifiers.patch | 13 +++++++++++++ 5 files changed, 28 insertions(+), 5 deletions(-) delete mode 100644 fastapi-0.95.0.tar.gz create mode 100644 fastapi-0.95.1.tar.gz create mode 100644 remove-classifiers.patch diff --git a/fastapi-0.95.0.tar.gz b/fastapi-0.95.0.tar.gz deleted file mode 100644 index ce6b93a..0000000 --- a/fastapi-0.95.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:99d4fdb10e9dd9a24027ac1d0bd4b56702652056ca17a6c8721eec4ad2f14e18 -size 9778574 diff --git a/fastapi-0.95.1.tar.gz b/fastapi-0.95.1.tar.gz new file mode 100644 index 0000000..5d257b3 --- /dev/null +++ b/fastapi-0.95.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9569f0a381f8a457ec479d90fa01005cfddaae07546eb1f3fa035bc4797ae7d5 +size 10045151 diff --git a/python-fastapi.changes b/python-fastapi.changes index fda5acb..6976f53 100644 --- a/python-fastapi.changes +++ b/python-fastapi.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Apr 14 04:20:29 UTC 2023 - Steve Kowalik + +- 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 diff --git a/python-fastapi.spec b/python-fastapi.spec index 7b062a5..af52787 100644 --- a/python-fastapi.spec +++ b/python-fastapi.spec @@ -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} diff --git a/remove-classifiers.patch b/remove-classifiers.patch new file mode 100644 index 0000000..f73c705 --- /dev/null +++ b/remove-classifiers.patch @@ -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",