From 3f571aa4e496acbe221907d837dabf8e1c55d4c2 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 23 Jan 2022 18:15:46 +0100 Subject: 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(-) (limited to 'gnu/packages/python-web.scm') 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 -- cgit v1.2.3