2024-04-03 16:56:57 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-xprocess: updated to 1.0.1
1.0.1
Add missing test suite files to source distribution
|
2024-03-24 08:37:16 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-test-xprocess: updated to 1.0.0
1.0.0
ProcessStarter.pattern is now optional. Users may provide either \
ProcessStarter.pattern or ProcessStarter.callback or both.
|
2023-09-27 17:23:59 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-xprocess: updated to 0.23.0
0.23.0 (2023-09-23)
- Drop support for Python 3.7
- Add support for Python 3.11
- Remove dependency on `py`
|
2023-01-24 21:10:28 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-xprocess: updated to 0.22.2
0.22.2 (2023-01-05)
-------------------
- Python 3.10 is now officially supported
- `surrogateescape` will now be used as error handling strategy for \
encode/decode operations.
- Make log files persistency, added in `0.21.0`, optional, defaulting to True. \
The previous logging behavior (prior to `0.21.0`) can be enabled by setting \
`persist_logs` flag to `False` when calling `XProcess.ensure`.
- Fix resource warnings due to leaked internal file handles
- Ignore zombie processes which are erroneously considered alive with python 3.11
|
2022-11-30 16:12:55 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-test-xprocess: updated to 0.21.0
0.21.0 (2022-11-27)
-------------------
- Explicitly add `py` package as a dependency, fixing issue with `pytest` >= 7.2.0
- Process log files will not be overwritten for each new process anymore, making it
easier to debug issues that occurred in the middle of failed test runs
0.20.0 (2022-08-29)
-------------------
- Cleanup reminders will now only be printed for verbosity
levels equal or greater than 1
0.19.0 (2022-05-23)
-------------------
- drop support for python 3.5 and 3.6
- reorganize internals. ``pytest-xprocess`` is now a package and all resources
used by running processes are kept as instances of :class:``XProcessResources``.
0.18.1 (2021-07-27)
-------------------
- Fix bug with previous release where internal module was missing
0.18.0 (2021-07-21)
-------------------
- :method:`ProcessInfo.terminate` will now terminate outer leaves in process
tree first and work its way towards root process. For example, if a process
has child and grandchild, xprocess will terminate first child and grandchild
and only then will the root process receive a termination signal.
- :class:`ProcessStarter` now has attr:`terminate_on_interrupt`. This flag will
make xprocess attempt to terminate and clean up all started process resources
upon interruptions during pytest runs (`CTRL+C`, `SIGINT` and internal errors)
when set to `True`. It will default to `False`, so if the described behaviour
is desired the flag must be explicitly set `True`.
- Add a new `popen_kwargs` variable to `ProcessStarter`, this variable can
be used for passing keyword values to the `subprocess.Popen` constructor,
giving the user more control over how the process is initialized.
|
2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595) |
Log message:
*: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
|
2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016) |
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Could not be committed due to merge conflict:
devel/py-traitlets/distinfo
The following distfiles were unfetchable (note: some may be only fetched
conditionally):
./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
|
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) | |
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) | |
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``.
|