guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 7ad7a3a73ff8fc9449cb17756ab248b86c3a9d8b
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jun 11 12:07:34 2026 +0100
gnu: python-pytest-httpbin: Build from git.
* gnu/packages/web.scm (python-pytest-httpbin):
[source]: Switch to git-fetch.
[propagated-inputs]: Remove python-pytest and python-six.
[native-inputs]: Remove python-wheel; add python-pytest-bootstrap and
python-requests.
Change-Id: Ib84e50285005346ac93656628ad32eca917a2923
---
gnu/packages/web.scm | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index e07887b1dc..e9035158cb 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -7699,23 +7699,26 @@ endpoint responses are JSON-encoded.")
(license license:isc)))
(define-public python-pytest-httpbin
+ ;; TODO: Move to (gnu packages python-check).
(package
(name "python-pytest-httpbin")
(version "2.1.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "pytest_httpbin" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kevin1024/pytest-httpbin")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1iikdji2136mybjk7sczqa2qivlb6gchhkzyz4kq68j3hj1pj1fl"))))
+ (base32 "1d5r21mr6cfwfqgjfrh35sjidkaq4nbihp34y0n29ag943ar8i40"))))
(build-system pyproject-build-system)
(native-inputs
- (list python-setuptools
- python-wheel))
+ (list python-pytest-bootstrap
+ python-requests
+ python-setuptools))
(propagated-inputs
- (list python-httpbin
- python-pytest
- python-six))
+ (list python-httpbin))
(home-page "https://github.com/kevin1024/pytest-httpbin")
(synopsis "Test your HTTP library against a local copy of httpbin")
(description