Skip to content

Releases: aklajnert/pytest-subprocess

1.5.3

04 Jan 13:12
Compare
Choose a tag to compare

Features

  • #171, #178: Allow to access keyword arguments passed to Popen.

Bug fixes

  • #180: Fixed an incorrect wait timeout calculation.
  • #170: Wrapped ProcessDispatcher.dispatch into FakePopenWrapper as it was causing TypeError when Popen is used as a type.
  • #169: Get rid of using thread in AsyncFakePopen as it causes thread.join() to hang indefinitely.

1.5.2

24 Jul 11:25
Compare
Choose a tag to compare

Bug fixes

  • #162: Include tests (and docs) and sdist correctly, and stop installing them to site-packages.

Other changes

  • #163: Add support for Python 3.12.

1.5.1

23 Jul 18:15
Compare
Choose a tag to compare

Other changes

  • #160: Changed pytest entrypoint to avoid error while loading plugin with -p argument.
  • #127: Add tests directory to sdist.

1.5.0

28 Jan 10:20
8ba3e86
Compare
Choose a tag to compare

Features

  • #109: Match also os.PathLike.
  • #105: Add program matcher.

Other changes

  • #110: Produce TypeError on Win Py<3.8 for Path args.

1.4.2

02 Oct 07:19
d04e060
Compare
Choose a tag to compare

Features

  • #87: Add support for Python 3.11.
  • #80, #86: The register() method returns an auxiliary object that will contain all matching FakePopen instances.

Bug fixes

  • #93: Raise callback exceptions on communicate() calls.

Other changes

  • #97: Fixed warnings in tests, treat warnings as errors.
  • #91: Use sys.executable instead just "python" in tests while invoking python subprocess.
  • #90: Fix documentation build, add CI check for it.

1.4.1

09 Feb 06:24
2cbae65
Compare
Choose a tag to compare

Other changes

  • #74: Add fp alias for the fixture, and register for the regisiter_subprocess method.

1.4.0

23 Jan 14:21
7a9d9bb
Compare
Choose a tag to compare

Features

  • #71: Add support for stdin with asyncio.

Bug fixes

  • #68: Make stdout and stderr an asyncio.StreamReader instance when using asyncio functions.
  • #63: Add missing items to asyncio.subprocess.

Other changes

  • #69: Extracted code into separate files to improve navigation.

1.3.2

07 Nov 12:58
2a6ec3e
Compare
Choose a tag to compare

Bug fixes

  • #61: Fixed behavior of asyncio.create_subproess_exec().

1.3.1

01 Nov 12:51
c176ce2
Compare
Choose a tag to compare

Bug fixes

  • #58: Correctly handle file stream output.

1.3.0

24 Oct 14:43
aafe972
Compare
Choose a tag to compare

Features

  • #55: Add support for terminate(), kill(), send_signal().