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:           Thu Dec  2 11:15:26 UTC 2021

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

Log Message:
py-hypothesis: updated to 6.29.3

6.29.3

This patch fixes a bug in mutually_broadcastable_shapes(), which restricted the patterns of singleton dimensions that could be generated for dimensions that extended beyond base_shape.

6.29.2

This patch clarifies our pretty-printing of DataFrames.

6.29.1

This patch documents timezones() Windows-only requirement for the tzdata package, and ensures that pip install hypothesis[zoneinfo] will install the latest version.

6.29.0

This release teaches builds() to use deferred() when resolving unrecognised type hints, so that you can conveniently register strategies for recursive types with constraints on some arguments:

class RecursiveClass:
    def __init__(self, value: int, next_node: typing.Optional["SomeClass"]):
        assert value > 0
        self.value = value
        self.next_node = next_node

st.register_type_strategy(
    RecursiveClass, st.builds(RecursiveClass, value=st.integers(min_value=1))
)
6.28.1

This release fixes some internal calculations related to collection sizes.

6.28.0

This release modifies our pytest plugin, to avoid importing Hypothesis and therefore triggering Hypothesis’ entry points for test suites where Hypothesis is installed but not actually used.

6.27.3

This release fixes issue 3080, where from_type() failed on unions containing PEP 585 builtin generic types (like list[int]) in Python 3.9 and later.

6.27.2

This patch makes the hypothesis codemod command somewhat faster.


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.35 -r1.36 pkgsrc/devel/py-hypothesis/PLIST
cvs rdiff -u -r1.103 -r1.104 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.104 pkgsrc/devel/py-hypothesis/Makefile:1.105
--- pkgsrc/devel/py-hypothesis/Makefile:1.104   Thu Nov 25 20:01:56 2021
+++ pkgsrc/devel/py-hypothesis/Makefile Thu Dec  2 11:15:26 2021
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.104 2021/11/25 20:01:56 adam Exp $
+# $NetBSD: Makefile,v 1.105 2021/12/02 11:15:26 adam Exp $
 #
 # Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
 
-DISTNAME=      hypothesis-6.27.1
+DISTNAME=      hypothesis-6.29.3
 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.35 pkgsrc/devel/py-hypothesis/PLIST:1.36
--- pkgsrc/devel/py-hypothesis/PLIST:1.35       Thu Nov 25 20:01:56 2021
+++ pkgsrc/devel/py-hypothesis/PLIST    Thu Dec  2 11:15:26 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.35 2021/11/25 20:01:56 adam Exp $
+@comment $NetBSD: PLIST,v 1.36 2021/12/02 11:15:26 adam Exp $
 bin/hypothesis
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -7,6 +7,9 @@ ${PYSITELIB}/${EGG_INFODIR}/entry_points
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/_hypothesis_pytestplugin.py
+${PYSITELIB}/_hypothesis_pytestplugin.pyc
+${PYSITELIB}/_hypothesis_pytestplugin.pyo
 ${PYSITELIB}/hypothesis/__init__.py
 ${PYSITELIB}/hypothesis/__init__.pyc
 ${PYSITELIB}/hypothesis/__init__.pyo

Index: pkgsrc/devel/py-hypothesis/distinfo
diff -u pkgsrc/devel/py-hypothesis/distinfo:1.103 pkgsrc/devel/py-hypothesis/distinfo:1.104
--- pkgsrc/devel/py-hypothesis/distinfo:1.103   Thu Nov 25 20:01:56 2021
+++ pkgsrc/devel/py-hypothesis/distinfo Thu Dec  2 11:15:26 2021
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.103 2021/11/25 20:01:56 adam Exp $
+$NetBSD: distinfo,v 1.104 2021/12/02 11:15:26 adam Exp $
 
-BLAKE2s (hypothesis-6.27.1.tar.gz) = 528c4c7dcc1791a0b5b317ce99510f6a91dac75671cc7c829c7e96fe1960a022
-SHA512 (hypothesis-6.27.1.tar.gz) = 0e8cfabb2e81d4cec65ef8757e92e91b29494c68770ebc91d08588e4d06666a069f37a06c87fdedd0f6f4541f3bf821494bb3771ac1c5a149637502c77f00456
-Size (hypothesis-6.27.1.tar.gz) = 314803 bytes
+BLAKE2s (hypothesis-6.29.3.tar.gz) = de84460d02400e8ea9debf179338895c9d706c6e256d548b583a5a99fe7fbc37
+SHA512 (hypothesis-6.29.3.tar.gz) = 58cea5cbf00391ec34d13f3dbadbe7a6e8cd08a8d9093f343ee7cf903cd5fa05ff806df8094be96b084c23ba64bc8efb5a43f573b7adf6e3a7507001acc74df3
+Size (hypothesis-6.29.3.tar.gz) = 316199 bytes



Home | Main Index | Thread Index | Old Index