From aeeab25023a6a58f42ef487dfaba701cfcaaa767 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Mon, 23 Mar 2026 23:33:55 +0000 Subject: [PATCH] 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] : Skip one more test. [propagated-inputs]: Remove python-aiofiles. [native-inputs]: Remove python-wheel; add python-aiofiles. Change-Id: Ia32c1e070ebc19ed1a2f8d442b4bda656b845a8b --- gnu/packages/python-web.scm | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 23f18ccbad..9bc7ca3ee7 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3674,13 +3674,16 @@ HTTP servers, RESTful APIs, and web services.") (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 @@ -3688,22 +3691,23 @@ HTTP servers, RESTful APIs, and web services.") ;; 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