emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58482: closed ([PATCH] gnu: python-responses: Update to 0.22.0.)


From: GNU bug Tracking System
Subject: bug#58482: closed ([PATCH] gnu: python-responses: Update to 0.22.0.)
Date: Sun, 29 Jan 2023 07:21:02 +0000

Your message dated Sun, 29 Jan 2023 15:20:23 +0800
with message-id <874js9iz7s.fsf@envs.net>
and subject line Re: bug#58482: [PATCH] gnu: python-responses: Update to 0.22.0.
has caused the debbugs.gnu.org bug report #58482,
regarding [PATCH] gnu: python-responses: Update to 0.22.0.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
58482: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58482
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: python-responses: Update to 0.22.0. Date: Thu, 13 Oct 2022 01:12:32 -0500
* gnu/packages/python-web.scm (python-responses): Update to 0.22.0.
[arguments]: Enable tests.
[native-inputs]: Add python-pytest, python-pytest-asyncio, and
python-pytest-httpserver.
[inputs]: Add python-types-toml.
---
 gnu/packages/python-web.scm | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6a9d6ee61d..7f6b8b3daf 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3461,22 +3461,31 @@ (define-public python-cookies
 (define-public python-responses
   (package
     (name "python-responses")
-    (version "0.10.6")
+    (version "0.22.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "responses" version))
               (sha256
                (base32
-                "147pacwkkqy3qf3hr33fnl1xbzgw0zsm3qppvvy9qhq8h069qbah"))))
+                "0bhhffwl0zqin4xc89nc97ynzr7l3j4b8rjqk9w9flnj2cmcnsir"))))
     (build-system python-build-system)
     (arguments
-     `(;; Test suite is not distributed:
-       ;; https://github.com/getsentry/responses/issues/38
-       #:tests? #f))
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "pytest" "-v")))))))
     (native-inputs
-     (list python-mock))
+     (list python-mock
+           python-pytest
+           python-pytest-asyncio
+           python-pytest-httpserver))
     (propagated-inputs
-     (list python-requests python-cookies python-six))
+     (list python-requests
+           python-cookies
+           python-six
+           python-types-toml))
     (home-page "https://github.com/getsentry/responses";)
     (synopsis "Utility for mocking out the `requests` Python library")
     (description "A utility library for mocking out the `requests` Python
-- 
2.38.0




--- End Message ---
--- Begin Message --- Subject: Re: bug#58482: [PATCH] gnu: python-responses: Update to 0.22.0. Date: Sun, 29 Jan 2023 15:20:23 +0800 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
jgart <jgart@dismail.de> writes:

> * gnu/packages/python-web.scm (python-responses): Update to 0.22.0.
> [arguments]: Enable tests.
> [native-inputs]: Add python-pytest, python-pytest-asyncio, and
> python-pytest-httpserver.
> [inputs]: Add python-types-toml.

Applied, thank you!


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]