summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-05-10 15:19:19 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-05-10 19:27:07 +0200
commit3f05f625ea3b03f8ac423083fb4f1192bb9e51d1 (patch)
tree7c7780800f50bc2c648a7711d899da86de83d8fe
parent463a59858538e2d226a7f6bd4007d02b86df3f71 (diff)
gnu: Add python-starlette-for-fastapi-0.88.
* gnu/packages/python-web.scm (python-starlette-for-fastapi-0.88): New variable.
-rw-r--r--gnu/packages/python-web.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 486414c3f1..f34e123d31 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8274,6 +8274,26 @@ SendGrid Web API v3 endpoints, including the new v3 /mail/send.")
Interface) framework/toolkit for building async web services in Python.")
(license license:bsd-3)))
+(define-public python-starlette-for-fastapi-0.88
+ (package
+ (inherit python-starlette)
+ (name "python-starlette")
+ (version "0.22.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
+ "0ybhcw80vj44p5b61kbm0jmw4lndm0dqsysi33rysnh20csqn8dz"))))
+ (arguments
+ (list
+ #:test-flags
+ ;; XXX: unclear why these tests fail with a decoding error.
+ '(list "-k" "not test_gzip_ignored_for_responses_with_encoding_set")))))
+
(define-public python-fastapi
(package
(name "python-fastapi")