Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Feb 2023 14:31:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 269231] textproc/py-sphinx-autodoc-typehints: Fix build dependencies
Message-ID:  <bug-269231-7788-KHVqUqDSnw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-269231-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-269231-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269231

--- Comment #2 from Michael B=C3=BCker <freebsd@michael-bueker.de> ---
Sorry for the noise, but there is a problem after all. When applying this p=
atch
and building my packages, py39-khard-0.18.0 complains that it cannot import
sphinx_autodoc_typehints:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: build          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D env: NO_DEPENDS=3Dyes USER=3Droot UID=3D0 GID=3D0
=3D=3D=3D>  Building for py39-khard-0.18.0
(cd /wrkdirs/usr/ports/deskutils/py-khard/work-py39/khard-0.18.0/doc && gma=
ke
man)
gmake[1]: Entering directory
'/wrkdirs/usr/ports/deskutils/py-khard/work-py39/khard-0.18.0/doc'
Running Sphinx v5.1.1

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=
))
gmake[1]: *** [Makefile:20: man] Error 2
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/deskutils/py-khard/work-py39/khard-0.18.0/doc'
*** Error code 2

The package is, however, installed in the poudriere build jail:

=3D=3D=3D>   py39-khard-0.18.0 depends on package: py39-sphinx-autodoc-type=
hints>0 -
not found
=3D=3D=3D>   Installing existing package
/packages/All/py39-sphinx-autodoc-typehints-1.19.5.pkg
[ganymed-default-job-01] Installing py39-sphinx-autodoc-typehints-1.19.5...
[ganymed-default-job-01] Extracting py39-sphinx-autodoc-typehints-1.19.5:
.......... done
=3D=3D=3D>   py39-khard-0.18.0 depends on package: py39-sphinx-autodoc-type=
hints>0 -
found

Let me know how I can help investigate.

--=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-269231-7788-KHVqUqDSnw>