pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-test-timeout py-test-timeout: updated to 2.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b4ff98f69c52
branches:  trunk
changeset: 381878:b4ff98f69c52
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Jul 14 13:35:21 2022 +0000

description:
py-test-timeout: updated to 2.1.0

2.1.0

Get terminal width from shutil instead of deprecated py, thanks Andrew Svetlov.
Add an API for extending pytest-timeout functionality with third-party plugins, thanks Andrew Svetlov.

2.0.2

Fix debugger detection on OSX, thanks Alexander Pacha.

2.0.1

Fix Python 2 removal, thanks Nicusor Picatureanu.

2.0.0

Increase pytest requirement to >=5.0.0. Thanks Dominic Davis-Foster.
Use thread timeout method when plugin is not called from main thread to avoid crash.
Fix pycharm debugger detection so timeouts are not triggered during debugger usage.
Dropped support for Python 2, minimum pytest version supported is 5.0.0.

diffstat:

 devel/py-test-timeout/Makefile |  10 +++++-----
 devel/py-test-timeout/distinfo |   8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (41 lines):

diff -r b51e40b400f4 -r b4ff98f69c52 devel/py-test-timeout/Makefile
--- a/devel/py-test-timeout/Makefile    Thu Jul 14 13:23:43 2022 +0000
+++ b/devel/py-test-timeout/Makefile    Thu Jul 14 13:35:21 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2022/01/04 20:53:43 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/07/14 13:35:21 adam Exp $
 
-DISTNAME=      pytest-timeout-1.4.2
+DISTNAME=      pytest-timeout-2.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-timeout/}
 
@@ -11,10 +10,11 @@
 COMMENT=       Py.test plugin to abort hanging tests
 LICENSE=       mit
 
-PYTHON_VERSIONED_DEPENDENCIES= test
+DEPENDS+=      ${PYPKGPREFIX}-test>=5.0.0:../../devel/py-test
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r b51e40b400f4 -r b4ff98f69c52 devel/py-test-timeout/distinfo
--- a/devel/py-test-timeout/distinfo    Thu Jul 14 13:23:43 2022 +0000
+++ b/devel/py-test-timeout/distinfo    Thu Jul 14 13:35:21 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 10:19:09 nia Exp $
+$NetBSD: distinfo,v 1.11 2022/07/14 13:35:21 adam Exp $
 
-BLAKE2s (pytest-timeout-1.4.2.tar.gz) = a2a3f511dc8c34fb20481744ae5b608b30180b751d19b1d3bed2804e442e2c6d
-SHA512 (pytest-timeout-1.4.2.tar.gz) = 3446ecdb5aaad5fbca12df4e7f4f40c6c1a12895d3ed9f3a3ee24800ce36deed3cb8c09a4cc72220c962b06f821cfd55bf7eebbca23664c56abf2d0e5bc8fbea
-Size (pytest-timeout-1.4.2.tar.gz) = 15424 bytes
+BLAKE2s (pytest-timeout-2.1.0.tar.gz) = cd458ddbb713d3096d23655e10e137a64c4a5e9b94adc68fee6401a6c76ffcaf
+SHA512 (pytest-timeout-2.1.0.tar.gz) = 5750e5183669ed9b83fbb76bd7fc9fc1f5f6eef3d9b675dc44f6c7edfd2c6d15739d71e845ededaa192c93da73026ac3376a3295be9f7d3f3eac325660ce7bf3
+Size (pytest-timeout-2.1.0.tar.gz) = 18386 bytes



Home | Main Index | Thread Index | Old Index