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.17.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8addd970fe69
branches:  trunk
changeset: 372426:8addd970fe69
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jan 24 18:24:47 2022 +0000

description:
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:

 net/py-responses/Makefile |  5 ++---
 net/py-responses/PLIST    |  6 +++++-
 net/py-responses/distinfo |  8 ++++----
 3 files changed, 11 insertions(+), 8 deletions(-)

diffs (47 lines):

diff -r 5a719b1e79c3 -r 8addd970fe69 net/py-responses/Makefile
--- a/net/py-responses/Makefile Mon Jan 24 18:21:18 2022 +0000
+++ b/net/py-responses/Makefile Mon Jan 24 18:24:47 2022 +0000
@@ -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 -r 5a719b1e79c3 -r 8addd970fe69 net/py-responses/PLIST
--- a/net/py-responses/PLIST    Mon Jan 24 18:21:18 2022 +0000
+++ b/net/py-responses/PLIST    Mon Jan 24 18:24:47 2022 +0000
@@ -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.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 -r 5a719b1e79c3 -r 8addd970fe69 net/py-responses/distinfo
--- a/net/py-responses/distinfo Mon Jan 24 18:21:18 2022 +0000
+++ b/net/py-responses/distinfo Mon Jan 24 18:24:47 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index