Pytest-console-scripts

Latest version: v1.4.1

Safety actively analyzes 623219 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.4.1

Removed
- Dropped support for Python 3.7
[72](https://github.com/kvas-it/pytest-console-scripts/pull/72)

Fixed
- Fix loading scripts with non-UTF-8 encodings.
[77](https://github.com/kvas-it/pytest-console-scripts/pull/77)
- Print output when a subprocess runner with `check=True` fails was missing.
[78](https://github.com/kvas-it/pytest-console-scripts/pull/78)

1.4.0

Added
- Added type-hinting for all types, `pytest_console_scripts.ScriptRunner`
can now be used to hint the `script_runner` fixture.
[62](https://github.com/kvas-it/pytest-console-scripts/pull/62)
- Added support for the `shell` and `check` keywords for in-process mode.
These behave as similarly to `subprocess.run` as possible.
- Script runners now take command arguments similar to `subprocess.run`,
including support for PathLike objects.
[69](https://github.com/kvas-it/pytest-console-scripts/pull/69)

Deprecated
- Passing command arguments in `*args` is now deprecated and will raise warnings.
These should be wrapped in a list or tuple from now on, similar to `subprocess.run`.
[69](https://github.com/kvas-it/pytest-console-scripts/pull/69)

Removed
- Dropped support for Python 3.6
[61](https://github.com/kvas-it/pytest-console-scripts/pull/61)

Fixed
- Install-time dependencies have been fixed.
[56](https://github.com/kvas-it/pytest-console-scripts/issues/56)

1.3.1

Changed
- Removed `mock` dependency.
[53](https://github.com/kvas-it/pytest-console-scripts/pull/53)

1.3.0

Changed
- Added `python_requires` to the project.
[51](https://github.com/kvas-it/pytest-console-scripts/issues/51)

1.2.2

Added
- Add `print` method to allow results to be manually printed.
[49](https://github.com/kvas-it/pytest-console-scripts/issues/49)

Fixed
- Avoid overwriting the global logging config of tested scripts.
[48](https://github.com/kvas-it/pytest-console-scripts/pull/48)

1.2.1

Removed
- Drop support for Python 3.5

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.