guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/17: gnu: Add python-starlette-for-fastapi-0.88.


From: guix-commits
Subject: 07/17: gnu: Add python-starlette-for-fastapi-0.88.
Date: Wed, 10 May 2023 12:23:48 -0400 (EDT)

rekado pushed a commit to branch wip-pytorch-lightning
in repository guix.

commit 92bf7c74cebc32b49cf68ab034f1ae32280348fd
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 10 15:19:19 2023 +0200

    gnu: Add python-starlette-for-fastapi-0.88.
    
    * gnu/packages/python-web.scm (python-starlette-for-fastapi-0.88): New 
variable.
---
 gnu/packages/python-web.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]