sharlatan pushed a commit to branch python-team
in repository guix.
commit f2e78f48ce71059f803753f6e3c53410f4c7070c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Nov 5 16:00:09 2024 +0000
gnu: python-responses: Update to 0.25.3.
* gnu/packages/python-web.scm (python-responses): Update to 0.25.3.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default check phase.
[propagated-inputs]: Remove python-toml, python-types-toml, and
python-typing-extensions; add python-pyyaml.
[native-inputs]: Add python-setuptools, python-tomli, python-tomli-w,
and python-wheel.
Change-Id: Ib874a6634d496083c97a933c3402f2383e707bd7
---
gnu/packages/python-web.scm | 23 +++++++++--------------
1 file changed, 9 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6530e1a545..a5feb6661b 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4656,30 +4656,25 @@ Python.")
(define-public python-responses
(package
(name "python-responses")
- (version "0.22.0")
+ (version "0.25.3")
(source (origin
(method url-fetch)
(uri (pypi-uri "responses" version))
(sha256
(base32
- "0bhhffwl0zqin4xc89nc97ynzr7l3j4b8rjqk9w9flnj2cmcnsir"))))
- (build-system python-build-system)
- (arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-v")))))))
+ "1fld6lsa143md4lxccwxq9iyqm9d8a05i9sp7lqjibnrmd3r4yv1"))))
+ (build-system pyproject-build-system)
(native-inputs
(list python-pytest
python-pytest-asyncio
- python-pytest-httpserver))
+ python-pytest-httpserver
+ python-setuptools
+ python-tomli
+ python-tomli-w
+ python-wheel))
(propagated-inputs
(list python-requests
- python-toml
- python-types-toml
- python-typing-extensions
+ python-pyyaml
python-urllib3))
(home-page "https://github.com/getsentry/responses")
(synopsis "Utility for mocking out the `requests` Python library")