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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5db4d5cf11e8
branches:  trunk
changeset: 334657:5db4d5cf11e8
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jun 02 08:31:27 2019 +0000

description:
py-test: updated to 4.6.0

pytest 4.6.0:

Important
The 4.6.X series will be the last series to support Python 2 and Python 3.4.

Features
* Added the junit_log_passing_tests ini value which can be used to enable or disable logging of passing test output in the Junit XML file.
* pytester?s testdir.spawn uses tmpdir as HOME/USERPROFILE directory.
* Unroll calls to all to full for-loops with assertion rewriting for better failure messages, especially when using Generator Expressions.
* Switch from pkg_resources to importlib-metadata for entrypoint detection for improved performance and import time.
* The output for ini options in --help has been improved.
* pytest.importorskip includes the ImportError now in the default reason.
* Captured logs that are output for each failing test are formatted using the ColoredLevelFormatter.
* Improved formatting of multiline log messages in Python 3.
Bug Fixes

* The debugging plugin imports the wrapped Pdb class (--pdbcls) on-demand now.
* The pytest_enter_pdb hook gets called with post-mortem (--pdb).
* Fix issue where fixtures dependent on other parametrized fixtures would be erroneously parametrized.
* Handle internal error due to a lone surrogate unicode character not being representable in Jython.
* Ensure that sys.stdout.mode does not include 'b' as it is a text stream.
* Pytest?s internal python plugin can be disabled using -p no:python again.
* Fix issue with disable_test_id_escaping_and_forfeit_all_rights_to_community_support option not working when using a list of test IDs in parametrized tests.
* Show the test module being collected when emitting PytestCollectionWarning messages for test classes with __init__ and __new__ methods to make it easier to pin down the problem.
* Fix regression in 4.5.0 with --lf not re-running all tests with known failures from non-selected tests.

Improved Documentation
* Expand docs on use of setenv and delenv with monkeypatch.

diffstat:

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

diffs (38 lines):

diff -r 002f95daa56f -r 5db4d5cf11e8 devel/py-test/Makefile
--- a/devel/py-test/Makefile    Sun Jun 02 08:30:18 2019 +0000
+++ b/devel/py-test/Makefile    Sun Jun 02 08:31:27 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.79 2019/05/14 07:42:01 adam Exp $
+# $NetBSD: Makefile,v 1.80 2019/06/02 08:31:27 adam Exp $
 
-DISTNAME=      pytest-4.5.0
+DISTNAME=      pytest-4.6.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest/}
@@ -35,8 +35,8 @@
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
-               ${MV} py.test py.test-${PYVERSSUFFIX} && \
-               ${MV} pytest pytest-${PYVERSSUFFIX} || ${TRUE}
+       ${MV} py.test py.test-${PYVERSSUFFIX} && \
+       ${MV} pytest pytest-${PYVERSSUFFIX} || ${TRUE}
 
 do-test:
        cd ${WRKSRC}/testing && pytest-${PYVERSSUFFIX}
diff -r 002f95daa56f -r 5db4d5cf11e8 devel/py-test/distinfo
--- a/devel/py-test/distinfo    Sun Jun 02 08:30:18 2019 +0000
+++ b/devel/py-test/distinfo    Sun Jun 02 08:31:27 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.72 2019/05/14 07:42:01 adam Exp $
+$NetBSD: distinfo,v 1.73 2019/06/02 08:31:27 adam Exp $
 
-SHA1 (pytest-4.5.0.tar.gz) = 29388d841fc8db7afe0618566c116759ffc6d8ed
-RMD160 (pytest-4.5.0.tar.gz) = d8e29517c781a266381226b320308181f4d25958
-SHA512 (pytest-4.5.0.tar.gz) = cbffc6216f83491b1de241058315c116697bfaa5206b5f558192a7f861d43dd036d30d0d689bedae7bdee4f0258dd19ef5827c356e11863dd596a5fabe8249fc
-Size (pytest-4.5.0.tar.gz) = 943607 bytes
+SHA1 (pytest-4.6.0.tar.gz) = d73fb22683bd510eb049ba967a5b9f25c0a544c9
+RMD160 (pytest-4.6.0.tar.gz) = 048bff4e5189e62675c5e898b878ff74c5c0b8a6
+SHA512 (pytest-4.6.0.tar.gz) = e90ec34736a12ebd6dd706ffa3057efbc666250092c1b5c14fbf4ec749c5d1afe86bb1f750fda119489ea501a33105b06a319755612820f4e0026395faaa2f2e
+Size (pytest-4.6.0.tar.gz) = 949203 bytes



Home | Main Index | Thread Index | Old Index