me
/
guix
Archived
1
0
Fork 0

gnu: Add python-requests 2.31.0.

This is the minimum required version in recent versions of yt-dlp.

* gnu/packages/python-web.scm (python-requests-next): New variable.

Change-Id: I825cb928297cddc2fbbca1ce5acdbf6cff276bbc
master
Leo Famulari 2024-06-18 21:09:43 -04:00
parent 66e9ce2bae
commit 190ca32d24
No known key found for this signature in database
GPG Key ID: 6AAC1963757F47FF
1 changed files with 26 additions and 0 deletions

View File

@ -3603,6 +3603,32 @@ APIs.")
than Pythons urllib2 library.") than Pythons urllib2 library.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public python-requests-next
(package
(name "python-requests")
(version "2.31.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "requests" version))
(sha256
(base32
"1qfidaynsrci4wymrw3srz8v1zy7xxpcna8sxpm91mwqixsmlb4l"))))
(build-system python-build-system)
(propagated-inputs
(list python-certifi
python-charset-normalizer
python-idna
python-urllib3))
(arguments
;; FIXME: Some tests require network access.
'(#:tests? #f))
(home-page "http://python-requests.org/")
(synopsis "Python HTTP library")
(description
"Requests is a Python HTTP client library. It aims to be easier to use
than Pythons urllib2 library.")
(license license:asl2.0)))
(define-public python-requests-kerberos (define-public python-requests-kerberos
(package (package
(name "python-requests-kerberos") (name "python-requests-kerberos")