~ruther/guix-local

149837f060b0ffcffe03a8e90fa0099f54ec5221 — Sharlatan Hellseher 1 year, 11 months ago c7f3042
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
1 files changed, 9 insertions(+), 14 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +9 -14
@@ 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")