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
This commit is contained in:
Sharlatan Hellseher 2024-11-05 16:00:09 +00:00
parent c7f304253f
commit 149837f060
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4659,30 +4659,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")