pkgsrc-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.9.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f68f5f7168e5
branches:  trunk
changeset: 451563:f68f5f7168e5
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Apr 28 10:27:09 2021 +0000

description:
py-requests-mock: updated to 1.9.0

1.9.0
=====

New Features
------------
- Add python type hints for python 3.


Bug Fixes
---------
- Issue 144 - When performing a read we handled an empty byte return as an indication to close the file pointer. This is not true when you actually ask for a zero byte read so we should allow it.

- Fix: When you have a non url-safe character in your URL it is quoted by requests however requests-mock just treated it as a normal string.

diffstat:

 devel/py-requests-mock/Makefile |   4 ++--
 devel/py-requests-mock/PLIST    |   8 +++++++-
 devel/py-requests-mock/distinfo |  10 +++++-----
 3 files changed, 14 insertions(+), 8 deletions(-)

diffs (66 lines):

diff -r 66bc2fa575fb -r f68f5f7168e5 devel/py-requests-mock/Makefile
--- a/devel/py-requests-mock/Makefile   Wed Apr 28 10:23:11 2021 +0000
+++ b/devel/py-requests-mock/Makefile   Wed Apr 28 10:27:09 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2020/05/16 16:35:24 adam Exp $
+# $NetBSD: Makefile,v 1.11 2021/04/28 10:27:09 adam Exp $
 
-DISTNAME=      requests-mock-1.8.0
+DISTNAME=      requests-mock-1.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/requests-mock/}
diff -r 66bc2fa575fb -r f68f5f7168e5 devel/py-requests-mock/PLIST
--- a/devel/py-requests-mock/PLIST      Wed Apr 28 10:23:11 2021 +0000
+++ b/devel/py-requests-mock/PLIST      Wed Apr 28 10:27:09 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/05/17 10:30:04 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/04/28 10:27:09 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -9,9 +9,11 @@
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/requests_mock/__init__.py
 ${PYSITELIB}/requests_mock/__init__.pyc
+${PYSITELIB}/requests_mock/__init__.pyi
 ${PYSITELIB}/requests_mock/__init__.pyo
 ${PYSITELIB}/requests_mock/adapter.py
 ${PYSITELIB}/requests_mock/adapter.pyc
+${PYSITELIB}/requests_mock/adapter.pyi
 ${PYSITELIB}/requests_mock/adapter.pyo
 ${PYSITELIB}/requests_mock/compat.py
 ${PYSITELIB}/requests_mock/compat.pyc
@@ -27,13 +29,17 @@
 ${PYSITELIB}/requests_mock/contrib/fixture.pyo
 ${PYSITELIB}/requests_mock/exceptions.py
 ${PYSITELIB}/requests_mock/exceptions.pyc
+${PYSITELIB}/requests_mock/exceptions.pyi
 ${PYSITELIB}/requests_mock/exceptions.pyo
 ${PYSITELIB}/requests_mock/mocker.py
 ${PYSITELIB}/requests_mock/mocker.pyc
+${PYSITELIB}/requests_mock/mocker.pyi
 ${PYSITELIB}/requests_mock/mocker.pyo
 ${PYSITELIB}/requests_mock/request.py
 ${PYSITELIB}/requests_mock/request.pyc
+${PYSITELIB}/requests_mock/request.pyi
 ${PYSITELIB}/requests_mock/request.pyo
 ${PYSITELIB}/requests_mock/response.py
 ${PYSITELIB}/requests_mock/response.pyc
+${PYSITELIB}/requests_mock/response.pyi
 ${PYSITELIB}/requests_mock/response.pyo
diff -r 66bc2fa575fb -r f68f5f7168e5 devel/py-requests-mock/distinfo
--- a/devel/py-requests-mock/distinfo   Wed Apr 28 10:23:11 2021 +0000
+++ b/devel/py-requests-mock/distinfo   Wed Apr 28 10:27:09 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2020/05/13 14:37:43 adam Exp $
+$NetBSD: distinfo,v 1.8 2021/04/28 10:27:09 adam Exp $
 
-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
+SHA1 (requests-mock-1.9.0.tar.gz) = 48e17066e72f099f0b5dbc28789439fbfb12428c
+RMD160 (requests-mock-1.9.0.tar.gz) = 72cc7e06c4215f232c25c50c877cb1046fa43150
+SHA512 (requests-mock-1.9.0.tar.gz) = 1382077357a13dbec65cc4226b628ff6b55348422d9f0e9e2311c85affbc40437d22c2f95fa305303a86decc765a6228366f27eea76e254da194789b1d8fb610
+Size (requests-mock-1.9.0.tar.gz) = 66243 bytes



Home | Main Index | Thread Index | Old Index