Tue Jan 30 20:45:45 2024 UTC (117d)
py-hypothesis: updated to 6.97.3

6.97.3

Internal test refactoring.

6.97.2

This patch slightly changes how we replay examples from the database: if the behavior of the saved example has changed, we now keep running the test case instead of aborting at the size of the saved example. While we know it窶冱 not the same example, we might as well continue running the test!

Because we now finish running a few more examples for affected tests, this might be a slight slowdown - but correspondingly more likely to find a bug.

We窶况e also applied similar tricks to the target phase, where they are a pure performance improvement for affected tests.

6.97.1

Improves the performance of the arrays() strategy when generating unique values.


(adam)
diff -r1.134 -r1.135 pkgsrc/devel/py-hypothesis/Makefile
diff -r1.129 -r1.130 pkgsrc/devel/py-hypothesis/distinfo

cvs diff -r1.134 -r1.135 pkgsrc/devel/py-hypothesis/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-hypothesis/Makefile 2024/01/25 10:58:23 1.134
+++ pkgsrc/devel/py-hypothesis/Makefile 2024/01/30 20:45:45 1.135
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: Makefile,v 1.134 2024/01/25 10:58:23 adam Exp $ 1# $NetBSD: Makefile,v 1.135 2024/01/30 20:45:45 adam Exp $
2# 2#
3# Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html 3# Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
4 4
5DISTNAME= hypothesis-6.97.0 5DISTNAME= hypothesis-6.97.3
6PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 6PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
7CATEGORIES= devel python 7CATEGORIES= devel python
8MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/} 8MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/}
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://github.com/HypothesisWorks/hypothesis 11HOMEPAGE= https://github.com/HypothesisWorks/hypothesis
12COMMENT= Python library for property based testing 12COMMENT= Python library for property based testing
13LICENSE= mpl-2.0 13LICENSE= mpl-2.0
14 14
15TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools 15TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
16TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel 16TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
17DEPENDS+= ${PYPKGPREFIX}-attrs>=22.2.0:../../devel/py-attrs 17DEPENDS+= ${PYPKGPREFIX}-attrs>=22.2.0:../../devel/py-attrs
18DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=2.1.0:../../devel/py-sortedcontainers 18DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=2.1.0:../../devel/py-sortedcontainers

cvs diff -r1.129 -r1.130 pkgsrc/devel/py-hypothesis/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-hypothesis/distinfo 2024/01/25 10:58:23 1.129
+++ pkgsrc/devel/py-hypothesis/distinfo 2024/01/30 20:45:45 1.130
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.129 2024/01/25 10:58:23 adam Exp $ 1$NetBSD: distinfo,v 1.130 2024/01/30 20:45:45 adam Exp $
2 2
3BLAKE2s (hypothesis-6.97.0.tar.gz) = 5b9d2c9e0c56a3209c1d94bbc708a0ae11067f18e77b5a2e9ace096c0c9f683c 3BLAKE2s (hypothesis-6.97.3.tar.gz) = b9d3e4484c31ac8654bdd0b81aad1cbc838b01545d8a7f07e24a11181b3417fd
4SHA512 (hypothesis-6.97.0.tar.gz) = 2126a0a61c97bc740bd2d0225ed6b50bf4ecc98fe464e19022fc788327a2c67aa4d1072a410e40a6e8374542710453dc8f4ec5a96788b033069f9245983ecd74 4SHA512 (hypothesis-6.97.3.tar.gz) = ac424767db5f4dc9e137b7000bb3d979a97c6e6adaddf14b1472aa987b044bd00659ab85ab05fa61bb670b3725d9dfd73a802ce67417b31f20c2ffc72dc8774e
5Size (hypothesis-6.97.0.tar.gz) = 375452 bytes 5Size (hypothesis-6.97.3.tar.gz) = 375883 bytes