pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-test



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct  3 09:58:11 UTC 2018

Modified Files:
        pkgsrc/devel/py-test: Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/devel/py-test/Makefile
cvs rdiff -u -r1.54 -r1.55 pkgsrc/devel/py-test/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-test/Makefile
diff -u pkgsrc/devel/py-test/Makefile:1.59 pkgsrc/devel/py-test/Makefile:1.60
--- pkgsrc/devel/py-test/Makefile:1.59  Mon Sep 24 08:06:29 2018
+++ pkgsrc/devel/py-test/Makefile       Wed Oct  3 09:58:11 2018
@@ -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/}

Index: pkgsrc/devel/py-test/distinfo
diff -u pkgsrc/devel/py-test/distinfo:1.54 pkgsrc/devel/py-test/distinfo:1.55
--- pkgsrc/devel/py-test/distinfo:1.54  Mon Sep 24 08:06:29 2018
+++ pkgsrc/devel/py-test/distinfo       Wed Oct  3 09:58:11 2018
@@ -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