pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-test py-test: updated to 6.2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc57d99c3057
branches:  trunk
changeset: 443561:fc57d99c3057
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Dec 16 13:15:12 2020 +0000

description:
py-test: updated to 6.2.1

pytest 6.2.1

Bug Fixes
Fixed bug where ImportPathMismatchError would be raised for files compiled in the host and loaded later from an UNC mounted path (Windows).

Fixed regression in approx: in 6.2.0 approx no longer raises TypeError when dealing with non-numeric types, falling back to normal comparison. Before 6.2.0, array types like tf.DeviceArray fell 
through to the scalar case, and happened to compare correctly to a scalar if they had only one element. After 6.2.0, these types began failing, because they inherited neither from standard Python 
number hierarchy nor from numpy.ndarray.

approx now converts arguments to numpy.ndarray if they expose the array protocol and are not scalars. This treats array-like objects like numpy arrays, regardless of size.

diffstat:

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

diffs (27 lines):

diff -r d2ca11153524 -r fc57d99c3057 devel/py-test/Makefile
--- a/devel/py-test/Makefile    Wed Dec 16 11:39:00 2020 +0000
+++ b/devel/py-test/Makefile    Wed Dec 16 13:15:12 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.98 2020/12/14 06:21:38 adam Exp $
+# $NetBSD: Makefile,v 1.99 2020/12/16 13:15:12 adam Exp $
 
-DISTNAME=      pytest-6.2.0
+DISTNAME=      pytest-6.2.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest/}
diff -r d2ca11153524 -r fc57d99c3057 devel/py-test/distinfo
--- a/devel/py-test/distinfo    Wed Dec 16 11:39:00 2020 +0000
+++ b/devel/py-test/distinfo    Wed Dec 16 13:15:12 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.85 2020/12/14 06:21:38 adam Exp $
+$NetBSD: distinfo,v 1.86 2020/12/16 13:15:12 adam Exp $
 
-SHA1 (pytest-6.2.0.tar.gz) = 96cb3d1cc9e0850ef754eeca7bcbbd05504b6752
-RMD160 (pytest-6.2.0.tar.gz) = 672b5a960976e556cba812f07a691130ede66289
-SHA512 (pytest-6.2.0.tar.gz) = 58315bb5f9a696f5196da08912a0f32fd367ea11987d37ff74b0d00d961bb706e0d3604bc7c25a762e4ee66bd46ef4389b50eca11b3109406c169aefff395d51
-Size (pytest-6.2.0.tar.gz) = 1101619 bytes
+SHA1 (pytest-6.2.1.tar.gz) = 7450c3db97d3202c2e2649b250c3df9bac3a8efe
+RMD160 (pytest-6.2.1.tar.gz) = b9617daa1449b3431b34759d30bb91d8fc151e8a
+SHA512 (pytest-6.2.1.tar.gz) = abd130212411e0a26265aec922958053e41d05d09d14942b75c1ba81d0ad7c5115d851110a257b32f0b05a2d515961ad068a1fd65f7e275cfe65d16150d008a6
+Size (pytest-6.2.1.tar.gz) = 1102958 bytes



Home | Main Index | Thread Index | Old Index