gnu: python-anaconda-client: Fix tests.

* gnu/packages/package-management.scm (python-anaconda-client)[source]: Add
workaround for missing `iter_fields'.

Change-Id: Ia8a17b6778e8cc8b8e734c3e788e938250d641a7
Reported-by: orahcio on IRC.
This commit is contained in:
Hilton Chain 2025-01-30 22:48:10 +08:00
parent b85d20e853
commit 8f8aa5cf58
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -1062,7 +1062,13 @@ the @code{(bffe)} module as the entry point.")
(file-name (git-file-name name version))
(sha256
(base32
"1vyk0g0gci4z9psisb8h50zi3j1nwfdg1jw3j76cxv0brln0v3fw"))))
"1vyk0g0gci4z9psisb8h50zi3j1nwfdg1jw3j76cxv0brln0v3fw"))
;; `iter_fields' is no longer available in python-urllib (propagated from
;; python-requests).
(modules '((guix build utils)))
(snippet
#~(substitute* "binstar_client/requests_ext.py"
(("iter_fields") "iter_field_objects")))))
(build-system pyproject-build-system)
(arguments
(list