[Bug 262902] www/py-bleach: Add www/py-html5lib to run depends

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 29 Mar 2022 10:51:43 UTC

            Bug ID: 262902
           Summary: www/py-bleach: Add www/py-html5lib to run depends
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dan.kotowski@a9development.com
                CC: rm@FreeBSD.org, sunpoet@FreeBSD.org
                CC: rm@FreeBSD.org, sunpoet@FreeBSD.org

Please add www/py-html5lib to the run depends for bleach. Per documentation it
is needed to run. Also:

Python 3.8.13 (default, Mar 26 2022, 12:55:24)
[Clang 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a
on freebsd13
Type "help", "copyright", "credits" or "license" for more information.
>>> import bleach
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.8/site-packages/bleach/__init__.py", line 5, in
    from bleach.linkifier import (
  File "/usr/local/lib/python3.8/site-packages/bleach/linkifier.py", line 4, in
    from bleach import html5lib_shim
  File "/usr/local/lib/python3.8/site-packages/bleach/html5lib_shim.py", line
20, in <module>
    from bleach._vendor.html5lib import (  # noqa: E402 module level import not
at top of file
line 25, in <module>
    from .html5parser import HTMLParser, parse, parseFragment
line 6, in <module>
    from . import _inputstream
line 10, in <module>
    import webencodings
ModuleNotFoundError: No module named 'webencodings'

This may be fixable with just converters/py-webencodings, but the docs
explicitly say www/py-html5lib

You are receiving this mail because:
You are the assignee for the bug.