guix-commits
[Top][All Lists]
Advanced

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

06/06: gnu: python-requests: Propagate required inputs.


From: guix-commits
Subject: 06/06: gnu: python-requests: Propagate required inputs.
Date: Fri, 1 Mar 2019 10:30:50 -0500 (EST)

mbakke pushed a commit to branch staging
in repository guix.

commit 85ef07c4b278200db7c396f4021146916588f2fb
Author: Marius Bakke <address@hidden>
Date:   Fri Mar 1 16:29:27 2019 +0100

    gnu: python-requests: Propagate required inputs.
    
    This is a follow-up to commit b5c2e7205177742f33b308a1590f279ce132d5b4.
    
    * gnu/packages/python-web.scm (python-requests)[propagated-inputs]: Add
    PYTHON-CERTIFI, PYTHON-CHARDET, PYTHON-IDNA, and PYTHON-URLLIB3.
    (python-urllib3)[native-inputs]: Remove (due to dependency cycle).
---
 gnu/packages/python-web.scm | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index eeca906..4b84594 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1285,8 +1285,12 @@ WebSocket usage in Python programs.")
              (sha256
               (base32
                "13jr0wkj9c2j8c0c8iaal9iivi0bpxghnsdn6lxcpnmc657q4ajh"))))
-    ;; TODO: unbundle urllib3 and chardet.
     (build-system python-build-system)
+    (propagated-inputs
+     `(("python-certifi" ,python-certifi)
+       ("python-chardet" ,python-chardet)
+       ("python-idna" ,python-idna)
+       ("python-urllib3" ,python-urllib3)))
     (arguments
      ;; FIXME: Some tests require network access.
      '(#:tests? #f))
@@ -1455,11 +1459,6 @@ authenticated session objects providing things like 
keep-alive.")
           "08lwd9f3hqznyf32vnzwvp87pchx062nkbgyrf67rwlkgj0jk5fy"))))
     (build-system python-build-system)
     (arguments `(#:tests? #f))
-    (native-inputs
-     `(;; some packages for tests
-       ("python-mock" ,python-mock)
-       ("python-pytest" ,python-pytest)
-       ("python-tornado" ,python-tornado)))
     (propagated-inputs
      `(;; These 5 inputs are used to build urrlib3[secure]
        ("python-certifi" ,python-certifi)



reply via email to

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