From db7c878a9af47d3878b6713eb38daf8087f29ee50fab7666d05579eb0872bbe3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 21 Nov 2024 08:54:16 +0000 Subject: [PATCH] - update to 0.115.5: * Update internal checks to support Pydantic 2.10. * Fix error in `docs/en/docs/tutorial/middleware.md`. - update to 0.115.4: * Update logic to import and check `python-multipart` for compatibility with newer version. - update to 0.115.3: * Upgrade Starlette to `>=0.40.0,<0.42.0`. * Fix broken link in docs. - drop allow-new-starlette.patch (obsolete) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=82 --- allow-new-starlette.patch | 13 ------------- fastapi-0.115.2.tar.gz | 3 --- fastapi-0.115.5.tar.gz | 3 +++ python-fastapi.changes | 14 ++++++++++++++ python-fastapi.spec | 8 +++----- 5 files changed, 20 insertions(+), 21 deletions(-) delete mode 100644 allow-new-starlette.patch delete mode 100644 fastapi-0.115.2.tar.gz create mode 100644 fastapi-0.115.5.tar.gz diff --git a/allow-new-starlette.patch b/allow-new-starlette.patch deleted file mode 100644 index c5da5f3..0000000 --- a/allow-new-starlette.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: fastapi-0.115.2/pyproject.toml -=================================================================== ---- fastapi-0.115.2.orig/pyproject.toml -+++ fastapi-0.115.2/pyproject.toml -@@ -43,7 +43,7 @@ classifiers = [ - "Topic :: Internet :: WWW/HTTP", - ] - dependencies = [ -- "starlette>=0.37.2,<0.41.0", -+ "starlette>=0.37.2,<0.41.1", - "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", - ] diff --git a/fastapi-0.115.2.tar.gz b/fastapi-0.115.2.tar.gz deleted file mode 100644 index f4f3eec..0000000 --- a/fastapi-0.115.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3995739e0b09fa12f984bce8fa9ae197b35d433750d3d312422d846e283697ee -size 299968 diff --git a/fastapi-0.115.5.tar.gz b/fastapi-0.115.5.tar.gz new file mode 100644 index 0000000..d049b37 --- /dev/null +++ b/fastapi-0.115.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e7a4d0dc0d01c68df21887cce0945e72d3c48b9f4f79dfe7a7d53aa08fbb289 +size 301047 diff --git a/python-fastapi.changes b/python-fastapi.changes index e7ba0d9..afba38b 100644 --- a/python-fastapi.changes +++ b/python-fastapi.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Thu Nov 21 08:52:11 UTC 2024 - Dirk Müller + +- update to 0.115.5: + * Update internal checks to support Pydantic 2.10. + * Fix error in `docs/en/docs/tutorial/middleware.md`. +- update to 0.115.4: + * Update logic to import and check `python-multipart` for + compatibility with newer version. +- update to 0.115.3: + * Upgrade Starlette to `>=0.40.0,<0.42.0`. + * Fix broken link in docs. +- drop allow-new-starlette.patch (obsolete) + ------------------------------------------------------------------- Thu Nov 7 09:16:23 UTC 2024 - Nico Krapp diff --git a/python-fastapi.spec b/python-fastapi.spec index cdcc42d..ae00cce 100644 --- a/python-fastapi.spec +++ b/python-fastapi.spec @@ -20,7 +20,7 @@ %bcond_with ringdisabled %{?sle15_python_module_pythons} Name: python-fastapi -Version: 0.115.2 +Version: 0.115.5 Release: 0 Summary: FastAPI framework License: MIT @@ -28,18 +28,16 @@ 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-OPENSUSE Allow new starlette -Patch1: allow-new-starlette.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.41.1} +BuildRequires: %{python_module starlette >= 0.40.0 with %python-starlette < 0.42.0} 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.41.1) +Requires: (python-starlette >= 0.40.0 with python-starlette < 0.42.0) Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch