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:           Sat Apr 12 09:57:42 UTC 2025

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

Log Message:
py-hypothesis: updated to 6.131.0

6.131.0 - 2025-04-10
Add is_hypothesis_test(), for third-party libraries which want to determine whether a test has been defined with Hypothesis.

6.130.13 - 2025-04-09
Refactor some internals.

6.130.12 - 2025-04-09
Lays some groundwork for future work on collecting interesting literals from the code being tested, for increased bug-finding power (issue 3127). There is no user-visible change (yet!)

6.130.11 - 2025-04-08
Fix the caching behavior of sampled_from(), which in rare cases led to failing an internal assertion (issue 4339).

6.130.10 - 2025-04-07
This patch deprecates creating a database using the abstract ExampleDatabase() class. Use one of the following instead:

Replace ExampleDatabase(":memory:") with InMemoryExampleDatabase.
Replace ExampleDatabase("/path/to/dir") with DirectoryBasedExampleDatabase.
Replace ExampleDatabase() with either InMemoryExampleDatabase or DirectoryBasedExampleDatabase, depending on your needs. Previously, Hypothesis interpreted ExampleDatabase() as a 
DirectoryBasedExampleDatabase in the default .hypothesis directory, with a fallback to InMemoryExampleDatabase if that location was not available.
6.130.9 - 2025-04-06
When reporting the always-failing, never-passing lines from the Phase.explain phase, we now sort the reported lines so that local code shows up first, then third-party library code, then standard 
library code.

6.130.8 - 2025-04-02
Improves the documentation of verbosity objects.

6.130.7 - 2025-04-02
Rename internal variables for clarity.

6.130.6 - 2025-03-31
Update the documentation link in HealthCheck error messages to their new location in the documentation.

6.130.5 - 2025-03-28
Improve our internal type hints.

6.130.4 - 2025-03-25
Improve an additional interaction between the hypothesis-crosshair backend and our observability tools.

6.130.3 - 2025-03-24
This patch improves the interaction between the hypothesis-crosshair backend and our observability tools.

6.130.2 - 2025-03-22
Fix an issue with realizing symbolic values provided by alternative backends when Hypothesis encounters an internal error in its engine.

6.130.1 - 2025-03-22
Improve the documentation for some strategies, including @composite and data().

6.130.0 - 2025-03-21
Nesting @given inside of @given is now a health check failure. Nesting @given results in quadratic generation and shrinking behavior, and can usually be more cleanly expressed by replacing the inner 
function with a data() parameter on the outer given. For more details, see nested_given.


To generate a diff of this commit:
cvs rdiff -u -r1.155 -r1.156 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.45 -r1.46 pkgsrc/devel/py-hypothesis/PLIST
cvs rdiff -u -r1.149 -r1.150 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.155 pkgsrc/devel/py-hypothesis/Makefile:1.156
--- pkgsrc/devel/py-hypothesis/Makefile:1.155   Thu Mar 13 09:03:45 2025
+++ pkgsrc/devel/py-hypothesis/Makefile Sat Apr 12 09:57:42 2025
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.155 2025/03/13 09:03:45 adam Exp $
+# $NetBSD: Makefile,v 1.156 2025/04/12 09:57:42 adam Exp $
 #
 # Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
 
-DISTNAME=      hypothesis-6.129.0
+DISTNAME=      hypothesis-6.131.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
@@ -12,7 +12,7 @@ HOMEPAGE=     https://github.com/HypothesisW
 COMMENT=       Python library for property based testing
 LICENSE=       mpl-2.0
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-attrs>=22.2.0:../../devel/py-attrs
 DEPENDS+=      ${PYPKGPREFIX}-sortedcontainers>=2.1.0:../../devel/py-sortedcontainers
 

Index: pkgsrc/devel/py-hypothesis/PLIST
diff -u pkgsrc/devel/py-hypothesis/PLIST:1.45 pkgsrc/devel/py-hypothesis/PLIST:1.46
--- pkgsrc/devel/py-hypothesis/PLIST:1.45       Sun Jan 26 11:42:19 2025
+++ pkgsrc/devel/py-hypothesis/PLIST    Sat Apr 12 09:57:42 2025
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.45 2025/01/26 11:42:19 adam Exp $
+@comment $NetBSD: PLIST,v 1.46 2025/04/12 09:57:42 adam Exp $
 bin/hypothesis-${PYVERSSUFFIX}
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/_hypothesis_ftz_detector.py
 ${PYSITELIB}/_hypothesis_ftz_detector.pyc
@@ -180,6 +180,9 @@ ${PYSITELIB}/hypothesis/internal/conject
 ${PYSITELIB}/hypothesis/internal/conjecture/utils.py
 ${PYSITELIB}/hypothesis/internal/conjecture/utils.pyc
 ${PYSITELIB}/hypothesis/internal/conjecture/utils.pyo
+${PYSITELIB}/hypothesis/internal/constants_ast.py
+${PYSITELIB}/hypothesis/internal/constants_ast.pyc
+${PYSITELIB}/hypothesis/internal/constants_ast.pyo
 ${PYSITELIB}/hypothesis/internal/coverage.py
 ${PYSITELIB}/hypothesis/internal/coverage.pyc
 ${PYSITELIB}/hypothesis/internal/coverage.pyo

Index: pkgsrc/devel/py-hypothesis/distinfo
diff -u pkgsrc/devel/py-hypothesis/distinfo:1.149 pkgsrc/devel/py-hypothesis/distinfo:1.150
--- pkgsrc/devel/py-hypothesis/distinfo:1.149   Thu Mar 13 09:03:45 2025
+++ pkgsrc/devel/py-hypothesis/distinfo Sat Apr 12 09:57:42 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.149 2025/03/13 09:03:45 adam Exp $
+$NetBSD: distinfo,v 1.150 2025/04/12 09:57:42 adam Exp $
 
-BLAKE2s (hypothesis-6.129.0.tar.gz) = c10c22b52d09537678d9e7e91f8531569a5e14c78017e7a4f6fc5cda896d209d
-SHA512 (hypothesis-6.129.0.tar.gz) = ca6e124fb2f8f97ac7a0c53894fe23efc0bd73e0f7db02371419ed002347b5823b48dd8633d6c8d5773698fe28c9adb292f4c41e91c8de6c2ef6aeafa3881d93
-Size (hypothesis-6.129.0.tar.gz) = 423888 bytes
+BLAKE2s (hypothesis-6.131.0.tar.gz) = 3e5617a91a1c02c555e4cba3e37ae3670bb185086024b31a434f736b58d59b9f
+SHA512 (hypothesis-6.131.0.tar.gz) = 1d67345c31542fb7f74b44192bdaac54b52f90465328d94925e3bbc40bd3ac80504131a43e07b8ad284abcf32cdb1a98c59cb9f9a3b065e3a15f0e517db9592c
+Size (hypothesis-6.131.0.tar.gz) = 430541 bytes



Home | Main Index | Thread Index | Old Index