guix-commits
[Top][All Lists]
Advanced

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

06/15: gnu: python-requests: Remove unnecessary input.


From: guix-commits
Subject: 06/15: gnu: python-requests: Remove unnecessary input.
Date: Sun, 13 Feb 2022 09:18:12 -0500 (EST)

mbakke pushed a commit to branch staging
in repository guix.

commit 3f571aa4e496acbe221907d837dabf8e1c55d4c2
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Jan 23 18:15:46 2022 +0100

    gnu: python-requests: Remove unnecessary input.
    
    * gnu/packages/python-web.scm (python-requests)[propagated-inputs]: Remove
    PYTHON-CHARDET.
    (python2-requests)[propagated-inputs]: Add PYTHON2-CHARDET.
---
 gnu/packages/python-web.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1fef103ffe..ffb899ccd2 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2541,8 +2541,10 @@ APIs.")
                "0qcsbi919d689xqlgyhw9zkppp1fs6k09wwffa3ri6d8smpwbmv8"))))
     (build-system python-build-system)
     (propagated-inputs
-     (list python-certifi python-chardet python-charset-normalizer
-           python-idna python-urllib3))
+     (list python-certifi
+           python-charset-normalizer
+           python-idna
+           python-urllib3))
     (arguments
      ;; FIXME: Some tests require network access.
      '(#:tests? #f))
@@ -2561,6 +2563,7 @@ than Python’s urllib2 library.")
       ;; The python-charset-normalizer dependency is necessary on Python 3
       ;; only.
       (propagated-inputs (modify-inputs (package-propagated-inputs base)
+                           (append python2-chardet)
                            (delete "python-charset-normalizer"))))))
 
 (define-public python-requests-unixsocket



reply via email to

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