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 Jan 16 06:06:02 UTC 2024

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

Log Message:
py-hypothesis: updated to 6.93.2

6.93.2

This patch improves observability reports by moving timing information from metadata to a new timing key, and supporting conversion of additional argument types to json rather than string reprs via a 
.to_json() method (including e.g. Pandas dataframes).

Additionally, the too_slow health check will now report which strategies were slow, e.g. for strategies a, b, c, …:

    count | fraction |    slowest draws (seconds)
a |    3  |     65%  |      --      --      --   0.357,  2.000
b |    8  |     16%  |   0.100,  0.100,  0.100,  0.111,  0.123
c |    3  |      8%  |      --      --   0.030,  0.050,  0.200
(skipped 2 rows of fast draws)
6.93.1

This patch refactors some internals, continuing our work on supporting alternative backends. There is no user-visible change.

6.93.0

The from_lark() strategy now accepts an alphabet= argument, which is passed through to from_regex(), so that you can e.g. constrain the generated strings to a particular codec.

In support of this feature, from_regex() will avoid generating optional parts which do not fit the alphabet. For example, from_regex(r"abc|def", alphabet="abcd") was previously an error, and will now 
generate only 'abc'. Cases where there are no valid strings remain an error.

6.92.9

This patch refactors some internals, continuing our work on supporting alternative backends. There is no user-visible change.

6.92.8

This patch adds a test statistics event when a generated example is rejected via assume.

This may also help with distinguishing gave_up examples in observability.

6.92.7

This introduces the rewriting of length filters on some collection strategies.

Thanks to Reagan Lee for implementing this feature!

6.92.6

If a test uses sampled_from() on a sequence of strategies, and raises a TypeError, we now add a note asking whether you meant to use one_of().


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.127 -r1.128 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.132 pkgsrc/devel/py-hypothesis/Makefile:1.133
--- pkgsrc/devel/py-hypothesis/Makefile:1.132   Mon Jan  8 19:58:31 2024
+++ pkgsrc/devel/py-hypothesis/Makefile Tue Jan 16 06:06:02 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.132 2024/01/08 19:58:31 adam Exp $
+# $NetBSD: Makefile,v 1.133 2024/01/16 06:06:02 adam Exp $
 #
 # Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
 
-DISTNAME=      hypothesis-6.92.5
+DISTNAME=      hypothesis-6.93.2
 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.127 pkgsrc/devel/py-hypothesis/distinfo:1.128
--- pkgsrc/devel/py-hypothesis/distinfo:1.127   Mon Jan  8 19:58:31 2024
+++ pkgsrc/devel/py-hypothesis/distinfo Tue Jan 16 06:06:02 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.127 2024/01/08 19:58:31 adam Exp $
+$NetBSD: distinfo,v 1.128 2024/01/16 06:06:02 adam Exp $
 
-BLAKE2s (hypothesis-6.92.5.tar.gz) = 0e1bed315e76c22275095f0721f1de3d8d087078f95e22b9aa20a04319ff9c9a
-SHA512 (hypothesis-6.92.5.tar.gz) = 0adb72cb4bc9fb50f44cd3a82f5bf27c62bd10fc3f89eb2064e2f6978302c71848675b1370bfc568ff0e1a91452ad0b6e49a2a884e7367a411a62b44844079b3
-Size (hypothesis-6.92.5.tar.gz) = 370183 bytes
+BLAKE2s (hypothesis-6.93.2.tar.gz) = c80e50653df84084bc1d577d8ed83f0a31757891cd3a2ab5561bd554645b1e49
+SHA512 (hypothesis-6.93.2.tar.gz) = 4bb577f0f1ae29eff1fad2fd0abbc6b01bd032817a1138828175c5db1c8bc758fefc50fbb0c5a76c86056775e36e8c2cb203f11735a8b3cdd1ba251c47dedada
+Size (hypothesis-6.93.2.tar.gz) = 372118 bytes



Home | Main Index | Thread Index | Old Index