[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
104/361: gnu: python-requests: Update to 2.31.0.
From: |
guix-commits |
Subject: |
104/361: gnu: python-requests: Update to 2.31.0. |
Date: |
Thu, 21 Nov 2024 06:28:59 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit ac429e66753d20978a491566b591695ea28b977e
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 e6d93b6c4f..5d3bc03d95 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3674,23 +3674,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
- 215/361: gnu: python-matplotlib: Ignore failing tests., (continued)
- 215/361: gnu: python-matplotlib: Ignore failing tests., guix-commits, 2024/11/21
- 217/361: gnu: python-qemu-qmp: Move to pyproject-build-system., guix-commits, 2024/11/21
- 216/361: gnu: python-qemu-qmp: Improve package style., guix-commits, 2024/11/21
- 29/361: gnu: python-argcomplete: Update to 3.2.2., guix-commits, 2024/11/21
- 31/361: gnu: python-prompt-toolkit: Update to 3.0.43., guix-commits, 2024/11/21
- 228/361: gnu: python-automat: Update to 22.10.0., guix-commits, 2024/11/21
- 36/361: gnu: python-readme-renderer: Adjust package style., guix-commits, 2024/11/21
- 42/361: gnu: python-pynacl: Add missing inputs., guix-commits, 2024/11/21
- 51/361: gnu: python-partd: Add missing input., guix-commits, 2024/11/21
- 55/361: gnu: python-pyls-black: Add missing inputs., guix-commits, 2024/11/21
- 104/361: gnu: python-requests: Update to 2.31.0.,
guix-commits <=
- 133/361: gnu: python-ipykernel: Update to 6.29.4., guix-commits, 2024/11/21
- 293/361: gnu: beets-bandcamp: Add maintenance note., guix-commits, 2024/11/21
- 294/361: gnu: Remove python-pyproject-metadata-0.7., guix-commits, 2024/11/21
- 305/361: gnu: python-pexpect: Update to 4.9.0., guix-commits, 2024/11/21
- 27/361: gnu: python-lightning-cloud: Disable tests., guix-commits, 2024/11/21
- 34/361: gnu: python-cleo: Update to 2.1.0., guix-commits, 2024/11/21
- 45/361: gnu: python-mistletoe: Add missing inputs., guix-commits, 2024/11/21
- 52/361: gnu: python-pyproject-metadata: Disable two tests., guix-commits, 2024/11/21
- 53/361: gnu: python-dbus-python: Add missing input., guix-commits, 2024/11/21
- 56/361: guix: toml: Fix parsing empty strings in arrays., guix-commits, 2024/11/21