[Bug 255579] devel/py-pip: build fails with DOCS option
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 3 20:53:20 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255579
Bug ID: 255579
Summary: devel/py-pip: build fails with DOCS option
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: python at FreeBSD.org
Reporter: jcfyecrayz at liamekaens.com
Flags: maintainer-feedback?(python at FreeBSD.org)
Assignee: python at FreeBSD.org
When DOCS option is on, the build calls 'setup.py build_sphinx'. This error
occurs when using python3.6:
====================
.
.
File "/tmp/pip-20.3.4/docs/docs_feedback_sphinxext.py", line 3
from __future__ import annotations
^
SyntaxError: future feature annotations is not defined
====================
20.3.4 has a new docs_feedback_sphinxext.py file which has:
from __future__ import annotations
This fails with python3.6.
Workaround: WITHOUT=DOCS for python3.6
The easy change is probably to change USES=python:3.6+ to 3.7+ (this could be
dependent on whether DOCS is on but that is probably more trouble than it's
worth).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-python
mailing list