Accepting request 1225489 from devel:languages:python

- 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/request/show/1225489
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=37
This commit is contained in:
Ana Guerrero 2024-11-21 14:13:35 +00:00 committed by Git OBS Bridge
commit 0ec657bb58
5 changed files with 20 additions and 21 deletions

View File

@ -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",
]

BIN
fastapi-0.115.2.tar.gz (Stored with Git LFS)

Binary file not shown.

3
fastapi-0.115.5.tar.gz Normal file
View File

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Nov 21 08:52:11 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <nico.krapp@suse.com>

View File

@ -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