Accepting request 1064387 from devel:languages:python
- 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. OBS-URL: https://build.opensuse.org/request/show/1064387 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=12
This commit is contained in:
commit
2057fc9c74
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:15d9271ee52b572a015ca2ae5c72e1ce4241dd8532a534ad4f7ec70c376a580f
|
|
||||||
size 9702353
|
|
3
fastapi-0.91.0.tar.gz
Normal file
3
fastapi-0.91.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ff2fa93af3f2f982b07b5f96e8512565b3ef0e5f8f02469dbfd6bc27f6fd9a9e
|
||||||
|
size 9741123
|
@ -1,3 +1,48 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 10 18:09:02 UTC 2023 - David Anes <david.anes@suse.com>
|
||||||
|
|
||||||
|
- 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 <david.anes@suse.com>
|
Thu Jan 12 18:47:42 UTC 2023 - David Anes <david.anes@suse.com>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
# Keep extra test requirements out of Ring1
|
# Keep extra test requirements out of Ring1
|
||||||
%bcond_with ringdisabled
|
%bcond_with ringdisabled
|
||||||
Name: python-fastapi
|
Name: python-fastapi
|
||||||
Version: 0.89.1
|
Version: 0.91.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: FastAPI framework
|
Summary: FastAPI framework
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -33,7 +33,7 @@ BuildRequires: %{python_module starlette >= 0.22.0}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pydantic >= 1.8.2
|
Requires: python-pydantic >= 1.8.2
|
||||||
Requires: python-starlette >= 0.22.0
|
Requires: python-starlette >= 0.24.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
Loading…
Reference in New Issue
Block a user