Revisions of python-humanfriendly

buildservice-autocommit accepted request 1081893 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 41)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) accepted request 1081442 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 40)
SR for python stack proposal
buildservice-autocommit accepted request 992125 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 39)
baserev update by copy to link target
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 38)
- Remove unneeded BuildRequires on mock.
buildservice-autocommit accepted request 991672 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 37)
baserev update by copy to link target
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 36)
- Add patch pytest-7-support.patch:
  * Support pytest >= 7.
buildservice-autocommit accepted request 963714 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 35)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 963677 from Petr Gajdos's avatar Petr Gajdos (pgajdos) (revision 34)
- do not require mock for build
- added patches
  fix https://github.com/xolox/python-humanfriendly/issues/62
  + python-humanfriendly-no-mock.patch
Dirk Mueller's avatar Dirk Mueller (dirkmueller) accepted request 932241 from John Paul Adrian Glaubitz's avatar John Paul Adrian Glaubitz (glaubitz) (revision 33)
- Update to 10.0
  **Noteworthy changes:**
  * Merged pull request `#45`_ to resolve the issue caused by the conditional
    :pypi:`pyreadline` requirement on Windows not supporting Python 3.9+.
  * Updated the readme to use Python 3 in the example (reported in issue `#56`_).
    Also added a mention of the ``humanfriendly --demo`` command.
  * Removed the ``humanfriendly.compat.unittest`` alias that presumably no-one is
    using at this point; it had been rendered useless quite a long time ago
    (requested in issue `#53`_).
  **Internal changes:**
  * Merged pull request `#54`_ which migrates the :pypi:`humanfriendly` project
    from Travis CI to GitHub Actions and from Coveralls.io to Codecov.
  * Fixed a deprecation warning concerning ``setup.cfg`` and some Sphinx
    documentation errors.
Markéta Machová's avatar Markéta Machová (mcalabkova) accepted request 912658 from John Paul Adrian Glaubitz's avatar John Paul Adrian Glaubitz (glaubitz) (revision 32)
- Update to 9.2
  Maintenance release:
  * Merged pull request `#46`_ which fixes several :pypi:`flake8` warnings.
  * Merged pull request `#49`_ which marks Python 3.9 support final.
  * Merged pull request `#51`_ which helps to stabilize the test suite.
  * Merged pull request `#52`_ which updates the :mod:`humanfriendly.sphinx`
    module to include Sphinx extension metadata that has become mandatory in a
    recent Sphinx release. After merging the pull request I added additional
    metadata including the version.
- from version 9.1
  * Added :func:`~humanfriendly.compat.on_macos()` function to detect Apple MacOS
    (I need this in an upcoming :pypi:`coloredlogs` release and don't want to have
    to think about how to detect MacOS again in the future 😇).
- from version 9.0
  The major version number was bumped because the bug fix for
  :func:`~humanfriendly.text.pluralize()` is backwards incompatible
  and (even though this seems like very "cosmetic" functionality)
  version numbers are cheap, so who cares 😉.
  **Bug fixes:**
  * Changed :func:`~humanfriendly.format_number()` to properly support negative
    numbers (as suggested in `issue #40`_).
  * Changed :func:`~humanfriendly.text.pluralize()` to generate "1.5 seconds"
    instead of "1.5 second" (as suggested in `issue #43`_).
  **Enhancements:**
  * Enhanced :func:`~humanfriendly.text.concatenate()` to support ``conjunction``
    and ``serial_comma`` keyword arguments (as suggested in `issue #30`_).
  * Added :func:`~humanfriendly.text.pluralize_raw()` to select singular or
    plural form without prefixing the count to the text that is returned.
- from version 8.2
  * Added a simple case insensitive dictionary implementation, for details refer to
buildservice-autocommit accepted request 796500 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 31)
baserev update by copy to link target
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) committed (revision 30)
- Fix build without python2
buildservice-autocommit accepted request 789697 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 29)
baserev update by copy to link target
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 789694 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 28)
- 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
buildservice-autocommit accepted request 774497 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 27)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) committed (revision 26)
Fix changes
Matej Cepl's avatar Matej Cepl (mcepl) committed (revision 25)
- Update to 6.1:
  - Added a :pypy:`…` role for easy linking to packages on the
    Python Package Index, for details refer to
    :func:`humanfriendly.sphinx.pypi_role()`.
  - Wasted quite a bit of time debugging a MacOS failure on
    Travis CI caused by a broken man`pip` installation, fixed by
    using get-pip.py to bootstrap an installation that actually
    works wink.
  - Enable :class:`~humanfriendly.testing.MockedProgram` to
    customize the shell script code of mocked programs. This was
    added to make it easy to mock a program that is expected to
    generate specific output (I'm planning to use this in the
    :pypi:`linux-utils` test suite).
  - Defined __all__ for all public modules that previously lacked
    "export control" and decided to bump the major version number
    as a precaution:
    - These changes should not have any impact on backwards
      compatibility, unless I forgot entries, in which case
      callers can get :exc:`~exceptions.ImportError`
      exceptions...
    - Imports of public modules were previously exported
      (implicitly) and this pollutes code completion suggestions
      which in turn can encourage bad practices (not importing
      things using their "canonical" name).
    - I started developing the humanfriendly package years before
      I learned about the value of defining __all__ and so some
      modules lacked a definition until now. I decided that now
      was as good a time as any to add those definitions
      innocent.
  - Simplified the headings in docs/api.rst so that only the
buildservice-autocommit accepted request 755758 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 24)
baserev update by copy to link target
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) committed (revision 23)
- Require full python stack for sqlite module
buildservice-autocommit accepted request 689802 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 22)
baserev update by copy to link target
Displaying revisions 1 - 20 of 41
openSUSE Build Service is sponsored by