diff options
author | adam <adam@pkgsrc.org> | 2021-11-02 10:17:06 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-11-02 10:17:06 +0000 |
commit | 06cbe46ffad4d7e338bc5c36e8caa041511ee2d4 (patch) | |
tree | 1117e32a8a4a848204f99d823c0c52d78f22c586 /net/py-responses | |
parent | 36f19b5372e4805fa956cd0789e1154826d201ee (diff) | |
download | pkgsrc-06cbe46ffad4d7e338bc5c36e8caa041511ee2d4.tar.gz |
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 (limited to 'net/py-responses')
-rw-r--r-- | net/py-responses/Makefile | 4 | ||||
-rw-r--r-- | net/py-responses/distinfo | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/net/py-responses/Makefile b/net/py-responses/Makefile index fe73925c6fc..c206ab200bb 100644 --- a/net/py-responses/Makefile +++ b/net/py-responses/Makefile @@ -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 --git a/net/py-responses/distinfo b/net/py-responses/distinfo index 6edb5ab0fd9..c70a7767fbf 100644 --- a/net/py-responses/distinfo +++ b/net/py-responses/distinfo @@ -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 |