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