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:           Mon Dec 11 20:46:39 UTC 2023

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

Log Message:
py-hypothesis: updated to 6.92.0

6.92.0

This release adds an experimental observability mode. You can read the docs about it here.

6.91.2

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

6.91.1

This patch fixes an issue where builds() could not be used with attrs objects that defined private attributes (i.e. attributes with a leading underscore).

This patch also adds support more generally for using builds() with attrs’ alias parameter, which was previously unsupported.

This patch increases the minimum required version of attrs to 22.2.0.

6.91.0

This release adds an optional payload argument to hypothesis.event(), so that you can clearly express the difference between the label and the value of an observation. Test statistics will still 
summarize it as a string, but future observability options can preserve the distinction.

6.90.1

This patch supports assigning settings = settings(...) as a class attribute on a subclass of a .TestCase attribute of a RuleBasedStateMachine. Previously, this did nothing at all.

Thanks to Joey Tran for reporting these settings-related edge cases in stateful testing.

6.90.0

This release makes it an error to assign settings = settings(...) as a class attribute on a RuleBasedStateMachine. This has never had any effect, and it should be used as a decorator instead:


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.40 -r1.41 pkgsrc/devel/py-hypothesis/PLIST
cvs rdiff -u -r1.125 -r1.126 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.129 pkgsrc/devel/py-hypothesis/Makefile:1.130
--- pkgsrc/devel/py-hypothesis/Makefile:1.129   Thu Oct 26 08:02:34 2023
+++ pkgsrc/devel/py-hypothesis/Makefile Mon Dec 11 20:46:39 2023
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.129 2023/10/26 08:02:34 adam Exp $
+# $NetBSD: Makefile,v 1.130 2023/12/11 20:46:39 adam Exp $
 #
 # Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
 
-DISTNAME=      hypothesis-6.88.1
+DISTNAME=      hypothesis-6.92.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
@@ -12,13 +12,11 @@ HOMEPAGE=   https://github.com/HypothesisW
 COMMENT=       Python library for property based testing
 LICENSE=       mpl-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs
+DEPENDS+=      ${PYPKGPREFIX}-attrs>=22.2.0:../../devel/py-attrs
 DEPENDS+=      ${PYPKGPREFIX}-sortedcontainers>=2.1.0:../../devel/py-sortedcontainers
 
 USE_LANGUAGES= # none
 
-USE_PKG_RESOURCES=     yes
-
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/pyversion.mk"
@@ -30,5 +28,5 @@ post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} hypothesis hypothesis-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-hypothesis/PLIST
diff -u pkgsrc/devel/py-hypothesis/PLIST:1.40 pkgsrc/devel/py-hypothesis/PLIST:1.41
--- pkgsrc/devel/py-hypothesis/PLIST:1.40       Wed Oct  4 20:40:59 2023
+++ pkgsrc/devel/py-hypothesis/PLIST    Mon Dec 11 20:46:39 2023
@@ -1,12 +1,11 @@
-@comment $NetBSD: PLIST,v 1.40 2023/10/04 20:40:59 adam Exp $
+@comment $NetBSD: PLIST,v 1.41 2023/12/11 20:46:39 adam Exp $
 bin/hypothesis-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${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}/top_level.txt
 ${PYSITELIB}/_hypothesis_ftz_detector.py
 ${PYSITELIB}/_hypothesis_ftz_detector.pyc
 ${PYSITELIB}/_hypothesis_ftz_detector.pyo
@@ -16,9 +15,6 @@ ${PYSITELIB}/_hypothesis_pytestplugin.py
 ${PYSITELIB}/hypothesis/__init__.py
 ${PYSITELIB}/hypothesis/__init__.pyc
 ${PYSITELIB}/hypothesis/__init__.pyo
-${PYSITELIB}/hypothesis/_error_if_old.py
-${PYSITELIB}/hypothesis/_error_if_old.pyc
-${PYSITELIB}/hypothesis/_error_if_old.pyo
 ${PYSITELIB}/hypothesis/_settings.py
 ${PYSITELIB}/hypothesis/_settings.pyc
 ${PYSITELIB}/hypothesis/_settings.pyo
@@ -199,9 +195,9 @@ ${PYSITELIB}/hypothesis/internal/healthc
 ${PYSITELIB}/hypothesis/internal/intervalsets.py
 ${PYSITELIB}/hypothesis/internal/intervalsets.pyc
 ${PYSITELIB}/hypothesis/internal/intervalsets.pyo
-${PYSITELIB}/hypothesis/internal/lazyformat.py
-${PYSITELIB}/hypothesis/internal/lazyformat.pyc
-${PYSITELIB}/hypothesis/internal/lazyformat.pyo
+${PYSITELIB}/hypothesis/internal/observability.py
+${PYSITELIB}/hypothesis/internal/observability.pyc
+${PYSITELIB}/hypothesis/internal/observability.pyo
 ${PYSITELIB}/hypothesis/internal/reflection.py
 ${PYSITELIB}/hypothesis/internal/reflection.pyc
 ${PYSITELIB}/hypothesis/internal/reflection.pyo

Index: pkgsrc/devel/py-hypothesis/distinfo
diff -u pkgsrc/devel/py-hypothesis/distinfo:1.125 pkgsrc/devel/py-hypothesis/distinfo:1.126
--- pkgsrc/devel/py-hypothesis/distinfo:1.125   Thu Oct 26 08:02:34 2023
+++ pkgsrc/devel/py-hypothesis/distinfo Mon Dec 11 20:46:39 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.125 2023/10/26 08:02:34 adam Exp $
+$NetBSD: distinfo,v 1.126 2023/12/11 20:46:39 adam Exp $
 
-BLAKE2s (hypothesis-6.88.1.tar.gz) = 9aa747252c755f459dc148480138089bc9e93a05471d52041344b817909d307d
-SHA512 (hypothesis-6.88.1.tar.gz) = d4f67678be32cb82da3987e0eb20b3bcb98743c3c3b8b7f5641e9665b49c1038af87af5ac324965079741f91cb7ba6335893ae6d021b682841b6b1cc813816f6
-Size (hypothesis-6.88.1.tar.gz) = 359984 bytes
+BLAKE2s (hypothesis-6.92.0.tar.gz) = e0ae9fdda8a9eaebbc206e2f09d32029ae8024ab98209b615b66fcdbe2ae2d01
+SHA512 (hypothesis-6.92.0.tar.gz) = 6a016f2d393403c9f70d13a63c955521fb8c50c3378196a6a845fadfec4eea016a292f19d4db976fbfdf319f9e094148083fc44beaeed4a3dfc297d301a58a37
+Size (hypothesis-6.92.0.tar.gz) = 369228 bytes



Home | Main Index | Thread Index | Old Index