guix-commits
[Top][All Lists]
Advanced

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

141/242: gnu: Add python-httpx-bootstrap.


From: guix-commits
Subject: 141/242: gnu: Add python-httpx-bootstrap.
Date: Thu, 12 May 2022 14:14:21 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit ef370c850115bcb5f158d4ac1bc386c3df9f7af1
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 18 00:10:28 2022 -0400

    gnu: Add python-httpx-bootstrap.
    
    * gnu/packages/python-web.scm (python-httpx-bootstrap): New variable.
---
 gnu/packages/python-web.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 28c2ae9b13..1aa5342e8d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5412,6 +5412,17 @@ Plus all the standard features of requests:
 @end itemize")
     (license license:bsd-3)))
 
+;;; Variant used to break a cycle with python-uvicorn.
+(define-public python-httpx-bootstrap
+  (hidden-package
+   (package/inherit python-httpx
+     (name "python-httpx-bootstrap")
+     (arguments (list #:tests? #f))
+     (native-inputs '())
+     (propagated-inputs
+      (modify-inputs (package-propagated-inputs python-httpx)
+        (replace "python-httpcore"  python-httpcore-bootstrap))))))
+
 (define-public python-wsgiprox
   (package
     (name "python-wsgiprox")



reply via email to

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