From 0adf49a4d31e0b8aa74c24f9aed0883d98064628 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Fri, 6 Mar 2020 21:57:08 +0100 Subject: [PATCH] Release 8.1: Improved output capturing --- CHANGELOG.rst | 20 ++++++++++++++++++++ humanfriendly/__init__.py | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6b2c15f..abfe783 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -11,6 +11,26 @@ Changelog`_. This project adheres to `semantic versioning`_. .. _Keep a Changelog: http://keepachangelog.com/ .. _semantic versioning: http://semver.org/ +`Release 8.1`_ (2020-03-06) +--------------------------- + +**Enhancements:** + +- Make it possible to opt out of the output capturing that + :func:`humanfriendly.testing.run_cli()` sets up by default. + +- Improve feature parity between :class:`humanfriendly.testing.CaptureOutput` + and my :pypi:`capturer` package to the point where most of the + :pypi:`humanfriendly` test suite can now run without :pypi:`capturer`. + +**Internal changes:** + +- Refactored the test suite to import all names separately instead of referring + to identifiers via their modules (my preferences have changed since this code + was written a long time ago). + +.. _Release 8.1: https://github.com/xolox/python-humanfriendly/compare/8.0...8.1 + `Release 8.0`_ (2020-03-02) --------------------------- diff --git a/humanfriendly/__init__.py b/humanfriendly/__init__.py index 255d9c9..4641b17 100644 --- a/humanfriendly/__init__.py +++ b/humanfriendly/__init__.py @@ -1,7 +1,7 @@ # Human friendly input/output in Python. # # Author: Peter Odding -# Last Change: March 2, 2020 +# Last Change: March 6, 2020 # URL: https://humanfriendly.readthedocs.io """The main module of the `humanfriendly` package.""" @@ -51,7 +51,7 @@ ) # Semi-standard module versioning. -__version__ = '8.0' +__version__ = '8.1' # Named tuples to define units of size. SizeUnit = collections.namedtuple('SizeUnit', 'divider, symbol, name')