diff options
author | Ricardo Wurmus <[email protected]> | 2024-05-08 00:24:57 +0200 |
---|---|---|
committer | Sharlatan Hellseher <[email protected]> | 2024-12-13 20:18:42 +0000 |
commit | 2b211ddc8809bcda911082e043173468ab467a02 (patch) | |
tree | 5beedb0aa61005de0e08039be2a151d528e6157e /gnu/packages/python-web.scm | |
parent | 76fa5c09171ca0334ffc2e11835220e8164e5daa (diff) |
gnu: python-requests: Update to 2.31.0.
* gnu/packages/python-web.scm (python-requests): Update to 2.31.0.
[build-system]: Use pyproject-build-system.
[arguments]: Disable only some tests.
[native-inputs]: Add python-pip, python-pytest, python-pytest-mock,
python-setuptools, and python-wheel.
[home-page]: Update.
Change-Id: Ifb33b76393fc1e1ea21d7f22277c6b5e30e4bb1d
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r-- | gnu/packages/python-web.scm | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index c35faf7a9e..e41a60ab58 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3681,23 +3681,35 @@ APIs.") (define-public python-requests (package (name "python-requests") - (version "2.28.1") + (version "2.31.0") (source (origin (method url-fetch) (uri (pypi-uri "requests" version)) (sha256 (base32 - "10vrr7bijzrypvms3g2sgz8vya7f9ymmcv423ikampgy0aqrjmbw")))) - (build-system python-build-system) + "1qfidaynsrci4wymrw3srz8v1zy7xxpcna8sxpm91mwqixsmlb4l")))) + (build-system pyproject-build-system) + (arguments + (list #:test-flags + ;; These require internet access + '(list "--ignore=tests/test_requests.py" + "-k" (string-append "not test_use_proxy_from_environment" + " and not requests.sessions.Session" + " and not requests.models.PreparedRequest" + " and not requests.api.request") + "tests/"))) (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/") + (native-inputs + (list python-pip + python-pytest + python-pytest-mock + python-setuptools + python-wheel)) + (home-page "https://requests.readthedocs.io/") (synopsis "Python HTTP library") (description "Requests is a Python HTTP client library. It aims to be easier to use |