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.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/33365eb0b54a
branches:  trunk
changeset: 329936:33365eb0b54a
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Feb 19 08:25:49 2019 +0000

description:
py-test: updated to 4.3.0

pytest 4.3.0:

Deprecations
* pytest.warns() now emits a warning when it receives unknown keyword arguments.

This will be changed into an error in the future.

Features
* Usage errors from argparse are mapped to pytest?s UsageError.

* Add the --ignore-glob parameter to exclude test-modules with Unix shell-style wildcards. Add the collect_ignore_glob for conftest.py to exclude test-modules with Unix shell-style wildcards.

* The warning about Python 2.7 and 3.4 not being supported in pytest 5.0 has been removed.

In the end it was considered to be more of a nuisance than actual utility and users of those Python versions shouldn?t have problems as pip will not install pytest 5.0 on those interpreters.

* With the help of new set_log_path() method there is a way to set log_file paths from hooks.

Bug Fixes
* --help and --version are handled with UsageError.
* Fix AssertionError with collection of broken symlinks with packages.

diffstat:

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

diffs (40 lines):

diff -r 159b2a5510ac -r 33365eb0b54a devel/py-test/Makefile
--- a/devel/py-test/Makefile    Tue Feb 19 00:09:29 2019 +0000
+++ b/devel/py-test/Makefile    Tue Feb 19 08:25:49 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.73 2019/02/13 15:40:53 adam Exp $
+# $NetBSD: Makefile,v 1.74 2019/02/19 08:25:49 adam Exp $
 
-DISTNAME=      pytest-4.2.1
+DISTNAME=      pytest-4.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest/}
@@ -16,10 +16,12 @@
 DEPENDS+=      ${PYPKGPREFIX}-more-itertools>=4.0.0:../../devel/py-more-itertools
 DEPENDS+=      ${PYPKGPREFIX}-pluggy>=0.7:../../devel/py-pluggy
 DEPENDS+=      ${PYPKGPREFIX}-py>=1.5.0:../../devel/py-py
+DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.10.0:../../lang/py-six
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
 TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=3.56:../../devel/py-hypothesis
 TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
 
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} == 27
diff -r 159b2a5510ac -r 33365eb0b54a devel/py-test/distinfo
--- a/devel/py-test/distinfo    Tue Feb 19 00:09:29 2019 +0000
+++ b/devel/py-test/distinfo    Tue Feb 19 08:25:49 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.66 2019/02/13 15:40:53 adam Exp $
+$NetBSD: distinfo,v 1.67 2019/02/19 08:25:49 adam Exp $
 
-SHA1 (pytest-4.2.1.tar.gz) = d7a60f850c80e4fc283813658f151523c4b1f602
-RMD160 (pytest-4.2.1.tar.gz) = a1fe5f92dfa2898abda421c84d0501c5925f37ba
-SHA512 (pytest-4.2.1.tar.gz) = e41bf7c685cacd62261df6d356911297a65ba85e13a50f8aed23d382d257c4c1cd3213971a3970fec210b8e97b72bd0034c0c1f87be7f306286d541c5ea57097
-Size (pytest-4.2.1.tar.gz) = 913065 bytes
+SHA1 (pytest-4.3.0.tar.gz) = c0febbde80761f0801893a30bc02963163c2bbcb
+RMD160 (pytest-4.3.0.tar.gz) = 6f43ef3a43ea36c8faeca0fe2a51f8a8a2cc4a85
+SHA512 (pytest-4.3.0.tar.gz) = 67894dc6c7001290e3372b5015227cf800c02d40ff28f76fad1249bd866f25c2368d8f0895d7c97a6b3318608f88e44db0bff723e7aeef79e380227cd7ec147e
+Size (pytest-4.3.0.tar.gz) = 915820 bytes



Home | Main Index | Thread Index | Old Index