pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-test-xprocess py-test-xprocess: updated to 0....
details: https://anonhg.NetBSD.org/pkgsrc/rev/fcbd80c8b5e5
branches: trunk
changeset: 445375:fcbd80c8b5e5
user: adam <adam%pkgsrc.org@localhost>
date: Thu Jan 21 20:19:43 2021 +0000
description:
py-test-xprocess: updated to 0.17.0
0.17.0 (2020-11-26)
-------------------
- :class:`ProcessStarter` now has :meth:`startup_check`. This method can be optionaly overridden and will be called upon to check process responsiveness
after :attr:`ProcessStarter.pattern` is matched. By default, :meth:`XProcess.ensure` will only attempt to match :attr:`ProcessStarter.pattern` when starting a process, if matched, xprocess
will consider the process as ready to answer queries. If :meth:`startup_check` is provided though, its return value will also be considered to determine if the process has been
successfully started. If :meth:`startup_check` returns `True` after :attr:`ProcessStarter.pattern` has been matched, :meth:`XProcess.ensure` will return sucessfully. In contrast, if
:meth:`startup_check` does not return `True` before timing out, :meth:`XProcess.ensure` will raise a `TimeoutError` exception.
- Remove deprecated :meth:`xprocess.CompatStarter`
0.16.0 (2020-10-29)
-------------------
- :class:`ProcessStarter` now has a new `timeout` class variable optionaly overridden to define the maximum time :meth:`xprocess.ensure` should wait for process output when trying to match
:attr:`ProcessStarter.pattern`. Defaults to 120 seconds.
- The number of lines in the process logfile watched for :attr:`ProcessStarter.pattern` is now configurable and can be changed by setting :attr:`ProcessStarter.max_read_lines` to the desired value.
Defaults to 50 lines.
- Make :meth:`XProcessInfo.isrunning` ignore zombie processes by default. Pass ``ignore_zombies=False`` to get the previous behavior, which was to consider zombie processes as running.
0.15.0 (2020-10-03)
-------------------
- pytest-xprocess now uses a sub-directory of `.pytest_cache` to store process related files.
- Drop support for Python 2.7
- Fixed bug when non-ascii characters were written to stdout by external
process
- Removed deprecated :meth:`XProcessInfo.kill`
0.14.0 (2020-09-24)
-------------------
- Now ``XProcessInfo.terminate`` will by default also terminate the entire
process tree. This is safer as there's no risk of leaving lingering processes
behind. If for some reason you need the previous behavior of only terminating
the root process, pass ```kill_proc_tree=False`` to ``XProcessInfo.terminate``.
diffstat:
devel/py-test-xprocess/Makefile | 10 +++++-----
devel/py-test-xprocess/distinfo | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
diffs (42 lines):
diff -r b3110d6ce7f8 -r fcbd80c8b5e5 devel/py-test-xprocess/Makefile
--- a/devel/py-test-xprocess/Makefile Thu Jan 21 20:14:40 2021 +0000
+++ b/devel/py-test-xprocess/Makefile Thu Jan 21 20:19:43 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2020/05/16 17:38:40 adam Exp $
+# $NetBSD: Makefile,v 1.6 2021/01/21 20:19:43 adam Exp $
-DISTNAME= pytest-xprocess-0.13.1
+DISTNAME= pytest-xprocess-0.17.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-xprocess/}
@@ -12,11 +12,11 @@
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm
DEPENDS+= ${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil
-
-PYTHON_VERSIONED_DEPENDENCIES= test
+DEPENDS+= ${PYPKGPREFIX}-test>=2.8:../../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 b3110d6ce7f8 -r fcbd80c8b5e5 devel/py-test-xprocess/distinfo
--- a/devel/py-test-xprocess/distinfo Thu Jan 21 20:14:40 2021 +0000
+++ b/devel/py-test-xprocess/distinfo Thu Jan 21 20:19:43 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2020/02/14 09:53:32 adam Exp $
+$NetBSD: distinfo,v 1.3 2021/01/21 20:19:43 adam Exp $
-SHA1 (pytest-xprocess-0.13.1.tar.gz) = ef1e9365fa10a0b27f1ff3c956b7cdec4235380a
-RMD160 (pytest-xprocess-0.13.1.tar.gz) = 677b152a6696421514113ef3289545e901db1bfb
-SHA512 (pytest-xprocess-0.13.1.tar.gz) = e0ab9e13d7f90ffca1bb3646e5789582806519ff5e665e13ed0db00896d799a7828b39e7657e947783d15ec1a961b33c1c981e39069dd298bf352826dbdc496f
-Size (pytest-xprocess-0.13.1.tar.gz) = 10273 bytes
+SHA1 (pytest-xprocess-0.17.0.tar.gz) = 4eb4acdaff759b4c0ec4bd6a848f5ade6bafee6b
+RMD160 (pytest-xprocess-0.17.0.tar.gz) = f95ce60c76d552bf68d83315898c20f4ebcefddf
+SHA512 (pytest-xprocess-0.17.0.tar.gz) = c85bb7bd8373b5b5119083fca46b8f173efe3b6f6cde5db8365e567e717f47f6f9230d2cf5ecfddb014aedd628aee75023f4da3077fa3ffb26b3c7bfc61d57c9
+Size (pytest-xprocess-0.17.0.tar.gz) = 19186 bytes
Home |
Main Index |
Thread Index |
Old Index