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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67531f62f670
branches:  trunk
changeset: 386704:67531f62f670
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Oct 13 16:13:43 2022 +0000

description:
py-requests-mock: updated to 1.10.0

1.10.0
------
* Add a release note for the RLock
* Allow passing json\_encoder to mocking
* Improvements to Type Hints
* Lint fix for long line exception
* Shorten line length of comments
* Workaround for python2.7 not supporting lock timeout
* Comments to explain reentrant behaviour
* Change to use RLock and set a timeout to prevent infinite deadlocks
* Update homepage/doc URLs of requests library
* Add comment for pytest late loading feature
* pytest plugin should lazy-load requests\_mock
* Add test for threaded race condition
* Use threading.Lock() to prevent race conditions around monkeypatching of get\_adapter()
* add GitHub URL for PyPi
* Add reset methods on the Mocker class type
* Avoid using distutils to check pytest version
* YAML quoting
* Support Python 3.10
* Minor changes to code snippet example
* Fix DeprecationWarnings in setup.cfg keys
* a few minor fixes and proposed changes to documentation files
* Improve response-related param type hints
* Explicitly indicate start of keyword-only args
* Fix failing pytest

diffstat:

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

diffs (36 lines):

diff -r f4b62da8b0b3 -r 67531f62f670 devel/py-requests-mock/Makefile
--- a/devel/py-requests-mock/Makefile   Thu Oct 13 16:07:52 2022 +0000
+++ b/devel/py-requests-mock/Makefile   Thu Oct 13 16:13:43 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2022/04/29 23:29:17 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2022/10/13 16:13:43 adam Exp $
 
-DISTNAME=      requests-mock-1.9.3
+DISTNAME=      requests-mock-1.10.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/requests-mock/}
 
@@ -27,7 +26,7 @@
 USE_LANGUAGES= # none
 
 do-test:
-       cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f4b62da8b0b3 -r 67531f62f670 devel/py-requests-mock/distinfo
--- a/devel/py-requests-mock/distinfo   Thu Oct 13 16:07:52 2022 +0000
+++ b/devel/py-requests-mock/distinfo   Thu Oct 13 16:13:43 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2021/10/26 10:19:02 nia Exp $
+$NetBSD: distinfo,v 1.14 2022/10/13 16:13:43 adam Exp $
 
-BLAKE2s (requests-mock-1.9.3.tar.gz) = 4ac01914f589f1ce95edd98937f192851a83f334f8a531d6d40f1e58aa17bbad
-SHA512 (requests-mock-1.9.3.tar.gz) = bcded541d78670a1b1fc87f97d35286ab4bafd6946beb9d9b44886454c26a4d8c05834add18914f3f72b1d3c0534311efd1cc80e711b5085eb63053ae24cbb6f
-Size (requests-mock-1.9.3.tar.gz) = 67988 bytes
+BLAKE2s (requests-mock-1.10.0.tar.gz) = f2a8e11c21576d89c4da9b91f6a6ccef51df81152e16d1c59d9eebb6ce790bf2
+SHA512 (requests-mock-1.10.0.tar.gz) = 873c9b219e2a2360872fac22c83371ce40f4dee45e6a0d40365f4f551271c2168a662dced6e8baad890b1dadfc03d21d4ce013f149d25a42d998af4f4fca2a79
+Size (requests-mock-1.10.0.tar.gz) = 72627 bytes



Home | Main Index | Thread Index | Old Index