pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-testtools



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Nov 23 07:59:13 UTC 2025

Modified Files:
        pkgsrc/devel/py-testtools: Makefile PLIST distinfo

Log Message:
py-testtools: updated to 2.8.0

2.8.0

Changes

* Drop support for Python 3.8. (Stephen Finucane)

* Drop support for Python 3.9. (Jelmer Vernooij)

* Add support for Python 3.13 and 3.14. (Jelmer Vernooij)

Improvements

* Add support for Python 3.12's ``addDuration`` method and ``collectedDurations``
  attribute in ``TestResult`` classes.

* Remove a number of deprecated classes and methods. (Stephen Finucane)

  * ``testtools.matchers``

    * ``AfterPreproccessing`` (use ``AfterPreprocessing``)

  * ``testtools.testcase``

    * ``TestSkipped`` (use ``unittest.SkipTest``)
    * ``TestCase.skip`` (use ``TestCase.skipTest``)
    * ``TestCase.failUnlessEqual`` (use ``TestCase.assertEqual``)
    * ``TestCase.assertEquals`` (use ``TestCase.assertEqual``)
    * ``TestCase.failUnlessRaises`` (use ``TestCase.assertRaises``)
    * ``TestCase.assertItemsEqual`` (use ``TestCase.assertCountEqual``)

  * ``testtools.testresult.real``

    * ``domap`` (no replacement)

  * ``testtools.twistedsupport._runtest``

    * ``run_with_log_observers`` (no replacement)


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/py-testtools/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-testtools/PLIST
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/py-testtools/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-testtools/Makefile
diff -u pkgsrc/devel/py-testtools/Makefile:1.27 pkgsrc/devel/py-testtools/Makefile:1.28
--- pkgsrc/devel/py-testtools/Makefile:1.27     Mon Oct 14 06:45:41 2024
+++ pkgsrc/devel/py-testtools/Makefile  Sun Nov 23 07:59:13 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2024/10/14 06:45:41 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2025/11/23 07:59:13 adam Exp $
 
-DISTNAME=      testtools-2.7.2
+DISTNAME=      testtools-2.8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/testtools/}
@@ -16,6 +16,7 @@ TOOL_DEPENDS+=        ${PYPKGPREFIX}-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-fixtures>=2.0:../../devel/py-fixtures
 # circular test dependency
 # https://github.com/testing-cabal/testscenarios/issues/4
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-testresources-[0-9]*:../../devel/py-testresources
 #TEST_DEPENDS+=        ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios
 
 USE_LANGUAGES= # none

Index: pkgsrc/devel/py-testtools/PLIST
diff -u pkgsrc/devel/py-testtools/PLIST:1.11 pkgsrc/devel/py-testtools/PLIST:1.12
--- pkgsrc/devel/py-testtools/PLIST:1.11        Mon Jun 10 19:41:54 2024
+++ pkgsrc/devel/py-testtools/PLIST     Sun Nov 23 07:59:13 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2024/06/10 19:41:54 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2025/11/23 07:59:13 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -207,6 +207,3 @@ ${PYSITELIB}/testtools/twistedsupport/_r
 ${PYSITELIB}/testtools/twistedsupport/_spinner.py
 ${PYSITELIB}/testtools/twistedsupport/_spinner.pyc
 ${PYSITELIB}/testtools/twistedsupport/_spinner.pyo
-${PYSITELIB}/testtools/utils.py
-${PYSITELIB}/testtools/utils.pyc
-${PYSITELIB}/testtools/utils.pyo

Index: pkgsrc/devel/py-testtools/distinfo
diff -u pkgsrc/devel/py-testtools/distinfo:1.19 pkgsrc/devel/py-testtools/distinfo:1.20
--- pkgsrc/devel/py-testtools/distinfo:1.19     Mon Jun 10 19:41:54 2024
+++ pkgsrc/devel/py-testtools/distinfo  Sun Nov 23 07:59:13 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2024/06/10 19:41:54 adam Exp $
+$NetBSD: distinfo,v 1.20 2025/11/23 07:59:13 adam Exp $
 
-BLAKE2s (testtools-2.7.2.tar.gz) = 90dc17863f19a598c8cf92f65bd7e8847aeba21d2328b5f3108b23806ed53d41
-SHA512 (testtools-2.7.2.tar.gz) = 5815519d2b72d6b1e9f453c02793c70eb7d3b6580a211fb3708cd6121aed3c6100ceb1e35321f481a63b1f999ede030e43f1ae91d3621faf461c1908db767551
-Size (testtools-2.7.2.tar.gz) = 201430 bytes
+BLAKE2s (testtools-2.8.0.tar.gz) = 371db64745306e3bb7f5a3e5475fc4eca0fdb86f739869f006540f430e3e605e
+SHA512 (testtools-2.8.0.tar.gz) = 409f67de2e307eca3fe266822bd6fa0b98dcccc8dcfc26a9e696f345a8f3339b6b4463a738f28fe9505e11585722d8d1d7a3aa2319727679adb172e4d105938e
+Size (testtools-2.8.0.tar.gz) = 201854 bytes



Home | Main Index | Thread Index | Old Index