[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
42/46: gnu: python-requests: Update to 2.31.0.
From: |
guix-commits |
Subject: |
42/46: gnu: python-requests: Update to 2.31.0. |
Date: |
Tue, 7 May 2024 18:34:04 -0400 (EDT) |
rekado pushed a commit to branch python-team
in repository guix.
commit 086751636886b43f047f36d8788e9c445dfe19d3
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 8 00:24:57 2024 +0200
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
---
gnu/packages/python-web.scm | 26 +++++++++++++++++++-------
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 010fa1f984..e6855f4d8a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3598,23 +3598,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
- 24/46: gnu: python-jupyter-core: Update to 5.7.2., (continued)
- 24/46: gnu: python-jupyter-core: Update to 5.7.2., guix-commits, 2024/05/07
- 26/46: gnu: python-ipykernel: Set environment variable., guix-commits, 2024/05/07
- 28/46: gnu: python-nbconvert: Use pyproject-build-system., guix-commits, 2024/05/07
- 31/46: gnu: python-json-logger: Update to 2.0.7., guix-commits, 2024/05/07
- 39/46: gnu: python-openapi-schema-validator: Update to 0.6.2., guix-commits, 2024/05/07
- 45/46: gnu: Add python-jsonschema-path., guix-commits, 2024/05/07
- 22/46: gnu: python-jupyter-kernel-mgmt: Use Tornado 6., guix-commits, 2024/05/07
- 12/46: gnu: Add python-notebook-shim., guix-commits, 2024/05/07
- 37/46: gnu: python-jupyter-server-mathjax: Update to 0.2.6., guix-commits, 2024/05/07
- 40/46: gnu: python-pydata-sphinx-theme: Disable one test., guix-commits, 2024/05/07
- 42/46: gnu: python-requests: Update to 2.31.0.,
guix-commits <=
- 41/46: gnu: python-lazy-object-proxy: Update to 1.10.0., guix-commits, 2024/05/07
- 43/46: gnu: python-sparqlkernel: Patch install script., guix-commits, 2024/05/07
- 27/46: gnu: python-nbformat: Update to 5.10.4., guix-commits, 2024/05/07
- 36/46: gnu: python-jupyter-server: Update to 2.14.0., guix-commits, 2024/05/07
- 46/46: gnu: python-openapi-spec-validator: Update to 0.7.1., guix-commits, 2024/05/07
- 44/46: gnu: Add python-pathable., guix-commits, 2024/05/07
- 25/46: gnu: python-jupyter-client: Set environment variable., guix-commits, 2024/05/07
- 32/46: gnu: python-jsonpointer: Update to 1.14., guix-commits, 2024/05/07
- 34/46: gnu: Add python-jupyter-events., guix-commits, 2024/05/07