head 1.19; access; symbols pkgsrc-2026Q3:1.19.0.2 pkgsrc-2026Q3-base:1.19 pkgsrc-2026Q2:1.18.0.2 pkgsrc-2026Q2-base:1.18 pkgsrc-2026Q1:1.17.0.4 pkgsrc-2026Q1-base:1.17 pkgsrc-2025Q4:1.17.0.2 pkgsrc-2025Q4-base:1.17 pkgsrc-2025Q3:1.14.0.4 pkgsrc-2025Q3-base:1.14 pkgsrc-2025Q2:1.14.0.2 pkgsrc-2025Q2-base:1.14 pkgsrc-2025Q1:1.13.0.2 pkgsrc-2025Q1-base:1.13 pkgsrc-2024Q4:1.11.0.4 pkgsrc-2024Q4-base:1.11 pkgsrc-2024Q3:1.11.0.2 pkgsrc-2024Q3-base:1.11 pkgsrc-2024Q2:1.10.0.4 pkgsrc-2024Q2-base:1.10 pkgsrc-2024Q1:1.10.0.2 pkgsrc-2024Q1-base:1.10 pkgsrc-2023Q4:1.6.0.2 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.4.0.2 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.2.0.2 pkgsrc-2023Q2-base:1.2; locks; strict; comment @# @; 1.19 date 2026.08.09.06.23.38; author adam; state Exp; branches; next 1.18; commitid PQf1X0JwOiE8AVQG; 1.18 date 2026.04.22.08.04.28; author adam; state Exp; branches; next 1.17; commitid fbRqFOOXaF84EVCG; 1.17 date 2025.12.01.09.37.12; author adam; state Exp; branches; next 1.16; commitid WV9ztr36ITqVIGkG; 1.16 date 2025.11.05.13.45.04; author adam; state Exp; branches; next 1.15; commitid 3mTax4e5fjmNVmhG; 1.15 date 2025.09.22.09.24.12; author adam; state Exp; branches; next 1.14; commitid IlsIaYwhHVwWTGbG; 1.14 date 2025.04.28.07.32.15; author adam; state Exp; branches; next 1.13; commitid CUGT0L14wGKo0NSF; 1.13 date 2025.02.13.16.20.34; author adam; state Exp; branches; next 1.12; commitid Uh3e0gMlz14bjkJF; 1.12 date 2025.02.10.16.32.12; author adam; state Exp; branches; next 1.11; commitid JXZjbvc4bXietWIF; 1.11 date 2024.08.29.12.27.12; author adam; state Exp; branches; next 1.10; commitid s45gMkxMAwmXpInF; 1.10 date 2024.01.19.10.51.30; author adam; state Exp; branches; next 1.9; commitid vwUjrRUQlo5B33VE; 1.9 date 2024.01.18.18.06.59; author adam; state Exp; branches; next 1.8; commitid KRXBnuDYTugXuXUE; 1.8 date 2024.01.11.12.29.02; author adam; state Exp; branches; next 1.7; commitid ZuwKafcGsAsXQ1UE; 1.7 date 2024.01.04.22.20.23; author adam; state Exp; branches; next 1.6; commitid fMxVKGbCijTNlbTE; 1.6 date 2023.10.28.19.57.06; author wiz; state Exp; branches; next 1.5; commitid jP8MYROLWZ3yJqKE; 1.5 date 2023.09.27.10.58.38; author adam; state Exp; branches; next 1.4; commitid YdvaCcuSmO3hLoGE; 1.4 date 2023.08.23.05.33.10; author adam; state Exp; branches; next 1.3; commitid 5OIEwHUGjExj5SBE; 1.3 date 2023.07.19.07.55.08; author adam; state Exp; branches; next 1.2; commitid 44EoVM7YvzWHZnxE; 1.2 date 2023.06.10.18.55.49; author adam; state Exp; branches; next 1.1; commitid ekXrbBHOwfY4UqsE; 1.1 date 2023.05.06.09.06.29; author wiz; state Exp; branches; next ; commitid 8vAlwoEZM7cOLSnE; desc @@ 1.19 log @py-test-check: updated to 2.9.1 2.9.1 Fixed - Fix [An issue with pytest-reportlog thanks to a suggestion from MV Seotlo - also the resulting code is a bit cleaner of a solution for the pseudo-traceback code. 2.9.0 Highlights - Added `--check-max-tb-line=` to control one-line traceback output for additional failures. - Traceback output now supports two tiers: - full pseudo-tracebacks for early failures (`--check-max-tb`) - one-line traceback output for later failures (`--check-max-tb-line`) - Improved one-line traceback output for context-manager checks: - points to the failing line inside `with check:` blocks - includes exception type and message when available @ text @# $NetBSD: Makefile,v 1.18 2026/04/22 08:04:28 adam Exp $ DISTNAME= pytest_check-2.9.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//:S/_/-/} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-check/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/okken/pytest-check COMMENT= Pytest plugin that allows multiple failures per test LICENSE= mit TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling DEPENDS+= ${PYPKGPREFIX}-packaging>=0:../../devel/py-packaging DEPENDS+= ${PYPKGPREFIX}-test>=7.0.0:../../devel/py-test USE_LANGUAGES= # none .include "../../lang/python/pyversion.mk" .if ${PYTHON_VERSION} < 311 DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.12.2:../../devel/py-typing-extensions .endif .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.18 log @py-test-check: updated to 2.8.0 2.8.0 Added - Support Request Feature proposal: Capability to mark checks as xfail - Allow check helper functions, including `raises()`, to accept an `xfail` reason. A failing check can now produce an xfailed test result, while a passing check does not produce xpass unless the test is already marked with `@@pytest.mark.xfail`. - (docs) Document `xfail` support for check helper functions in the README. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2025/12/01 09:37:12 adam Exp $ d3 1 a3 1 DISTNAME= pytest_check-2.8.0 d13 2 a14 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling @ 1.17 log @py-test-check: updated to 2.6.2 2.6.2 Fixed - greater/less_equal support numpy scalars Changed - (internal) updated publish pipeline: repository_url -> repository-url @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2025/11/05 13:45:04 adam Exp $ d3 1 a3 1 DISTNAME= pytest_check-2.6.2 @ 1.16 log @py-test-check: updated to 2.6.0 2.6.0 Added - `raises` returns the exception value, so the excpected error message can be verified. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2025/09/22 09:24:12 adam Exp $ d3 1 a3 1 DISTNAME= pytest_check-2.6.0 @ 1.15 log @py-test-check: updated to 2.5.4 2.5.4 - raises & any_failures exported from top __init__.py module so that mypy does not complain that they are not explicitly exported. - Make _Comparable* protocols compatible with builtins - Turn on testing for Python 3.14 in CI @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2025/04/28 07:32:15 adam Exp $ d3 1 a3 1 DISTNAME= pytest_check-2.5.4 @ 1.14 log @py-test-check: updated to 2.5.3 2.5.3 Changed - relative paths in tracebacks - add testing of Python 3.14 2.5.2 Fixed - Fixes a weird corner case where an internal error could be generated by (1) having a session scope fixture fail in teardown and (2) having the last test in the session be skipped. 2.5.1 Fixed - Set a minimum pluggy version during type checking. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2025/02/13 16:20:34 adam Exp $ d3 1 a3 1 DISTNAME= pytest_check-2.5.3 @ 1.13 log @py-test-check: updated to 2.5.0 2.5.0 Changed/Added - Add type hints, remove support for Python 3.8, resolves 163, thanks @@mfulgo Fixed - Fixes 171, check doesn't respect runxfail option, thanks @@taylermulligan @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2025/02/10 16:32:12 adam Exp $ d3 1 a3 1 DISTNAME= pytest_check-2.5.0 d20 1 a20 1 DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions @ 1.12 log @py-test-check: updated to 2.4.2 2.4.2 Modified - Add testing for Python 3.13 to GH actions - Add testing for Python 3.13 and 3.14 to tox.ini - Switch packackaching from flit to hatchling @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2024/08/29 12:27:12 adam Exp $ d3 1 a3 1 DISTNAME= pytest_check-2.4.2 d18 5 @ 1.11 log @py-test-check: updated to 2.4.1 2.4.1 Added - `is_nan()` - `is_not_nan()` 2.4.0 Modified - Drop Python 3.7 - Add testing for Python 3.12 - Add tox-uv to tox.ini and main.yml @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2024/01/19 10:51:30 adam Exp $ d3 1 a3 1 DISTNAME= pytest_check-2.4.1 d13 1 a13 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.2:../../devel/py-flit_core @ 1.10 log @py-test-check: updated to 2.3.1 2.3.1 Modified - Documentation Update, README.md - Turn help function list into a table with param lists - Show an alternative method of creating a helper function using `check.fail()` @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2024/01/18 18:06:59 adam Exp $ d3 1 a3 1 DISTNAME= pytest_check-2.3.1 d14 1 a14 1 DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test a17 2 PYTHON_VERSIONS_INCOMPATIBLE= 27 @ 1.9 log @py-test-check: updated to 2.3.0 2.3.0 Added - `between_equal(b, a c)` - as a shortcut for `between(b, a, c, ge=True, le=True)` - `fail(msg)` - indicate test failure, but don't stop testing @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2024/01/11 12:29:02 adam Exp $ d3 1 a3 1 DISTNAME= pytest_check-2.3.0 @ 1.8 log @py-test-check: updated to 2.2.4 2.2.4 - Summaries from 2.2.3 are cool, but don't work for pytest < 7.3 - Remove them for earlier pytest - Add tox test run for pytest 7.0.0 - Change dependencies to require 7.0.0 pytest @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2024/01/04 22:20:23 adam Exp $ d3 1 a3 1 DISTNAME= pytest_check-2.2.4 @ 1.7 log @py-test-check: updated to 2.2.3 2.2.3 - Check failure info now shows up in summaries. - fix [133](https://github.com/okken/pytest-check/issues/133) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2023/10/28 19:57:06 wiz Exp $ d3 1 a3 1 DISTNAME= pytest_check-2.2.3 @ 1.6 log @python/wheel.mk: simplify a lot, and switch to 'installer' for installation This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2023/09/27 10:58:38 adam Exp $ d3 1 a3 1 DISTNAME= pytest_check-2.2.2 a4 1 PKGREVISION= 1 a19 4 # needs 'make install' do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests @ 1.5 log @py-test-check: updated to 2.2.2 2.2.2 Bug fix @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2023/08/23 05:33:10 adam Exp $ d5 1 @ 1.4 log @py-test-check: updated to 2.2.1 2.2.1: Changed - Increase Python range to include 3.7.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2023/07/19 07:55:08 adam Exp $ d3 1 a3 1 DISTNAME= pytest_check-2.2.1 @ 1.3 log @py-test-check: updated to 2.2.0 2.2.0 Added - pseudo traceback additions - `-l` or `--showlocals` shows locals - `__tracebackhide__ = True` is honored. - if `assert` or other exception is involved, - the exception is included as part of the traceback. Changed - pseudo traceback changes - The red color is used more selectively. - this is intended to help readability - Other minor formatting changes. - Please let me know if you have any issues with the changes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2023/06/10 18:55:49 adam Exp $ d3 1 a3 1 DISTNAME= pytest_check-2.2.0 @ 1.2 log @py-test-check: updated to 2.1.5 2.1.5 Fixed - Fix [127](https://github.com/okken/pytest-check/issues/127) IndexError when running a check in a thread @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/05/06 09:06:29 wiz Exp $ d3 1 a3 1 DISTNAME= pytest_check-2.1.5 @ 1.1 log @devel/py-test-check: import py-test-check-2.1.4 A pytest plugin that allows multiple failures per test. Normally, a test function will fail and stop running with the first failed `assert`. That's totally fine for tons of kinds of software tests. However, there are times where you'd like to check more than one thing, and you'd really like to know the results of each check, even if one of them fails. `pytest-check` allows multiple failed "checks" per test function, so you can see the whole picture of what's going wrong. @ text @d1 1 a1 1 # $NetBSD$ d3 3 a5 3 DISTNAME= pytest-check-2.1.4 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} CATEGORIES= devel d9 1 a9 1 HOMEPAGE= https://pypi.org/project/pytest-check/ d13 1 a13 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core d22 1 a22 1 cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} @