1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-06-03 23:04:02 +02:00

gnu: python-aioftp: Fix tests.

* gnu/packages/python-web.scm (python-aioftp): Fix tests.
[source]: Switch to git-fetch.
[native-inputs]: Add python-pytest-mock.

Change-Id: I73a89803ad17148e590823a79c83ee8feade2371
This commit is contained in:
Sharlatan Hellseher
2026-03-23 23:24:11 +00:00
parent fa8a5a84cb
commit 4e4c01ff8c
+10 -6
View File
@@ -7057,16 +7057,20 @@ adapter for use with the Requests library.")
(package
(name "python-aioftp")
(version "0.27.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "aioftp" version))
(sha256
(base32
"06i6xfxxrwncmgihp98jxhy7xngsv2gzv9ijk32rc5q840r8q13w"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/aio-libs/aioftp")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1lshyac5zk1w4x7ygkim3726f8gbkvpvlyiqkn9cs6qjxhxn5bxc"))))
(build-system pyproject-build-system)
(native-inputs
(list python-async-timeout
python-pytest
python-pytest-mock
python-pytest-asyncio
python-setuptools
python-siosocks