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:           Wed Jun 12 09:00:05 UTC 2024

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

Log Message:
py-hypothesis: updated to 6.103.1

6.103.1

Account for time spent in garbage collection during tests, to avoid flaky DeadlineExceeded errors.

Also fixes overcounting of stateful run times, a minor observability bug dating to version 6.98.9.

6.103.0

This release migrates the shrinker to our new internal representation, called the IR layer. This improves the shrinker’s performance in the majority of cases. For example, on the Hypothesis test 
suite, shrinking is a median of 1.38x faster.

It is possible this release regresses performance while shrinking certain strategies. If you encounter strategies which reliably shrink more slowly than they used to (or shrink slowly at all), please 
open an issue!

6.102.6

This patch fixes one of our shrinking passes getting into a rare O(n) case instead of O(log(n)).

6.102.5

This patch fixes some introspection errors new in Python 3.11.9 and 3.13.0b1, for the Ghostwriter and from_type().

6.102.4

Internal developer documentation, no user-visible changes.

6.102.3

This patch improves our shrinking of unique collections, such as dictionaries(), sets(), and lists() with unique=True.

6.102.2

This patch fixes a rare internal error when generating very large elements from strategies.

6.102.1

This patch fixes an overly strict internal type assertion.

6.102.0

This release improves our support for the annotated-types iterable GroupedMetadata protocol. In order to treat the elements “as if they had been unpacked”, if one such element is a SearchStrategy we 
now resolve to that strategy. Previously, we treated this as an unknown filter predicate.

We expect this to be useful for libraries implementing custom metadata - instead of requiring downstream integration, they can implement the protocol and yield a lazily-created strategy. Doing so 
only if Hypothesis is in sys.modules gives powerful integration with no runtime overhead or extra dependencies.


To generate a diff of this commit:
cvs rdiff -u -r1.138 -r1.139 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.42 -r1.43 pkgsrc/devel/py-hypothesis/PLIST
cvs rdiff -u -r1.133 -r1.134 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.138 pkgsrc/devel/py-hypothesis/Makefile:1.139
--- pkgsrc/devel/py-hypothesis/Makefile:1.138   Fri Apr 19 13:10:08 2024
+++ pkgsrc/devel/py-hypothesis/Makefile Wed Jun 12 09:00:05 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.138 2024/04/19 13:10:08 adam Exp $
+# $NetBSD: Makefile,v 1.139 2024/06/12 09:00:05 adam Exp $
 #
 # Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
 
-DISTNAME=      hypothesis-6.100.1
+DISTNAME=      hypothesis-6.103.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.42 pkgsrc/devel/py-hypothesis/PLIST:1.43
--- pkgsrc/devel/py-hypothesis/PLIST:1.42       Thu Jan 25 10:58:23 2024
+++ pkgsrc/devel/py-hypothesis/PLIST    Wed Jun 12 09:00:05 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.42 2024/01/25 10:58:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.43 2024/06/12 09:00:05 adam Exp $
 bin/hypothesis-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -150,27 +150,27 @@ ${PYSITELIB}/hypothesis/internal/conject
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinking/__init__.py
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinking/__init__.pyc
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinking/__init__.pyo
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/bytes.py
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/bytes.pyc
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/bytes.pyo
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/collection.py
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/collection.pyc
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/collection.pyo
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinking/common.py
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinking/common.pyc
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinking/common.pyo
-${PYSITELIB}/hypothesis/internal/conjecture/shrinking/dfas.py
-${PYSITELIB}/hypothesis/internal/conjecture/shrinking/dfas.pyc
-${PYSITELIB}/hypothesis/internal/conjecture/shrinking/dfas.pyo
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinking/floats.py
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinking/floats.pyc
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinking/floats.pyo
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinking/integer.py
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinking/integer.pyc
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinking/integer.pyo
-${PYSITELIB}/hypothesis/internal/conjecture/shrinking/learned_dfas.py
-${PYSITELIB}/hypothesis/internal/conjecture/shrinking/learned_dfas.pyc
-${PYSITELIB}/hypothesis/internal/conjecture/shrinking/learned_dfas.pyo
-${PYSITELIB}/hypothesis/internal/conjecture/shrinking/lexical.py
-${PYSITELIB}/hypothesis/internal/conjecture/shrinking/lexical.pyc
-${PYSITELIB}/hypothesis/internal/conjecture/shrinking/lexical.pyo
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinking/ordering.py
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinking/ordering.pyc
 ${PYSITELIB}/hypothesis/internal/conjecture/shrinking/ordering.pyo
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/string.py
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/string.pyc
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/string.pyo
 ${PYSITELIB}/hypothesis/internal/conjecture/utils.py
 ${PYSITELIB}/hypothesis/internal/conjecture/utils.pyc
 ${PYSITELIB}/hypothesis/internal/conjecture/utils.pyo

Index: pkgsrc/devel/py-hypothesis/distinfo
diff -u pkgsrc/devel/py-hypothesis/distinfo:1.133 pkgsrc/devel/py-hypothesis/distinfo:1.134
--- pkgsrc/devel/py-hypothesis/distinfo:1.133   Fri Apr 19 13:10:08 2024
+++ pkgsrc/devel/py-hypothesis/distinfo Wed Jun 12 09:00:05 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.133 2024/04/19 13:10:08 adam Exp $
+$NetBSD: distinfo,v 1.134 2024/06/12 09:00:05 adam Exp $
 
-BLAKE2s (hypothesis-6.100.1.tar.gz) = 304d2cd71f5cb929a62bad659265d26a5ca9026f825da5c3e8a6f3229505e239
-SHA512 (hypothesis-6.100.1.tar.gz) = 094d4713079033787582712b9e26b6a49edd8fbcd360f13a347240b7dd36cd641e85afe8bc5c232163efc5ae634f31ff8af7d9510195a38d4b2e29497be915e7
-Size (hypothesis-6.100.1.tar.gz) = 397081 bytes
+BLAKE2s (hypothesis-6.103.1.tar.gz) = c6f056dda0f0d8d1ba323132922ffb9c29068a905df10c6a509cd6f3e3775347
+SHA512 (hypothesis-6.103.1.tar.gz) = 732a422ba0b12d751a720cabe7b3c93433b3cfca5a79eb991e1cd415d94af6d4b92e1beb79329245dcf8f1f846058c1a8e752646f9d6311b199bfaf5effb2dcd
+Size (hypothesis-6.103.1.tar.gz) = 400500 bytes



Home | Main Index | Thread Index | Old Index