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:           Fri Feb  9 12:50:10 UTC 2024

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

Log Message:
py-hypothesis: updated to 6.98.3

6.98.3

This patch fixes an error when generating observability reports involving large (n > 1e308) integers.

6.98.2

This patch refactors some internals. There is no user-visible change.

6.98.1

This release improves our distribution of generated values for all strategies, by doing a better job of tracking which values we have generated before and avoiding generating them again.

For example, st.lists(st.integers()) previously generated ~5 each of [] [0] in 100 examples. In this release, each of [] and [0] are generated ~1-2 times each.

6.98.0

This release deprecates use of the global random number generator while drawing from a strategy, because this makes test cases less diverse and prevents us from reporting minimal counterexamples.

If you see this new warning, you can get a quick fix by using randoms(); or use more idiomatic strategies sampled_from(), floats(), integers(), and so on.

Note that the same problem applies to e.g. numpy.random, but for performance reasons we only check the stdlib random module - ignoring even other sources passed to register_random().

6.97.6

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

6.97.5

This patch adds some observability information about how many times predicates in assume() or precondition() were satisfied, so that downstream tools can warn you if some were never satisfied by any 
test case.

6.97.4

This patch improves formatting and adds some cross-references to our docs.


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.130 -r1.131 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.135 pkgsrc/devel/py-hypothesis/Makefile:1.136
--- pkgsrc/devel/py-hypothesis/Makefile:1.135   Tue Jan 30 20:45:45 2024
+++ pkgsrc/devel/py-hypothesis/Makefile Fri Feb  9 12:50:10 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.135 2024/01/30 20:45:45 adam Exp $
+# $NetBSD: Makefile,v 1.136 2024/02/09 12:50:10 adam Exp $
 #
 # Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
 
-DISTNAME=      hypothesis-6.97.3
+DISTNAME=      hypothesis-6.98.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}

Index: pkgsrc/devel/py-hypothesis/distinfo
diff -u pkgsrc/devel/py-hypothesis/distinfo:1.130 pkgsrc/devel/py-hypothesis/distinfo:1.131
--- pkgsrc/devel/py-hypothesis/distinfo:1.130   Tue Jan 30 20:45:45 2024
+++ pkgsrc/devel/py-hypothesis/distinfo Fri Feb  9 12:50:10 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.130 2024/01/30 20:45:45 adam Exp $
+$NetBSD: distinfo,v 1.131 2024/02/09 12:50:10 adam Exp $
 
-BLAKE2s (hypothesis-6.97.3.tar.gz) = b9d3e4484c31ac8654bdd0b81aad1cbc838b01545d8a7f07e24a11181b3417fd
-SHA512 (hypothesis-6.97.3.tar.gz) = ac424767db5f4dc9e137b7000bb3d979a97c6e6adaddf14b1472aa987b044bd00659ab85ab05fa61bb670b3725d9dfd73a802ce67417b31f20c2ffc72dc8774e
-Size (hypothesis-6.97.3.tar.gz) = 375883 bytes
+BLAKE2s (hypothesis-6.98.3.tar.gz) = cbe36efffd745107f5dd9c38cf3128fd1ee0e98960f3441b00109fadd5f5c8de
+SHA512 (hypothesis-6.98.3.tar.gz) = 5381fcdaeb09bee093605fa35bcf21679ec03a612c4696b8501cc8a14c419aa08a1fb8a239cc8b0cc817bcd08331643965d69fd4c069f7ded2634799daaef172
+Size (hypothesis-6.98.3.tar.gz) = 384890 bytes



Home | Main Index | Thread Index | Old Index