head	1.9;
access;
symbols
	pkgsrc-2026Q1:1.6.0.2
	pkgsrc-2026Q1-base:1.6
	pkgsrc-2025Q4:1.5.0.2
	pkgsrc-2025Q4-base:1.5
	pkgsrc-2025Q3:1.3.0.2
	pkgsrc-2025Q3-base:1.3
	pkgsrc-2025Q2:1.2.0.2
	pkgsrc-2025Q2-base:1.2
	pkgsrc-2025Q1:1.1.0.2
	pkgsrc-2025Q1-base:1.1;
locks; strict;
comment	@# @;


1.9
date	2026.06.12.10.29.22;	author adam;	state Exp;
branches;
next	1.8;
commitid	n8LRkuec0R0fOuJG;

1.8
date	2026.05.25.08.11.32;	author adam;	state Exp;
branches;
next	1.7;
commitid	ara0HcDqHhLNCaHG;

1.7
date	2026.04.26.08.19.44;	author adam;	state Exp;
branches;
next	1.6;
commitid	YX2aouEM7JToBrDG;

1.6
date	2025.12.26.21.42.50;	author adam;	state Exp;
branches;
next	1.5;
commitid	AyxrOxsKN5k3WXnG;

1.5
date	2025.10.23.15.02.07;	author adam;	state Exp;
branches;
next	1.4;
commitid	RoGwvs8flxeaMHfG;

1.4
date	2025.10.09.07.57.36;	author wiz;	state Exp;
branches;
next	1.3;
commitid	t4nMY0Dt3rBjSRdG;

1.3
date	2025.08.13.04.47.01;	author adam;	state Exp;
branches;
next	1.2;
commitid	lbAMMy29dzpBEw6G;

1.2
date	2025.04.12.21.10.59;	author adam;	state Exp;
branches;
next	1.1;
commitid	hogTAPDx6qJl3OQF;

1.1
date	2025.01.21.15.27.30;	author adam;	state Exp;
branches;
next	;
commitid	N7ufUr2cqZdTKmGF;


desc
@@


1.9
log
@py-testfixtures: updated to 12.0.1

12.0.1 (11 Jun 2026)

- Fix bug where :class:`frozensets <frozenset>` would not :func:`compare` equal when a library
  requiring ``ignore_eq`` for its types, such as :doc:`polars <polars>`, was present.
@
text
@# $NetBSD: Makefile,v 1.8 2026/05/25 08:11:32 adam Exp $

DISTNAME=	testfixtures-12.0.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=t/testfixtures/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/simplistix/testfixtures
COMMENT=	Helpers and mocks useful for automated tests in Python
LICENSE=	mit

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
#TEST_DEPENDS+=	${PYPKGPREFIX}-sybil>=6:../../wip/py-sybil
TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+=	${PYPKGPREFIX}-test-django-[0-9]*:../../www/py-test-django
TEST_DEPENDS+=	${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	310

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.8
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2026/04/26 08:19:44 adam Exp $
d3 1
a3 1
DISTNAME=	testfixtures-12.0.0
@


1.7
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2025/12/26 21:42:50 adam Exp $
d3 1
a3 1
DISTNAME=	testfixtures-11.0.0
@


1.6
log
@py-testfixtures: updated to 10.0.0

10.0.0 (29 Oct 2025)

- Fixed a bug in the warning issued when a :class:`Replacer` is deleted with replacements still
  in place.

- Reworked :func:`compare` options so that typos and the like will now result
  in an exception being raised. This ended up being a breaking change if you use custom comparers
  that take options as this now has a :ref:`different API <custom-comparer-options>`.

- Reworked the :doc:`compare documentation <comparing>` to explain why you should be using it
  as well as updating the examples and explaining more fully how to configure and customise it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2025/10/23 15:02:07 adam Exp $
d3 1
a3 1
DISTNAME=	testfixtures-10.0.0
d13 1
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
@


1.5
log
@py-testfixtures: updated to 9.2.0

9.2.0
Implement :func:`like`, :func:`sequence`, :func:`contains`, :func:`unordered` for strictly typed :ref:`comparisons <comparison-objects>`.
Correctly type :attr:`ShouldRaise.raised`.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2025/10/09 07:57:36 wiz Exp $
d3 1
a3 1
DISTNAME=	testfixtures-9.2.0
@


1.4
log
@*: remove reference to (removed) Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2025/08/13 04:47:01 adam Exp $
d3 1
a3 1
DISTNAME=	testfixtures-9.1.0
@


1.3
log
@py-testfixtures: updated to 9.1.0

9.1.0 (8 Jul 2025)

Add support for passing :class:`StringComparison` instances as parameters to :meth:`OutputCapture.compare`.

9.0.1 (4 Jul 2025)

:attr:`ShouldRaise.raised` is now always an exception instance. If no exception has been raised, it will be a :class:`~testfixtures.shouldraise.NoException` instance. This prevents typing complaints around using an attribute that might be None.
:func:`mock_time` has been reworked to return an instance of :class:`~testfixtures.datetime.MockTime` rather than the class itself. :class:`~testfixtures.datetime.MockTime` has also been reworked such that it can no longer be instantiated with the same parameters as :class:`~datetime.datetime` - this edge case was never supported, but is highlighted here in case folks were using it.

9.0.0 (3 Jul 2025)

Python 3.11 is now the minimum supported version.
A show_whitespace parameter has been added to :class:`ShouldAssert`.
testfixtures is now fully typed, checked with mypy and is distributed with a py.typed marker file.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2025/04/12 21:10:59 adam Exp $
d24 1
a24 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310
@


1.2
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2025/01/21 15:27:30 adam Exp $
d3 1
a3 1
DISTNAME=	testfixtures-8.3.0
a4 1
PKGREVISION=	1
d17 1
a17 1
#TEST_DEPENDS+=	${PYPKGPREFIX}-sybil-[0-9]*:../../wip/py-sybil
d24 2
@


1.1
log
@py-testfixtures: added version 8.3.0

Testfixtures is a collection of helpers and mock objects that are useful when
writing automated tests in Python.
@
text
@d1 1
a1 1
# $NetBSD$
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
@

