On Sun, Mar 01 2020, Paco Esteban <[email protected]> wrote:
> Hi ports@,
>
> here's an update for converters/py-html2text to version '2020.1.16'.
> Changes on the software:
>
> 2020.1.16
> * Add type annotations.
> * Add support for Python 3.8.
> * Performance improvements when ``wrap_links`` is ``False`` (the
>   default).
> * Configure setuptools using setup.cfg.
>
> 2019.9.26
> * Fix long blockquotes wrapping.
> * Remove the trailing whitespaces that were added after wrapping list
>   items & blockquotes.
> * Remove support for Python ≤ 3.4. Now requires Python 3.5+.
> * Fix memory leak when processing a document containing a ``<abbr>``
>   tag.
> * Fix ``AttributeError`` when reading text from stdin.
> * Fix ``UnicodeEncodeError`` when writing output to stdout.
>
> 2019.8.11
> * Add support for wrapping list items.
> * Fix #201: handle &lrm;/&rlm; marks mid-text within stressed tags or
>   right after stressed tags.
> * Feature #213: ``images_as_html`` config option to always generate an
>   ``img`` html tag. preserves "height", "width" and "alt" if possible.
> * Remove support for end-of-life Pythons. Now requires Python 2.7 or
>   3.4+.
> * Remove support for retrieving HTML over the network.
> * Add ``__main__.py`` module to allow running the CLI using ``python -m
>   html2text ...``.
> * Fix #238: correct spacing when a HTML entity follows a non-stressed
>   tags which follow a stressed tag.
> * Remove unused or deprecated:
>   * ``html2text.compat.escape()``
>   * ``html2text.config.RE_UNESCAPE``
>   * ``html2text.HTML2Text.replaceEntities()``
>   * ``html2text.HTML2Text.unescape()``
>   * ``html2text.unescape()``
> * Fix #208: handle LEFT-TO-RIGHT MARK after a stressed tag.
>
> About the port itself, I enabled pytest and made it py3 only.  All its
> comsumers seem to be py3 only.  A commit for quirks and
> converters/Makefile will follow once this has ok(s).
>
> All tests pass for me on amd64.  As for the consumers, all their
> regression tests bahave the same before and after the update.  Here are
> the results for reference:
>
>     * mail/rss2email: tests hang for eternity
>     * productivity/tryton/5.0/trytond: all tests pass
>     * productivity/tryton/5.2/trytond: all tests pass
>     * www/odoo
>       PRIVSEP prevents build, seems like a dependency not in ports:
>
>         Searching for xlwt
>         Reading https://pypi.org/simple/xlwt/
>         Download error on https://pypi.org/simple/xlwt/: [Errno -5] no 
> address associated with name -- Some packages may not be found!
>         Couldn't find index page for 'xlwt' (maybe misspelled?)
>         Scanning index of all packages (this may take a while)
>         Reading https://pypi.org/simple/
>         Download error on https://pypi.org/simple/: [Errno -5] no address 
> associated with name -- Some packages may not be found!
>         No local packages or working download links found for xlwt
>         error: Could not find suitable distribution for 
> Requirement.parse('xlwt')
>
>     * www/urlwatch: all tests pass
>     * www/weboob: 2 tests fail.  Both because of network timeout,
>       I assume PRIVSEP is doing its thing here too.
>
> Comments ? ok ?

ok jca@

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to