[Slackbuilds-users] html2text import error
fourtysixandtwo
fourtysixandtwo at sliderr.net
Thu Jun 18 02:17:53 UTC 2026
it's already pushed to my branch and tested
On Wed, 17 Jun 2026 at 20:14, Willy Sudiarto Raharjo
<willysr at slackbuilds.org> wrote:
>
> >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
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
--
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-users at slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/
More information about the SlackBuilds-users
mailing list