diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2026-02-22 20:43:08 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-18 14:36:01 +0100 |
| commit | 7593c109ddc69a4131338f828c2bb5abe0be0740 (patch) | |
| tree | 3dcaf8d47f3f431797255439bc6f238d995c3d56 /gnu/packages/python-web.scm | |
| parent | a7650633c037ed82ea8c3503771bb9dcb3a8bbb8 (diff) | |
gnu: python-fastapi: Update to 0.131.0.
* gnu/packages/python-web.scm (python-fastapi): Update to 0.131.0.
[native-inputs]: Remove python-sqlalchemy; add python-sqlalchemy-2.
[arguments]<#:test-backend>: Use 'custom.
<#:test-flags>: Update tests.
[home-page]: Update with redirect.
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7fcf8ee141..787754c1c5 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -13755,24 +13755,25 @@ Amazon S3 or any other external service.") (define-public python-fastapi (package (name "python-fastapi") - (version "0.128.0") + (version "0.131.0") (source (origin (method url-fetch) (uri (pypi-uri "fastapi" version)) (sha256 - (base32 "0nk4ybvzv3bcgv5plbg3infykp19p1wryhpy1zk6n2pirvhpkh8w")))) + (base32 "1zs80pz8p04akxxmyfihqgii1wjhhad6qx1cjfd8kqmya9g1acb5")))) (build-system pyproject-build-system) (arguments (list ;; tests: 1126 passed, 12 skipped, 2 deselected + #:test-backend #~'custom #:test-flags #~(list - ;; cannot import name 'StaticPool' from 'sqlalchemy' + ;; Cannot import 'scripts' with just 'pytest'. + "-m" "pytest" + ;; Needs strawberry and sqlmodel. "--ignore=tests/test_tutorial/" - ;; Some snapshots have incorrect values. - "--deselect=tests/test_schema_compat_pydantic_v2.py::test_openapi_schema" - ;; Argument() missing 1 required positional argument: 'default' + ;; Fails due to failure to capture stdout. "--ignore=tests/test_fastapi_cli.py"))) (native-inputs (list python-anyio @@ -13783,7 +13784,7 @@ Amazon S3 or any other external service.") ;; python-pwdlib python-pyjwt python-pytest - python-sqlalchemy + python-sqlalchemy-2 ;; python-sqlmodel python-types-orjson python-types-ujson)) @@ -13805,7 +13806,7 @@ Amazon S3 or any other external service.") python-pyyaml python-ujson python-uvicorn)) - (home-page "https://github.com/tiangolo/fastapi") + (home-page "https://github.com/fastapi/fastapi") (synopsis "Web framework based on type hints") (description "FastAPI provides a web API framework based on pydantic and starlette.") |
