Revisions of python-humanfriendly

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1221624 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 21)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 992125 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 19)
- Remove unneeded BuildRequires on mock.
Richard Brown's avatar Richard Brown (RBrownFactory) accepted request 991672 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 18)
- Add patch pytest-7-support.patch:
  * Support pytest >= 7.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 774497 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 12)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 755758 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 11)
- Require full python stack for sqlite module
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 689802 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 10)
- Simplify the multibuild conditioning and name creation
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 684406 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 9)
- Update to 4.18:
  * Added humanfriendly.text.generate_slug() function.
  * Fixed "invalid escape sequence" DeprecationWarning (pointed out by Python >= 3.6).
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 670326 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 8)
- Update to 4.17:
  * compatibility with python 3.7
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 632099 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 7)
- Move the Name declaration above lua code to work on Leap 42.3
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 630720 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 6)
- Update to 4.16.1:
  * Added humanfriendly.text.compact_empty_lines() function.
  * Enable optional html_to_ansi(data[, callback]) argument.
  * Added a code sample and screenshot to the HTMLConverter documentation.
  * Emit vertical whitespace for block tags like <div>, <p> and <pre> and post-process the generated output in __call__() to compact empty lines.
  * Don’t pre-process preformatted text using the user defined text callback.
  * Improve robustness against malformed HTML (previously an IndexError would be raised when a closing </a> tag was encountered without a corresponding opening <a> tag).
  * Emit an ANSI reset code when HTMLConverter.close() is called and a style is still active (improves robustness against malformed HTML).
  * Support for 24-bit (RGB) terminal colors. Works by accepting a tuple or list with three integers representing an RGB (red, green, blue) color.
  * Support for italic text rendering on the terminal.
  * Make format_timespan() accept datetime.timedelta objects (fixes #27).
  * Add license key to setup.py script (pointed out to me in coloredlogs pull request #53).
  * Added the Timer.sleep() method to sleep “no more than” the given number of seconds.
  * Added the format_rst_table() function to render RST (reStructuredText) tables.
- Enable and make sure tests are run
Displaying revisions 1 - 20 of 21
openSUSE Build Service is sponsored by