gnu: python-starlette: Update to 0.25.0.

* gnu/packages/python-web.scm (python-starlette): Update to 0.25.0.
[source]: Switch to git-fetch and git-reference.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-hatchling, python-httpx, python-pytest, and
python-typing-extensions-next.
This commit is contained in:
Liliana Marie Prikler 2023-03-18 08:48:57 +01:00 committed by Ricardo Wurmus
parent a759cbffaf
commit 851199ef57
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -8244,14 +8244,17 @@ (define-public python-sendgrid
(define-public python-starlette (define-public python-starlette
(package (package
(name "python-starlette") (name "python-starlette")
(version "0.20.4") (version "0.25.0")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "starlette" version)) (uri (git-reference
(url "https://github.com/encode/starlette")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"112hmwk4fh4dl21nlr2xd37h43xzxpjxfnic7v7fz3wr5w9g7z22")))) "1mkkj15lphgycnp51dnrfxbyrx3dicjdcpsqvwc7yw55zyih6h5k"))))
(build-system python-build-system) (build-system pyproject-build-system)
(propagated-inputs (list python-anyio (propagated-inputs (list python-anyio
python-typing-extensions python-typing-extensions
;; [all] extra dependencies: ;; [all] extra dependencies:
@ -8260,6 +8263,10 @@ (define-public python-starlette
python-multipart python-multipart
python-pyyaml python-pyyaml
python-requests)) python-requests))
(native-inputs (list python-hatchling
python-httpx
python-pytest
python-typing-extensions))
(home-page "https://github.com/encode/starlette") (home-page "https://github.com/encode/starlette")
(synopsis "Little ASGI library") (synopsis "Little ASGI library")
(description (description