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 3.7.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b92fa0a90b1
branches:  trunk
changeset: 384189:1b92fa0a90b1
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Aug 19 08:12:20 2018 +0000

description:
py-test: updated to 3.7.2

pytest 3.7.2:

Bug Fixes
- Fix filterwarnings not being registered as a builtin mark.
- Fix test collection from packages mixed with normal directories.
- Fix infinite recursion during collection if a pytest_ignore_collect hook returns False instead of None.
- Fix bug where decorated fixtures would lose functionality (for example @mock.patch).
- Fix bug where importing modules or other objects with prefix pytest_ prefix would raise a PluginValidationError.
- Fix AttributeError during teardown of TestCase subclasses which raise an exception during __init__.
- Fix traceback reporting for exceptions with __cause__ cycles.

diffstat:

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

diffs (37 lines):

diff -r 66676630fb91 -r 1b92fa0a90b1 devel/py-test/Makefile
--- a/devel/py-test/Makefile    Sun Aug 19 08:06:54 2018 +0000
+++ b/devel/py-test/Makefile    Sun Aug 19 08:12:20 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.53 2018/08/05 10:27:30 adam Exp $
+# $NetBSD: Makefile,v 1.54 2018/08/19 08:12:20 adam Exp $
 
-DISTNAME=      pytest-3.7.1
+DISTNAME=      pytest-3.7.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest/}
@@ -36,6 +36,9 @@
                ${MV} py.test py.test-${PYVERSSUFFIX} && \
                ${MV} pytest pytest-${PYVERSSUFFIX} || ${TRUE}
 
+do-test:
+       cd ${WRKSRC}/testing && pytest-${PYVERSSUFFIX}
+
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 66676630fb91 -r 1b92fa0a90b1 devel/py-test/distinfo
--- a/devel/py-test/distinfo    Sun Aug 19 08:06:54 2018 +0000
+++ b/devel/py-test/distinfo    Sun Aug 19 08:12:20 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.49 2018/08/05 10:17:47 adam Exp $
+$NetBSD: distinfo,v 1.50 2018/08/19 08:12:20 adam Exp $
 
-SHA1 (pytest-3.7.1.tar.gz) = eaf3f55e08befbd9b7a56fcea8bb4cdc177edde3
-RMD160 (pytest-3.7.1.tar.gz) = 184a2446c82f9925f257a263796158bf88024b39
-SHA512 (pytest-3.7.1.tar.gz) = 703e52ca1400aeb6e68c802027f4c9f6d9079e3808cbeba730992e062cc1d5b53e5c1fa4bb3a98d97d2ed2b14fd1d5d1d191c970e44be382dc09b03a70f27f8b
-Size (pytest-3.7.1.tar.gz) = 845094 bytes
+SHA1 (pytest-3.7.2.tar.gz) = c89622fdc403dcc287040ac5a99d1dd321b3ade1
+RMD160 (pytest-3.7.2.tar.gz) = 507f75890f2168b2b50b25f0ce34525a04ad3f96
+SHA512 (pytest-3.7.2.tar.gz) = 569a67a0e5090936b0d5d53e8f1582c1dab5fdfd596c47c68b2487ad79af502a942ced0d876569f37ce5a49721c050b5dfc7c0d95b31cf61a73c4f82237b4611
+Size (pytest-3.7.2.tar.gz) = 847992 bytes



Home | Main Index | Thread Index | Old Index