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: update to 5.46.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3de4b2bf5edc
branches:  trunk
changeset: 444267:3de4b2bf5edc
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jan 04 11:55:03 2021 +0000

description:
py-hypothesis: update to 5.46.0.

5.46.0 - 2021-01-04

This release upgrades from_type(), to infer strategies for
type-annotated arguments even if they have defaults when it otherwise
falls back to builds() (issue #2708).

5.45.0 - 2021-01-04

This release adds the hypothesis[codemods] extra, which you can
use to check for and automatically fix issues such as use of
deprecated Hypothesis APIs (issue #2705).

5.44.0 - 2021-01-03

This patch fixes from_type() with the typing_extensions Literal
backport on Python 3.6.

5.43.9 - 2021-01-02

This patch fixes issue #2722, where certain orderings of
register_type_strategy(), ForwardRef, and from_type() could trigger
an internal error.

5.43.8 - 2021-01-02

This patch makes some strategies for collections with a uniqueness
constraint much more efficient, including
dictionaries(keys=sampled_from(...), values=..) and
lists(tuples(sampled_from(...), ...), unique_by=lambda x: x[0]).
(related to issue #2036)

5.43.7 - 2021-01-02

This patch extends our faster special case for sampled_from()
elements in unique lists() to account for chains of .map(...) and
.filter(...) calls (issue #2036).

5.43.6 - 2021-01-02

This patch improves the type annotations on assume() and
@reproduce_failure().

5.43.5 - 2021-01-01

This patch updates our copyright headers to include 2021. Happy
new year!

5.43.4 - 2020-12-24

This change fixes a documentation error in the database setting.

The previous documentation suggested that callers could specify a
database path string, or the special string ":memory:", but this
setting has never actually allowed string arguments.

Permitted values are None, and instances of ExampleDatabase.

5.43.3 - 2020-12-11

This patch fixes issue #2696, an internal error triggered when the
@example decorator was used and the verbosity setting was quiet.

5.43.2 - 2020-12-10

This patch improves the error message from the data_frames() strategy
when both the rows and columns arguments are given, but there is
a missing entry in rows and the corresponding column has no fill
value (issue #2678).

5.43.1 - 2020-12-10

This patch improves the error message if builds() is passed an Enum
which cannot be called without arguments, to suggest using
sampled_from() (issue #2693).

5.43.0 - 2020-12-09

This release adds new timezones() and timezone_keys() strategies
(issue #2630) based on the new zoneinfo module in Python 3.9.

pip install hypothesis[zoneinfo] will ensure that you have the
appropriate backports installed if you need them.

diffstat:

 devel/py-hypothesis/Makefile |   4 ++--
 devel/py-hypothesis/PLIST    |   5 ++++-
 devel/py-hypothesis/distinfo |  10 +++++-----
 3 files changed, 11 insertions(+), 8 deletions(-)

diffs (48 lines):

diff -r 50a5fe5083bb -r 3de4b2bf5edc devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile      Mon Jan 04 11:53:22 2021 +0000
+++ b/devel/py-hypothesis/Makefile      Mon Jan 04 11:55:03 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.91 2020/12/09 09:11:58 adam Exp $
+# $NetBSD: Makefile,v 1.92 2021/01/04 11:55:03 wiz Exp $
 #
 # Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
 
-DISTNAME=      hypothesis-5.42.3
+DISTNAME=      hypothesis-5.46.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
diff -r 50a5fe5083bb -r 3de4b2bf5edc devel/py-hypothesis/PLIST
--- a/devel/py-hypothesis/PLIST Mon Jan 04 11:53:22 2021 +0000
+++ b/devel/py-hypothesis/PLIST Mon Jan 04 11:55:03 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.31 2020/10/06 10:52:29 wiz Exp $
+@comment $NetBSD: PLIST,v 1.32 2021/01/04 11:55:03 wiz Exp $
 bin/hypothesis
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -43,6 +43,9 @@
 ${PYSITELIB}/hypothesis/extra/cli.py
 ${PYSITELIB}/hypothesis/extra/cli.pyc
 ${PYSITELIB}/hypothesis/extra/cli.pyo
+${PYSITELIB}/hypothesis/extra/codemods.py
+${PYSITELIB}/hypothesis/extra/codemods.pyc
+${PYSITELIB}/hypothesis/extra/codemods.pyo
 ${PYSITELIB}/hypothesis/extra/dateutil.py
 ${PYSITELIB}/hypothesis/extra/dateutil.pyc
 ${PYSITELIB}/hypothesis/extra/dateutil.pyo
diff -r 50a5fe5083bb -r 3de4b2bf5edc devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo      Mon Jan 04 11:53:22 2021 +0000
+++ b/devel/py-hypothesis/distinfo      Mon Jan 04 11:55:03 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.88 2020/12/09 09:11:58 adam Exp $
+$NetBSD: distinfo,v 1.89 2021/01/04 11:55:03 wiz Exp $
 
-SHA1 (hypothesis-5.42.3.tar.gz) = 0c096c8e34eae76c4b4be985a38c359e3836b9fa
-RMD160 (hypothesis-5.42.3.tar.gz) = 0d3d78ff01bccd3999e43559d255b79e29229119
-SHA512 (hypothesis-5.42.3.tar.gz) = de42356f29a3f0c75255f9eb496bc700a45ee3d856906c87493d71c6201ec0be7535b9ce9269c950de5599d3b284866bdfadf3a609f6b846ee11f4db445e77fc
-Size (hypothesis-5.42.3.tar.gz) = 280219 bytes
+SHA1 (hypothesis-5.46.0.tar.gz) = bbbe43c99edf1d65cc1a46b3bef2a91600822dae
+RMD160 (hypothesis-5.46.0.tar.gz) = 4f343de8165935216867bbf818100ca6f2ae04b1
+SHA512 (hypothesis-5.46.0.tar.gz) = 85b9750ae7ec8ddf93412f5699177e0db6c97808fbba68d99b2cb848790292bffe0582cb41d235869e035ff5bd37922137e35d2ad07da351dd5b2a7f0c026463
+Size (hypothesis-5.46.0.tar.gz) = 288118 bytes



Home | Main Index | Thread Index | Old Index