diff options
author | adam <adam@pkgsrc.org> | 2022-01-24 18:24:47 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2022-01-24 18:24:47 +0000 |
commit | 9902fbb9674960f8fef64bf4adf8f88fd0f319b1 (patch) | |
tree | f4614efd4bd9b9ba38d0e525931f0dc93a1e63da /net/py-responses | |
parent | 31ca7af04b4b97ffea631227f28938869615e62b (diff) | |
download | pkgsrc-9902fbb9674960f8fef64bf4adf8f88fd0f319b1.tar.gz |
py-responses: updated to 0.17.0
0.17.0
------
* This release is the last to support Python 2.7.
* Fixed issue when `response.iter_content` when `chunk_size=None` entered infinite loop
* Fixed issue when `passthru_prefixes` persisted across tests.
Now `add_passthru` is valid only within a context manager or for a single function and
cleared on exit
* Deprecate `match_querystring` argument in `Response` and `CallbackResponse`.
Use `responses.matchers.query_param_matcher` or `responses.matchers.query_string_matcher`
* Added support for non-UTF-8 bytes in `responses.matchers.multipart_matcher`
* Added `responses.registries`. Now user can create custom registries to
manipulate the order of responses in the match algorithm
`responses.activate(registry=CustomRegistry)`
* Fixed issue with response match when requests were performed between adding responses with
same URL.
Diffstat (limited to 'net/py-responses')
-rw-r--r-- | net/py-responses/Makefile | 5 | ||||
-rw-r--r-- | net/py-responses/PLIST | 6 | ||||
-rw-r--r-- | net/py-responses/distinfo | 8 |
3 files changed, 11 insertions, 8 deletions
diff --git a/net/py-responses/Makefile b/net/py-responses/Makefile index 7e30c32e571..cc6f444bafc 100644 --- a/net/py-responses/Makefile +++ b/net/py-responses/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.26 2022/01/04 20:54:32 wiz Exp $ +# $NetBSD: Makefile,v 1.27 2022/01/24 18:24:47 adam Exp $ -DISTNAME= responses-0.16.0 +DISTNAME= responses-0.17.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=r/responses/} diff --git a/net/py-responses/PLIST b/net/py-responses/PLIST index 5adbb0d94b3..ee2d8ea1bfe 100644 --- a/net/py-responses/PLIST +++ b/net/py-responses/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2021/11/22 09:17:31 adam Exp $ +@comment $NetBSD: PLIST,v 1.6 2022/01/24 18:24:47 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -13,6 +13,10 @@ ${PYSITELIB}/responses/matchers.py ${PYSITELIB}/responses/matchers.pyc ${PYSITELIB}/responses/matchers.pyi ${PYSITELIB}/responses/matchers.pyo +${PYSITELIB}/responses/registries.py +${PYSITELIB}/responses/registries.pyc +${PYSITELIB}/responses/registries.pyi +${PYSITELIB}/responses/registries.pyo ${PYSITELIB}/responses/test_matchers.py ${PYSITELIB}/responses/test_matchers.pyc ${PYSITELIB}/responses/test_matchers.pyo diff --git a/net/py-responses/distinfo b/net/py-responses/distinfo index 08ccc626aaf..9e9e997559f 100644 --- a/net/py-responses/distinfo +++ b/net/py-responses/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.26 2021/11/22 09:17:31 adam Exp $ +$NetBSD: distinfo,v 1.27 2022/01/24 18:24:47 adam Exp $ -BLAKE2s (responses-0.16.0.tar.gz) = 99b8ff66513f913896e5ea3ef365e74bf394378a4795647dfe0862d8bc69843f -SHA512 (responses-0.16.0.tar.gz) = b2363cd7c9aad84bfce814fe815663babfe584fa390f95a1d5e01118c8749e98777bf283a7200ea96a7ce5fa1ad6d85ee329e4bd999f3dca0317476b7e976f12 -Size (responses-0.16.0.tar.gz) = 41943 bytes +BLAKE2s (responses-0.17.0.tar.gz) = be0a238571e02b596f8539d07301a7826bf19a0d91b8aad36d0bb1a875bad70c +SHA512 (responses-0.17.0.tar.gz) = 238c7b4926857c13a4192bbb38eb0dbd65d110ae86c19c59c1504bdfc912fefebdc3e59c7646ce4f0228a1a080201b11d336bae56fc190665f816c6251de579c +Size (responses-0.17.0.tar.gz) = 45064 bytes |