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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fe1fe316d99c
branches:  trunk
changeset: 313562:fe1fe316d99c
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Oct 03 09:58:11 2018 +0000

description:
py-test: updated to 3.8.2

pytest 3.8.2:

Deprecations and Removals
* The item parameter of pytest_warning_captured hook is now documented as deprecated. We realized only after the 3.8 release that this parameter is incompatible with pytest-xdist.

Our policy is to not deprecate features during bugfix releases, but in this case we believe it makes sense as we are only documenting it as deprecated, without issuing warnings which might 
potentially break test suites. This will get the word out that hook implementers should not use this parameter at all.

In a future release item will always be None and will emit a proper warning when a hook implementation makes use of it.

Bug Fixes
* Fix reload on assertion rewritten modules.
* The .user_properties attribute of TestReport objects is a list of (name, value) tuples, but could sometimes be instantiated as a tuple of tuples. It is now always a list.
* No longer issue warnings about using pytest_plugins in non-top-level directories when using --pyargs: the current --pyargs mechanism is not reliable and might give false negatives.
* Exclude empty reports for passed tests when -rP option is used.
* Improve error message when an invalid Python expression is passed to the -m option.
* MonkeyPatch.setenv and MonkeyPatch.delenv issue a warning if the environment variable name is not str on Python 2.

In Python 2, adding unicode keys to os.environ causes problems with subprocess (and possible other modules), making this a subtle bug specially susceptible when used with from __future__ import 
unicode_literals.

Improved Documentation
* Add possible values for fixture scope to docs.

diffstat:

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

diffs (27 lines):

diff -r 049d3d94ed7c -r fe1fe316d99c devel/py-test/Makefile
--- a/devel/py-test/Makefile    Wed Oct 03 09:56:52 2018 +0000
+++ b/devel/py-test/Makefile    Wed Oct 03 09:58:11 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.59 2018/09/24 08:06:29 adam Exp $
+# $NetBSD: Makefile,v 1.60 2018/10/03 09:58:11 adam Exp $
 
-DISTNAME=      pytest-3.8.1
+DISTNAME=      pytest-3.8.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest/}
diff -r 049d3d94ed7c -r fe1fe316d99c devel/py-test/distinfo
--- a/devel/py-test/distinfo    Wed Oct 03 09:56:52 2018 +0000
+++ b/devel/py-test/distinfo    Wed Oct 03 09:58:11 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.54 2018/09/24 08:06:29 adam Exp $
+$NetBSD: distinfo,v 1.55 2018/10/03 09:58:11 adam Exp $
 
-SHA1 (pytest-3.8.1.tar.gz) = 1ed43faeb95684da2823ed89f866ec308dd8b77a
-RMD160 (pytest-3.8.1.tar.gz) = d754e739cfcb14fd12ddbd0217c629553cb87f40
-SHA512 (pytest-3.8.1.tar.gz) = 8d1b79f4c813f46109e8ca91e4e41ba5f2efe21905bfb94d39c195728d2f994da6a55773b77f3fee603c1d8e97d965a58b0ca3e5148d2dcf5462780c01f43480
-Size (pytest-3.8.1.tar.gz) = 867647 bytes
+SHA1 (pytest-3.8.2.tar.gz) = 6e28889174cfec8ca42bd470fe6168ca19aa58f9
+RMD160 (pytest-3.8.2.tar.gz) = 394d93f3186b92e10219ebd56a26c9420c4f0ff5
+SHA512 (pytest-3.8.2.tar.gz) = 5420de07ff741f64bcb7fce7bf3b5097cf63be2539c2e694c168bd824ba468ca87cb17be801b72b972ab417da98d1b5473f319afd642bf5c6c0270e3a697d016
+Size (pytest-3.8.2.tar.gz) = 869668 bytes



Home | Main Index | Thread Index | Old Index