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 4.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0d08974ff57
branches:  trunk
changeset: 325745:b0d08974ff57
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Nov 24 15:35:13 2018 +0000

description:
py-test: updated to 4.0.1

pytest 4.0.1:

Bug Fixes
- Display warnings before "short test summary info" again, but still later warnings in the end.
- Handle uninitialized exceptioninfo in repr/str.
- Do not create .gitignore/README.md files in existing cache directories.
- Rearrange warning handling for the yield test errors so the opt-out in 4.0.x correctly works.
- Fix collection of testpaths with --pyargs.
- Fix assertion rewriting involving Starred + side-effects.
- Ensure we resolve the absolute path when the given --basetemp is a relative path.

- Use pkg_resources.parse_version instead of LooseVersion in minversion check.
- Adjust the stack level of some internal pytest warnings.

diffstat:

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

diffs (43 lines):

diff -r b96573354cf3 -r b0d08974ff57 devel/py-test/Makefile
--- a/devel/py-test/Makefile    Sat Nov 24 15:33:06 2018 +0000
+++ b/devel/py-test/Makefile    Sat Nov 24 15:35:13 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.65 2018/11/11 21:56:21 adam Exp $
+# $NetBSD: Makefile,v 1.66 2018/11/24 15:35:13 adam Exp $
 
-DISTNAME=      pytest-3.10.1
+DISTNAME=      pytest-4.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest/}
@@ -18,12 +18,13 @@
 DEPENDS+=      ${PYPKGPREFIX}-py>=1.5.0:../../devel/py-py
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.10.0:../../lang/py-six
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
-TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
-TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=3.56:../../devel/py-hypothesis
+TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
 
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} == 27
 DEPENDS+=      ${PYPKGPREFIX}-funcsigs-[0-9]*:../../devel/py-funcsigs
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 .elif ${_PYTHON_VERSION} < 36
 DEPENDS+=      ${PYPKGPREFIX}-pathlib2>=2.2.0:../../devel/py-pathlib2
 .endif
diff -r b96573354cf3 -r b0d08974ff57 devel/py-test/distinfo
--- a/devel/py-test/distinfo    Sat Nov 24 15:33:06 2018 +0000
+++ b/devel/py-test/distinfo    Sat Nov 24 15:35:13 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.60 2018/11/11 21:56:21 adam Exp $
+$NetBSD: distinfo,v 1.61 2018/11/24 15:35:13 adam Exp $
 
-SHA1 (pytest-3.10.1.tar.gz) = f5f26c444b347d1dca23f7bd6815f4c79baba1cb
-RMD160 (pytest-3.10.1.tar.gz) = 72615fa1809e8d78786af81487371bb6ec28b52b
-SHA512 (pytest-3.10.1.tar.gz) = 30ff79c0fdcbeef68e1191ff400a20428e391717f06957f554b694b94baaaa565dca01346fe989c3e443c4402f3b2bdbd5564f6303a4447f933fb54cba45628f
-Size (pytest-3.10.1.tar.gz) = 892420 bytes
+SHA1 (pytest-4.0.1.tar.gz) = bd2c48c2466d5ad46a85e22d2dd2881dda801563
+RMD160 (pytest-4.0.1.tar.gz) = 51be116c7ecd209949632490d5a492daac7c2413
+SHA512 (pytest-4.0.1.tar.gz) = 55513e9da61037b7381892d1d60a6b40d4d06ad3d7ab1e186b3bb88ed6a8469c7b30779880906628c74162b1f4664566c27388562e5f95342cf2af63b323e1d1
+Size (pytest-4.0.1.tar.gz) = 903708 bytes



Home | Main Index | Thread Index | Old Index