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: Sun Apr 26 08:19:44 UTC 2026
Modified Files:
pkgsrc/devel/py-testfixtures: Makefile PLIST distinfo
Log Message:
py-testfixtures: updated to 11.0.0
11.0.0 (9 Mar 2026)
- Moved to a `uv`__-based, ``pyproject.toml``-driven project layout, with ``main`` replacing
``master`` as the default git branch.
__ https://docs.astral.sh/uv/
- Move from Circle CI to Github Actions for continuous integration and releasing.
- Lots of documentation has been refreshed.
- Python versions between 3.11 and 3.14, inclusive, are now supported.
- Python versions 3.10 and earlier are no longer supported.
- :class:`TempDir` is now introduced as a :class:`~pathlib.Path`-based alternative to
:class:`TempDirectory`.
- :class:`TempDir` and :class:`TempDirectory` have grown support for dumping and parsing JSON,
YAML and TOML natively by way of the :meth:`~TempDir.dump` and :meth:`TempDir.parse` methods.
- :class:`TempDir` and :class:`TempDirectory` now have :meth:`~TempDir.read_text` and
:meth:`TempDir.read_bytes` methods that mirror the behaviour of their :class:`~pathlib.Path`
equivalents.
- :class:`TempDir` and :class:`TempDirectory` now support :class:`~pathlib.Path` objects anywhere
they previously supported string and sequences of strings.
- :class:`TempDir` and :class:`TempDirectory` now have a :meth:`~TempDir.clone` method for
copying existing files or directories into themselves for using during testing.
- ``None`` can now be passed to :class:`ShouldRaise` to check that no exception is raised.
This is useful for parameterised tests where some cases may expect an exception to be raised
while others do not.
- :class:`ShouldRaise` now has a ``match`` parameter to bring feature parity with
:func:`pytest.raises`.
- :class:`Comparison` now shows the wrong type when it is compared against a wrong type.
- :class:`Comparison` no longer spuriously reports
:class:`~testfixtures.comparison.AlreadySeen` as the wrong type.
- Fixed a bug where comparing parameterised generic type objects resulted in an infinite loop.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-testfixtures/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-testfixtures/PLIST
cvs rdiff -u -r1.4 -r1.5 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.6 pkgsrc/devel/py-testfixtures/Makefile:1.7
--- pkgsrc/devel/py-testfixtures/Makefile:1.6 Fri Dec 26 21:42:50 2025
+++ pkgsrc/devel/py-testfixtures/Makefile Sun Apr 26 08:19:44 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2025/12/26 21:42:50 adam Exp $
+# $NetBSD: Makefile,v 1.7 2026/04/26 08:19:44 adam Exp $
-DISTNAME= testfixtures-10.0.0
+DISTNAME= testfixtures-11.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/testfixtures/}
@@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/simplistix/
COMMENT= Helpers and mocks useful for automated tests in Python
LICENSE= mit
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
TEST_DEPENDS+= ${PYPKGPREFIX}-django-[0-9]*:../../www/py-django4
TEST_DEPENDS+= ${PYPKGPREFIX}-mypy-[0-9]*:../../lang/py-mypy
# circular dependency
Index: pkgsrc/devel/py-testfixtures/PLIST
diff -u pkgsrc/devel/py-testfixtures/PLIST:1.5 pkgsrc/devel/py-testfixtures/PLIST:1.6
--- pkgsrc/devel/py-testfixtures/PLIST:1.5 Fri Dec 26 21:42:50 2025
+++ pkgsrc/devel/py-testfixtures/PLIST Sun Apr 26 08:19:44 2026
@@ -1,9 +1,8 @@
-@comment $NetBSD: PLIST,v 1.5 2025/12/26 21:42:50 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2026/04/26 08:19:44 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.txt
-${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/testfixtures/__init__.py
${PYSITELIB}/testfixtures/__init__.pyc
${PYSITELIB}/testfixtures/__init__.pyo
@@ -19,6 +18,9 @@ ${PYSITELIB}/testfixtures/datetime.pyo
${PYSITELIB}/testfixtures/django.py
${PYSITELIB}/testfixtures/django.pyc
${PYSITELIB}/testfixtures/django.pyo
+${PYSITELIB}/testfixtures/formats.py
+${PYSITELIB}/testfixtures/formats.pyc
+${PYSITELIB}/testfixtures/formats.pyo
${PYSITELIB}/testfixtures/logcapture.py
${PYSITELIB}/testfixtures/logcapture.pyc
${PYSITELIB}/testfixtures/logcapture.pyo
@@ -53,127 +55,9 @@ ${PYSITELIB}/testfixtures/sybil.pyo
${PYSITELIB}/testfixtures/tempdirectory.py
${PYSITELIB}/testfixtures/tempdirectory.pyc
${PYSITELIB}/testfixtures/tempdirectory.pyo
-${PYSITELIB}/testfixtures/tests/__init__.py
-${PYSITELIB}/testfixtures/tests/__init__.pyc
-${PYSITELIB}/testfixtures/tests/__init__.pyo
-${PYSITELIB}/testfixtures/tests/configparser-read.txt
-${PYSITELIB}/testfixtures/tests/configparser-write.txt
-${PYSITELIB}/testfixtures/tests/directory-contents.txt
-${PYSITELIB}/testfixtures/tests/sample1.py
-${PYSITELIB}/testfixtures/tests/sample1.pyc
-${PYSITELIB}/testfixtures/tests/sample1.pyo
-${PYSITELIB}/testfixtures/tests/sample2.py
-${PYSITELIB}/testfixtures/tests/sample2.pyc
-${PYSITELIB}/testfixtures/tests/sample2.pyo
-${PYSITELIB}/testfixtures/tests/sample3.py
-${PYSITELIB}/testfixtures/tests/sample3.pyc
-${PYSITELIB}/testfixtures/tests/sample3.pyo
-${PYSITELIB}/testfixtures/tests/test_compare.py
-${PYSITELIB}/testfixtures/tests/test_compare.pyc
-${PYSITELIB}/testfixtures/tests/test_compare.pyo
-${PYSITELIB}/testfixtures/tests/test_compare_typed.py
-${PYSITELIB}/testfixtures/tests/test_compare_typed.pyc
-${PYSITELIB}/testfixtures/tests/test_compare_typed.pyo
-${PYSITELIB}/testfixtures/tests/test_comparison.py
-${PYSITELIB}/testfixtures/tests/test_comparison.pyc
-${PYSITELIB}/testfixtures/tests/test_comparison.pyo
-${PYSITELIB}/testfixtures/tests/test_date.py
-${PYSITELIB}/testfixtures/tests/test_date.pyc
-${PYSITELIB}/testfixtures/tests/test_date.pyo
-${PYSITELIB}/testfixtures/tests/test_datetime.py
-${PYSITELIB}/testfixtures/tests/test_datetime.pyc
-${PYSITELIB}/testfixtures/tests/test_datetime.pyo
-${PYSITELIB}/testfixtures/tests/test_diff.py
-${PYSITELIB}/testfixtures/tests/test_diff.pyc
-${PYSITELIB}/testfixtures/tests/test_diff.pyo
-${PYSITELIB}/testfixtures/tests/test_django/__init__.py
-${PYSITELIB}/testfixtures/tests/test_django/__init__.pyc
-${PYSITELIB}/testfixtures/tests/test_django/__init__.pyo
-${PYSITELIB}/testfixtures/tests/test_django/manage.py
-${PYSITELIB}/testfixtures/tests/test_django/manage.pyc
-${PYSITELIB}/testfixtures/tests/test_django/manage.pyo
-${PYSITELIB}/testfixtures/tests/test_django/models.py
-${PYSITELIB}/testfixtures/tests/test_django/models.pyc
-${PYSITELIB}/testfixtures/tests/test_django/models.pyo
-${PYSITELIB}/testfixtures/tests/test_django/settings.py
-${PYSITELIB}/testfixtures/tests/test_django/settings.pyc
-${PYSITELIB}/testfixtures/tests/test_django/settings.pyo
-${PYSITELIB}/testfixtures/tests/test_django/test_compare.py
-${PYSITELIB}/testfixtures/tests/test_django/test_compare.pyc
-${PYSITELIB}/testfixtures/tests/test_django/test_compare.pyo
-${PYSITELIB}/testfixtures/tests/test_django/test_shouldraise.py
-${PYSITELIB}/testfixtures/tests/test_django/test_shouldraise.pyc
-${PYSITELIB}/testfixtures/tests/test_django/test_shouldraise.pyo
-${PYSITELIB}/testfixtures/tests/test_generator.py
-${PYSITELIB}/testfixtures/tests/test_generator.pyc
-${PYSITELIB}/testfixtures/tests/test_generator.pyo
-${PYSITELIB}/testfixtures/tests/test_log_capture.py
-${PYSITELIB}/testfixtures/tests/test_log_capture.pyc
-${PYSITELIB}/testfixtures/tests/test_log_capture.pyo
-${PYSITELIB}/testfixtures/tests/test_logcapture.py
-${PYSITELIB}/testfixtures/tests/test_logcapture.pyc
-${PYSITELIB}/testfixtures/tests/test_logcapture.pyo
-${PYSITELIB}/testfixtures/tests/test_mappingcomparison.py
-${PYSITELIB}/testfixtures/tests/test_mappingcomparison.pyc
-${PYSITELIB}/testfixtures/tests/test_mappingcomparison.pyo
-${PYSITELIB}/testfixtures/tests/test_mock.py
-${PYSITELIB}/testfixtures/tests/test_mock.pyc
-${PYSITELIB}/testfixtures/tests/test_mock.pyo
-${PYSITELIB}/testfixtures/tests/test_outputcapture.py
-${PYSITELIB}/testfixtures/tests/test_outputcapture.pyc
-${PYSITELIB}/testfixtures/tests/test_outputcapture.pyo
-${PYSITELIB}/testfixtures/tests/test_popen.py
-${PYSITELIB}/testfixtures/tests/test_popen.pyc
-${PYSITELIB}/testfixtures/tests/test_popen.pyo
-${PYSITELIB}/testfixtures/tests/test_popen_docs.py
-${PYSITELIB}/testfixtures/tests/test_popen_docs.pyc
-${PYSITELIB}/testfixtures/tests/test_popen_docs.pyo
-${PYSITELIB}/testfixtures/tests/test_rangecomparison.py
-${PYSITELIB}/testfixtures/tests/test_rangecomparison.pyc
-${PYSITELIB}/testfixtures/tests/test_rangecomparison.pyo
-${PYSITELIB}/testfixtures/tests/test_replace.py
-${PYSITELIB}/testfixtures/tests/test_replace.pyc
-${PYSITELIB}/testfixtures/tests/test_replace.pyo
-${PYSITELIB}/testfixtures/tests/test_replacer.py
-${PYSITELIB}/testfixtures/tests/test_replacer.pyc
-${PYSITELIB}/testfixtures/tests/test_replacer.pyo
-${PYSITELIB}/testfixtures/tests/test_roundcomparison.py
-${PYSITELIB}/testfixtures/tests/test_roundcomparison.pyc
-${PYSITELIB}/testfixtures/tests/test_roundcomparison.pyo
-${PYSITELIB}/testfixtures/tests/test_sequencecomparison.py
-${PYSITELIB}/testfixtures/tests/test_sequencecomparison.pyc
-${PYSITELIB}/testfixtures/tests/test_sequencecomparison.pyo
-${PYSITELIB}/testfixtures/tests/test_should_raise.py
-${PYSITELIB}/testfixtures/tests/test_should_raise.pyc
-${PYSITELIB}/testfixtures/tests/test_should_raise.pyo
-${PYSITELIB}/testfixtures/tests/test_shouldwarn.py
-${PYSITELIB}/testfixtures/tests/test_shouldwarn.pyc
-${PYSITELIB}/testfixtures/tests/test_shouldwarn.pyo
-${PYSITELIB}/testfixtures/tests/test_stringcomparison.py
-${PYSITELIB}/testfixtures/tests/test_stringcomparison.pyc
-${PYSITELIB}/testfixtures/tests/test_stringcomparison.pyo
-${PYSITELIB}/testfixtures/tests/test_sybil.py
-${PYSITELIB}/testfixtures/tests/test_sybil.pyc
-${PYSITELIB}/testfixtures/tests/test_sybil.pyo
-${PYSITELIB}/testfixtures/tests/test_tempdir.py
-${PYSITELIB}/testfixtures/tests/test_tempdir.pyc
-${PYSITELIB}/testfixtures/tests/test_tempdir.pyo
-${PYSITELIB}/testfixtures/tests/test_tempdirectory.py
-${PYSITELIB}/testfixtures/tests/test_tempdirectory.pyc
-${PYSITELIB}/testfixtures/tests/test_tempdirectory.pyo
-${PYSITELIB}/testfixtures/tests/test_time.py
-${PYSITELIB}/testfixtures/tests/test_time.pyc
-${PYSITELIB}/testfixtures/tests/test_time.pyo
-${PYSITELIB}/testfixtures/tests/test_twisted.py
-${PYSITELIB}/testfixtures/tests/test_twisted.pyc
-${PYSITELIB}/testfixtures/tests/test_twisted.pyo
-${PYSITELIB}/testfixtures/tests/test_wrap.py
-${PYSITELIB}/testfixtures/tests/test_wrap.pyc
-${PYSITELIB}/testfixtures/tests/test_wrap.pyo
${PYSITELIB}/testfixtures/twisted.py
${PYSITELIB}/testfixtures/twisted.pyc
${PYSITELIB}/testfixtures/twisted.pyo
${PYSITELIB}/testfixtures/utils.py
${PYSITELIB}/testfixtures/utils.pyc
${PYSITELIB}/testfixtures/utils.pyo
-${PYSITELIB}/testfixtures/version.txt
Index: pkgsrc/devel/py-testfixtures/distinfo
diff -u pkgsrc/devel/py-testfixtures/distinfo:1.4 pkgsrc/devel/py-testfixtures/distinfo:1.5
--- pkgsrc/devel/py-testfixtures/distinfo:1.4 Fri Dec 26 21:42:50 2025
+++ pkgsrc/devel/py-testfixtures/distinfo Sun Apr 26 08:19:44 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2025/12/26 21:42:50 adam Exp $
+$NetBSD: distinfo,v 1.5 2026/04/26 08:19:44 adam Exp $
-BLAKE2s (testfixtures-10.0.0.tar.gz) = f99ef04fd72c22d3d71a88922abbdcf7f346d02ecca9ecb82d82e0c4ebfcf8a3
-SHA512 (testfixtures-10.0.0.tar.gz) = 64585315fb9a05957f262f9da289256d3155d41ced026388f7d8efc0c42052bfb24dbb1573609d2909321d62e5fc833e2fce6623615661ed8689147746ef2d70
-Size (testfixtures-10.0.0.tar.gz) = 147464 bytes
+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
Home |
Main Index |
Thread Index |
Old Index