pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-nose2 py-nose2: updated to 0.10.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aec8abe292bc
branches:  trunk
changeset: 768893:aec8abe292bc
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Nov 03 09:50:09 2021 +0000

description:
py-nose2: updated to 0.10.0

0.10.0 (2020-01-27)
-------------------

Added
~~~~~

* Support for subtests!

Notes for plugin authors about subtest support:

  * Subtest failures will produce a ``TestOutcomeEvent`` with ``outcome = "subtest"``

  * Subtest events can be failures, but they do not indicate success -- the
    containing test will send a success event if no subtests fail

Changed
~~~~~~~

* Drop support for Python 3.4

* Python 3.8 and 3.9 are now officially supported

* Improve helptext for the multiprocess plugin's ``-N`` option

* When run with reduced verbosity (e.g. with ``-q``), ``nose2`` will no longer
  print an empty line before test reports

Fixed
~~~~~

* The plugin registry will no longer contain duplicate plugins and or base
  ``event.Plugin`` instances

* Fix function test case implementation of ``id``, ``__str__``, and
  ``__repr__``. This removes the injected ``transplant_class.<locals>`` from
  reporting output

* Doctest loading will now skip ``setup.py`` files in the project root

* Class methods decorated (e.g. with ``mock.patch``) are no longer incorrectly
  picked up by the function loader

diffstat:

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

diffs (44 lines):

diff -r 149003152e62 -r aec8abe292bc devel/py-nose2/Makefile
--- a/devel/py-nose2/Makefile   Wed Nov 03 09:39:39 2021 +0000
+++ b/devel/py-nose2/Makefile   Wed Nov 03 09:50:09 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2020/02/02 05:59:01 adam Exp $
+# $NetBSD: Makefile,v 1.9 2021/11/03 09:50:09 adam Exp $
 
-DISTNAME=      nose2-0.9.2
+DISTNAME=      nose2-0.10.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=n/nose2/}
diff -r 149003152e62 -r aec8abe292bc devel/py-nose2/PLIST
--- a/devel/py-nose2/PLIST      Wed Nov 03 09:39:39 2021 +0000
+++ b/devel/py-nose2/PLIST      Wed Nov 03 09:50:09 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2019/03/22 17:48:49 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/11/03 09:50:09 adam Exp $
 bin/nose2-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -201,6 +201,9 @@
 ${PYSITELIB}/nose2/tests/functional/test_session.py
 ${PYSITELIB}/nose2/tests/functional/test_session.pyc
 ${PYSITELIB}/nose2/tests/functional/test_session.pyo
+${PYSITELIB}/nose2/tests/functional/test_subtests.py
+${PYSITELIB}/nose2/tests/functional/test_subtests.pyc
+${PYSITELIB}/nose2/tests/functional/test_subtests.pyo
 ${PYSITELIB}/nose2/tests/functional/test_such_dsl.py
 ${PYSITELIB}/nose2/tests/functional/test_such_dsl.pyc
 ${PYSITELIB}/nose2/tests/functional/test_such_dsl.pyo
diff -r 149003152e62 -r aec8abe292bc devel/py-nose2/distinfo
--- a/devel/py-nose2/distinfo   Wed Nov 03 09:39:39 2021 +0000
+++ b/devel/py-nose2/distinfo   Wed Nov 03 09:50:09 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 10:18:42 nia Exp $
+$NetBSD: distinfo,v 1.11 2021/11/03 09:50:09 adam Exp $
 
-BLAKE2s (nose2-0.9.2.tar.gz) = 2c8a6ae139944a34e1552e6134bd8286580334dd684edf8f09b5847733fb7a94
-SHA512 (nose2-0.9.2.tar.gz) = c1d8231decf4ab1712d7b486efcc4835df3c665d401713ac100186a513c68da4e9e1710f4289802fea1cfdbee1c5e3358c30a0e9d14554f408323efd00a1a293
-Size (nose2-0.9.2.tar.gz) = 154695 bytes
+BLAKE2s (nose2-0.10.0.tar.gz) = 03dc282a3404c3f557edc8b5c2712d35cbaa019483d62fb15f0470c2ca9b1f82
+SHA512 (nose2-0.10.0.tar.gz) = 05bc26f23e2f2bd950ee7f5ff7720d3282eb27f6c147ace911bc6f1dbaa65eb076d84b3411dcbcad979a7f86e0cf97d6926de68e5ed0b0746cab58cf5773125e
+Size (nose2-0.10.0.tar.gz) = 157784 bytes



Home | Main Index | Thread Index | Old Index