From ad0ebf3f6ea13ef873a51af24e4fa748857a5aec3cb265113ffa050ead76ab1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 26 Sep 2023 16:49:04 +0000 Subject: [PATCH 1/2] Accepting request 1113613 from home:mimi_vx:branches:devel:languages:python - update to 0.103.1 * dd support for openapi_examples in all FastAPI parameters. * Refactor tests for new Pydantic 2.2.1 * Add ResponseValidationError printable details, to show up in server error logs. * Replace MultHostUrl to AnyUrl for compatibility with older versions of Pydantic v1. * Support for Pydantic v2 OBS-URL: https://build.opensuse.org/request/show/1113613 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=50 --- fastapi-0.103.1.tar.gz | 3 +++ fastapi-0.98.0.tar.gz | 3 --- python-fastapi.changes | 10 ++++++++++ python-fastapi.spec | 5 +++-- 4 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 fastapi-0.103.1.tar.gz delete mode 100644 fastapi-0.98.0.tar.gz diff --git a/fastapi-0.103.1.tar.gz b/fastapi-0.103.1.tar.gz new file mode 100644 index 0000000..d45de4d --- /dev/null +++ b/fastapi-0.103.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:345844e6a82062f06a096684196aaf96c1198b25c06b72c1311b882aa2d8a35d +size 11180621 diff --git a/fastapi-0.98.0.tar.gz b/fastapi-0.98.0.tar.gz deleted file mode 100644 index 1832b7a..0000000 --- a/fastapi-0.98.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0d3c18886f652038262b5898fec6b09f4ca92ee23e9d9b1d1d24e429f84bf27b -size 10373634 diff --git a/python-fastapi.changes b/python-fastapi.changes index 4a42893..e723c44 100644 --- a/python-fastapi.changes +++ b/python-fastapi.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Sep 26 07:23:15 UTC 2023 - Ondřej Súkup + +- update to 0.103.1 + * dd support for openapi_examples in all FastAPI parameters. + * Refactor tests for new Pydantic 2.2.1 + * Add ResponseValidationError printable details, to show up in server error logs. + * Replace MultHostUrl to AnyUrl for compatibility with older versions of Pydantic v1. + * Support for Pydantic v2 + ------------------------------------------------------------------- Sun Jun 25 17:54:32 UTC 2023 - Dirk Müller diff --git a/python-fastapi.spec b/python-fastapi.spec index 5030c61..50a93cb 100644 --- a/python-fastapi.spec +++ b/python-fastapi.spec @@ -19,7 +19,7 @@ # Keep extra test requirements out of Ring1 %bcond_with ringdisabled Name: python-fastapi -Version: 0.98.0 +Version: 0.103.1 Release: 0 Summary: FastAPI framework License: MIT @@ -41,9 +41,10 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module Flask >= 1.1.2} BuildRequires: %{python_module PyYAML >= 5.3.1} BuildRequires: %{python_module anyio >= 3.2.1} +BuildRequires: %{python_module dirty-equals} BuildRequires: %{python_module httpx >= 0.23.0} BuildRequires: %{python_module python-multipart >= 0.0.5} -BuildRequires: %{python_module sqlalchemy >= 1.3.18 with %python-sqlalchemy < 2.0} +BuildRequires: %{python_module sqlalchemy} BuildRequires: %{python_module trio} %if !%{with ringdisabled} BuildRequires: %{python_module aiosqlite} From 4f735f7c94d6b93eaa927a65c6ea78eb9478caf5c9c02fd2faab8946309cd673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sun, 1 Oct 2023 15:36:21 +0000 Subject: [PATCH 2/2] Accepting request 1114615 from home:mimi_vx:branches:devel:languages:python - update to 0.103.2 * support Pydantic2 2.4 OBS-URL: https://build.opensuse.org/request/show/1114615 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=51 --- fastapi-0.103.1.tar.gz | 3 --- fastapi-0.103.2.tar.gz | 3 +++ python-fastapi.changes | 6 ++++++ python-fastapi.spec | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) delete mode 100644 fastapi-0.103.1.tar.gz create mode 100644 fastapi-0.103.2.tar.gz diff --git a/fastapi-0.103.1.tar.gz b/fastapi-0.103.1.tar.gz deleted file mode 100644 index d45de4d..0000000 --- a/fastapi-0.103.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:345844e6a82062f06a096684196aaf96c1198b25c06b72c1311b882aa2d8a35d -size 11180621 diff --git a/fastapi-0.103.2.tar.gz b/fastapi-0.103.2.tar.gz new file mode 100644 index 0000000..578a5db --- /dev/null +++ b/fastapi-0.103.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75a11f6bfb8fc4d2bec0bd710c2d5f2829659c0e8c0afd5560fdda6ce25ec653 +size 11231158 diff --git a/python-fastapi.changes b/python-fastapi.changes index e723c44..e62be15 100644 --- a/python-fastapi.changes +++ b/python-fastapi.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Oct 1 15:35:20 UTC 2023 - Ondřej Súkup + +- update to 0.103.2 + * support Pydantic2 2.4 + ------------------------------------------------------------------- Tue Sep 26 07:23:15 UTC 2023 - Ondřej Súkup diff --git a/python-fastapi.spec b/python-fastapi.spec index 50a93cb..af576c2 100644 --- a/python-fastapi.spec +++ b/python-fastapi.spec @@ -19,7 +19,7 @@ # Keep extra test requirements out of Ring1 %bcond_with ringdisabled Name: python-fastapi -Version: 0.103.1 +Version: 0.103.2 Release: 0 Summary: FastAPI framework License: MIT @@ -44,7 +44,7 @@ BuildRequires: %{python_module anyio >= 3.2.1} BuildRequires: %{python_module dirty-equals} BuildRequires: %{python_module httpx >= 0.23.0} BuildRequires: %{python_module python-multipart >= 0.0.5} -BuildRequires: %{python_module sqlalchemy} +BuildRequires: %{python_module sqlalchemy < 2.0} BuildRequires: %{python_module trio} %if !%{with ringdisabled} BuildRequires: %{python_module aiosqlite}