gnu: parfive: Update to 2.2.0.

* gnu/packages/python-web.scm (parfive): Update to 2.2.0.
[native-inputs]: Remove python-setuptools-scm; add python-setuptools-scm-next.

Change-Id: I1236f5e4a79e68314ea288eb8361c4f0d2addec6
This commit is contained in:
Sharlatan Hellseher 2025-05-12 20:12:33 +01:00
parent 269e090f64
commit 22a9f2dad1
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2341,32 +2341,37 @@ HTTP servers, RESTful APIs, and web services.")
(define-public parfive (define-public parfive
(package (package
(name "parfive") (name "parfive")
(version "2.1.0") (version "2.2.0")
(source (origin (source
(origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "parfive" version)) (uri (pypi-uri "parfive" version))
(sha256 (sha256
(base32 (base32 "16rf02jhjr9lij8s2gqmvs01vx8kiv9f2535dnnziqwqv14d21yy"))))
"13nw2y7wjzj6w049av6ff4d0zxgbhkrgck0xyh676c114hcv8v6d"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
;; Disable tests requiring network access.
#:test-flags #:test-flags
#~(list "-k" (string-append ;; Disable tests requiring network access.
"not test_ftp" #~(list "-k" (string-join
" and not test_ftp_pasv_command" (list "not test_ftp"
" and not test_ftp_http")))) "test_ftp_pasv_command"
(propagated-inputs (list python-aiofiles python-aioftp python-aiohttp "test_ftp_http")
python-tqdm)) " and not "))))
(native-inputs (list python-pytest (native-inputs
(list python-pytest
python-pytest-asyncio python-pytest-asyncio
python-pytest-cov python-pytest-cov
python-pytest-localserver python-pytest-localserver
python-pytest-socket python-pytest-socket
python-setuptools python-setuptools
python-setuptools-scm python-setuptools-scm-next
python-wheel)) python-wheel))
(propagated-inputs
(list python-aiofiles
python-aioftp
python-aiohttp
python-tqdm))
(home-page "https://parfive.readthedocs.io/") (home-page "https://parfive.readthedocs.io/")
(synopsis "HTTP and FTP parallel file downloader") (synopsis "HTTP and FTP parallel file downloader")
(description (description