head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.4 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.2 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.2.0.24 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.22 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.20 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.18 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.16 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.14 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.12 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.10 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.8 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.6 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.4 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.2 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.1.0.4 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.2 pkgsrc-2022Q2-base:1.1; locks; strict; comment @# @; 1.3 date 2025.12.05.20.57.34; author wiz; state Exp; branches; next 1.2; commitid 2BiBg3ItsszlmglG; 1.2 date 2022.11.15.10.01.56; author adam; state Exp; branches; next 1.1; commitid l50ZLC3sFRMrBM1E; 1.1 date 2022.03.31.21.47.54; author wiz; state Exp; branches; next ; commitid nLhqCoJoWlHaSpyD; desc @@ 1.3 log @py-test-trio: update dependency pattern, convert to wheel.mk Bump PKGREVISION. @ text @# $NetBSD: Makefile,v 1.2 2022/11/15 10:01:56 adam Exp $ DISTNAME= pytest-trio-0.8.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} PKGREVISION= 1 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-trio/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/python-trio/pytest-trio COMMENT= Python testing tool for trio LICENSE= mit OR apache-2.0 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools DEPENDS+= ${PYPKGPREFIX}-outcome>=1.1.0:../../devel/py-outcome DEPENDS+= ${PYPKGPREFIX}-test>=7.2.0:../../devel/py-test DEPENDS+= ${PYPKGPREFIX}-trio>=0.25.1:../../devel/py-trio TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=6.56.4:../../devel/py-hypothesis TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4.0.0:../../devel/py-test-cov USE_LANGUAGES= # none # does not run # Defining 'pytest_plugins' in a non-top-level conftest is no longer supported: do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} pytest_trio .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.2 log @py-test-trio: updated to 0.8.0 pytest-trio 0.8.0 (2022-11-01) ------------------------------ Features ~~~~~~~~ - If a test raises an ``ExceptionGroup`` (or nested ``ExceptionGroup``\ s) with only a single 'leaf' exception from ``pytest.xfail()`` or ``pytest.skip()``\ , we now unwrap it to have the desired effect on Pytest. ``ExceptionGroup``\ s with two or more leaf exceptions, even of the same type, are not changed and will be treated as ordinary test failures. Bugfixes ~~~~~~~~ - Fix an issue where if two fixtures are being set up concurrently, and one crashes and the other hangs, then the test as a whole would hang, rather than being cancelled and unwound after the crash. Misc ~~~~ - Trio 0.22.0 deprecated ``MultiError`` in favor of the standard-library (or `backported `__) ``ExceptionGroup`` type; ``pytest-trio`` now uses ``ExceptionGroup`` exclusively and therefore requires Trio 0.22.0 or later. - Dropped support for end-of-life Python 3.6, and the ``async_generator`` library necessary to support it, and started testing on Python 3.10 and 3.11. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2022/03/31 21:47:54 wiz Exp $ d5 1 d14 1 d17 1 a17 1 DEPENDS+= ${PYPKGPREFIX}-trio>=0.22.0:../../devel/py-trio a22 2 PYTHON_VERSIONS_INCOMPATIBLE= 27 d28 1 a28 1 .include "../../lang/python/egg.mk" @ 1.1 log @devel/py-test-trio: import py-test-trio-0.7.0 This is a pytest plugin to help you test projects that use Trio, a friendly library for concurrency and async I/O in Python. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.106 2022/02/15 16:05:42 wiz Exp $ d3 1 a3 1 DISTNAME= pytest-trio-0.7.0 d13 7 a19 5 DEPENDS+= ${PYPKGPREFIX}-trio>=0.15.0:../../devel/py-trio DEPENDS+= ${PYPKGPREFIX}-async_generator>=1.9:../../devel/py-async_generator DEPENDS+= ${PYPKGPREFIX}-outcome-[0-9]*:../../devel/py-outcome DEPENDS+= ${PYPKGPREFIX}-test>=3.6:../../devel/py-test TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis a22 2 USE_LANGUAGES= # none d26 1 a26 1 cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} @