>After reinstalling from scratch, with all deps, and no build errors, >the newer html2text-2025.4.15 now has this import error. > >$ html2text --help >Traceback (most recent call last): > File "/usr/bin/html2text", line 5, in <module> > from html2text.cli import main > File "/usr/lib64/python3.9/site-packages/html2text/__init__.py", > line >13, in <module> > from ._version import __version_tuple__ >ImportError: cannot import name '__version_tuple__' from >'html2text._version' >(/usr/lib64/python3.9/site-packages/html2text/_version.py) > >$ python3 --version >Python 3.9.25 > > >** UPDATE via IRC ** > ><fourtysixandtwo> kingbeowulf: echo "__version_tuple__ = (2025, 4, >15)" > >> /usr/lib64/python3.9/site-packages/html2text/_version.py ><fourtysixandtwo> Urchlay: will need to add ^^ to slackbuild unless >upstream fixes it > >fourtysixandtwo> Urchlay: ignore the previous comment, just add >python3-setuptools-scm-opt as a dep...been a while since I had that >issue and forgot that's the solution ><fourtysixandtwo> kingbeowulf: so that's the other option...add >python3-setuptools-scm-opt and rebuild html2text > >-> issue is resolved.
Thanks pushed to my branch -- Willy Sudiarto Raharjo
pgpdaDdS0wzi1.pgp
Description: OpenPGP digital signature
_______________________________________________ SlackBuilds-users mailing list [email protected] https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
