pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-requests-mock



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Oct 13 16:13:43 UTC 2022

Modified Files:
        pkgsrc/devel/py-requests-mock: Makefile distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/py-requests-mock/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-requests-mock/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-requests-mock/Makefile
diff -u pkgsrc/devel/py-requests-mock/Makefile:1.17 pkgsrc/devel/py-requests-mock/Makefile:1.18
--- pkgsrc/devel/py-requests-mock/Makefile:1.17 Fri Apr 29 23:29:17 2022
+++ pkgsrc/devel/py-requests-mock/Makefile      Thu Oct 13 16:13:43 2022
@@ -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 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
 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"

Index: pkgsrc/devel/py-requests-mock/distinfo
diff -u pkgsrc/devel/py-requests-mock/distinfo:1.13 pkgsrc/devel/py-requests-mock/distinfo:1.14
--- pkgsrc/devel/py-requests-mock/distinfo:1.13 Tue Oct 26 10:19:02 2021
+++ pkgsrc/devel/py-requests-mock/distinfo      Thu Oct 13 16:13:43 2022
@@ -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