pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-hypothesis Updated py-hypothesis to 3.6.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bafe60ac95e7
branches:  trunk
changeset: 354716:bafe60ac95e7
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Nov 07 11:10:24 2016 +0000

description:
Updated py-hypothesis to 3.6.0.

3.6.0 - 2016-10-31

This release reverts Hypothesis to its old pretty printing of lambda
functions based on attempting to extract the source code rather
than decompile the bytecode. This is unfortunately slightly inferior
in some cases and may result in you occasionally seeing things like
lambda x: <unknown> in statistics reports and strategy reprs.

This removes the dependencies on uncompyle6, xdis and spark-parser.

The reason for this is that the new functionality was based on
uncompyle6, which turns out to introduce a hidden GPLed dependency
- it in turn depended on xdis, and although the library was licensed
under the MIT license, it contained some GPL licensed source code
and thus should have been released under the GPL.

My interpretation is that Hypothesis itself was never in violation
of the GPL (because the license it is under, the Mozilla Public
License v2, is fully compatible with being included in a GPL licensed
work), but I have not consulted a lawyer on the subject. Regardless
of the answer to this question, adding a GPLed dependency will
likely cause a lot of users of Hypothesis to inadvertently be in
violation of the GPL.

As a result, if you are running Hypothesis 3.5.x you really should
upgrade to this release immediately.

diffstat:

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

diffs (39 lines):

diff -r 753b9d8a7111 -r bafe60ac95e7 devel/py-hypothesis/Makefile
--- a/devel/py-hypothesis/Makefile      Mon Nov 07 11:08:08 2016 +0000
+++ b/devel/py-hypothesis/Makefile      Mon Nov 07 11:10:24 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2016/10/19 12:45:00 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2016/11/07 11:10:24 wiz Exp $
 
-DISTNAME=      hypothesis-3.5.3
+DISTNAME=      hypothesis-3.6.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
@@ -14,11 +14,6 @@
 
 USE_LANGUAGES= # none
 
-# check if these (unpackaged) modules are needed:
-# py-xdis
-# py-spark-parser
-# py-uncompyle
-
 # actual tests only in github distfile, but that needs py-test and
 # py-test depends on py-hypothesis...
 
diff -r 753b9d8a7111 -r bafe60ac95e7 devel/py-hypothesis/distinfo
--- a/devel/py-hypothesis/distinfo      Mon Nov 07 11:08:08 2016 +0000
+++ b/devel/py-hypothesis/distinfo      Mon Nov 07 11:10:24 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2016/10/19 12:42:56 wiz Exp $
+$NetBSD: distinfo,v 1.4 2016/11/07 11:10:24 wiz Exp $
 
-SHA1 (hypothesis-3.5.3.tar.gz) = 47a403ac3ff5b56c1332fc9df8c53e12c44bb043
-RMD160 (hypothesis-3.5.3.tar.gz) = 1faedc1af8deec39c977121b50dc45e26867a0e0
-SHA512 (hypothesis-3.5.3.tar.gz) = 1b22715e3ead84075d58c3e6ddfc074f542b2bce077e4e63fadd5910266bad81b3393b8a5c8d3b77e6f73e6987428fc92bd38a2d02003b5f490dd4ce08bca34c
-Size (hypothesis-3.5.3.tar.gz) = 73052 bytes
+SHA1 (hypothesis-3.6.0.tar.gz) = 67b77fc0a769d9502e7ebb5ee10eb426f1343776
+RMD160 (hypothesis-3.6.0.tar.gz) = fe7285ac4e1cf8e9dd42000d0fda982503d2c270
+SHA512 (hypothesis-3.6.0.tar.gz) = cb885628e5c38ab9312cfb177ebc3c014617d21031737f5fba343ba485c1b8ff82b1302e7bc1d3e79192bfd8324fd0501498c968f3ac8343829f8965f6354389
+Size (hypothesis-3.6.0.tar.gz) = 73586 bytes



Home | Main Index | Thread Index | Old Index