Date: Mon, 03 May 2021 20:53:20 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: maintainer-feedback requested: [Bug 255579] devel/py-pip: build fails with DOCS option Message-ID: <bug-255579-21822-cQv1IumRXK@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-255579-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-255579-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody) <python@FreeBSD.org> for maintainer-feedback: Bug 255579: devel/py-pip: build fails with DOCS option https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255579 --- Description --- When DOCS option is on, the build calls 'setup.py build_sphinx'. This error occurs when using python3.6: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D . . File "/tmp/pip-20.3.4/docs/docs_feedback_sphinxext.py", line 3 from __future__ import annotations ^ SyntaxError: future feature annotations is not defined =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 20.3.4 has a new docs_feedback_sphinxext.py file which has: from __future__ import annotations This fails with python3.6. Workaround: WITHOUT=3DDOCS for python3.6 The easy change is probably to change USES=3Dpython:3.6+ to 3.7+ (this coul= d be dependent on whether DOCS is on but that is probably more trouble than it's worth).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255579-21822-cQv1IumRXK>