[Bug 269686] textproc/py-sphinx-autodoc-typehints: Installation in unusable state
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269686] textproc/py-sphinx-autodoc-typehints: Installation in unusable state"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269686] textproc/py-sphinx-autodoc-typehints: Installation in unusable state"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269686] textproc/py-sphinx-autodoc-typehints: Installation in unusable state"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269686] textproc/py-sphinx-autodoc-typehints: Installation in unusable state"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269686] textproc/py-sphinx-autodoc-typehints: Installation in unusable state"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269686] textproc/py-sphinx-autodoc-typehints: Installation in unusable state"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269686] textproc/py-sphinx-autodoc-typehints: Installation in unusable state"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Feb 2023 15:52:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269686 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 this (taken from py-khard) Extension error: Could not import extension sphinx_autodoc_typehints (exception: cannot import 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__.py:26 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_autodoc_typehints/__init__.py why I think that). -- You are receiving this mail because: You are the assignee for the bug.