Up to [cvs.NetBSD.org] / pkgsrc / devel / py-test-subprocess
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-test-subprocess: updated to 1.6.0 1.6.0 (2026-05-10) Features * Add fp.regex() for regex-based command argument matching. Bug fixes * Fix poll() not reflecting returncode when a callback is registered. * Fix stdin not respecting text mode when text=True or encoding is set.
py-test-subprocess: updated to 1.5.4 1.5.4 (2026-03-21) Features * Improve matching commands that contain quoted arguments. Bug fixes * Fix ResourceWarning for unclosed file handles in test_universal_newlines and test_text by explicitly closing process.stdout after reading, preventing intermittent failures on Python 3.12+. * Handle stderr=STDOUT when stdout is a file handle. * Patch imported `subprocess.Popen` aliases. * Support file handles in stdout and stderr. Other changes * Officially support Python 3.14 and 3.15.
Fix PLIST after py-setuptools update; bump depends and revision
py-test-subprocess: updated to 1.5.3 1.5.3 (2025-01-04) Features * Allow to access keyword arguments passed to Popen. Bug fixes * Fixed an incorrect wait timeout calculation. * Wrapped ProcessDispatcher.dispatch into FakePopenWrapper as it was causing TypeError when Popen is used as a type. * Get rid of using thread in AsyncFakePopen as it causes thread.join() to hang indefinitely.
py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays
py-test-subprocess: updated to 1.5.2 1.5.2 (2024-07-24) Bug fixes * Include tests (and docs) and sdist correctly, and stop installing them to site-packages. Other changes * Add support for Python 3.12. 1.5.1 (2024-07-23) Other changes * Changed pytest entrypoint to avoid error while loading plugin with `-p` argument. * Add `tests` directory to sdist.
py-test-subprocess: added version 1.5.0 The plugin adds the fake_process fixture (and fp as an alias). It can be used it to register subprocess results so you won't need to rely on the real processes. The plugin hooks on the subprocess.Popen(), which is the base for other subprocess functions. That makes the subprocess.run(), subprocess.call(), subprocess.check_call() and subprocess.check_output() methods also functional.