Hello community,
here is the log from the commit of package python-humanfriendly for
openSUSE:Factory checked in at 2020-03-30 23:04:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-humanfriendly (Old)
and /work/SRC/openSUSE:Factory/.python-humanfriendly.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-humanfriendly"
Mon Mar 30 23:04:14 2020 rev:13 rq:789697 version:8.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-humanfriendly/python-humanfriendly.changes
2020-02-15 22:25:48.951322557 +0100
+++
/work/SRC/openSUSE:Factory/.python-humanfriendly.new.3160/python-humanfriendly.changes
2020-03-30 23:04:29.828213901 +0200
@@ -1,0 +2,51 @@
+Mon Mar 30 09:38:31 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- Update to 8.1
+ * 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`.
+ * 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).
+ * Adopt :func:`functools.wraps()` to make decorator functions more robust.
+ * Make the :class:`~humanfriendly.terminal.spinners.Spinner` class more
+ customizable. The interval at which spinners are updated and the characters
+ used to draw the animation of spinners can now be customized by callers.
+ This was triggered by `executor issue #2`_.
+ * Improve test skipping based on exception types.
+ * The "deprecated imports" feature provided by
:mod:`humanfriendly.deprecation`
+ has been adopted to clean up the maze of (almost but not quite) cyclic
import
+ dependencies between modules.
+ * HTML to ANSI functionality has been extracted to a new
+ :mod:`humanfriendly.terminal.html` module.
+ * Support for spinners has been extracted to a new
+ :mod:`humanfriendly.terminal.spinners` module.
+ * The use of positional arguments to initialize
+ :class:`~humanfriendly.terminal.spinners.Spinner` objects has been
deprecated
+ using the new :func:`humanfriendly.deprecation.deprecated_args()` decorator
+ function.
+ * Added the :func:`humanfriendly.deprecation.deprecated_args()` decorator
function
+ which makes it easy to switch from positional arguments to keyword
arguments
+ without dropping backwards compatibility.
+ * Accept pluralized disk size units (`#26`_). I'm not claiming this is a full
+ solution to the problem, far from it. It does lessen the pain a bit (IMHO).
+ * Make sure the selected pager is available before trying to run it. While
+ testing :pypi:`humanfriendly` on Windows 10 I noticed that ``humanfriendly
+ *-help`` resulted in nothing but a traceback, because :man:`less` wasn't
+ available. That's not human friendly at all 😕 (even if it is Windows 😈).
+ * Merge pull request `#24`_: Fix bug in
:func:`~humanfriendly.parse_length()` that rounded floats.
+ * Merge pull request `#32`_: Update hyperlinks in readme.
+ * Merge pull request `#33`_: Drop support for Python 2.6 and 3.0-3.4
+ * Merge pull request `#35`_: SVG badge in readme.
+ * Merge pull request `#36`_: Add support for nanoseconds and microseconds
time units
+ * Fixed :func:`~humanfriendly.tables.format_rst_table()` omission from
+ ``humanfriendly.tables.__all__``.
+ * Start testing on Python 3.8 and 3.9-dev.
+ * Emit an ANSI reset code when
:func:`humanfriendly.terminal.html.HTMLConverter.close()`
+ * Added the :func:`humanfriendly.terminal.html_to_ansi()` function which is a
+ * Added ``humanfriendly.testing.TestCase.assertRaises()`` enhancements.
+ * Define ``humanfriendly.text.__all__``.
+
+-------------------------------------------------------------------
Old:
----
humanfriendly-6.1.tar.gz
New:
----
humanfriendly-8.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-humanfriendly.spec ++++++
--- /var/tmp/diff_new_pack.hC4Zgv/_old 2020-03-30 23:04:31.276214726 +0200
+++ /var/tmp/diff_new_pack.hC4Zgv/_new 2020-03-30 23:04:31.280214729 +0200
@@ -26,7 +26,7 @@
%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-humanfriendly%{psuffix}
-Version: 6.1
+Version: 8.1
Release: 0
Summary: Human friendly input/output for text interfaces using Python
License: MIT
@@ -43,6 +43,7 @@
BuildRequires: %{python_module capturer >= 2.1}
BuildRequires: %{python_module coloredlogs >= 2}
BuildRequires: %{python_module docutils}
+BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest >= 3.0.7}
BuildRequires: %{python_module pytest-cov >= 2.4.0}
BuildRequires: %{pythons}
++++++ humanfriendly-6.1.tar.gz -> humanfriendly-8.1.tar.gz ++++++
++++ 5691 lines of diff (skipped)