gnu: python-requests-next: Inherit from python-requests.

* gnu/packages/python-web.scm (python-requests-next): Inherit from
python-requests.
[arguments] <tests?>: Enable them as all passed successfully.

Change-Id: Ic0d985f819444e0b01a843da94d874d16a742fb6
This commit is contained in:
Sharlatan Hellseher 2025-02-17 20:21:00 +00:00
parent a365261beb
commit eaa6f0d351
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4530,31 +4530,18 @@ than Pythons urllib2 library.")
(define-public python-requests-next
(package
(inherit python-requests)
(name "python-requests")
(version "2.32.3")
(source (origin
(method url-fetch)
(uri (pypi-uri "requests" version))
(sha256
(base32
"0q5742pnibwy74169kacin3dmqg9jzmzk7qab5aq5caffcbm8djm"))))
(build-system python-build-system)
(native-inputs
(list nss-certs-for-test))
(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)))
(source
(origin
(method url-fetch)
(uri (pypi-uri "requests" version))
(sha256
(base32 "0q5742pnibwy74169kacin3dmqg9jzmzk7qab5aq5caffcbm8djm"))))
(native-inputs
(modify-inputs (package-native-inputs python-requests)
(prepend nss-certs-for-test)))))
(define-public python-requests-kerberos
(package