Mon Sep 4 17:28:45 2017 UTC ()
3.23.2:
This is a small refactoring release that removes a now-unused parameter to an internal API. It shouldn窶冲 have any user visible effect.

3.23.1:
Hypothesis no longer propagates the dynamic scope of settings into strategy definitions.

This release is a small change to something that was never part of the public API and you will almost certainly not notice any effect unless you窶决e doing something surprising, but for example the following code will now give a different answer in some circumstances:

import hypothesis.strategies as st
from hypothesis import settings

CURRENT_SETTINGS = st.builds(lambda: settings.default)
(We don窶冲 actually encourage you writing code like this)

Previously this would have generated the settings that were in effect at the point of definition of CURRENT_SETTINGS. Now it will generate the settings that are used for the current test.

It is very unlikely to be significant enough to be visible, but you may also notice a small performance improvement.


(adam)
diff -r1.30 -r1.31 pkgsrc/devel/py-hypothesis/Makefile
diff -r1.27 -r1.28 pkgsrc/devel/py-hypothesis/distinfo

cvs diff -r1.30 -r1.31 pkgsrc/devel/py-hypothesis/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-hypothesis/Makefile 2017/08/27 12:16:06 1.30
+++ pkgsrc/devel/py-hypothesis/Makefile 2017/09/04 17:28:45 1.31
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.30 2017/08/27 12:16:06 adam Exp $ 1# $NetBSD: Makefile,v 1.31 2017/09/04 17:28:45 adam Exp $
2 2
3DISTNAME= hypothesis-3.22.0 3DISTNAME= hypothesis-3.23.2
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/HypothesisWorks/hypothesis-python 9HOMEPAGE= https://github.com/HypothesisWorks/hypothesis-python
10COMMENT= Python library for property based testing 10COMMENT= Python library for property based testing
11LICENSE= mpl-2.0 11LICENSE= mpl-2.0
12 12
13DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 13DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
14 14
15.include "../../lang/python/pyversion.mk" 15.include "../../lang/python/pyversion.mk"
16 16

cvs diff -r1.27 -r1.28 pkgsrc/devel/py-hypothesis/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-hypothesis/distinfo 2017/08/27 12:16:07 1.27
+++ pkgsrc/devel/py-hypothesis/distinfo 2017/09/04 17:28:45 1.28
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.27 2017/08/27 12:16:07 adam Exp $ 1$NetBSD: distinfo,v 1.28 2017/09/04 17:28:45 adam Exp $
2 2
3SHA1 (hypothesis-3.22.0.tar.gz) = 7c9e78e906604630262dbba050d508de4e56a345 3SHA1 (hypothesis-3.23.2.tar.gz) = 5876a8eb96516a967d7992d9af4d0f1b5564a378
4RMD160 (hypothesis-3.22.0.tar.gz) = 4193b282e3caf9338d45f89070744d357cbb2da5 4RMD160 (hypothesis-3.23.2.tar.gz) = 2d2264051ce5178b92197861e5fb9a45656f7929
5SHA512 (hypothesis-3.22.0.tar.gz) = a530fc14e826c6681b1cffb34f0f7be5705915eb8659fbb6587507876c585ce9e939a925e0c08d5725852d730db50ade9da69f6b16cee9b26cd4547a28bbcdca 5SHA512 (hypothesis-3.23.2.tar.gz) = da40e782eb8d794ce040c9d6cb387ec1ee8b80b9269744a019e8251cdc43f11c8ce6a9226d17cd3a528ad5940ed4a42313368c1a9906bacd907e1c828f9e9ac0
6Size (hypothesis-3.22.0.tar.gz) = 106792 bytes 6Size (hypothesis-3.23.2.tar.gz) = 107726 bytes