pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-test-xprocess
Module Name: pkgsrc
Committed By: adam
Date: Thu Jan 21 20:19:43 UTC 2021
Modified Files:
pkgsrc/devel/py-test-xprocess: Makefile distinfo
Log Message:
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``.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-test-xprocess/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-test-xprocess/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-xprocess/Makefile
diff -u pkgsrc/devel/py-test-xprocess/Makefile:1.5 pkgsrc/devel/py-test-xprocess/Makefile:1.6
--- pkgsrc/devel/py-test-xprocess/Makefile:1.5 Sat May 16 17:38:40 2020
+++ pkgsrc/devel/py-test-xprocess/Makefile Thu Jan 21 20:19:43 2021
@@ -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 @@ LICENSE= mit
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"
Index: pkgsrc/devel/py-test-xprocess/distinfo
diff -u pkgsrc/devel/py-test-xprocess/distinfo:1.2 pkgsrc/devel/py-test-xprocess/distinfo:1.3
--- pkgsrc/devel/py-test-xprocess/distinfo:1.2 Fri Feb 14 09:53:32 2020
+++ pkgsrc/devel/py-test-xprocess/distinfo Thu Jan 21 20:19:43 2021
@@ -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