pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-testfixtures



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon May 25 08:11:33 UTC 2026

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

Log Message:
py-testfixtures: updated to 12.0.0

12.0.0 (23 May 2026)

.. warning:: Breaking changes:

  - Comparers have moved from :mod:`!testfixtures.comparison` to :mod:`testfixtures.comparers`.
  - :func:`!django_compare` has been removed, :func:`compare` now works with Django models.

- Refactoring of :class:`LogCapture` to introduce support for :doc:`loguru <loguru>`,
  :doc:`structlog <structlog>` and similar support for :doc:`twisted <twisted>` by way of the new
  :class:`~testfixtures.logcapture.CaptureSource` architecture.

- :func:`compare` now supports per-type ``ignore_eq``.

- :func:`compare` now supports both :doc:`polars <polars>` and :doc:`pandas <pandas>` dataframes.

- :func:`compare` now provides better feedback when objects being compared raised exceptipns in
  their :any:`str` or :any:`repr`.

- Added ``raises`` parameter to :meth:`OutputCapture.compare`, :meth:`LogCapture.check` and
  :meth:`LogCapture.check_present` to they can be more easily used in compositions.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-testfixtures/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-testfixtures/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-testfixtures/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-testfixtures/Makefile
diff -u pkgsrc/devel/py-testfixtures/Makefile:1.7 pkgsrc/devel/py-testfixtures/Makefile:1.8
--- pkgsrc/devel/py-testfixtures/Makefile:1.7   Sun Apr 26 08:19:44 2026
+++ pkgsrc/devel/py-testfixtures/Makefile       Mon May 25 08:11:32 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2026/04/26 08:19:44 adam Exp $
+# $NetBSD: Makefile,v 1.8 2026/05/25 08:11:32 adam Exp $
 
-DISTNAME=      testfixtures-11.0.0
+DISTNAME=      testfixtures-12.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/testfixtures/}

Index: pkgsrc/devel/py-testfixtures/PLIST
diff -u pkgsrc/devel/py-testfixtures/PLIST:1.6 pkgsrc/devel/py-testfixtures/PLIST:1.7
--- pkgsrc/devel/py-testfixtures/PLIST:1.6      Sun Apr 26 08:19:44 2026
+++ pkgsrc/devel/py-testfixtures/PLIST  Mon May 25 08:11:32 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2026/04/26 08:19:44 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2026/05/25 08:11:32 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -6,6 +6,9 @@ ${PYSITELIB}/${WHEEL_INFODIR}/licenses/L
 ${PYSITELIB}/testfixtures/__init__.py
 ${PYSITELIB}/testfixtures/__init__.pyc
 ${PYSITELIB}/testfixtures/__init__.pyo
+${PYSITELIB}/testfixtures/comparers.py
+${PYSITELIB}/testfixtures/comparers.pyc
+${PYSITELIB}/testfixtures/comparers.pyo
 ${PYSITELIB}/testfixtures/comparison.py
 ${PYSITELIB}/testfixtures/comparison.pyc
 ${PYSITELIB}/testfixtures/comparison.pyo
@@ -24,12 +27,21 @@ ${PYSITELIB}/testfixtures/formats.pyo
 ${PYSITELIB}/testfixtures/logcapture.py
 ${PYSITELIB}/testfixtures/logcapture.pyc
 ${PYSITELIB}/testfixtures/logcapture.pyo
+${PYSITELIB}/testfixtures/loguru.py
+${PYSITELIB}/testfixtures/loguru.pyc
+${PYSITELIB}/testfixtures/loguru.pyo
 ${PYSITELIB}/testfixtures/mock.py
 ${PYSITELIB}/testfixtures/mock.pyc
 ${PYSITELIB}/testfixtures/mock.pyo
 ${PYSITELIB}/testfixtures/outputcapture.py
 ${PYSITELIB}/testfixtures/outputcapture.pyc
 ${PYSITELIB}/testfixtures/outputcapture.pyo
+${PYSITELIB}/testfixtures/pandas.py
+${PYSITELIB}/testfixtures/pandas.pyc
+${PYSITELIB}/testfixtures/pandas.pyo
+${PYSITELIB}/testfixtures/polars.py
+${PYSITELIB}/testfixtures/polars.pyc
+${PYSITELIB}/testfixtures/polars.pyo
 ${PYSITELIB}/testfixtures/popen.py
 ${PYSITELIB}/testfixtures/popen.pyc
 ${PYSITELIB}/testfixtures/popen.pyo
@@ -49,6 +61,9 @@ ${PYSITELIB}/testfixtures/shouldraise.py
 ${PYSITELIB}/testfixtures/shouldwarn.py
 ${PYSITELIB}/testfixtures/shouldwarn.pyc
 ${PYSITELIB}/testfixtures/shouldwarn.pyo
+${PYSITELIB}/testfixtures/structlog.py
+${PYSITELIB}/testfixtures/structlog.pyc
+${PYSITELIB}/testfixtures/structlog.pyo
 ${PYSITELIB}/testfixtures/sybil.py
 ${PYSITELIB}/testfixtures/sybil.pyc
 ${PYSITELIB}/testfixtures/sybil.pyo

Index: pkgsrc/devel/py-testfixtures/distinfo
diff -u pkgsrc/devel/py-testfixtures/distinfo:1.5 pkgsrc/devel/py-testfixtures/distinfo:1.6
--- pkgsrc/devel/py-testfixtures/distinfo:1.5   Sun Apr 26 08:19:44 2026
+++ pkgsrc/devel/py-testfixtures/distinfo       Mon May 25 08:11:32 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2026/04/26 08:19:44 adam Exp $
+$NetBSD: distinfo,v 1.6 2026/05/25 08:11:32 adam Exp $
 
-BLAKE2s (testfixtures-11.0.0.tar.gz) = 88e564f92bc5fba18cb087916bbc66a76b696dec77428cab3fdb682357d643d4
-SHA512 (testfixtures-11.0.0.tar.gz) = 1ae22532b7bc0425128b0ea57a3b02ffa5daca38a017da15003c4e62bfc088852d50275937beb7e5b436e4718e27c40c35c7f3e2143769abe71dd1fb1d6d3bd6
-Size (testfixtures-11.0.0.tar.gz) = 152532 bytes
+BLAKE2s (testfixtures-12.0.0.tar.gz) = b2075e91d240bc7e0777d532c454b3efaa63599135354bbd36083f8604d27a31
+SHA512 (testfixtures-12.0.0.tar.gz) = 07a35147b2feed74f0d0c64d755abf11d0b2fcadcc990939a5ccdf30530cd63f2fa0e265dc9836ddc2d7c85413a5f0dd9c67fd91f7444630db758b91327f0ebc
+Size (testfixtures-12.0.0.tar.gz) = 177327 bytes



Home | Main Index | Thread Index | Old Index