pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Nov  4 11:56:59 UTC 2025

Modified Files:
        pkgsrc/devel/py-test-benchmark: Makefile PLIST distinfo

Log Message:
py-test-benchmark: updated to 5.2.0

5.2.0 (2025-10-30)

* Added support for a per-round ``teardown`` function to pedantic mode.
  Contributed Patrick Winter by
* Added ``--benchmark-time-unit`` option.
  Contributed by Tony Kuo in
* Fixed deprecated hook examples in docstrings.
  Contributed by Ali-Akber Saifee in
* Changed ``--benchmark-compare-fail`` to accept percentages higher than 100%.
  Contributed by Ben Avrahami in
* Added minimal typing support.
  Contributed by Sorin Sbarnea in
* Fixed support for Python 3.9.
  Contributed by Enno Gotthold in
* Replaced the complicated and broken code of ``pytest_benchmark.utils.clonefunc`` with a simple return of the input.
  That function was supposed to allow benchmarking with the cost of PyPy JIT included but it's a hassle to maintain.
* Moved the instrumentation pause outside the round loops (in addition to tracing, profiling is paused too).
  Pedantic mode will keep doing this per round (as the user manually controls the round count).
  This is necessary because in some scenarios setting and unsetting the tracer too much will overflow an internal counter
  (found to cause "OverflowError: events set too many times" at least on Python 3.13).


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-test-benchmark/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-test-benchmark/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-test-benchmark/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-benchmark/Makefile
diff -u pkgsrc/devel/py-test-benchmark/Makefile:1.9 pkgsrc/devel/py-test-benchmark/Makefile:1.10
--- pkgsrc/devel/py-test-benchmark/Makefile:1.9 Sat Apr 12 20:54:47 2025
+++ pkgsrc/devel/py-test-benchmark/Makefile     Tue Nov  4 11:56:59 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2025/04/12 20:54:47 adam Exp $
+# $NetBSD: Makefile,v 1.10 2025/11/04 11:56:59 adam Exp $
 
-DISTNAME=      pytest-benchmark-5.1.0
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   1
+DISTNAME=      pytest_benchmark-5.2.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/pytest_/test-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-benchmark/}
 

Index: pkgsrc/devel/py-test-benchmark/PLIST
diff -u pkgsrc/devel/py-test-benchmark/PLIST:1.4 pkgsrc/devel/py-test-benchmark/PLIST:1.5
--- pkgsrc/devel/py-test-benchmark/PLIST:1.4    Sat Apr 12 20:54:47 2025
+++ pkgsrc/devel/py-test-benchmark/PLIST        Tue Nov  4 11:56:59 2025
@@ -1,11 +1,10 @@
-@comment $NetBSD: PLIST,v 1.4 2025/04/12 20:54:47 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2025/11/04 11:56:59 adam Exp $
 bin/py.test-benchmark-${PYVERSSUFFIX}
 bin/pytest-benchmark-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
-${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS.rst
 ${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/pytest_benchmark/__init__.py
@@ -38,6 +37,7 @@ ${PYSITELIB}/pytest_benchmark/logger.pyo
 ${PYSITELIB}/pytest_benchmark/plugin.py
 ${PYSITELIB}/pytest_benchmark/plugin.pyc
 ${PYSITELIB}/pytest_benchmark/plugin.pyo
+${PYSITELIB}/pytest_benchmark/py.typed
 ${PYSITELIB}/pytest_benchmark/session.py
 ${PYSITELIB}/pytest_benchmark/session.pyc
 ${PYSITELIB}/pytest_benchmark/session.pyo

Index: pkgsrc/devel/py-test-benchmark/distinfo
diff -u pkgsrc/devel/py-test-benchmark/distinfo:1.6 pkgsrc/devel/py-test-benchmark/distinfo:1.7
--- pkgsrc/devel/py-test-benchmark/distinfo:1.6 Sun Nov  3 19:35:13 2024
+++ pkgsrc/devel/py-test-benchmark/distinfo     Tue Nov  4 11:56:59 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2024/11/03 19:35:13 adam Exp $
+$NetBSD: distinfo,v 1.7 2025/11/04 11:56:59 adam Exp $
 
-BLAKE2s (pytest-benchmark-5.1.0.tar.gz) = f52c475292036ade99b0693503dfccedc53f75f5caba0f24d562035a213cdee3
-SHA512 (pytest-benchmark-5.1.0.tar.gz) = aa19e220e93d6dcdcc3535d1fefde23b031e8f76b1818d5adebec738d7eb3c7a8d91ff13de848b6751ee8629d11209372e567a27b08155679c3f0170da4bbc10
-Size (pytest-benchmark-5.1.0.tar.gz) = 337810 bytes
+BLAKE2s (pytest_benchmark-5.2.0.tar.gz) = 175e7b4cb96af93f73a7929a66e7eff7993d10fb4d990fd08d10671ae1d58cb3
+SHA512 (pytest_benchmark-5.2.0.tar.gz) = 7fbb7b13ed539f99579b6b0083778bf548ca67ebc055eff1af9e62522db9a569aafaac88e47b69f3096b9c50413b70d18a150656ba6e10179924fc7cda4193e4
+Size (pytest_benchmark-5.2.0.tar.gz) = 339143 bytes



Home | Main Index | Thread Index | Old Index