guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit badb43b8953f818ea9b6c2df2c0eecf8a7f4a0ac
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Nov 4 22:04:48 2026 +0000
gnu: python-starlette: Update to 1.10.0.
* gnu/packages/python-web.scm (python-starlette): Update to 1.10.0.
[arguments] <test-flags>: Ignore tests depending on httpx.
[propagated-inputs]: Remove python-requests; add
python-opentelemetry-api and python-httpx2.
[native-inputs]: Remove python-httpx and python-typing-extensions.
---
gnu/packages/python-web.scm | 53 +++++++++++++++++++++++++--------------------
1 file changed, 29 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9dd291560ff..9b88ac283b3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -15105,34 +15105,39 @@ seamlessly integrates with @code{urllib3} and
@code{requests}.")
(define-public python-starlette
(package
(name "python-starlette")
- (version "0.49.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/encode/starlette")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0w9cyaxpc2p99hqrfw164iypacx3i1gsmn2z0xywgd21alva82ji"))))
+ (version "1.10.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/encode/starlette")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18zx3zns22ciynlk2lal3fq1raz96kn72p05sq39fzfds29bcf7m"))))
(build-system pyproject-build-system)
- (propagated-inputs (list python-anyio
- python-typing-extensions
- ;; [all] extra dependencies:
- python-itsdangerous
- python-jinja2
- python-multipart
- python-pyyaml
- python-requests))
- (native-inputs (list python-hatchling
- python-httpx
- python-pytest
- python-typing-extensions))
+ (arguments
+ (list
+ ;; Drop dependency on httpx which is unmaintained.
+ #:test-flags #~(list "--ignore=tests/middleware/test_opentelemetry.py")))
+ (native-inputs
+ (list python-hatchling
+ python-pytest))
+ (propagated-inputs
+ (list python-anyio
+ python-typing-extensions
+ ;; [optinoal]
+ python-itsdangerous
+ python-jinja2
+ python-opentelemetry-api
+ python-multipart
+ python-pyyaml
+ python-httpx2))
(home-page "https://github.com/encode/starlette")
(synopsis "Little ASGI library")
(description
- "Starlette is a lightweight ASGI (Asynchronous Server Gateway
-Interface) framework/toolkit for building async web services in Python.")
+ "Starlette is a lightweight ASGI (Asynchronous Server Gateway Interface)
+framework/toolkit for building async web services in Python.")
(license license:bsd-3)))
;; A bare minimal package, mainly to use in tests and reduce closure size.