pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-test Updated py-test to 3.0.5.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/af8a9976a36c
branches:  trunk
changeset: 355789:af8a9976a36c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Dec 12 14:02:20 2016 +0000

description:
Updated py-test to 3.0.5.

3.0.5
=====

* Add warning when not passing ``option=value`` correctly to ``-o/--override-ini`` (`#2105`_).
  Also improved the help documentation. Thanks to `@mbukatov`_ for the report and
  `@lwm`_ for the PR.

* Now ``--confcutdir`` and ``--junit-xml`` are properly validated if they are directories
  and filenames, respectively (`#2089`_ and `#2078`_). Thanks to `@lwm`_ for the PR.

* Add hint to error message hinting possible missing ``__init__.py`` (`#478`_). Thanks `@DuncanBetts`_.

* More accurately describe when fixture finalization occurs in documentation (`#687`_). Thanks `@DuncanBetts`_.

* Provide ``:ref:`` targets for ``recwarn.rst`` so we can use intersphinx referencing.
  Thanks to `@dupuy`_ for the report and `@lwm`_ for the PR.

* In Python 2, use a simple ``+-`` ASCII string in the string representation of ``pytest.approx`` (for example ``"4 +- 4.0e-06"``)
  because it is brittle to handle that in different contexts and representations internally in pytest
  which can result in bugs such as `#2111`_. In Python 3, the representation still uses ``?`` (for example ``4 ? 4.0e-06``).
  Thanks `@kerrick-lyft`_ for the report and `@nicoddemus`_ for the PR.

* Using ``item.Function``, ``item.Module``, etc., is now issuing deprecation warnings, prefer
  ``pytest.Function``, ``pytest.Module``, etc., instead (`#2034`_).
  Thanks `@nmundar`_ for the PR.

* Fix error message using ``approx`` with complex numbers (`#2082`_).
  Thanks `@adler-j`_ for the report and `@nicoddemus`_ for the PR.

* Fixed false-positives warnings from assertion rewrite hook for modules imported more than
  once by the ``pytest_plugins`` mechanism.
  Thanks `@nicoddemus`_ for the PR.

* Remove an internal cache which could cause hooks from ``conftest.py`` files in
  sub-directories to be called in other directories incorrectly (`#2016`_).
  Thanks `@d-b-w`_ for the report and `@nicoddemus`_ for the PR.

* Remove internal code meant to support earlier Python 3 versions that produced the side effect
  of leaving ``None`` in ``sys.modules`` when expressions were evaluated by pytest (for example passing a condition
  as a string to ``pytest.mark.skipif``)(`#2103`_).
  Thanks `@jaraco`_ for the report and `@nicoddemus`_ for the PR.

* Cope gracefully with a .pyc file with no matching .py file (`#2038`_). Thanks
  `@nedbat`_.

diffstat:

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

diffs (27 lines):

diff -r aa125f2e45b1 -r af8a9976a36c devel/py-test/Makefile
--- a/devel/py-test/Makefile    Mon Dec 12 13:59:00 2016 +0000
+++ b/devel/py-test/Makefile    Mon Dec 12 14:02:20 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2016/11/14 14:18:55 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2016/12/12 14:02:20 wiz Exp $
 
-DISTNAME=      pytest-3.0.4
+DISTNAME=      pytest-3.0.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest/}
diff -r aa125f2e45b1 -r af8a9976a36c devel/py-test/distinfo
--- a/devel/py-test/distinfo    Mon Dec 12 13:59:00 2016 +0000
+++ b/devel/py-test/distinfo    Mon Dec 12 14:02:20 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.23 2016/11/14 14:18:55 wiz Exp $
+$NetBSD: distinfo,v 1.24 2016/12/12 14:02:20 wiz Exp $
 
-SHA1 (pytest-3.0.4.tar.gz) = bf8fe7e5a787e47b479f0ab5f657313da2142a1b
-RMD160 (pytest-3.0.4.tar.gz) = 278ff41d36af51f94bed27eabe2a5bc2410983f0
-SHA512 (pytest-3.0.4.tar.gz) = f8ee3eb84b564419beb0bb78abbe0ffe44920b35c60021d2c77b2bc3a5ec13245768f848ccb2a1864d46fc343cdc4b2bc4a33d9459bf388f64ea2aea0d9c337d
-Size (pytest-3.0.4.tar.gz) = 733339 bytes
+SHA1 (pytest-3.0.5.tar.gz) = 000879c6b0879245cc4e10492f265c66f95ce376
+RMD160 (pytest-3.0.5.tar.gz) = e19e616d64f860aa7e1bab7696c461cee771af3a
+SHA512 (pytest-3.0.5.tar.gz) = b01c6272703ec93b7e7eefa584688a3d00cd97ac9cf54bc9501b596d4c370f9f74e06ee2223829b60469ea1a32c3a3c30b29aeacfaab1f23404d5f8345544ca1
+Size (pytest-3.0.5.tar.gz) = 740656 bytes



Home | Main Index | Thread Index | Old Index