pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-test-randomly
Module Name: pkgsrc
Committed By: adam
Date: Mon Nov 17 13:47:10 UTC 2025
Modified Files:
pkgsrc/devel/py-test-randomly: Makefile distinfo
Log Message:
py-test-randomly: updated to 4.0.1
4.0.1 (2025-09-12)
* Remove the random state caching, which would grow without bound, leaking memory in long test runs.
The caching was added to slightly speed up re-using the same (final) seed, but since the final seed is now different for each test, it has no effect.
* Modify Numpy seed restriction, replacing hashing with a modulo operation.
The extra work to hash is unnecessary now that we generate a final seed per test with CRC32.
This change saves ~500ns per test when Numpy is installed.
4.0.0 (2025-09-10)
* Support Python 3.14.
* Use a different random seed per test, based on the test ID.
This change should mean that tests exercise more random data values in a given run, and that any randomly-generated identifiers have a lower chance of collision when stored in a shared resource
like a database.
* Move from MD5 to CRC32 for hashing test IDs, as it’s 5x faster and we don’t need cryptographic security.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/py-test-randomly/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-test-randomly/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-randomly/Makefile
diff -u pkgsrc/devel/py-test-randomly/Makefile:1.17 pkgsrc/devel/py-test-randomly/Makefile:1.18
--- pkgsrc/devel/py-test-randomly/Makefile:1.17 Thu Oct 9 08:07:29 2025
+++ pkgsrc/devel/py-test-randomly/Makefile Mon Nov 17 13:47:10 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2025/10/09 08:07:29 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2025/11/17 13:47:10 adam Exp $
-DISTNAME= pytest_randomly-3.16.0
+DISTNAME= pytest_randomly-4.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//:S/_/-/}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-randomly/}
Index: pkgsrc/devel/py-test-randomly/distinfo
diff -u pkgsrc/devel/py-test-randomly/distinfo:1.12 pkgsrc/devel/py-test-randomly/distinfo:1.13
--- pkgsrc/devel/py-test-randomly/distinfo:1.12 Sun Nov 3 07:52:58 2024
+++ pkgsrc/devel/py-test-randomly/distinfo Mon Nov 17 13:47:10 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2024/11/03 07:52:58 adam Exp $
+$NetBSD: distinfo,v 1.13 2025/11/17 13:47:10 adam Exp $
-BLAKE2s (pytest_randomly-3.16.0.tar.gz) = a4011154d5bdacddebaafc3472bdaea57619b39efb50902832d0be9c27ec11f0
-SHA512 (pytest_randomly-3.16.0.tar.gz) = d14adeabb9841ae0ffa7a76b85aeaf642a9666314e52fe39a92746705c494d55adaaaa02aa366b7fd3e79e464bf7a9f085c38d58262141149ffab2225fa5406a
-Size (pytest_randomly-3.16.0.tar.gz) = 13367 bytes
+BLAKE2s (pytest_randomly-4.0.1.tar.gz) = 81d50c92b106456e0c65be1464fdcd09c1175a4399d3ef72af88befb0908b879
+SHA512 (pytest_randomly-4.0.1.tar.gz) = 47a23c0a0bd07ef467bcb4243aecc1b1955724766cdabfd3822df9cb617f102a87276400acb7c72200d62e76904ab74209f36401d7dfd840fe28e550b905734d
+Size (pytest_randomly-4.0.1.tar.gz) = 14130 bytes
Home |
Main Index |
Thread Index |
Old Index