pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-test-trio



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Nov 15 10:01:56 UTC 2022

Modified Files:
        pkgsrc/devel/py-test-trio: Makefile distinfo

Log Message:
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 <https://pypi.org/project/exceptiongroup/>`__) ``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.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-test-trio/Makefile \
    pkgsrc/devel/py-test-trio/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-test-trio/Makefile
diff -u pkgsrc/devel/py-test-trio/Makefile:1.1 pkgsrc/devel/py-test-trio/Makefile:1.2
--- pkgsrc/devel/py-test-trio/Makefile:1.1      Thu Mar 31 21:47:54 2022
+++ pkgsrc/devel/py-test-trio/Makefile  Tue Nov 15 10:01:56 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2022/03/31 21:47:54 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2022/11/15 10:01:56 adam Exp $
 
-DISTNAME=      pytest-trio-0.7.0
+DISTNAME=      pytest-trio-0.8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-trio/}
@@ -10,20 +10,20 @@ HOMEPAGE=   https://github.com/python-trio
 COMMENT=       Python testing tool for trio
 LICENSE=       mit OR apache-2.0
 
-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
-
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+DEPENDS+=      ${PYPKGPREFIX}-outcome>=1.1.0:../../devel/py-outcome
+DEPENDS+=      ${PYPKGPREFIX}-test>=7.2.0:../../devel/py-test
+DEPENDS+=      ${PYPKGPREFIX}-trio>=0.22.0:../../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
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 # 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}
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} pytest_trio
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-test-trio/distinfo
diff -u pkgsrc/devel/py-test-trio/distinfo:1.1 pkgsrc/devel/py-test-trio/distinfo:1.2
--- pkgsrc/devel/py-test-trio/distinfo:1.1      Thu Mar 31 21:47:54 2022
+++ pkgsrc/devel/py-test-trio/distinfo  Tue Nov 15 10:01:56 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2022/03/31 21:47:54 wiz Exp $
+$NetBSD: distinfo,v 1.2 2022/11/15 10:01:56 adam Exp $
 
-BLAKE2s (pytest-trio-0.7.0.tar.gz) = 5fdcc33e7b3b00eac23cffa223157127ba60f01479fb178b1d785787cbcc1f00
-SHA512 (pytest-trio-0.7.0.tar.gz) = 547036c94f33cf8e755c88d608c5fddfa5c583fdaa7e604598d470e250a006c571702a81bac4f273b74450a8c10e4be404bad74d4104403fe1c9c70e872dff53
-Size (pytest-trio-0.7.0.tar.gz) = 47784 bytes
+BLAKE2s (pytest-trio-0.8.0.tar.gz) = 783c6bdb1fe108df2350702227d2a2c75a73828244163cff1dd003d4bdf53ad9
+SHA512 (pytest-trio-0.8.0.tar.gz) = 79141021633b7b2d8a840d7eaf6a3447bccd59d1bd4909e7feba88a9ae8244376f281b64fde4333b5a575957e3f73028e389a9abf0d19a35417f15c47eeccd05
+Size (pytest-trio-0.8.0.tar.gz) = 46525 bytes



Home | Main Index | Thread Index | Old Index