forked from pool/python-humanfriendly
Accepting request 789697 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/789697 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-humanfriendly?expand=0&rev=13
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b77d1aa8d73b6fe7e8860fa516fbc0e2aa85bff159d7525b0213353817cf1cfc
|
||||
size 348257
|
||||
3
humanfriendly-8.1.tar.gz
Normal file
3
humanfriendly-8.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:25c2108a45cfd1e8fbe9cdb30b825d34ef5d5675c8e11e4775c9aedbfb0bdee2
|
||||
size 356388
|
||||
@@ -1,3 +1,54 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 30 09:38:31 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- 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__``.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 15 08:48:24 CET 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -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 @@ BuildArch: noarch
|
||||
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}
|
||||
|
||||
Reference in New Issue
Block a user