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

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


Branch: CURRENT, Version: 1.0.2, Package name: py311-test-xprocess-1.0.2, 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:

Filesize: 12.922 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-03 16:56:57 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
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) | Package updated
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) | Package updated
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) | Package updated
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) | Package updated
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