pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-hypothesis



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Aug  5 07:18:27 UTC 2025

Modified Files:
        pkgsrc/devel/py-hypothesis: Makefile PLIST distinfo

Log Message:
py-hypothesis: updated to 6.137.1

6.137.1 - 2025-08-05
Fixes a bug with solver-based alternative backends (like crosshair) where symbolic values passed to event() would not be realized to concrete values at the end of the test case.

6.137.0 - 2025-08-05
Add the add_observability_callback, remove_observability_callback, with_observability_callback, and observability_enabled methods to the observability interface. The previous TESTCASE_CALLBACKS is 
deprecated.

This release also adds better threading support to observability callbacks. An observability callback will now only be called for observations generated by the same thread.

6.136.9 - 2025-08-04
Fix a threading race condition in one_of() initialization.

6.136.8 - 2025-08-04
Improve the error messages and documentation for HealthCheck. Among others, the messaging is now more clear that health checks are proactive warnings, not correctness errors.

6.136.7 - 2025-08-01
Improve detection of sys.monitoring to avoid errors on GraalPy.

6.136.6 - 2025-07-28
When a test is executed concurrently from multiple threads, HealthCheck.too_slow is now disabled, since the Python runtime may decide to switch away from a thread for arbitrarily long and Hypothesis 
cannot track execution time per-thread.

6.136.5 - 2025-07-28
This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy.

6.136.4 - 2025-07-25
HealthCheck.differing_executors is no longer raised if a test is executed by different executors from different threads. HealthCheck.differing_executors will still be raised if a test is executed by 
different executors in the same thread.

6.136.3 - 2025-07-23
When a test is executed concurrently from multiple threads, DeadlineExceeded is now disabled, since the Python runtime may decide to switch away from a thread for longer than settings.deadline, and 
Hypothesis cannot track execution time per-thread.

6.136.2 - 2025-07-21
@precondition now errors if used without @rule or @invariant. Doing so has no effect and is indicative of a user error.

6.136.1 - 2025-07-20
Fix on_observation() being called with observations it wasn’t responsible for generating if the test failed.

6.136.0 - 2025-07-19
When a failure found by an alternative backend does not reproduce under the Hypothesis backend, we now raise FlakyBackendFailure instead of an internal FlakyReplay exception.


To generate a diff of this commit:
cvs rdiff -u -r1.159 -r1.160 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.47 -r1.48 pkgsrc/devel/py-hypothesis/PLIST
cvs rdiff -u -r1.153 -r1.154 pkgsrc/devel/py-hypothesis/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-hypothesis/Makefile
diff -u pkgsrc/devel/py-hypothesis/Makefile:1.159 pkgsrc/devel/py-hypothesis/Makefile:1.160
--- pkgsrc/devel/py-hypothesis/Makefile:1.159   Fri Jun 13 06:49:07 2025
+++ pkgsrc/devel/py-hypothesis/Makefile Tue Aug  5 07:18:27 2025
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.159 2025/06/13 06:49:07 adam Exp $
+# $NetBSD: Makefile,v 1.160 2025/08/05 07:18:27 adam Exp $
 #
 # Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
 
-DISTNAME=      hypothesis-6.135.9
+DISTNAME=      hypothesis-6.137.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}

Index: pkgsrc/devel/py-hypothesis/PLIST
diff -u pkgsrc/devel/py-hypothesis/PLIST:1.47 pkgsrc/devel/py-hypothesis/PLIST:1.48
--- pkgsrc/devel/py-hypothesis/PLIST:1.47       Fri Jun 13 06:49:07 2025
+++ pkgsrc/devel/py-hypothesis/PLIST    Tue Aug  5 07:18:27 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.47 2025/06/13 06:49:07 adam Exp $
+@comment $NetBSD: PLIST,v 1.48 2025/08/05 07:18:27 adam Exp $
 bin/hypothesis-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -313,6 +313,9 @@ ${PYSITELIB}/hypothesis/utils/dynamicvar
 ${PYSITELIB}/hypothesis/utils/terminal.py
 ${PYSITELIB}/hypothesis/utils/terminal.pyc
 ${PYSITELIB}/hypothesis/utils/terminal.pyo
+${PYSITELIB}/hypothesis/utils/threading.py
+${PYSITELIB}/hypothesis/utils/threading.pyc
+${PYSITELIB}/hypothesis/utils/threading.pyo
 ${PYSITELIB}/hypothesis/vendor/__init__.py
 ${PYSITELIB}/hypothesis/vendor/__init__.pyc
 ${PYSITELIB}/hypothesis/vendor/__init__.pyo

Index: pkgsrc/devel/py-hypothesis/distinfo
diff -u pkgsrc/devel/py-hypothesis/distinfo:1.153 pkgsrc/devel/py-hypothesis/distinfo:1.154
--- pkgsrc/devel/py-hypothesis/distinfo:1.153   Fri Jun 13 06:49:07 2025
+++ pkgsrc/devel/py-hypothesis/distinfo Tue Aug  5 07:18:27 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.153 2025/06/13 06:49:07 adam Exp $
+$NetBSD: distinfo,v 1.154 2025/08/05 07:18:27 adam Exp $
 
-BLAKE2s (hypothesis-6.135.9.tar.gz) = 596061846401bf69550f31ae7a7da8dc5b9b6a11becc6405192b794c522bad44
-SHA512 (hypothesis-6.135.9.tar.gz) = ff7a8fac58dffba0702277c904bd8646c4d26e61e9d38ff1004e0adf34b3fdc251416827a2a5a67ccaf2cb3a7f660b80fff6ff57142ac173d18b97dec1a72347
-Size (hypothesis-6.135.9.tar.gz) = 452490 bytes
+BLAKE2s (hypothesis-6.137.1.tar.gz) = 24f0109d84a98ea0fc216a3b955b085cbcd5bfcf14def6bcaaf106454821ff89
+SHA512 (hypothesis-6.137.1.tar.gz) = ca9daa6392cbbf1ec75fc44262f6bcca0c7026ed720bc8cfa53790027308ce78e4e42d36fe035efa29b1b9c4845c304b147e9938c78d8c18e55729d638ddc6d1
+Size (hypothesis-6.137.1.tar.gz) = 460593 bytes



Home | Main Index | Thread Index | Old Index