summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-03-23 23:33:55 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-05-18 14:36:24 +0100
commitabab7fc34d93e29cf776d563e06a8cfa783084be (patch)
tree92b767e2c1f28d572b2a3e52c63d366daf6921cd /gnu/packages/python-web.scm
parentf64e651a000a426891efc91a692a8ee473ddf4b1 (diff)
gnu: python-parfive: Update to 2.3.1.
* gnu/packages/python-web.scm (python-parfive): Update to 2.3.1. [source]: Switch to git-fetch. [arguments] <test-flags>: Skip one more test. [propagated-inputs]: Remove python-aiofiles. [native-inputs]: Remove python-wheel; add python-aiofiles. Change-Id: Ia32c1e070ebc19ed1a2f8d442b4bda656b845a8b
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm28
1 files changed, 16 insertions, 12 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4a743ab1e0..cb09eee27c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3669,13 +3669,16 @@ program would be built.")
(define-public python-parfive
(package
(name "python-parfive")
- (version "2.2.0")
+ (version "2.3.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "parfive" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Cadair/parfive")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "16rf02jhjr9lij8s2gqmvs01vx8kiv9f2535dnnziqwqv14d21yy"))))
+ (base32 "09kkh7kp9qy8m26zk6p7zc84yrc81pjgsi594kaa1v1n83mprl4b"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -3683,22 +3686,23 @@ program would be built.")
;; Disable tests requiring network access.
#~(list "-k" (string-join
(list "not test_ftp"
+ "test_ftp_http"
"test_ftp_pasv_command"
- "test_ftp_http")
+ "test_problematic_http_urls")
" and not "))))
(native-inputs
- (list python-pytest
+ (list python-aiofiles
+ python-pytest
python-pytest-asyncio
python-pytest-localserver
python-pytest-socket
python-setuptools
- python-setuptools-scm
- python-wheel))
+ python-setuptools-scm))
(propagated-inputs
- (list python-aiofiles
- python-aioftp
- python-aiohttp
- python-tqdm))
+ (list python-aiohttp
+ python-tqdm
+ ;; [optional]
+ python-aioftp))
(home-page "https://parfive.readthedocs.io/")
(synopsis "HTTP and FTP parallel file downloader")
(description