Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-requests-mock py-requests-mock: updated to 1.8.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5dbe634fc170
branches:  trunk
changeset: 431462:5dbe634fc170
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed May 13 14:37:43 2020 +0000

description:
py-requests-mock: updated to 1.8.0

1.8.0
* Remove requests 2.3 compatibility code
* Add release notes for reset function
* Add release note for session scoped mock
* Allow passing session as postiional argument
* Create bound method instead of a wrapper
* Added reset\_mock to \_RequestHistoryTracker and Adapter
* doc on session Mockers
* doc on nesting Mockers
* fix README.rst typo
* suggest Mocker for users unfamiliar with adapters
* update examples to mount adapter on 'mock://'
* fix global/session mock interactions and real\_http
* Added installation instructions
* Add release note for nested mocking
* fix redirects and mock nesting
* Mark IOReader object closed when using a stream
* Add the default response reason if not set
* Don't check that proxies are set in test
* Add StackOverflow tag to README
* Mention pytest fixture on the README
* Add background information to pytest doc
* docs: update examples to match Read the Docs
* Expose real\_http as a public property
* fix py27 error
* easier session scoped mock

diffstat:

 devel/py-requests-mock/Makefile |   4 ++--
 devel/py-requests-mock/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 310f7a53e23c -r 5dbe634fc170 devel/py-requests-mock/Makefile
--- a/devel/py-requests-mock/Makefile   Wed May 13 14:33:15 2020 +0000
+++ b/devel/py-requests-mock/Makefile   Wed May 13 14:37:43 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2019/10/21 21:45:40 adam Exp $
+# $NetBSD: Makefile,v 1.9 2020/05/13 14:37:43 adam Exp $
 
-DISTNAME=      requests-mock-1.7.0
+DISTNAME=      requests-mock-1.8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/requests-mock/}
diff -r 310f7a53e23c -r 5dbe634fc170 devel/py-requests-mock/distinfo
--- a/devel/py-requests-mock/distinfo   Wed May 13 14:33:15 2020 +0000
+++ b/devel/py-requests-mock/distinfo   Wed May 13 14:37:43 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2019/09/02 07:34:54 adam Exp $
+$NetBSD: distinfo,v 1.7 2020/05/13 14:37:43 adam Exp $
 
-SHA1 (requests-mock-1.7.0.tar.gz) = 1c0ee251a8f7934d426e3c2721083e0db7cb7dbc
-RMD160 (requests-mock-1.7.0.tar.gz) = 9ed441c9af42bdaec79febfd27edb32d93e59f57
-SHA512 (requests-mock-1.7.0.tar.gz) = 6ad71fb87519f93812e8ae0d058a4b65a4492e86f05cacc37f95be1a6f0239a2c3f3d20a7e6f44bcc21f009574e4e78c2149394c2570d305efbdd68ec07b24a2
-Size (requests-mock-1.7.0.tar.gz) = 51705 bytes
+SHA1 (requests-mock-1.8.0.tar.gz) = 2ff311f6542091b0df72e485a3b559071937db8d
+RMD160 (requests-mock-1.8.0.tar.gz) = 60952e442286478f73da16567cd0108b29c45cb1
+SHA512 (requests-mock-1.8.0.tar.gz) = 252bce965e0fca03cd5ce09912c726045f9c632e90bfee13b06c9f3e2c6b70eab7f39cf8e7efb3b7d2cf2b5d79cc5c5ba6e2379b3d48ce33bf78861ada911918
+Size (requests-mock-1.8.0.tar.gz) = 59794 bytes



Home | Main Index | Thread Index | Old Index