pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-responses py-responses: updated to 0.15.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02681d4530aa
branches:  trunk
changeset: 768867:02681d4530aa
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 02 10:17:06 2021 +0000

description:
py-responses: updated to 0.15.0

0.15.0
------

* Added `responses.PassthroughResponse` and
  `reponses.BaseResponse.passthrough`. These features make building passthrough
  responses more compatible with dynamcially generated response objects.
* Removed the unused ``_is_redirect()`` function from responses internals.
* Added `responses.matchers.request_kwargs_matcher`. This matcher allows you
  to match additional request arguments like `stream`.
* Added `responses.matchers.multipart_matcher`. This matcher allows you
  to match request body and headers for ``multipart/form-data`` data
* Added `responses.matchers.query_string_matcher`. This matcher allows you
  to match request query string, similar to `responses.matchers.query_param_matcher`.
* Added `responses.matchers.header_matcher()`. This matcher allows you to match
  request headers. By default only headers supplied to `header_matcher()` are checked.
  You can make header matching exhaustive by passing `strict_match=True` to `header_matcher()`.
* Changed all matchers output message in case of mismatch. Now message is aligned
  between Python2 and Python3 versions
* Deprecate ``stream`` argument in ``Response`` and ``CallbackResponse``
* Added Python 3.10 support

diffstat:

 net/py-responses/Makefile |  4 ++--
 net/py-responses/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r 039158009674 -r 02681d4530aa net/py-responses/Makefile
--- a/net/py-responses/Makefile Tue Nov 02 09:45:53 2021 +0000
+++ b/net/py-responses/Makefile Tue Nov 02 10:17:06 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2021/09/19 10:45:51 adam Exp $
+# $NetBSD: Makefile,v 1.24 2021/11/02 10:17:06 adam Exp $
 
-DISTNAME=      responses-0.14.0
+DISTNAME=      responses-0.15.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/responses/}
diff -r 039158009674 -r 02681d4530aa net/py-responses/distinfo
--- a/net/py-responses/distinfo Tue Nov 02 09:45:53 2021 +0000
+++ b/net/py-responses/distinfo Tue Nov 02 10:17:06 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.24 2021/10/26 11:06:42 nia Exp $
+$NetBSD: distinfo,v 1.25 2021/11/02 10:17:06 adam Exp $
 
-BLAKE2s (responses-0.14.0.tar.gz) = 09bf9d01359b1b14f09f4b39af7c2fce1e7b77da8264a7ae84c539fae1a284a6
-SHA512 (responses-0.14.0.tar.gz) = abc117e5fb9e065202520342e1e5dc4862e5ba553899bf0427726bff02f581124d2d2225371180c97b04fd258119b9511b3319622402a44411ebf51614d26022
-Size (responses-0.14.0.tar.gz) = 32666 bytes
+BLAKE2s (responses-0.15.0.tar.gz) = af9ea722b8cc8eef2ea74bfe42a43f9db9f211a590fa03a2640ef3922a3c4385
+SHA512 (responses-0.15.0.tar.gz) = 50b3dd5ae210cdaa0259265b8e22b92c267d238fd4ce3bf5e3a92d009fcfc2e4c448e4dbcc29ec6beaee9aa2e01ce21365aad8abac3ac8215e6eda6bad740cd6
+Size (responses-0.15.0.tar.gz) = 37965 bytes



Home | Main Index | Thread Index | Old Index