./devel/py-test-xprocess, Pytest plugin to manage external processes across test runs

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.17.1, Package name: py39-test-xprocess-0.17.1, Maintainer: pkgsrc-users

Experimental py.test plugin for managing processes across test runs.


Required to run:
[devel/py-setuptools] [devel/py-test] [sysutils/py-psutil] [lang/python37]

Required to build:
[pkgtools/cwrappers] [devel/py-setuptools_scm]

Master sites:

RMD160: e1460f40a93bb5639d8085f75cc438d5456e881c
Filesize: 19.295 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-03-15 15:57:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-xprocess: updated to 0.17.1

0.17.1
- Fix `ResourceWarning` in :meth:`XProcess.ensure` caused by not properly
  waiting on process exit and leaked File handles
   2021-01-21 21:19:43 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
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``.
   2020-05-16 19:38:40 by Adam Ciarcinski | Files touched by this commit (9)
Log message:
pytest from versioned deps.
   2020-03-23 10:48:37 by Tobias Nygren | Files touched by this commit (1)
Log message:
py-test-xprocess: needs py-setuptools_scm during build
   2020-02-14 10:53:32 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-xprocess: updated to 0.13.1

0.13.1
- Drop support for Python 2.6 and 3.4.
- Ignore empty lines in log files when looking for the pattern that indicates
  a process has started.

0.13.0
- Never released due to deploy issues.
   2019-02-25 09:47:37 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-test-xprocess: cleanup
   2019-02-25 09:47:03 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
py-test-xprocess: added version 0.12.1

Experimental py.test plugin for managing processes across test runs.