pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-hypothesis py-hypothesis: updated to 4.17.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b8e108be175
branches:  trunk
changeset: 394546:8b8e108be175
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Apr 16 07:14:00 2019 +0000

description:
py-hypothesis: updated to 4.17.0

4.17.0
This release adds the strategy :func:~hypothesis.extra.numpy.broadcastable_shapes, which generates array shapes that are broadcast-compatible with a provided shape.

4.16.0
This release allows :func:~hypothesis.strategies.register_type_strategy to be used with :obj:python:typing.NewType instances. This may be useful to e.g. provide only positive integers for 
:func:from_type(UserId) <hypothesis.strategies.from_type> with a UserId = NewType('UserId', int) type.

4.15.0
This release supports passing a :class:~python:datetime.timedelta as the :obj:~hypothesis.settings.deadline setting, so you no longer have to remember that the number is in milliseconds (:issue:1900).

Thanks to Damon Francisco for this change!

4.14.7
This patch makes the type annotations on hypothesis.extra.dateutil compatible with :pypi:mypy 0.700.

4.14.6
This release fixes a bug introduced in :ref:Hypothesis 4.14.3 <v4.14.3> that would sometimes cause :func:sampled_from(...).filter(...) <hypothesis.strategies.sampled_from> to encounter an internal 
assertion failure when there are three or fewer elements, and every element is rejected by the filter.

4.14.5
This patch takes the previous efficiency improvements to :func:sampled_from(...).filter(...) <hypothesis.strategies.sampled_from> strategies that reject most elements, and generalises them to also 
apply to sampled_from(...).filter(...).filter(...) and longer chains of filters.

4.14.4
This release fixes a bug that prevented :func:~hypothesis.strategies.random_module from correctly restoring the previous state of the random module.

The random state was instead being restored to a temporary deterministic state, which accidentally caused subsequent tests to see the same random values across multiple test runs.

4.14.3
This patch adds an internal special case to make :func:sampled_from(...).filter(...) <hypothesis.strategies.sampled_from> much more efficient when the filter rejects most elements

diffstat:

 devel/py-hypothesis/Makefile |   4 ++--
 devel/py-hypothesis/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r bda446dee6ba -r 8b8e108be175 devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile      Tue Apr 16 06:53:26 2019 +0000
+++ b/devel/py-hypothesis/Makefile      Tue Apr 16 07:14:00 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.74 2019/04/02 09:40:30 adam Exp $
+# $NetBSD: Makefile,v 1.75 2019/04/16 07:14:00 adam Exp $
 
-DISTNAME=      hypothesis-4.14.2
+DISTNAME=      hypothesis-4.17.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
diff -r bda446dee6ba -r 8b8e108be175 devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo      Tue Apr 16 06:53:26 2019 +0000
+++ b/devel/py-hypothesis/distinfo      Tue Apr 16 07:14:00 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.71 2019/04/02 09:40:30 adam Exp $
+$NetBSD: distinfo,v 1.72 2019/04/16 07:14:00 adam Exp $
 
-SHA1 (hypothesis-4.14.2.tar.gz) = dad8e20b668b68be9bf9b4d0884e6674275d9c8c
-RMD160 (hypothesis-4.14.2.tar.gz) = 360932a5751ad19eae200686351aa7f1886ab9e9
-SHA512 (hypothesis-4.14.2.tar.gz) = 08174c678f4707dba2f5d1b07369239636f9f564738df71eac13f1a7f85f56f489cf4c0753e84d688519db9b99fbd37147b87823c74938ef4e5ec7f8203f7433
-Size (hypothesis-4.14.2.tar.gz) = 195165 bytes
+SHA1 (hypothesis-4.17.0.tar.gz) = 979d86f3a31b386e42eabf73cb5bb35a2cd1e0ba
+RMD160 (hypothesis-4.17.0.tar.gz) = 3e9a0ee7f7333423cebef1129571ff8082e8dd3d
+SHA512 (hypothesis-4.17.0.tar.gz) = 156a96537797d26d7f8438b0809f5379cbd0dd4c23d2bf26937b1a5bf5c55e72f0c9dcbb68ef34f83f9eb6a06085a588146db18dcff9a03dc2d22902f9b793db
+Size (hypothesis-4.17.0.tar.gz) = 198591 bytes



Home | Main Index | Thread Index | Old Index