Changelog#

Versions follow Semantic Versioning (<major>.<minor>.<patch>).

Backward incompatible (breaking) changes will only be introduced in major versions with advance notice in the Deprecations section of releases.

shell-utilities [UNRELEASED DRAFT] (2024-02-23)#

No significant changes.

shell-utilities 1.9.0 (2024-02-23)#

Breaking Changes#

  • Drop support for Python older than 3.8 and Pytest older than 7.4.x (#43)

Bug Fixes#

  • The printed output is now the result of json.dumps instead of pprint.pformat (#42)

Trivial/Internal Changes#

  • Several minor changes to the code base:

    • Update copyright headers

    • Update pre-commit hook versions (#43)

shell-utilities 1.8.0 (2023-07-02)#

Breaking Changes#

  • Drop support for python versions older than 3.7 (#38)

Improvements#

  • Support Python 3.11 (#40)

Bug Fixes#

  • Set minimal attrs version to 22.1.0 (#28)

Trivial/Internal Changes#

  • Update the GitHub actions versions and stop using ::set-output (#38)

  • Several project internal changes

    • Start running tests against Py3.11 and Pytest 7.3.x and 7.4.x

    • Update copyright headers

    • Upgrade to coverage==7.2.7

    • Switch to codecov/codecov-action (#39)

shell-utilities 1.7.0 (2022-09-23)#

Bug Fixes#

  • Subprocess.run() now accepts shell keyword argument like subprocess.Popen. (#32)

  • The Subprocess.run() method can now override the cwd (#33)

Trivial/Internal Changes#

  • Update pre-commit hook versions (#34)

shell-utilities 1.6.0 (2022-07-28)#

Improvements#

  • The shell fixture is now session scoped (#29)

shell-utilities 1.5.0 (2022-06-02)#

Improvements#

  • The minimum python for the code base is now 3.7(we still provide support to Py3.5 and Py3.6 by providing a downgraded source, transparent to the user), and the project is now 100% typed, including the test suite. (#26)

Improved Documentation#

  • Improve and switch to google style docstrings (#24)

shell-utilities 1.4.0 (2022-05-26)#

Improvements#

  • Daemon.started() is now a context manager (#22)

shell-utilities 1.3.0 (2022-05-26)#

Improvements#

  • Support user provided callable functions to confirm that the daemon is up and running (#20)

shell-utilities 1.2.1 (2022-05-23)#

Bug Fixes#

  • Account for ProcessLookupError when terminating the underlying process. (#18)

shell-utilities 1.2.0 (2022-05-20)#

Improvements#

Trivial/Internal Changes#

shell-utilities 1.1.0 (2022-05-16)#

Improvements#

  • Skip test when the GLIBC race conditions are met, instead of failing (#13)

Trivial/Internal Changes#

  • Update pre-commit hooks and test against PyTest 7.0.x and 7.1.x. (#13)

shell-utilities 1.0.5 (2022-02-21)#

Bug Fixes#

  • Fix deprecation message telling to use the wrong property. (#12)

shell-utilities 1.0.4 (2022-02-17)#

Improvements#

  • State from which library the DeprecationWarning is coming from. (#9)

Bug Fixes#

  • Handle None values for .stdout and .stderr on ProcessResult.__str__() (#8)

shell-utilities 1.0.3 (2022-02-16)#

Bug Fixes#

  • Fixed issue with sdist recompression for reproducible packages not iterating though subdirectories contents. (#7)

shell-utilities 1.0.2 (2022-02-05)#

Bug Fixes#

  • Set lower required python to 3.5.2 and avoid issues with flake8-typing-imports. (#6)

shell-utilities 1.0.1 (2022-01-25)#

Bug Fixes#

  • Stop casting None to a string for ProcessResult.std{out,err} (#4)

shell-utilities 1.0.0 (2022-01-25)#

No significant changes.

shell-utilities 1.0.0rc7 (2022-01-25)#

Trivial/Internal Changes#

  • Improvements before final RC

    • Add ProcessResult.std{out,err}.matcher example

    • Also generate reproducible packages when uploading a release to pypi

    • The twine-check nox target now call’s the build target (#3)

shell-utilities 1.0.0rc6 (2022-01-24)#

No significant changes.

shell-utilities 1.0.0rc5 (2022-01-24)#

Trivial/Internal Changes#

  • Provide a way to create reproducible distribution packages.

    • Stop customizing the towncrier template. (#1)

shell-utilities 1.0.0rc4 (2022-01-23)#

  • ProcessResult.stdout and ProcessResult.stderr are now instances of pytestshellutils.utils.processes.MatchString which provides a .matcher attribute that returns an instance of pytest.LineMatcher.

shell-utilities 1.0.0rc3 (2022-01-21)#

  • cwd and environ are now defined on BaseFactory

  • Add py.typed to state that the package is fully typed

  • Fix the stacklevel value to point to the actual caller of the warn_until function.

  • Fix the deprecated ProcessResult.json property.

shell-utilities 1.0.0rc2 (2022-01-21)#

  • When passed a string, cast it to pathlib.Path before calling .resolve()

  • Extract BaseFactory from Factory. It’s required on pytest-salt-factories container implementation.

shell-utilities 1.0.0rc1 (2022-01-21)#

Pre-release of the first working version of the pytest plugin.