[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
155/455: gnu: python-fastapi: Update to 0.115.6.
From: |
guix-commits |
Subject: |
155/455: gnu: python-fastapi: Update to 0.115.6. |
Date: |
Mon, 20 Jan 2025 15:46:54 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit c8d727e10d14324952fabeb8c096758afb806e08
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Jan 3 23:27:13 2025 +0100
gnu: python-fastapi: Update to 0.115.6.
* gnu/packages/python-web.scm (python-fastapi): Update to 0.115.6.
[arguments]: Update list of disabled tests.
[propagated-inputs]: Add python-fastapi-cli, python-pydantic-2,
and python-pydantic-settings; remove python-pydantic.
[native-inputs]: Delete python-databases, python-isort, python-jose,
python-mypy, python-hatchling, python-passlib, python-peewee,
python-types-orjson, and python-types-ujson.
Change-Id: Id2ea9e1376dbfb654a62e6b8218c49adeda68014
---
gnu/packages/python-web.scm | 47 +++++++++++++++++++++++++--------------------
1 file changed, 26 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 00d70e390d..f6b293e134 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -9849,43 +9849,48 @@ and FastAPI.")
(define-public python-fastapi
(package
(name "python-fastapi")
- (version "0.92.0")
+ (version "0.115.6")
(source (origin
(method url-fetch)
(uri (pypi-uri "fastapi" version))
(sha256
(base32
- "1pm4p5i9h732f0qag85yd9ngjz8x9bhs3fyk2j861cn8s9dhyfh2"))))
+ "0m36nyldk0640mbsysm446bz6rfynpjsm5lajmra8kn1vmx6zi4y"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- ;; The test_create_user tests fail with a 400 error: "Email already
registered".
- '(list
"--ignore=docs_src/sql_databases/sql_app_py310/tests/test_sql_app.py"
-
"--ignore=docs_src/sql_databases/sql_app_py39/tests/test_sql_app.py")))
+ ;; Argument() missing 1 required positional argument: 'default'
+ '(list "--ignore=tests/test_fastapi_cli.py"
+ ;; cannot import name 'StaticPool' from 'sqlalchemy'
+ "--ignore-glob=tests/test_tutorial/*"
+ ;; FIXME: we have python-multipart, but these tests fail to find
+ ;; it.
+ "--ignore=tests/test_multipart_installation.py"
+ ;; FIXME: Unclear why these 8 tests fail.
+ "--ignore=tests/test_dependency_contextmanager.py")))
(propagated-inputs (list python-email-validator
+ python-fastapi-cli
python-httpx
python-itsdangerous
python-jinja2
python-multipart
python-orjson
- python-starlette
- python-pydantic
+ python-pydantic-2
+ python-pydantic-settings
python-pyyaml
- python-uvicorn
- python-ujson))
- (native-inputs (list python-databases
- python-flask
- python-hatchling
- python-isort
- python-jose
- python-mypy
- python-passlib
- python-peewee
- python-pytest
- python-sqlalchemy
- python-types-orjson
- python-types-ujson))
+ python-starlette
+ python-typing-extensions
+ python-ujson
+ python-uvicorn))
+ (native-inputs
+ (list python-dirty-equals
+ python-flask
+ python-inline-snapshot
+ python-pdm-backend
+ python-pyjwt
+ python-pytest
+ python-sqlalchemy))
(home-page "https://github.com/tiangolo/fastapi")
(synopsis "Web framework based on type hints")
(description "FastAPI provides a web API framework based on pydantic and
- 151/455: gnu: Add python-rich-toolkit., (continued)
- 151/455: gnu: Add python-rich-toolkit., guix-commits, 2025/01/20
- 141/455: gnu: python-pillow-simd: Update to 10.0.1.post0., guix-commits, 2025/01/20
- 183/455: gnu: python-cattrs: Disable failing test., guix-commits, 2025/01/20
- 153/455: gnu: Add python-fastapi-cli., guix-commits, 2025/01/20
- 150/455: gnu: python-pydantic-2: Update to 2.10.4., guix-commits, 2025/01/20
- 176/455: gnu: python-flask-login: Update to 0.6.3., guix-commits, 2025/01/20
- 158/455: gnu: python-lightning-cloud: Update to 0.5.70., guix-commits, 2025/01/20
- 194/455: gnu: python-resolvelib: Update to 1.1.0b1., guix-commits, 2025/01/20
- 181/455: gnu: python-locust: Disable some more tests., guix-commits, 2025/01/20
- 157/455: gnu: python-pytorch-lightning: Update to 2.5.0.post0., guix-commits, 2025/01/20
- 155/455: gnu: python-fastapi: Update to 0.115.6.,
guix-commits <=
- 162/455: gnu: python-starsessions: Disable one more test., guix-commits, 2025/01/20
- 142/455: gnu: python-imageio-ffmpeg: Update to 0.5.1., guix-commits, 2025/01/20
- 192/455: gnu: python-pytest-tornado5: Add missing inputs., guix-commits, 2025/01/20
- 179/455: gnu: python-flask-assets: Update to 2.1.0-1.62efd23., guix-commits, 2025/01/20
- 205/455: gnu: python-scanpy: Patch anndata version check., guix-commits, 2025/01/20
- 182/455: gnu: python-mudata: Update to 0.3.1., guix-commits, 2025/01/20
- 203/455: gnu: python-fastcluster: Add missing inputs., guix-commits, 2025/01/20
- 204/455: gnu: python-metacells: Add missing input., guix-commits, 2025/01/20
- 216/455: gnu: python-mathics-pygments: Add missing inputs., guix-commits, 2025/01/20
- 197/455: gnu: python-scikit-learn-extra: Disable one test., guix-commits, 2025/01/20