pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct  7 10:33:20 UTC 2026

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

Log Message:
py-test-mock: updated to 3.16.0

3.16.0

* Fixed ``duplicate_iterators=True`` for async functions spied with ``mocker.spy``.
* Fixed async mock assertion introspection to use awaited arguments instead of the latest call's arguments.
* ``mocker.resetall(return_value=True, side_effect=True)`` now also applies to non-callable mocks, such as those returned by ``mocker.create_autospec(SomeClass, instance=True)``. Previously both 
arguments were silently ignored for them.
* Added ``SpyType`` for annotating ``mocker.spy`` results.
* Dropped support for EOL Python 3.9.
* Removed handling of ``RuntimeError: stop called on unstarted patcher``, which can no longer occur in the supported Python versions.
* Added support for Python 3.15.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/devel/py-test-mock/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/devel/py-test-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-test-mock/Makefile
diff -u pkgsrc/devel/py-test-mock/Makefile:1.35 pkgsrc/devel/py-test-mock/Makefile:1.36
--- pkgsrc/devel/py-test-mock/Makefile:1.35     Mon Sep 22 09:25:00 2025
+++ pkgsrc/devel/py-test-mock/Makefile  Wed Oct  7 10:33:20 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.35 2025/09/22 09:25:00 adam Exp $
+# $NetBSD: Makefile,v 1.36 2026/10/07 10:33:20 adam Exp $
 
-DISTNAME=      pytest_mock-3.15.1
+DISTNAME=      pytest_mock-3.16.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/pytest_/test-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-mock/}
@@ -11,7 +11,7 @@ COMMENT=      Thin-wrapper around the mock pa
 LICENSE=       mit
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=8:../../devel/py-setuptools_scm
 DEPENDS+=      ${PYPKGPREFIX}-test>=6.2.5:../../devel/py-test
 
 USE_LANGUAGES= # none

Index: pkgsrc/devel/py-test-mock/distinfo
diff -u pkgsrc/devel/py-test-mock/distinfo:1.30 pkgsrc/devel/py-test-mock/distinfo:1.31
--- pkgsrc/devel/py-test-mock/distinfo:1.30     Mon Sep 22 09:25:00 2025
+++ pkgsrc/devel/py-test-mock/distinfo  Wed Oct  7 10:33:20 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.30 2025/09/22 09:25:00 adam Exp $
+$NetBSD: distinfo,v 1.31 2026/10/07 10:33:20 adam Exp $
 
-BLAKE2s (pytest_mock-3.15.1.tar.gz) = dda65734ed69325a314960934b62ef82739ae2744e4cb26a6b198696082ddc90
-SHA512 (pytest_mock-3.15.1.tar.gz) = 1807446f2f1547459820d7b0b196d089d2fc574d5e017c4a0d318f5b430c12c83ef0a5593498425cc08972c4b77ce43cc935ee44e1ffef2887f7efbd5fe0d7cc
-Size (pytest_mock-3.15.1.tar.gz) = 34036 bytes
+BLAKE2s (pytest_mock-3.16.0.tar.gz) = 84dfc7920860fdc30f088e8fe90e84d4ee428d97a600b63078b9525c8a94353a
+SHA512 (pytest_mock-3.16.0.tar.gz) = fbaa1ee9d4d4d12a28aa62e09f22ddd6eada041faddcadd58291dbb9c2e5d24143fe2c74516f0444ed61786ee6b3a6e3f0969188e792ffbab8fa05b7d28bd86f
+Size (pytest_mock-3.16.0.tar.gz) = 35362 bytes



Home | Main Index | Thread Index | Old Index