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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6faceafbf6a7
branches:  trunk
changeset: 324975:6faceafbf6a7
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Nov 05 08:36:25 2018 +0000

description:
py-test: updated to 3.10.0

pytest 3.10.0:

Features
* Resume capturing output after continue with __import__("pdb").set_trace().
  This also adds a new pytest_leave_pdb hook, and passes in pdb to the existing pytest_enter_pdb hook.
* Add -sw, --stepwise as an alternative to --lf -x for stopping at the first failure, but starting the next test invocation from that test. See the documentation for more info.
* Make --color emit colorful dots when not running in verbose mode. Earlier, it would only colorize the test-by-test output if --verbose was also passed.
* Improve performance with collection reporting in non-quiet mode with terminals.
  The ?collecting ?? message is only printed/updated every 0.5s.

Bug Fixes
* Fix false RemovedInPytest4Warning: usage of Session... is deprecated, please use pytest warnings.
* Fix problems with running tests in package __init__.py files.
* Swallow warnings during anonymous compilation of source.
* Fix access denied error when deleting stale directories created by tmpdir / tmp_path.
* Naming a fixture request will now raise a warning: the request fixture is internal and should not be overwritten as it will lead to internal errors.
* Handle (ignore) exceptions raised during collection, e.g. with Django?s LazySettings proxy class.

Improved Documentation
* Added missing documentation about the fact that module names passed to filter warnings are not regex-escaped.

Trivial/Internal Changes
* Display cachedir also in non-verbose mode if non-default.
* pdb: improve message about output capturing with set_trace.
  Do not display ?IO-capturing turned off/on? when -s is used to avoid confusion.
* Improve message and stack level of warnings issued by monkeypatch.setenv when the value of the environment variable is not a str.

diffstat:

 devel/py-test/Makefile |   4 ++--
 devel/py-test/PLIST    |   5 ++++-
 devel/py-test/distinfo |  10 +++++-----
 3 files changed, 11 insertions(+), 8 deletions(-)

diffs (46 lines):

diff -r f71f1e513c18 -r 6faceafbf6a7 devel/py-test/Makefile
--- a/devel/py-test/Makefile    Mon Nov 05 08:35:04 2018 +0000
+++ b/devel/py-test/Makefile    Mon Nov 05 08:36:25 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.63 2018/10/29 08:25:08 adam Exp $
+# $NetBSD: Makefile,v 1.64 2018/11/05 08:36:25 adam Exp $
 
-DISTNAME=      pytest-3.9.3
+DISTNAME=      pytest-3.10.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest/}
diff -r f71f1e513c18 -r 6faceafbf6a7 devel/py-test/PLIST
--- a/devel/py-test/PLIST       Mon Nov 05 08:35:04 2018 +0000
+++ b/devel/py-test/PLIST       Mon Nov 05 08:36:25 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2018/10/18 10:11:25 adam Exp $
+@comment $NetBSD: PLIST,v 1.15 2018/11/05 08:36:25 adam Exp $
 bin/py.test-${PYVERSSUFFIX}
 bin/pytest-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -152,6 +152,9 @@
 ${PYSITELIB}/_pytest/skipping.py
 ${PYSITELIB}/_pytest/skipping.pyc
 ${PYSITELIB}/_pytest/skipping.pyo
+${PYSITELIB}/_pytest/stepwise.py
+${PYSITELIB}/_pytest/stepwise.pyc
+${PYSITELIB}/_pytest/stepwise.pyo
 ${PYSITELIB}/_pytest/terminal.py
 ${PYSITELIB}/_pytest/terminal.pyc
 ${PYSITELIB}/_pytest/terminal.pyo
diff -r f71f1e513c18 -r 6faceafbf6a7 devel/py-test/distinfo
--- a/devel/py-test/distinfo    Mon Nov 05 08:35:04 2018 +0000
+++ b/devel/py-test/distinfo    Mon Nov 05 08:36:25 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.58 2018/10/29 08:25:08 adam Exp $
+$NetBSD: distinfo,v 1.59 2018/11/05 08:36:25 adam Exp $
 
-SHA1 (pytest-3.9.3.tar.gz) = a2724bb22ac54f2cf0afd669bf84c05013cc2039
-RMD160 (pytest-3.9.3.tar.gz) = a7c72e2b152519b5a4444df0dcda231301876b6b
-SHA512 (pytest-3.9.3.tar.gz) = 03ab708ebff936dc296d8c42c549789db42916ac8d4a1df817aebdcdfcb1d0c45126e6238f958eb1523938db6529baa282a9f2ff5742295b2113873abe07ef83
-Size (pytest-3.9.3.tar.gz) = 882503 bytes
+SHA1 (pytest-3.10.0.tar.gz) = 96af359d03f01d0dc8ff42b3ed733279760f00c8
+RMD160 (pytest-3.10.0.tar.gz) = 2d1c0e64e4ec649ac8b6edc102c27609ca76424e
+SHA512 (pytest-3.10.0.tar.gz) = 454686cdaaed56e75524fadce5f672b620210fc987b157ebd912d2c01e362412ffe535ec2467b60863db33817542b9b41a2a5442558ce69cd38b2a846e4ed8d6
+Size (pytest-3.10.0.tar.gz) = 890744 bytes



Home | Main Index | Thread Index | Old Index