Date: Sun, 19 Feb 2023 15:52:39 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 269686] textproc/py-sphinx-autodoc-typehints: Installation in unusable state Message-ID: <bug-269686-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269686 Bug ID: 269686 Summary: textproc/py-sphinx-autodoc-typehints: Installation in unusable state 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: andreas@bilke.org If you use autodoc-typehints as an sphinx extension (as described in https://pypi.org/project/sphinx-autodoc-typehints/) you get an error like t= his (taken from py-khard) Extension error: Could not import extension sphinx_autodoc_typehints (exception: cannot impo= rt name '__version__' from 'sphinx_autodoc_typehints.version' (/usr/local/lib/python3.9/site-packages/sphinx_autodoc_typehints/version.py= )) It boils down to the following line in (/usr/local/lib/python3.9/site-packages/sphinx_autodoc_typehints/__init__.p= y:26=20 from .version import __version__ where __version__ is not existing in version.py Currently it is unclear for me if it has something to do with the switch to= pep 517 (see https://github.com/tox-dev/sphinx-autodoc-typehints/blame/main/src/sphinx_a= utodoc_typehints/__init__.py why I think that). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269686-7788>