Accepting request 1093963 from devel:languages:python

- update to 0.97.0: 
  * Features
    - Add support for dependencies in WebSocket routes.
    - Add exception handler for WebSocketRequestValidationError 
      (which also allows to override it).
  * Refactors
    - Upgrade and fully migrate to Ruff, remove isort, includes a 
      couple of tweaks suggested by the new version of Ruff.
    - Update internal type annotations and upgrade mypy. 
    - Simplify AsyncExitStackMiddleware as without Python 3.6 
      AsyncExitStack is always available.
  * Upgrades
    - Upgrade Black.

OBS-URL: https://build.opensuse.org/request/show/1093963
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2023-06-21 20:37:02 +00:00 committed by Git OBS Bridge
commit 8280d42483
4 changed files with 21 additions and 4 deletions

View File

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

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

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Tue Jun 20 10:11:51 UTC 2023 - David Anes <david.anes@suse.com>
- update to 0.97.0:
* Features
- Add support for dependencies in WebSocket routes.
- Add exception handler for WebSocketRequestValidationError
(which also allows to override it).
* Refactors
- Upgrade and fully migrate to Ruff, remove isort, includes a
couple of tweaks suggested by the new version of Ruff.
- Update internal type annotations and upgrade mypy.
- Simplify AsyncExitStackMiddleware as without Python 3.6
AsyncExitStack is always available.
* Upgrades
- Upgrade Black.
-------------------------------------------------------------------
Sun Jun 11 11:52:48 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -19,7 +19,7 @@
# Keep extra test requirements out of Ring1
%bcond_with ringdisabled
Name: python-fastapi
Version: 0.96.1
Version: 0.97.0
Release: 0
Summary: FastAPI framework
License: MIT