From dc4c9d2452101faf36d3aa3f04e6871991c6f109a87a43963cd697ffb0b0e14c Mon Sep 17 00:00:00 2001 From: David Anes Date: Sat, 11 Feb 2023 11:52:31 +0000 Subject: [PATCH] Accepting request 1064385 from home:david.anes:branches:devel:languages:python OBS-URL: https://build.opensuse.org/request/show/1064385 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=25 --- fastapi-0.89.1.tar.gz | 3 --- fastapi-0.91.0.tar.gz | 3 +++ python-fastapi.changes | 45 ++++++++++++++++++++++++++++++++++++++++++ python-fastapi.spec | 4 ++-- 4 files changed, 50 insertions(+), 5 deletions(-) delete mode 100644 fastapi-0.89.1.tar.gz create mode 100644 fastapi-0.91.0.tar.gz diff --git a/fastapi-0.89.1.tar.gz b/fastapi-0.89.1.tar.gz deleted file mode 100644 index 1020ae4..0000000 --- a/fastapi-0.89.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:15d9271ee52b572a015ca2ae5c72e1ce4241dd8532a534ad4f7ec70c376a580f -size 9702353 diff --git a/fastapi-0.91.0.tar.gz b/fastapi-0.91.0.tar.gz new file mode 100644 index 0000000..ef95a7c --- /dev/null +++ b/fastapi-0.91.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff2fa93af3f2f982b07b5f96e8512565b3ef0e5f8f02469dbfd6bc27f6fd9a9e +size 9741123 diff --git a/python-fastapi.changes b/python-fastapi.changes index 4fb448d..83f2571 100644 --- a/python-fastapi.changes +++ b/python-fastapi.changes @@ -1,3 +1,48 @@ +------------------------------------------------------------------- +Fri Feb 10 18:09:02 UTC 2023 - David Anes + +- Update to 0.91.0: + * Upgrades + - Upgrade Starlette version to 0.24.0 and refactor internals for + compatibility. This can solve nuanced errors when using + middlewares. Before Starlette 0.24.0, a new instance of each + middleware class would be created when a new middleware was + added. That normally was not a problem, unless the middleware + class expected to be created only once, with only one + instance, that happened in some cases. This upgrade would + solve those cases. Now the middleware class instances are + created once, right before the first request (the first time + the app is called). If you depended on that previous behavior, + you might need to update your code. As always, make sure your + tests pass before merging the upgrade. + +- Update to 0.90.1: + * Upgrades + - Upgrade Starlette range to allow 0.23.1. + * Docs + - Tweak wording to clarify docs/en/docs/project-generation.md. + - Update Pydantic GitHub URLs. + - Add opinion from Cisco. + * Translations + - Add Russian translation for docs/ru/docs/tutorial/cookie-params.md + +- Update to 0.90.0: + * Upgrades + - Bump Starlette from 0.22.0 to 0.23.0. + * Docs + - Add article "Tortoise ORM / FastAPI 整合快速筆記" to External + Links. + - Update FastAPI People. + - Micro-tweak help docs. + - Update new issue chooser to direct to GitHub Discussions. + - Recommend GitHub Discussions for questions. + * Translations + - Add Russian translation for docs/ru/docs/tutorial/body-fields.md. + - Add Russian translation for docs/ru/docs/help-fastapi.md. + - Add Portuguese translation for docs/pt/docs/tutorial/static-files.md. + - Add Portuguese translation for docs/pt/docs/tutorial/encoder.md. + - Add Russian translation for docs/ru/docs/contributing.md. + ------------------------------------------------------------------- Thu Jan 12 18:47:42 UTC 2023 - David Anes diff --git a/python-fastapi.spec b/python-fastapi.spec index 8625b6a..31d3995 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.89.1 +Version: 0.91.0 Release: 0 Summary: FastAPI framework License: MIT @@ -33,7 +33,7 @@ BuildRequires: %{python_module starlette >= 0.22.0} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pydantic >= 1.8.2 -Requires: python-starlette >= 0.22.0 +Requires: python-starlette >= 0.24.0 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pytest}